1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202else 203 as_have_required=no 204fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209as_found=false 210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211do 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225fi 226fi 227 done;; 228 esac 229 as_found=false 230done 231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi; } 235IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241# neutralization value for shells without unset; and this also 242# works around shells that cannot unset nonexistent variables. 243# Preserve -v and -x to the replacement shell. 244BASH_ENV=/dev/null 245ENV=/dev/null 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252esac 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254# Admittedly, this is quite paranoid, since all the known shells bail 255# out after a failed `exec'. 256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257exit 255 258fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 else 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268$0: including any error possibly output before this 269$0: message. Then install a modern shell, or manually run 270$0: the script under such a shell if you do have one." 271 fi 272 exit 1 273fi 274fi 275fi 276SHELL=${CONFIG_SHELL-/bin/sh} 277export SHELL 278# Unset more variables known to interfere with behavior of common tools. 279CLICOLOR_FORCE= GREP_OPTIONS= 280unset CLICOLOR_FORCE GREP_OPTIONS 281 282## --------------------- ## 283## M4sh Shell Functions. ## 284## --------------------- ## 285# as_fn_unset VAR 286# --------------- 287# Portably unset VAR. 288as_fn_unset () 289{ 290 { eval $1=; unset $1;} 291} 292as_unset=as_fn_unset 293 294# as_fn_set_status STATUS 295# ----------------------- 296# Set $? to STATUS, without forking. 297as_fn_set_status () 298{ 299 return $1 300} # as_fn_set_status 301 302# as_fn_exit STATUS 303# ----------------- 304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305as_fn_exit () 306{ 307 set +e 308 as_fn_set_status $1 309 exit $1 310} # as_fn_exit 311 312# as_fn_mkdir_p 313# ------------- 314# Create "$as_dir" as a directory, including parents if necessary. 315as_fn_mkdir_p () 316{ 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334$as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358} # as_fn_mkdir_p 359 360# as_fn_executable_p FILE 361# ----------------------- 362# Test if FILE is an executable regular file. 363as_fn_executable_p () 364{ 365 test -f "$1" && test -x "$1" 366} # as_fn_executable_p 367# as_fn_append VAR VALUE 368# ---------------------- 369# Append the text in VALUE to the end of the definition contained in VAR. Take 370# advantage of any shell optimizations that allow amortized linear growth over 371# repeated appends, instead of the typical quadratic growth present in naive 372# implementations. 373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383fi # as_fn_append 384 385# as_fn_arith ARG... 386# ------------------ 387# Perform arithmetic evaluation on the ARGs, and store the result in the 388# global $as_val. Take advantage of shells that can avoid forks. The arguments 389# must be portable across $(()) and expr. 390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400fi # as_fn_arith 401 402 403# as_fn_error STATUS ERROR [LINENO LOG_FD] 404# ---------------------------------------- 405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407# script with STATUS, using 1 if that was 0. 408as_fn_error () 409{ 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417} # as_fn_error 418 419if expr a : '\(a\)' >/dev/null 2>&1 && 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 421 as_expr=expr 422else 423 as_expr=false 424fi 425 426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 427 as_basename=basename 428else 429 as_basename=false 430fi 431 432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434else 435 as_dirname=false 436fi 437 438as_me=`$as_basename -- "$0" || 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 440 X"$0" : 'X\(//\)$' \| \ 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 442$as_echo X/"$0" | 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 444 s//\1/ 445 q 446 } 447 /^X\/\(\/\/\)$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\).*/{ 452 s//\1/ 453 q 454 } 455 s/.*/./; q'` 456 457# Avoid depending upon Character Ranges. 458as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461as_cr_digits='0123456789' 462as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 470 sed -n ' 471 p 472 /[$]LINENO/= 473 ' <$as_myself | 474 sed ' 475 s/[$]LINENO.*/&-/ 476 t lineno 477 b 478 :lineno 479 N 480 :loop 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 482 t loop 483 s/-\n.*// 484 ' >$as_me.lineno && 485 chmod +x "$as_me.lineno" || 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 492 # Don't try to exec as it changes $[0], causing all sort of problems 493 # (the dirname of $[0] is not the place where we might find the 494 # original and so on. Autoconf is especially sensitive to this). 495 . "./$as_me.lineno" 496 # Exit status is that of the last command. 497 exit 498} 499 500ECHO_C= ECHO_N= ECHO_T= 501case `echo -n x` in #((((( 502-n*) 503 case `echo 'xy\c'` in 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 508 esac;; 509*) 510 ECHO_N='-n';; 511esac 512 513rm -f conf$$ conf$$.exe conf$$.file 514if test -d conf$$.dir; then 515 rm -f conf$$.dir/conf$$.file 516else 517 rm -f conf$$.dir 518 mkdir conf$$.dir 2>/dev/null 519fi 520if (echo >conf$$.file) 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then 522 as_ln_s='ln -s' 523 # ... but there are two gotchas: 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -pR'. 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -pR' 529 elif ln conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s=ln 531 else 532 as_ln_s='cp -pR' 533 fi 534else 535 as_ln_s='cp -pR' 536fi 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 538rmdir conf$$.dir 2>/dev/null 539 540if mkdir -p . 2>/dev/null; then 541 as_mkdir_p='mkdir -p "$as_dir"' 542else 543 test -d ./-p && rmdir ./-p 544 as_mkdir_p=false 545fi 546 547as_test_x='test -x' 548as_executable_p=as_fn_executable_p 549 550# Sed expression to map a string onto a valid CPP name. 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 552 553# Sed expression to map a string onto a valid variable name. 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 555 556 557test -n "$DJDIR" || exec 7<&0 </dev/null 558exec 6>&1 559 560# Name of the host. 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 562# so uname gets run too. 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 564 565# 566# Initializations. 567# 568ac_default_prefix=/usr/local 569ac_clean_files= 570ac_config_libobj_dir=. 571LIBOBJS= 572cross_compiling=no 573subdirs= 574MFLAGS= 575MAKEFLAGS= 576 577# Identity of this package. 578PACKAGE_NAME= 579PACKAGE_TARNAME= 580PACKAGE_VERSION= 581PACKAGE_STRING= 582PACKAGE_BUGREPORT= 583PACKAGE_URL= 584 585ac_unique_file="Makefile.am" 586# Factoring default headers for most tests. 587ac_includes_default="\ 588#include <stdio.h> 589#ifdef HAVE_SYS_TYPES_H 590# include <sys/types.h> 591#endif 592#ifdef HAVE_SYS_STAT_H 593# include <sys/stat.h> 594#endif 595#ifdef STDC_HEADERS 596# include <stdlib.h> 597# include <stddef.h> 598#else 599# ifdef HAVE_STDLIB_H 600# include <stdlib.h> 601# endif 602#endif 603#ifdef HAVE_STRING_H 604# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 605# include <memory.h> 606# endif 607# include <string.h> 608#endif 609#ifdef HAVE_STRINGS_H 610# include <strings.h> 611#endif 612#ifdef HAVE_INTTYPES_H 613# include <inttypes.h> 614#endif 615#ifdef HAVE_STDINT_H 616# include <stdint.h> 617#endif 618#ifdef HAVE_UNISTD_H 619# include <unistd.h> 620#endif" 621 622ac_subst_vars='am__EXEEXT_FALSE 623am__EXEEXT_TRUE 624LTLIBOBJS 625LIBOBJS 626HAVE_GNU_COMPILERS_FALSE 627HAVE_GNU_COMPILERS_TRUE 628WARN_NO_EFFECTIVE_CXX 629WARN_EFFECTIVE_CXX 630DOC_FALSE 631DOC_TRUE 632DOXYGEN 633RANLIB 634DOT 635EGREP 636GREP 637CXXCPP 638am__fastdepCXX_FALSE 639am__fastdepCXX_TRUE 640CXXDEPMODE 641am__nodep 642AMDEPBACKSLASH 643AMDEP_FALSE 644AMDEP_TRUE 645am__quote 646am__include 647DEPDIR 648OBJEXT 649EXEEXT 650ac_ct_CXX 651CPPFLAGS 652LDFLAGS 653CXXFLAGS 654CXX 655AM_BACKSLASH 656AM_DEFAULT_VERBOSITY 657AM_DEFAULT_V 658AM_V 659am__untar 660am__tar 661AMTAR 662am__leading_dot 663SET_MAKE 664AWK 665mkdir_p 666MKDIR_P 667INSTALL_STRIP_PROGRAM 668STRIP 669install_sh 670MAKEINFO 671AUTOHEADER 672AUTOMAKE 673AUTOCONF 674ACLOCAL 675VERSION 676PACKAGE 677CYGPATH_W 678am__isrc 679INSTALL_DATA 680INSTALL_SCRIPT 681INSTALL_PROGRAM 682target_alias 683host_alias 684build_alias 685LIBS 686ECHO_T 687ECHO_N 688ECHO_C 689DEFS 690mandir 691localedir 692libdir 693psdir 694pdfdir 695dvidir 696htmldir 697infodir 698docdir 699oldincludedir 700includedir 701localstatedir 702sharedstatedir 703sysconfdir 704datadir 705datarootdir 706libexecdir 707sbindir 708bindir 709program_transform_name 710prefix 711exec_prefix 712PACKAGE_URL 713PACKAGE_BUGREPORT 714PACKAGE_STRING 715PACKAGE_VERSION 716PACKAGE_TARNAME 717PACKAGE_NAME 718PATH_SEPARATOR 719SHELL' 720ac_subst_files='' 721ac_user_opts=' 722enable_option_checking 723enable_silent_rules 724enable_dependency_tracking 725enable_doxygen 726' 727 ac_precious_vars='build_alias 728host_alias 729target_alias 730CXX 731CXXFLAGS 732LDFLAGS 733LIBS 734CPPFLAGS 735CCC 736CXXCPP' 737 738 739# Initialize some variables set by options. 740ac_init_help= 741ac_init_version=false 742ac_unrecognized_opts= 743ac_unrecognized_sep= 744# The variables have the same names as the options, with 745# dashes changed to underlines. 746cache_file=/dev/null 747exec_prefix=NONE 748no_create= 749no_recursion= 750prefix=NONE 751program_prefix=NONE 752program_suffix=NONE 753program_transform_name=s,x,x, 754silent= 755site= 756srcdir= 757verbose= 758x_includes=NONE 759x_libraries=NONE 760 761# Installation directory options. 762# These are left unexpanded so users can "make install exec_prefix=/foo" 763# and all the variables that are supposed to be based on exec_prefix 764# by default will actually change. 765# Use braces instead of parens because sh, perl, etc. also accept them. 766# (The list follows the same order as the GNU Coding Standards.) 767bindir='${exec_prefix}/bin' 768sbindir='${exec_prefix}/sbin' 769libexecdir='${exec_prefix}/libexec' 770datarootdir='${prefix}/share' 771datadir='${datarootdir}' 772sysconfdir='${prefix}/etc' 773sharedstatedir='${prefix}/com' 774localstatedir='${prefix}/var' 775includedir='${prefix}/include' 776oldincludedir='/usr/include' 777docdir='${datarootdir}/doc/${PACKAGE}' 778infodir='${datarootdir}/info' 779htmldir='${docdir}' 780dvidir='${docdir}' 781pdfdir='${docdir}' 782psdir='${docdir}' 783libdir='${exec_prefix}/lib' 784localedir='${datarootdir}/locale' 785mandir='${datarootdir}/man' 786 787ac_prev= 788ac_dashdash= 789for ac_option 790do 791 # If the previous option needs an argument, assign it. 792 if test -n "$ac_prev"; then 793 eval $ac_prev=\$ac_option 794 ac_prev= 795 continue 796 fi 797 798 case $ac_option in 799 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 800 *=) ac_optarg= ;; 801 *) ac_optarg=yes ;; 802 esac 803 804 # Accept the important Cygnus configure options, so we can diagnose typos. 805 806 case $ac_dashdash$ac_option in 807 --) 808 ac_dashdash=yes ;; 809 810 -bindir | --bindir | --bindi | --bind | --bin | --bi) 811 ac_prev=bindir ;; 812 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 813 bindir=$ac_optarg ;; 814 815 -build | --build | --buil | --bui | --bu) 816 ac_prev=build_alias ;; 817 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 818 build_alias=$ac_optarg ;; 819 820 -cache-file | --cache-file | --cache-fil | --cache-fi \ 821 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 822 ac_prev=cache_file ;; 823 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 824 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 825 cache_file=$ac_optarg ;; 826 827 --config-cache | -C) 828 cache_file=config.cache ;; 829 830 -datadir | --datadir | --datadi | --datad) 831 ac_prev=datadir ;; 832 -datadir=* | --datadir=* | --datadi=* | --datad=*) 833 datadir=$ac_optarg ;; 834 835 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 836 | --dataroo | --dataro | --datar) 837 ac_prev=datarootdir ;; 838 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 839 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 840 datarootdir=$ac_optarg ;; 841 842 -disable-* | --disable-*) 843 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 844 # Reject names that are not valid shell variable names. 845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 846 as_fn_error $? "invalid feature name: $ac_useropt" 847 ac_useropt_orig=$ac_useropt 848 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 849 case $ac_user_opts in 850 *" 851"enable_$ac_useropt" 852"*) ;; 853 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 854 ac_unrecognized_sep=', ';; 855 esac 856 eval enable_$ac_useropt=no ;; 857 858 -docdir | --docdir | --docdi | --doc | --do) 859 ac_prev=docdir ;; 860 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 861 docdir=$ac_optarg ;; 862 863 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 864 ac_prev=dvidir ;; 865 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 866 dvidir=$ac_optarg ;; 867 868 -enable-* | --enable-*) 869 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 870 # Reject names that are not valid shell variable names. 871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 872 as_fn_error $? "invalid feature name: $ac_useropt" 873 ac_useropt_orig=$ac_useropt 874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 875 case $ac_user_opts in 876 *" 877"enable_$ac_useropt" 878"*) ;; 879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 880 ac_unrecognized_sep=', ';; 881 esac 882 eval enable_$ac_useropt=\$ac_optarg ;; 883 884 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 885 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 886 | --exec | --exe | --ex) 887 ac_prev=exec_prefix ;; 888 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 889 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 890 | --exec=* | --exe=* | --ex=*) 891 exec_prefix=$ac_optarg ;; 892 893 -gas | --gas | --ga | --g) 894 # Obsolete; use --with-gas. 895 with_gas=yes ;; 896 897 -help | --help | --hel | --he | -h) 898 ac_init_help=long ;; 899 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 900 ac_init_help=recursive ;; 901 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 902 ac_init_help=short ;; 903 904 -host | --host | --hos | --ho) 905 ac_prev=host_alias ;; 906 -host=* | --host=* | --hos=* | --ho=*) 907 host_alias=$ac_optarg ;; 908 909 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 910 ac_prev=htmldir ;; 911 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 912 | --ht=*) 913 htmldir=$ac_optarg ;; 914 915 -includedir | --includedir | --includedi | --included | --include \ 916 | --includ | --inclu | --incl | --inc) 917 ac_prev=includedir ;; 918 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 919 | --includ=* | --inclu=* | --incl=* | --inc=*) 920 includedir=$ac_optarg ;; 921 922 -infodir | --infodir | --infodi | --infod | --info | --inf) 923 ac_prev=infodir ;; 924 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 925 infodir=$ac_optarg ;; 926 927 -libdir | --libdir | --libdi | --libd) 928 ac_prev=libdir ;; 929 -libdir=* | --libdir=* | --libdi=* | --libd=*) 930 libdir=$ac_optarg ;; 931 932 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 933 | --libexe | --libex | --libe) 934 ac_prev=libexecdir ;; 935 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 936 | --libexe=* | --libex=* | --libe=*) 937 libexecdir=$ac_optarg ;; 938 939 -localedir | --localedir | --localedi | --localed | --locale) 940 ac_prev=localedir ;; 941 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 942 localedir=$ac_optarg ;; 943 944 -localstatedir | --localstatedir | --localstatedi | --localstated \ 945 | --localstate | --localstat | --localsta | --localst | --locals) 946 ac_prev=localstatedir ;; 947 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 948 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 949 localstatedir=$ac_optarg ;; 950 951 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 952 ac_prev=mandir ;; 953 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 954 mandir=$ac_optarg ;; 955 956 -nfp | --nfp | --nf) 957 # Obsolete; use --without-fp. 958 with_fp=no ;; 959 960 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 961 | --no-cr | --no-c | -n) 962 no_create=yes ;; 963 964 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 965 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 966 no_recursion=yes ;; 967 968 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 969 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 970 | --oldin | --oldi | --old | --ol | --o) 971 ac_prev=oldincludedir ;; 972 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 973 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 974 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 975 oldincludedir=$ac_optarg ;; 976 977 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 978 ac_prev=prefix ;; 979 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 980 prefix=$ac_optarg ;; 981 982 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 983 | --program-pre | --program-pr | --program-p) 984 ac_prev=program_prefix ;; 985 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 986 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 987 program_prefix=$ac_optarg ;; 988 989 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 990 | --program-suf | --program-su | --program-s) 991 ac_prev=program_suffix ;; 992 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 993 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 994 program_suffix=$ac_optarg ;; 995 996 -program-transform-name | --program-transform-name \ 997 | --program-transform-nam | --program-transform-na \ 998 | --program-transform-n | --program-transform- \ 999 | --program-transform | --program-transfor \ 1000 | --program-transfo | --program-transf \ 1001 | --program-trans | --program-tran \ 1002 | --progr-tra | --program-tr | --program-t) 1003 ac_prev=program_transform_name ;; 1004 -program-transform-name=* | --program-transform-name=* \ 1005 | --program-transform-nam=* | --program-transform-na=* \ 1006 | --program-transform-n=* | --program-transform-=* \ 1007 | --program-transform=* | --program-transfor=* \ 1008 | --program-transfo=* | --program-transf=* \ 1009 | --program-trans=* | --program-tran=* \ 1010 | --progr-tra=* | --program-tr=* | --program-t=*) 1011 program_transform_name=$ac_optarg ;; 1012 1013 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1014 ac_prev=pdfdir ;; 1015 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1016 pdfdir=$ac_optarg ;; 1017 1018 -psdir | --psdir | --psdi | --psd | --ps) 1019 ac_prev=psdir ;; 1020 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1021 psdir=$ac_optarg ;; 1022 1023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1024 | -silent | --silent | --silen | --sile | --sil) 1025 silent=yes ;; 1026 1027 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1028 ac_prev=sbindir ;; 1029 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1030 | --sbi=* | --sb=*) 1031 sbindir=$ac_optarg ;; 1032 1033 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1034 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1035 | --sharedst | --shareds | --shared | --share | --shar \ 1036 | --sha | --sh) 1037 ac_prev=sharedstatedir ;; 1038 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1039 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1040 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1041 | --sha=* | --sh=*) 1042 sharedstatedir=$ac_optarg ;; 1043 1044 -site | --site | --sit) 1045 ac_prev=site ;; 1046 -site=* | --site=* | --sit=*) 1047 site=$ac_optarg ;; 1048 1049 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1050 ac_prev=srcdir ;; 1051 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1052 srcdir=$ac_optarg ;; 1053 1054 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1055 | --syscon | --sysco | --sysc | --sys | --sy) 1056 ac_prev=sysconfdir ;; 1057 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1058 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1059 sysconfdir=$ac_optarg ;; 1060 1061 -target | --target | --targe | --targ | --tar | --ta | --t) 1062 ac_prev=target_alias ;; 1063 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1064 target_alias=$ac_optarg ;; 1065 1066 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1067 verbose=yes ;; 1068 1069 -version | --version | --versio | --versi | --vers | -V) 1070 ac_init_version=: ;; 1071 1072 -with-* | --with-*) 1073 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1074 # Reject names that are not valid shell variable names. 1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1076 as_fn_error $? "invalid package name: $ac_useropt" 1077 ac_useropt_orig=$ac_useropt 1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1079 case $ac_user_opts in 1080 *" 1081"with_$ac_useropt" 1082"*) ;; 1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1084 ac_unrecognized_sep=', ';; 1085 esac 1086 eval with_$ac_useropt=\$ac_optarg ;; 1087 1088 -without-* | --without-*) 1089 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1090 # Reject names that are not valid shell variable names. 1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1092 as_fn_error $? "invalid package name: $ac_useropt" 1093 ac_useropt_orig=$ac_useropt 1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1095 case $ac_user_opts in 1096 *" 1097"with_$ac_useropt" 1098"*) ;; 1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1100 ac_unrecognized_sep=', ';; 1101 esac 1102 eval with_$ac_useropt=no ;; 1103 1104 --x) 1105 # Obsolete; use --with-x. 1106 with_x=yes ;; 1107 1108 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1109 | --x-incl | --x-inc | --x-in | --x-i) 1110 ac_prev=x_includes ;; 1111 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1112 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1113 x_includes=$ac_optarg ;; 1114 1115 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1116 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1117 ac_prev=x_libraries ;; 1118 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1119 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1120 x_libraries=$ac_optarg ;; 1121 1122 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1123Try \`$0 --help' for more information" 1124 ;; 1125 1126 *=*) 1127 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1128 # Reject names that are not valid shell variable names. 1129 case $ac_envvar in #( 1130 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1131 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1132 esac 1133 eval $ac_envvar=\$ac_optarg 1134 export $ac_envvar ;; 1135 1136 *) 1137 # FIXME: should be removed in autoconf 3.0. 1138 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1140 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1141 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1142 ;; 1143 1144 esac 1145done 1146 1147if test -n "$ac_prev"; then 1148 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1149 as_fn_error $? "missing argument to $ac_option" 1150fi 1151 1152if test -n "$ac_unrecognized_opts"; then 1153 case $enable_option_checking in 1154 no) ;; 1155 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1156 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1157 esac 1158fi 1159 1160# Check all directory arguments for consistency. 1161for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1162 datadir sysconfdir sharedstatedir localstatedir includedir \ 1163 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1164 libdir localedir mandir 1165do 1166 eval ac_val=\$$ac_var 1167 # Remove trailing slashes. 1168 case $ac_val in 1169 */ ) 1170 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1171 eval $ac_var=\$ac_val;; 1172 esac 1173 # Be sure to have absolute directory names. 1174 case $ac_val in 1175 [\\/$]* | ?:[\\/]* ) continue;; 1176 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1177 esac 1178 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1179done 1180 1181# There might be people who depend on the old broken behavior: `$host' 1182# used to hold the argument of --host etc. 1183# FIXME: To remove some day. 1184build=$build_alias 1185host=$host_alias 1186target=$target_alias 1187 1188# FIXME: To remove some day. 1189if test "x$host_alias" != x; then 1190 if test "x$build_alias" = x; then 1191 cross_compiling=maybe 1192 elif test "x$build_alias" != "x$host_alias"; then 1193 cross_compiling=yes 1194 fi 1195fi 1196 1197ac_tool_prefix= 1198test -n "$host_alias" && ac_tool_prefix=$host_alias- 1199 1200test "$silent" = yes && exec 6>/dev/null 1201 1202 1203ac_pwd=`pwd` && test -n "$ac_pwd" && 1204ac_ls_di=`ls -di .` && 1205ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1206 as_fn_error $? "working directory cannot be determined" 1207test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1208 as_fn_error $? "pwd does not report name of working directory" 1209 1210 1211# Find the source files, if location was not specified. 1212if test -z "$srcdir"; then 1213 ac_srcdir_defaulted=yes 1214 # Try the directory containing this script, then the parent directory. 1215 ac_confdir=`$as_dirname -- "$as_myself" || 1216$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1217 X"$as_myself" : 'X\(//\)[^/]' \| \ 1218 X"$as_myself" : 'X\(//\)$' \| \ 1219 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1220$as_echo X"$as_myself" | 1221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1222 s//\1/ 1223 q 1224 } 1225 /^X\(\/\/\)[^/].*/{ 1226 s//\1/ 1227 q 1228 } 1229 /^X\(\/\/\)$/{ 1230 s//\1/ 1231 q 1232 } 1233 /^X\(\/\).*/{ 1234 s//\1/ 1235 q 1236 } 1237 s/.*/./; q'` 1238 srcdir=$ac_confdir 1239 if test ! -r "$srcdir/$ac_unique_file"; then 1240 srcdir=.. 1241 fi 1242else 1243 ac_srcdir_defaulted=no 1244fi 1245if test ! -r "$srcdir/$ac_unique_file"; then 1246 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1247 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1248fi 1249ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1250ac_abs_confdir=`( 1251 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1252 pwd)` 1253# When building in place, set srcdir=. 1254if test "$ac_abs_confdir" = "$ac_pwd"; then 1255 srcdir=. 1256fi 1257# Remove unnecessary trailing slashes from srcdir. 1258# Double slashes in file names in object file debugging info 1259# mess up M-x gdb in Emacs. 1260case $srcdir in 1261*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1262esac 1263for ac_var in $ac_precious_vars; do 1264 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1265 eval ac_env_${ac_var}_value=\$${ac_var} 1266 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1267 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1268done 1269 1270# 1271# Report the --help message. 1272# 1273if test "$ac_init_help" = "long"; then 1274 # Omit some internal or obsolete options to make the list less imposing. 1275 # This message is too long to be a string in the A/UX 3.1 sh. 1276 cat <<_ACEOF 1277\`configure' configures this package to adapt to many kinds of systems. 1278 1279Usage: $0 [OPTION]... [VAR=VALUE]... 1280 1281To assign environment variables (e.g., CC, CFLAGS...), specify them as 1282VAR=VALUE. See below for descriptions of some of the useful variables. 1283 1284Defaults for the options are specified in brackets. 1285 1286Configuration: 1287 -h, --help display this help and exit 1288 --help=short display options specific to this package 1289 --help=recursive display the short help of all the included packages 1290 -V, --version display version information and exit 1291 -q, --quiet, --silent do not print \`checking ...' messages 1292 --cache-file=FILE cache test results in FILE [disabled] 1293 -C, --config-cache alias for \`--cache-file=config.cache' 1294 -n, --no-create do not create output files 1295 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1296 1297Installation directories: 1298 --prefix=PREFIX install architecture-independent files in PREFIX 1299 [$ac_default_prefix] 1300 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1301 [PREFIX] 1302 1303By default, \`make install' will install all the files in 1304\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1305an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1306for instance \`--prefix=\$HOME'. 1307 1308For better control, use the options below. 1309 1310Fine tuning of the installation directories: 1311 --bindir=DIR user executables [EPREFIX/bin] 1312 --sbindir=DIR system admin executables [EPREFIX/sbin] 1313 --libexecdir=DIR program executables [EPREFIX/libexec] 1314 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1315 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1316 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1317 --libdir=DIR object code libraries [EPREFIX/lib] 1318 --includedir=DIR C header files [PREFIX/include] 1319 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1320 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1321 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1322 --infodir=DIR info documentation [DATAROOTDIR/info] 1323 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1324 --mandir=DIR man documentation [DATAROOTDIR/man] 1325 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1326 --htmldir=DIR html documentation [DOCDIR] 1327 --dvidir=DIR dvi documentation [DOCDIR] 1328 --pdfdir=DIR pdf documentation [DOCDIR] 1329 --psdir=DIR ps documentation [DOCDIR] 1330_ACEOF 1331 1332 cat <<\_ACEOF 1333 1334Program names: 1335 --program-prefix=PREFIX prepend PREFIX to installed program names 1336 --program-suffix=SUFFIX append SUFFIX to installed program names 1337 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1338_ACEOF 1339fi 1340 1341if test -n "$ac_init_help"; then 1342 1343 cat <<\_ACEOF 1344 1345Optional Features: 1346 --disable-option-checking ignore unrecognized --enable/--with options 1347 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1348 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1349 --enable-silent-rules less verbose build output (undo: "make V=1") 1350 --disable-silent-rules verbose build output (undo: "make V=0") 1351 --enable-dependency-tracking 1352 do not reject slow dependency extractors 1353 --disable-dependency-tracking 1354 speeds up one-time build 1355--enable-doxygen enable documentation generation with doxygen (auto) 1356 1357Some influential environment variables: 1358 CXX C++ compiler command 1359 CXXFLAGS C++ compiler flags 1360 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1361 nonstandard directory <lib dir> 1362 LIBS libraries to pass to the linker, e.g. -l<library> 1363 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1364 you have headers in a nonstandard directory <include dir> 1365 CXXCPP C++ preprocessor 1366 1367Use these variables to override the choices made by `configure' or to help 1368it to find libraries and programs with nonstandard names/locations. 1369 1370Report bugs to the package provider. 1371_ACEOF 1372ac_status=$? 1373fi 1374 1375if test "$ac_init_help" = "recursive"; then 1376 # If there are subdirs, report their specific --help. 1377 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1378 test -d "$ac_dir" || 1379 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1380 continue 1381 ac_builddir=. 1382 1383case "$ac_dir" in 1384.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1385*) 1386 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1387 # A ".." for each directory in $ac_dir_suffix. 1388 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1389 case $ac_top_builddir_sub in 1390 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1391 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1392 esac ;; 1393esac 1394ac_abs_top_builddir=$ac_pwd 1395ac_abs_builddir=$ac_pwd$ac_dir_suffix 1396# for backward compatibility: 1397ac_top_builddir=$ac_top_build_prefix 1398 1399case $srcdir in 1400 .) # We are building in place. 1401 ac_srcdir=. 1402 ac_top_srcdir=$ac_top_builddir_sub 1403 ac_abs_top_srcdir=$ac_pwd ;; 1404 [\\/]* | ?:[\\/]* ) # Absolute name. 1405 ac_srcdir=$srcdir$ac_dir_suffix; 1406 ac_top_srcdir=$srcdir 1407 ac_abs_top_srcdir=$srcdir ;; 1408 *) # Relative name. 1409 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1410 ac_top_srcdir=$ac_top_build_prefix$srcdir 1411 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1412esac 1413ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1414 1415 cd "$ac_dir" || { ac_status=$?; continue; } 1416 # Check for guested configure. 1417 if test -f "$ac_srcdir/configure.gnu"; then 1418 echo && 1419 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1420 elif test -f "$ac_srcdir/configure"; then 1421 echo && 1422 $SHELL "$ac_srcdir/configure" --help=recursive 1423 else 1424 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1425 fi || ac_status=$? 1426 cd "$ac_pwd" || { ac_status=$?; break; } 1427 done 1428fi 1429 1430test -n "$ac_init_help" && exit $ac_status 1431if $ac_init_version; then 1432 cat <<\_ACEOF 1433configure 1434generated by GNU Autoconf 2.69 1435 1436Copyright (C) 2012 Free Software Foundation, Inc. 1437This configure script is free software; the Free Software Foundation 1438gives unlimited permission to copy, distribute and modify it. 1439_ACEOF 1440 exit 1441fi 1442 1443## ------------------------ ## 1444## Autoconf initialization. ## 1445## ------------------------ ## 1446 1447# ac_fn_cxx_try_compile LINENO 1448# ---------------------------- 1449# Try to compile conftest.$ac_ext, and return whether this succeeded. 1450ac_fn_cxx_try_compile () 1451{ 1452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1453 rm -f conftest.$ac_objext 1454 if { { ac_try="$ac_compile" 1455case "(($ac_try" in 1456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1457 *) ac_try_echo=$ac_try;; 1458esac 1459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1460$as_echo "$ac_try_echo"; } >&5 1461 (eval "$ac_compile") 2>conftest.err 1462 ac_status=$? 1463 if test -s conftest.err; then 1464 grep -v '^ *+' conftest.err >conftest.er1 1465 cat conftest.er1 >&5 1466 mv -f conftest.er1 conftest.err 1467 fi 1468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1469 test $ac_status = 0; } && { 1470 test -z "$ac_cxx_werror_flag" || 1471 test ! -s conftest.err 1472 } && test -s conftest.$ac_objext; then : 1473 ac_retval=0 1474else 1475 $as_echo "$as_me: failed program was:" >&5 1476sed 's/^/| /' conftest.$ac_ext >&5 1477 1478 ac_retval=1 1479fi 1480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1481 as_fn_set_status $ac_retval 1482 1483} # ac_fn_cxx_try_compile 1484 1485# ac_fn_cxx_try_cpp LINENO 1486# ------------------------ 1487# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1488ac_fn_cxx_try_cpp () 1489{ 1490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1491 if { { ac_try="$ac_cpp conftest.$ac_ext" 1492case "(($ac_try" in 1493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1494 *) ac_try_echo=$ac_try;; 1495esac 1496eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1497$as_echo "$ac_try_echo"; } >&5 1498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1499 ac_status=$? 1500 if test -s conftest.err; then 1501 grep -v '^ *+' conftest.err >conftest.er1 1502 cat conftest.er1 >&5 1503 mv -f conftest.er1 conftest.err 1504 fi 1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1506 test $ac_status = 0; } > conftest.i && { 1507 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1508 test ! -s conftest.err 1509 }; then : 1510 ac_retval=0 1511else 1512 $as_echo "$as_me: failed program was:" >&5 1513sed 's/^/| /' conftest.$ac_ext >&5 1514 1515 ac_retval=1 1516fi 1517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1518 as_fn_set_status $ac_retval 1519 1520} # ac_fn_cxx_try_cpp 1521 1522# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1523# --------------------------------------------------------- 1524# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1525# the include files in INCLUDES and setting the cache variable VAR 1526# accordingly. 1527ac_fn_cxx_check_header_mongrel () 1528{ 1529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1530 if eval \${$3+:} false; then : 1531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1532$as_echo_n "checking for $2... " >&6; } 1533if eval \${$3+:} false; then : 1534 $as_echo_n "(cached) " >&6 1535fi 1536eval ac_res=\$$3 1537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1538$as_echo "$ac_res" >&6; } 1539else 1540 # Is the header compilable? 1541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1542$as_echo_n "checking $2 usability... " >&6; } 1543cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1544/* end confdefs.h. */ 1545$4 1546#include <$2> 1547_ACEOF 1548if ac_fn_cxx_try_compile "$LINENO"; then : 1549 ac_header_compiler=yes 1550else 1551 ac_header_compiler=no 1552fi 1553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1555$as_echo "$ac_header_compiler" >&6; } 1556 1557# Is the header present? 1558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1559$as_echo_n "checking $2 presence... " >&6; } 1560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1561/* end confdefs.h. */ 1562#include <$2> 1563_ACEOF 1564if ac_fn_cxx_try_cpp "$LINENO"; then : 1565 ac_header_preproc=yes 1566else 1567 ac_header_preproc=no 1568fi 1569rm -f conftest.err conftest.i conftest.$ac_ext 1570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1571$as_echo "$ac_header_preproc" >&6; } 1572 1573# So? What about this header? 1574case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 1575 yes:no: ) 1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1577$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1579$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1580 ;; 1581 no:yes:* ) 1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1583$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1585$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1587$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1589$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1591$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1592 ;; 1593esac 1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1595$as_echo_n "checking for $2... " >&6; } 1596if eval \${$3+:} false; then : 1597 $as_echo_n "(cached) " >&6 1598else 1599 eval "$3=\$ac_header_compiler" 1600fi 1601eval ac_res=\$$3 1602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1603$as_echo "$ac_res" >&6; } 1604fi 1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1606 1607} # ac_fn_cxx_check_header_mongrel 1608 1609# ac_fn_cxx_try_run LINENO 1610# ------------------------ 1611# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1612# that executables *can* be run. 1613ac_fn_cxx_try_run () 1614{ 1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1616 if { { ac_try="$ac_link" 1617case "(($ac_try" in 1618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1619 *) ac_try_echo=$ac_try;; 1620esac 1621eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1622$as_echo "$ac_try_echo"; } >&5 1623 (eval "$ac_link") 2>&5 1624 ac_status=$? 1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1626 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1627 { { case "(($ac_try" in 1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1629 *) ac_try_echo=$ac_try;; 1630esac 1631eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1632$as_echo "$ac_try_echo"; } >&5 1633 (eval "$ac_try") 2>&5 1634 ac_status=$? 1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1636 test $ac_status = 0; }; }; then : 1637 ac_retval=0 1638else 1639 $as_echo "$as_me: program exited with status $ac_status" >&5 1640 $as_echo "$as_me: failed program was:" >&5 1641sed 's/^/| /' conftest.$ac_ext >&5 1642 1643 ac_retval=$ac_status 1644fi 1645 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1647 as_fn_set_status $ac_retval 1648 1649} # ac_fn_cxx_try_run 1650 1651# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1652# --------------------------------------------------------- 1653# Tests whether HEADER exists and can be compiled using the include files in 1654# INCLUDES, setting the cache variable VAR accordingly. 1655ac_fn_cxx_check_header_compile () 1656{ 1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1659$as_echo_n "checking for $2... " >&6; } 1660if eval \${$3+:} false; then : 1661 $as_echo_n "(cached) " >&6 1662else 1663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1664/* end confdefs.h. */ 1665$4 1666#include <$2> 1667_ACEOF 1668if ac_fn_cxx_try_compile "$LINENO"; then : 1669 eval "$3=yes" 1670else 1671 eval "$3=no" 1672fi 1673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1674fi 1675eval ac_res=\$$3 1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1677$as_echo "$ac_res" >&6; } 1678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1679 1680} # ac_fn_cxx_check_header_compile 1681cat >config.log <<_ACEOF 1682This file contains any messages produced by compilers while 1683running configure, to aid debugging if configure makes a mistake. 1684 1685It was created by $as_me, which was 1686generated by GNU Autoconf 2.69. Invocation command line was 1687 1688 $ $0 $@ 1689 1690_ACEOF 1691exec 5>>config.log 1692{ 1693cat <<_ASUNAME 1694## --------- ## 1695## Platform. ## 1696## --------- ## 1697 1698hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1699uname -m = `(uname -m) 2>/dev/null || echo unknown` 1700uname -r = `(uname -r) 2>/dev/null || echo unknown` 1701uname -s = `(uname -s) 2>/dev/null || echo unknown` 1702uname -v = `(uname -v) 2>/dev/null || echo unknown` 1703 1704/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1705/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1706 1707/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1708/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1709/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1710/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1711/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1712/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1713/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1714 1715_ASUNAME 1716 1717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1718for as_dir in $PATH 1719do 1720 IFS=$as_save_IFS 1721 test -z "$as_dir" && as_dir=. 1722 $as_echo "PATH: $as_dir" 1723 done 1724IFS=$as_save_IFS 1725 1726} >&5 1727 1728cat >&5 <<_ACEOF 1729 1730 1731## ----------- ## 1732## Core tests. ## 1733## ----------- ## 1734 1735_ACEOF 1736 1737 1738# Keep a trace of the command line. 1739# Strip out --no-create and --no-recursion so they do not pile up. 1740# Strip out --silent because we don't want to record it for future runs. 1741# Also quote any args containing shell meta-characters. 1742# Make two passes to allow for proper duplicate-argument suppression. 1743ac_configure_args= 1744ac_configure_args0= 1745ac_configure_args1= 1746ac_must_keep_next=false 1747for ac_pass in 1 2 1748do 1749 for ac_arg 1750 do 1751 case $ac_arg in 1752 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1753 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1754 | -silent | --silent | --silen | --sile | --sil) 1755 continue ;; 1756 *\'*) 1757 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1758 esac 1759 case $ac_pass in 1760 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1761 2) 1762 as_fn_append ac_configure_args1 " '$ac_arg'" 1763 if test $ac_must_keep_next = true; then 1764 ac_must_keep_next=false # Got value, back to normal. 1765 else 1766 case $ac_arg in 1767 *=* | --config-cache | -C | -disable-* | --disable-* \ 1768 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1769 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1770 | -with-* | --with-* | -without-* | --without-* | --x) 1771 case "$ac_configure_args0 " in 1772 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1773 esac 1774 ;; 1775 -* ) ac_must_keep_next=true ;; 1776 esac 1777 fi 1778 as_fn_append ac_configure_args " '$ac_arg'" 1779 ;; 1780 esac 1781 done 1782done 1783{ ac_configure_args0=; unset ac_configure_args0;} 1784{ ac_configure_args1=; unset ac_configure_args1;} 1785 1786# When interrupted or exit'd, cleanup temporary files, and complete 1787# config.log. We remove comments because anyway the quotes in there 1788# would cause problems or look ugly. 1789# WARNING: Use '\'' to represent an apostrophe within the trap. 1790# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1791trap 'exit_status=$? 1792 # Save into config.log some information that might help in debugging. 1793 { 1794 echo 1795 1796 $as_echo "## ---------------- ## 1797## Cache variables. ## 1798## ---------------- ##" 1799 echo 1800 # The following way of writing the cache mishandles newlines in values, 1801( 1802 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1803 eval ac_val=\$$ac_var 1804 case $ac_val in #( 1805 *${as_nl}*) 1806 case $ac_var in #( 1807 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1808$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1809 esac 1810 case $ac_var in #( 1811 _ | IFS | as_nl) ;; #( 1812 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1813 *) { eval $ac_var=; unset $ac_var;} ;; 1814 esac ;; 1815 esac 1816 done 1817 (set) 2>&1 | 1818 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1819 *${as_nl}ac_space=\ *) 1820 sed -n \ 1821 "s/'\''/'\''\\\\'\'''\''/g; 1822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1823 ;; #( 1824 *) 1825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1826 ;; 1827 esac | 1828 sort 1829) 1830 echo 1831 1832 $as_echo "## ----------------- ## 1833## Output variables. ## 1834## ----------------- ##" 1835 echo 1836 for ac_var in $ac_subst_vars 1837 do 1838 eval ac_val=\$$ac_var 1839 case $ac_val in 1840 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1841 esac 1842 $as_echo "$ac_var='\''$ac_val'\''" 1843 done | sort 1844 echo 1845 1846 if test -n "$ac_subst_files"; then 1847 $as_echo "## ------------------- ## 1848## File substitutions. ## 1849## ------------------- ##" 1850 echo 1851 for ac_var in $ac_subst_files 1852 do 1853 eval ac_val=\$$ac_var 1854 case $ac_val in 1855 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1856 esac 1857 $as_echo "$ac_var='\''$ac_val'\''" 1858 done | sort 1859 echo 1860 fi 1861 1862 if test -s confdefs.h; then 1863 $as_echo "## ----------- ## 1864## confdefs.h. ## 1865## ----------- ##" 1866 echo 1867 cat confdefs.h 1868 echo 1869 fi 1870 test "$ac_signal" != 0 && 1871 $as_echo "$as_me: caught signal $ac_signal" 1872 $as_echo "$as_me: exit $exit_status" 1873 } >&5 1874 rm -f core *.core core.conftest.* && 1875 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1876 exit $exit_status 1877' 0 1878for ac_signal in 1 2 13 15; do 1879 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1880done 1881ac_signal=0 1882 1883# confdefs.h avoids OS command line length limits that DEFS can exceed. 1884rm -f -r conftest* confdefs.h 1885 1886$as_echo "/* confdefs.h */" > confdefs.h 1887 1888# Predefined preprocessor variables. 1889 1890cat >>confdefs.h <<_ACEOF 1891#define PACKAGE_NAME "$PACKAGE_NAME" 1892_ACEOF 1893 1894cat >>confdefs.h <<_ACEOF 1895#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1896_ACEOF 1897 1898cat >>confdefs.h <<_ACEOF 1899#define PACKAGE_VERSION "$PACKAGE_VERSION" 1900_ACEOF 1901 1902cat >>confdefs.h <<_ACEOF 1903#define PACKAGE_STRING "$PACKAGE_STRING" 1904_ACEOF 1905 1906cat >>confdefs.h <<_ACEOF 1907#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1908_ACEOF 1909 1910cat >>confdefs.h <<_ACEOF 1911#define PACKAGE_URL "$PACKAGE_URL" 1912_ACEOF 1913 1914 1915# Let the site file select an alternate cache file if it wants to. 1916# Prefer an explicitly selected file to automatically selected ones. 1917ac_site_file1=NONE 1918ac_site_file2=NONE 1919if test -n "$CONFIG_SITE"; then 1920 # We do not want a PATH search for config.site. 1921 case $CONFIG_SITE in #(( 1922 -*) ac_site_file1=./$CONFIG_SITE;; 1923 */*) ac_site_file1=$CONFIG_SITE;; 1924 *) ac_site_file1=./$CONFIG_SITE;; 1925 esac 1926elif test "x$prefix" != xNONE; then 1927 ac_site_file1=$prefix/share/config.site 1928 ac_site_file2=$prefix/etc/config.site 1929else 1930 ac_site_file1=$ac_default_prefix/share/config.site 1931 ac_site_file2=$ac_default_prefix/etc/config.site 1932fi 1933for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1934do 1935 test "x$ac_site_file" = xNONE && continue 1936 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1937 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1938$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1939 sed 's/^/| /' "$ac_site_file" >&5 1940 . "$ac_site_file" \ 1941 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1942$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1943as_fn_error $? "failed to load site script $ac_site_file 1944See \`config.log' for more details" "$LINENO" 5; } 1945 fi 1946done 1947 1948if test -r "$cache_file"; then 1949 # Some versions of bash will fail to source /dev/null (special files 1950 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1951 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1953$as_echo "$as_me: loading cache $cache_file" >&6;} 1954 case $cache_file in 1955 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1956 *) . "./$cache_file";; 1957 esac 1958 fi 1959else 1960 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1961$as_echo "$as_me: creating cache $cache_file" >&6;} 1962 >$cache_file 1963fi 1964 1965# Check that the precious variables saved in the cache have kept the same 1966# value. 1967ac_cache_corrupted=false 1968for ac_var in $ac_precious_vars; do 1969 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1970 eval ac_new_set=\$ac_env_${ac_var}_set 1971 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1972 eval ac_new_val=\$ac_env_${ac_var}_value 1973 case $ac_old_set,$ac_new_set in 1974 set,) 1975 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1976$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1977 ac_cache_corrupted=: ;; 1978 ,set) 1979 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1980$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1981 ac_cache_corrupted=: ;; 1982 ,);; 1983 *) 1984 if test "x$ac_old_val" != "x$ac_new_val"; then 1985 # differences in whitespace do not lead to failure. 1986 ac_old_val_w=`echo x $ac_old_val` 1987 ac_new_val_w=`echo x $ac_new_val` 1988 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1990$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1991 ac_cache_corrupted=: 1992 else 1993 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1994$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1995 eval $ac_var=\$ac_old_val 1996 fi 1997 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1998$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2000$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2001 fi;; 2002 esac 2003 # Pass precious variables to config.status. 2004 if test "$ac_new_set" = set; then 2005 case $ac_new_val in 2006 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2007 *) ac_arg=$ac_var=$ac_new_val ;; 2008 esac 2009 case " $ac_configure_args " in 2010 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2011 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2012 esac 2013 fi 2014done 2015if $ac_cache_corrupted; then 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2019$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2020 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2021fi 2022## -------------------- ## 2023## Main body of script. ## 2024## -------------------- ## 2025 2026ac_ext=c 2027ac_cpp='$CPP $CPPFLAGS' 2028ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2029ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2030ac_compiler_gnu=$ac_cv_c_compiler_gnu 2031 2032 2033#AC_PREREQ(2.50) 2034ac_aux_dir= 2035for ac_dir in config "$srcdir"/config; do 2036 if test -f "$ac_dir/install-sh"; then 2037 ac_aux_dir=$ac_dir 2038 ac_install_sh="$ac_aux_dir/install-sh -c" 2039 break 2040 elif test -f "$ac_dir/install.sh"; then 2041 ac_aux_dir=$ac_dir 2042 ac_install_sh="$ac_aux_dir/install.sh -c" 2043 break 2044 elif test -f "$ac_dir/shtool"; then 2045 ac_aux_dir=$ac_dir 2046 ac_install_sh="$ac_aux_dir/shtool install -c" 2047 break 2048 fi 2049done 2050if test -z "$ac_aux_dir"; then 2051 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2052fi 2053 2054# These three variables are undocumented and unsupported, 2055# and are intended to be withdrawn in a future Autoconf release. 2056# They can cause serious problems if a builder's source tree is in a directory 2057# whose full name contains unusual characters. 2058ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2059ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2060ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2061 2062 2063ac_config_headers="$ac_config_headers config/config.h" 2064 2065am__api_version='1.14' 2066 2067# Find a good install program. We prefer a C program (faster), 2068# so one script is as good as another. But avoid the broken or 2069# incompatible versions: 2070# SysV /etc/install, /usr/sbin/install 2071# SunOS /usr/etc/install 2072# IRIX /sbin/install 2073# AIX /bin/install 2074# AmigaOS /C/install, which installs bootblocks on floppy discs 2075# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2076# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2077# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2078# OS/2's system install, which has a completely different semantic 2079# ./install, which can be erroneously created by make from ./install.sh. 2080# Reject install programs that cannot install multiple files. 2081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2082$as_echo_n "checking for a BSD-compatible install... " >&6; } 2083if test -z "$INSTALL"; then 2084if ${ac_cv_path_install+:} false; then : 2085 $as_echo_n "(cached) " >&6 2086else 2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2088for as_dir in $PATH 2089do 2090 IFS=$as_save_IFS 2091 test -z "$as_dir" && as_dir=. 2092 # Account for people who put trailing slashes in PATH elements. 2093case $as_dir/ in #(( 2094 ./ | .// | /[cC]/* | \ 2095 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2096 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2097 /usr/ucb/* ) ;; 2098 *) 2099 # OSF1 and SCO ODT 3.0 have their own names for install. 2100 # Don't use installbsd from OSF since it installs stuff as root 2101 # by default. 2102 for ac_prog in ginstall scoinst install; do 2103 for ac_exec_ext in '' $ac_executable_extensions; do 2104 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2105 if test $ac_prog = install && 2106 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2107 # AIX install. It has an incompatible calling convention. 2108 : 2109 elif test $ac_prog = install && 2110 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2111 # program-specific install script used by HP pwplus--don't use. 2112 : 2113 else 2114 rm -rf conftest.one conftest.two conftest.dir 2115 echo one > conftest.one 2116 echo two > conftest.two 2117 mkdir conftest.dir 2118 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2119 test -s conftest.one && test -s conftest.two && 2120 test -s conftest.dir/conftest.one && 2121 test -s conftest.dir/conftest.two 2122 then 2123 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2124 break 3 2125 fi 2126 fi 2127 fi 2128 done 2129 done 2130 ;; 2131esac 2132 2133 done 2134IFS=$as_save_IFS 2135 2136rm -rf conftest.one conftest.two conftest.dir 2137 2138fi 2139 if test "${ac_cv_path_install+set}" = set; then 2140 INSTALL=$ac_cv_path_install 2141 else 2142 # As a last resort, use the slow shell script. Don't cache a 2143 # value for INSTALL within a source directory, because that will 2144 # break other packages using the cache if that directory is 2145 # removed, or if the value is a relative name. 2146 INSTALL=$ac_install_sh 2147 fi 2148fi 2149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2150$as_echo "$INSTALL" >&6; } 2151 2152# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2153# It thinks the first close brace ends the variable substitution. 2154test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2155 2156test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2157 2158test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2159 2160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2161$as_echo_n "checking whether build environment is sane... " >&6; } 2162# Reject unsafe characters in $srcdir or the absolute working directory 2163# name. Accept space and tab only in the latter. 2164am_lf=' 2165' 2166case `pwd` in 2167 *[\\\"\#\$\&\'\`$am_lf]*) 2168 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2169esac 2170case $srcdir in 2171 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2172 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2173esac 2174 2175# Do 'set' in a subshell so we don't clobber the current shell's 2176# arguments. Must try -L first in case configure is actually a 2177# symlink; some systems play weird games with the mod time of symlinks 2178# (eg FreeBSD returns the mod time of the symlink's containing 2179# directory). 2180if ( 2181 am_has_slept=no 2182 for am_try in 1 2; do 2183 echo "timestamp, slept: $am_has_slept" > conftest.file 2184 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2185 if test "$*" = "X"; then 2186 # -L didn't work. 2187 set X `ls -t "$srcdir/configure" conftest.file` 2188 fi 2189 if test "$*" != "X $srcdir/configure conftest.file" \ 2190 && test "$*" != "X conftest.file $srcdir/configure"; then 2191 2192 # If neither matched, then we have a broken ls. This can happen 2193 # if, for instance, CONFIG_SHELL is bash and it inherits a 2194 # broken ls alias from the environment. This has actually 2195 # happened. Such a system could not be considered "sane". 2196 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2197 alias in your environment" "$LINENO" 5 2198 fi 2199 if test "$2" = conftest.file || test $am_try -eq 2; then 2200 break 2201 fi 2202 # Just in case. 2203 sleep 1 2204 am_has_slept=yes 2205 done 2206 test "$2" = conftest.file 2207 ) 2208then 2209 # Ok. 2210 : 2211else 2212 as_fn_error $? "newly created file is older than distributed files! 2213Check your system clock" "$LINENO" 5 2214fi 2215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2216$as_echo "yes" >&6; } 2217# If we didn't sleep, we still need to ensure time stamps of config.status and 2218# generated files are strictly newer. 2219am_sleep_pid= 2220if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2221 ( sleep 1 ) & 2222 am_sleep_pid=$! 2223fi 2224 2225rm -f conftest.file 2226 2227test "$program_prefix" != NONE && 2228 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2229# Use a double $ so make ignores it. 2230test "$program_suffix" != NONE && 2231 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2232# Double any \ or $. 2233# By default was `s,x,x', remove it if useless. 2234ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2235program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2236 2237# Expand $ac_aux_dir to an absolute path. 2238am_aux_dir=`cd "$ac_aux_dir" && pwd` 2239 2240if test x"${MISSING+set}" != xset; then 2241 case $am_aux_dir in 2242 *\ * | *\ *) 2243 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2244 *) 2245 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2246 esac 2247fi 2248# Use eval to expand $SHELL 2249if eval "$MISSING --is-lightweight"; then 2250 am_missing_run="$MISSING " 2251else 2252 am_missing_run= 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2254$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2255fi 2256 2257if test x"${install_sh}" != xset; then 2258 case $am_aux_dir in 2259 *\ * | *\ *) 2260 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2261 *) 2262 install_sh="\${SHELL} $am_aux_dir/install-sh" 2263 esac 2264fi 2265 2266# Installed binaries are usually stripped using 'strip' when the user 2267# run "make install-strip". However 'strip' might not be the right 2268# tool to use in cross-compilation environments, therefore Automake 2269# will honor the 'STRIP' environment variable to overrule this program. 2270if test "$cross_compiling" != no; then 2271 if test -n "$ac_tool_prefix"; then 2272 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2273set dummy ${ac_tool_prefix}strip; ac_word=$2 2274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2275$as_echo_n "checking for $ac_word... " >&6; } 2276if ${ac_cv_prog_STRIP+:} false; then : 2277 $as_echo_n "(cached) " >&6 2278else 2279 if test -n "$STRIP"; then 2280 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2281else 2282as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2283for as_dir in $PATH 2284do 2285 IFS=$as_save_IFS 2286 test -z "$as_dir" && as_dir=. 2287 for ac_exec_ext in '' $ac_executable_extensions; do 2288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2289 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2291 break 2 2292 fi 2293done 2294 done 2295IFS=$as_save_IFS 2296 2297fi 2298fi 2299STRIP=$ac_cv_prog_STRIP 2300if test -n "$STRIP"; then 2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2302$as_echo "$STRIP" >&6; } 2303else 2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2305$as_echo "no" >&6; } 2306fi 2307 2308 2309fi 2310if test -z "$ac_cv_prog_STRIP"; then 2311 ac_ct_STRIP=$STRIP 2312 # Extract the first word of "strip", so it can be a program name with args. 2313set dummy strip; ac_word=$2 2314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2315$as_echo_n "checking for $ac_word... " >&6; } 2316if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2317 $as_echo_n "(cached) " >&6 2318else 2319 if test -n "$ac_ct_STRIP"; then 2320 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2321else 2322as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2323for as_dir in $PATH 2324do 2325 IFS=$as_save_IFS 2326 test -z "$as_dir" && as_dir=. 2327 for ac_exec_ext in '' $ac_executable_extensions; do 2328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2329 ac_cv_prog_ac_ct_STRIP="strip" 2330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2331 break 2 2332 fi 2333done 2334 done 2335IFS=$as_save_IFS 2336 2337fi 2338fi 2339ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2340if test -n "$ac_ct_STRIP"; then 2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2342$as_echo "$ac_ct_STRIP" >&6; } 2343else 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2345$as_echo "no" >&6; } 2346fi 2347 2348 if test "x$ac_ct_STRIP" = x; then 2349 STRIP=":" 2350 else 2351 case $cross_compiling:$ac_tool_warned in 2352yes:) 2353{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2354$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2355ac_tool_warned=yes ;; 2356esac 2357 STRIP=$ac_ct_STRIP 2358 fi 2359else 2360 STRIP="$ac_cv_prog_STRIP" 2361fi 2362 2363fi 2364INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2365 2366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2367$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2368if test -z "$MKDIR_P"; then 2369 if ${ac_cv_path_mkdir+:} false; then : 2370 $as_echo_n "(cached) " >&6 2371else 2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2373for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2374do 2375 IFS=$as_save_IFS 2376 test -z "$as_dir" && as_dir=. 2377 for ac_prog in mkdir gmkdir; do 2378 for ac_exec_ext in '' $ac_executable_extensions; do 2379 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2380 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2381 'mkdir (GNU coreutils) '* | \ 2382 'mkdir (coreutils) '* | \ 2383 'mkdir (fileutils) '4.1*) 2384 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2385 break 3;; 2386 esac 2387 done 2388 done 2389 done 2390IFS=$as_save_IFS 2391 2392fi 2393 2394 test -d ./--version && rmdir ./--version 2395 if test "${ac_cv_path_mkdir+set}" = set; then 2396 MKDIR_P="$ac_cv_path_mkdir -p" 2397 else 2398 # As a last resort, use the slow shell script. Don't cache a 2399 # value for MKDIR_P within a source directory, because that will 2400 # break other packages using the cache if that directory is 2401 # removed, or if the value is a relative name. 2402 MKDIR_P="$ac_install_sh -d" 2403 fi 2404fi 2405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2406$as_echo "$MKDIR_P" >&6; } 2407 2408for ac_prog in gawk mawk nawk awk 2409do 2410 # Extract the first word of "$ac_prog", so it can be a program name with args. 2411set dummy $ac_prog; ac_word=$2 2412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2413$as_echo_n "checking for $ac_word... " >&6; } 2414if ${ac_cv_prog_AWK+:} false; then : 2415 $as_echo_n "(cached) " >&6 2416else 2417 if test -n "$AWK"; then 2418 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2419else 2420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2421for as_dir in $PATH 2422do 2423 IFS=$as_save_IFS 2424 test -z "$as_dir" && as_dir=. 2425 for ac_exec_ext in '' $ac_executable_extensions; do 2426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2427 ac_cv_prog_AWK="$ac_prog" 2428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2429 break 2 2430 fi 2431done 2432 done 2433IFS=$as_save_IFS 2434 2435fi 2436fi 2437AWK=$ac_cv_prog_AWK 2438if test -n "$AWK"; then 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2440$as_echo "$AWK" >&6; } 2441else 2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2443$as_echo "no" >&6; } 2444fi 2445 2446 2447 test -n "$AWK" && break 2448done 2449 2450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2451$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2452set x ${MAKE-make} 2453ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2454if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2455 $as_echo_n "(cached) " >&6 2456else 2457 cat >conftest.make <<\_ACEOF 2458SHELL = /bin/sh 2459all: 2460 @echo '@@@%%%=$(MAKE)=@@@%%%' 2461_ACEOF 2462# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2463case `${MAKE-make} -f conftest.make 2>/dev/null` in 2464 *@@@%%%=?*=@@@%%%*) 2465 eval ac_cv_prog_make_${ac_make}_set=yes;; 2466 *) 2467 eval ac_cv_prog_make_${ac_make}_set=no;; 2468esac 2469rm -f conftest.make 2470fi 2471if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2473$as_echo "yes" >&6; } 2474 SET_MAKE= 2475else 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2477$as_echo "no" >&6; } 2478 SET_MAKE="MAKE=${MAKE-make}" 2479fi 2480 2481rm -rf .tst 2>/dev/null 2482mkdir .tst 2>/dev/null 2483if test -d .tst; then 2484 am__leading_dot=. 2485else 2486 am__leading_dot=_ 2487fi 2488rmdir .tst 2>/dev/null 2489 2490# Check whether --enable-silent-rules was given. 2491if test "${enable_silent_rules+set}" = set; then : 2492 enableval=$enable_silent_rules; 2493fi 2494 2495case $enable_silent_rules in # ((( 2496 yes) AM_DEFAULT_VERBOSITY=0;; 2497 no) AM_DEFAULT_VERBOSITY=1;; 2498 *) AM_DEFAULT_VERBOSITY=1;; 2499esac 2500am_make=${MAKE-make} 2501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2502$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2503if ${am_cv_make_support_nested_variables+:} false; then : 2504 $as_echo_n "(cached) " >&6 2505else 2506 if $as_echo 'TRUE=$(BAR$(V)) 2507BAR0=false 2508BAR1=true 2509V=1 2510am__doit: 2511 @$(TRUE) 2512.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2513 am_cv_make_support_nested_variables=yes 2514else 2515 am_cv_make_support_nested_variables=no 2516fi 2517fi 2518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2519$as_echo "$am_cv_make_support_nested_variables" >&6; } 2520if test $am_cv_make_support_nested_variables = yes; then 2521 AM_V='$(V)' 2522 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2523else 2524 AM_V=$AM_DEFAULT_VERBOSITY 2525 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2526fi 2527AM_BACKSLASH='\' 2528 2529if test "`cd $srcdir && pwd`" != "`pwd`"; then 2530 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2531 # is not polluted with repeated "-I." 2532 am__isrc=' -I$(srcdir)' 2533 # test to see if srcdir already configured 2534 if test -f $srcdir/config.status; then 2535 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2536 fi 2537fi 2538 2539# test whether we have cygpath 2540if test -z "$CYGPATH_W"; then 2541 if (cygpath --version) >/dev/null 2>/dev/null; then 2542 CYGPATH_W='cygpath -w' 2543 else 2544 CYGPATH_W=echo 2545 fi 2546fi 2547 2548 2549# Define the identity of the package. 2550 2551 PACKAGE=tclap 2552 VERSION=1.2.2 2553 2554 2555cat >>confdefs.h <<_ACEOF 2556#define PACKAGE "$PACKAGE" 2557_ACEOF 2558 2559 2560cat >>confdefs.h <<_ACEOF 2561#define VERSION "$VERSION" 2562_ACEOF 2563 2564# Some tools Automake needs. 2565 2566ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2567 2568 2569AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2570 2571 2572AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2573 2574 2575AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2576 2577 2578MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2579 2580# For better backward compatibility. To be removed once Automake 1.9.x 2581# dies out for good. For more background, see: 2582# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2583# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2584mkdir_p='$(MKDIR_P)' 2585 2586# We need awk for the "check" target. The system "awk" is bad on 2587# some platforms. 2588# Always define AMTAR for backward compatibility. Yes, it's still used 2589# in the wild :-( We should find a proper way to deprecate it ... 2590AMTAR='$${TAR-tar}' 2591 2592 2593# We'll loop over all known methods to create a tar archive until one works. 2594_am_tools='gnutar pax cpio none' 2595 2596am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2597 2598 2599 2600 2601 2602 2603# POSIX will say in a future version that running "rm -f" with no argument 2604# is OK; and we want to be able to make that assumption in our Makefile 2605# recipes. So use an aggressive probe to check that the usage we want is 2606# actually supported "in the wild" to an acceptable degree. 2607# See automake bug#10828. 2608# To make any issue more visible, cause the running configure to be aborted 2609# by default if the 'rm' program in use doesn't match our expectations; the 2610# user can still override this though. 2611if rm -f && rm -fr && rm -rf; then : OK; else 2612 cat >&2 <<'END' 2613Oops! 2614 2615Your 'rm' program seems unable to run without file operands specified 2616on the command line, even when the '-f' option is present. This is contrary 2617to the behaviour of most rm programs out there, and not conforming with 2618the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2619 2620Please tell bug-automake@gnu.org about your system, including the value 2621of your $PATH and any error possibly output before this message. This 2622can help us improve future automake versions. 2623 2624END 2625 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2626 echo 'Configuration will proceed anyway, since you have set the' >&2 2627 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2628 echo >&2 2629 else 2630 cat >&2 <<'END' 2631Aborting the configuration process, to ensure you take notice of the issue. 2632 2633You can download and install GNU coreutils to get an 'rm' implementation 2634that behaves properly: <http://www.gnu.org/software/coreutils/>. 2635 2636If you want to complete the configuration process using your problematic 2637'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2638to "yes", and re-run configure. 2639 2640END 2641 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2642 fi 2643fi 2644 2645ac_ext=cpp 2646ac_cpp='$CXXCPP $CPPFLAGS' 2647ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2648ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2649ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2650if test -z "$CXX"; then 2651 if test -n "$CCC"; then 2652 CXX=$CCC 2653 else 2654 if test -n "$ac_tool_prefix"; then 2655 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2656 do 2657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2658set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2660$as_echo_n "checking for $ac_word... " >&6; } 2661if ${ac_cv_prog_CXX+:} false; then : 2662 $as_echo_n "(cached) " >&6 2663else 2664 if test -n "$CXX"; then 2665 ac_cv_prog_CXX="$CXX" # Let the user override the test. 2666else 2667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2668for as_dir in $PATH 2669do 2670 IFS=$as_save_IFS 2671 test -z "$as_dir" && as_dir=. 2672 for ac_exec_ext in '' $ac_executable_extensions; do 2673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2674 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2676 break 2 2677 fi 2678done 2679 done 2680IFS=$as_save_IFS 2681 2682fi 2683fi 2684CXX=$ac_cv_prog_CXX 2685if test -n "$CXX"; then 2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2687$as_echo "$CXX" >&6; } 2688else 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2690$as_echo "no" >&6; } 2691fi 2692 2693 2694 test -n "$CXX" && break 2695 done 2696fi 2697if test -z "$CXX"; then 2698 ac_ct_CXX=$CXX 2699 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2700do 2701 # Extract the first word of "$ac_prog", so it can be a program name with args. 2702set dummy $ac_prog; ac_word=$2 2703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2704$as_echo_n "checking for $ac_word... " >&6; } 2705if ${ac_cv_prog_ac_ct_CXX+:} false; then : 2706 $as_echo_n "(cached) " >&6 2707else 2708 if test -n "$ac_ct_CXX"; then 2709 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2710else 2711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2712for as_dir in $PATH 2713do 2714 IFS=$as_save_IFS 2715 test -z "$as_dir" && as_dir=. 2716 for ac_exec_ext in '' $ac_executable_extensions; do 2717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2718 ac_cv_prog_ac_ct_CXX="$ac_prog" 2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2720 break 2 2721 fi 2722done 2723 done 2724IFS=$as_save_IFS 2725 2726fi 2727fi 2728ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2729if test -n "$ac_ct_CXX"; then 2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2731$as_echo "$ac_ct_CXX" >&6; } 2732else 2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2734$as_echo "no" >&6; } 2735fi 2736 2737 2738 test -n "$ac_ct_CXX" && break 2739done 2740 2741 if test "x$ac_ct_CXX" = x; then 2742 CXX="g++" 2743 else 2744 case $cross_compiling:$ac_tool_warned in 2745yes:) 2746{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2747$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2748ac_tool_warned=yes ;; 2749esac 2750 CXX=$ac_ct_CXX 2751 fi 2752fi 2753 2754 fi 2755fi 2756# Provide some information about the compiler. 2757$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 2758set X $ac_compile 2759ac_compiler=$2 2760for ac_option in --version -v -V -qversion; do 2761 { { ac_try="$ac_compiler $ac_option >&5" 2762case "(($ac_try" in 2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2764 *) ac_try_echo=$ac_try;; 2765esac 2766eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2767$as_echo "$ac_try_echo"; } >&5 2768 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2769 ac_status=$? 2770 if test -s conftest.err; then 2771 sed '10a\ 2772... rest of stderr output deleted ... 2773 10q' conftest.err >conftest.er1 2774 cat conftest.er1 >&5 2775 fi 2776 rm -f conftest.er1 conftest.err 2777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2778 test $ac_status = 0; } 2779done 2780 2781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2782/* end confdefs.h. */ 2783 2784int 2785main () 2786{ 2787 2788 ; 2789 return 0; 2790} 2791_ACEOF 2792ac_clean_files_save=$ac_clean_files 2793ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2794# Try to create an executable without -o first, disregard a.out. 2795# It will help us diagnose broken compilers, and finding out an intuition 2796# of exeext. 2797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 2798$as_echo_n "checking whether the C++ compiler works... " >&6; } 2799ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2800 2801# The possible output files: 2802ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2803 2804ac_rmfiles= 2805for ac_file in $ac_files 2806do 2807 case $ac_file in 2808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2809 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2810 esac 2811done 2812rm -f $ac_rmfiles 2813 2814if { { ac_try="$ac_link_default" 2815case "(($ac_try" in 2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2817 *) ac_try_echo=$ac_try;; 2818esac 2819eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2820$as_echo "$ac_try_echo"; } >&5 2821 (eval "$ac_link_default") 2>&5 2822 ac_status=$? 2823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2824 test $ac_status = 0; }; then : 2825 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2826# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2827# in a Makefile. We should not override ac_cv_exeext if it was cached, 2828# so that the user can short-circuit this test for compilers unknown to 2829# Autoconf. 2830for ac_file in $ac_files '' 2831do 2832 test -f "$ac_file" || continue 2833 case $ac_file in 2834 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2835 ;; 2836 [ab].out ) 2837 # We found the default executable, but exeext='' is most 2838 # certainly right. 2839 break;; 2840 *.* ) 2841 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2842 then :; else 2843 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2844 fi 2845 # We set ac_cv_exeext here because the later test for it is not 2846 # safe: cross compilers may not add the suffix if given an `-o' 2847 # argument, so we may need to know it at that point already. 2848 # Even if this section looks crufty: it has the advantage of 2849 # actually working. 2850 break;; 2851 * ) 2852 break;; 2853 esac 2854done 2855test "$ac_cv_exeext" = no && ac_cv_exeext= 2856 2857else 2858 ac_file='' 2859fi 2860if test -z "$ac_file"; then : 2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2862$as_echo "no" >&6; } 2863$as_echo "$as_me: failed program was:" >&5 2864sed 's/^/| /' conftest.$ac_ext >&5 2865 2866{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2867$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2868as_fn_error 77 "C++ compiler cannot create executables 2869See \`config.log' for more details" "$LINENO" 5; } 2870else 2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2872$as_echo "yes" >&6; } 2873fi 2874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 2875$as_echo_n "checking for C++ compiler default output file name... " >&6; } 2876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2877$as_echo "$ac_file" >&6; } 2878ac_exeext=$ac_cv_exeext 2879 2880rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2881ac_clean_files=$ac_clean_files_save 2882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2883$as_echo_n "checking for suffix of executables... " >&6; } 2884if { { ac_try="$ac_link" 2885case "(($ac_try" in 2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2887 *) ac_try_echo=$ac_try;; 2888esac 2889eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2890$as_echo "$ac_try_echo"; } >&5 2891 (eval "$ac_link") 2>&5 2892 ac_status=$? 2893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2894 test $ac_status = 0; }; then : 2895 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2896# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2897# work properly (i.e., refer to `conftest.exe'), while it won't with 2898# `rm'. 2899for ac_file in conftest.exe conftest conftest.*; do 2900 test -f "$ac_file" || continue 2901 case $ac_file in 2902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2903 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2904 break;; 2905 * ) break;; 2906 esac 2907done 2908else 2909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2910$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2911as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2912See \`config.log' for more details" "$LINENO" 5; } 2913fi 2914rm -f conftest conftest$ac_cv_exeext 2915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2916$as_echo "$ac_cv_exeext" >&6; } 2917 2918rm -f conftest.$ac_ext 2919EXEEXT=$ac_cv_exeext 2920ac_exeext=$EXEEXT 2921cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2922/* end confdefs.h. */ 2923#include <stdio.h> 2924int 2925main () 2926{ 2927FILE *f = fopen ("conftest.out", "w"); 2928 return ferror (f) || fclose (f) != 0; 2929 2930 ; 2931 return 0; 2932} 2933_ACEOF 2934ac_clean_files="$ac_clean_files conftest.out" 2935# Check that the compiler produces executables we can run. If not, either 2936# the compiler is broken, or we cross compile. 2937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2938$as_echo_n "checking whether we are cross compiling... " >&6; } 2939if test "$cross_compiling" != yes; then 2940 { { ac_try="$ac_link" 2941case "(($ac_try" in 2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2943 *) ac_try_echo=$ac_try;; 2944esac 2945eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2946$as_echo "$ac_try_echo"; } >&5 2947 (eval "$ac_link") 2>&5 2948 ac_status=$? 2949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2950 test $ac_status = 0; } 2951 if { ac_try='./conftest$ac_cv_exeext' 2952 { { case "(($ac_try" in 2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2954 *) ac_try_echo=$ac_try;; 2955esac 2956eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2957$as_echo "$ac_try_echo"; } >&5 2958 (eval "$ac_try") 2>&5 2959 ac_status=$? 2960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2961 test $ac_status = 0; }; }; then 2962 cross_compiling=no 2963 else 2964 if test "$cross_compiling" = maybe; then 2965 cross_compiling=yes 2966 else 2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2968$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2969as_fn_error $? "cannot run C++ compiled programs. 2970If you meant to cross compile, use \`--host'. 2971See \`config.log' for more details" "$LINENO" 5; } 2972 fi 2973 fi 2974fi 2975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2976$as_echo "$cross_compiling" >&6; } 2977 2978rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2979ac_clean_files=$ac_clean_files_save 2980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2981$as_echo_n "checking for suffix of object files... " >&6; } 2982if ${ac_cv_objext+:} false; then : 2983 $as_echo_n "(cached) " >&6 2984else 2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2986/* end confdefs.h. */ 2987 2988int 2989main () 2990{ 2991 2992 ; 2993 return 0; 2994} 2995_ACEOF 2996rm -f conftest.o conftest.obj 2997if { { ac_try="$ac_compile" 2998case "(($ac_try" in 2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3000 *) ac_try_echo=$ac_try;; 3001esac 3002eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3003$as_echo "$ac_try_echo"; } >&5 3004 (eval "$ac_compile") 2>&5 3005 ac_status=$? 3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3007 test $ac_status = 0; }; then : 3008 for ac_file in conftest.o conftest.obj conftest.*; do 3009 test -f "$ac_file" || continue; 3010 case $ac_file in 3011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3012 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3013 break;; 3014 esac 3015done 3016else 3017 $as_echo "$as_me: failed program was:" >&5 3018sed 's/^/| /' conftest.$ac_ext >&5 3019 3020{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3021$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3022as_fn_error $? "cannot compute suffix of object files: cannot compile 3023See \`config.log' for more details" "$LINENO" 5; } 3024fi 3025rm -f conftest.$ac_cv_objext conftest.$ac_ext 3026fi 3027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3028$as_echo "$ac_cv_objext" >&6; } 3029OBJEXT=$ac_cv_objext 3030ac_objext=$OBJEXT 3031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3032$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3033if ${ac_cv_cxx_compiler_gnu+:} false; then : 3034 $as_echo_n "(cached) " >&6 3035else 3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3037/* end confdefs.h. */ 3038 3039int 3040main () 3041{ 3042#ifndef __GNUC__ 3043 choke me 3044#endif 3045 3046 ; 3047 return 0; 3048} 3049_ACEOF 3050if ac_fn_cxx_try_compile "$LINENO"; then : 3051 ac_compiler_gnu=yes 3052else 3053 ac_compiler_gnu=no 3054fi 3055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3056ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3057 3058fi 3059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3060$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3061if test $ac_compiler_gnu = yes; then 3062 GXX=yes 3063else 3064 GXX= 3065fi 3066ac_test_CXXFLAGS=${CXXFLAGS+set} 3067ac_save_CXXFLAGS=$CXXFLAGS 3068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3069$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3070if ${ac_cv_prog_cxx_g+:} false; then : 3071 $as_echo_n "(cached) " >&6 3072else 3073 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3074 ac_cxx_werror_flag=yes 3075 ac_cv_prog_cxx_g=no 3076 CXXFLAGS="-g" 3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3078/* end confdefs.h. */ 3079 3080int 3081main () 3082{ 3083 3084 ; 3085 return 0; 3086} 3087_ACEOF 3088if ac_fn_cxx_try_compile "$LINENO"; then : 3089 ac_cv_prog_cxx_g=yes 3090else 3091 CXXFLAGS="" 3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3093/* end confdefs.h. */ 3094 3095int 3096main () 3097{ 3098 3099 ; 3100 return 0; 3101} 3102_ACEOF 3103if ac_fn_cxx_try_compile "$LINENO"; then : 3104 3105else 3106 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3107 CXXFLAGS="-g" 3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3109/* end confdefs.h. */ 3110 3111int 3112main () 3113{ 3114 3115 ; 3116 return 0; 3117} 3118_ACEOF 3119if ac_fn_cxx_try_compile "$LINENO"; then : 3120 ac_cv_prog_cxx_g=yes 3121fi 3122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3123fi 3124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3125fi 3126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3127 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3128fi 3129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3130$as_echo "$ac_cv_prog_cxx_g" >&6; } 3131if test "$ac_test_CXXFLAGS" = set; then 3132 CXXFLAGS=$ac_save_CXXFLAGS 3133elif test $ac_cv_prog_cxx_g = yes; then 3134 if test "$GXX" = yes; then 3135 CXXFLAGS="-g -O2" 3136 else 3137 CXXFLAGS="-g" 3138 fi 3139else 3140 if test "$GXX" = yes; then 3141 CXXFLAGS="-O2" 3142 else 3143 CXXFLAGS= 3144 fi 3145fi 3146ac_ext=c 3147ac_cpp='$CPP $CPPFLAGS' 3148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3150ac_compiler_gnu=$ac_cv_c_compiler_gnu 3151DEPDIR="${am__leading_dot}deps" 3152 3153ac_config_commands="$ac_config_commands depfiles" 3154 3155 3156am_make=${MAKE-make} 3157cat > confinc << 'END' 3158am__doit: 3159 @echo this is the am__doit target 3160.PHONY: am__doit 3161END 3162# If we don't find an include directive, just comment out the code. 3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3164$as_echo_n "checking for style of include used by $am_make... " >&6; } 3165am__include="#" 3166am__quote= 3167_am_result=none 3168# First try GNU make style include. 3169echo "include confinc" > confmf 3170# Ignore all kinds of additional output from 'make'. 3171case `$am_make -s -f confmf 2> /dev/null` in #( 3172*the\ am__doit\ target*) 3173 am__include=include 3174 am__quote= 3175 _am_result=GNU 3176 ;; 3177esac 3178# Now try BSD make style include. 3179if test "$am__include" = "#"; then 3180 echo '.include "confinc"' > confmf 3181 case `$am_make -s -f confmf 2> /dev/null` in #( 3182 *the\ am__doit\ target*) 3183 am__include=.include 3184 am__quote="\"" 3185 _am_result=BSD 3186 ;; 3187 esac 3188fi 3189 3190 3191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3192$as_echo "$_am_result" >&6; } 3193rm -f confinc confmf 3194 3195# Check whether --enable-dependency-tracking was given. 3196if test "${enable_dependency_tracking+set}" = set; then : 3197 enableval=$enable_dependency_tracking; 3198fi 3199 3200if test "x$enable_dependency_tracking" != xno; then 3201 am_depcomp="$ac_aux_dir/depcomp" 3202 AMDEPBACKSLASH='\' 3203 am__nodep='_no' 3204fi 3205 if test "x$enable_dependency_tracking" != xno; then 3206 AMDEP_TRUE= 3207 AMDEP_FALSE='#' 3208else 3209 AMDEP_TRUE='#' 3210 AMDEP_FALSE= 3211fi 3212 3213 3214 3215depcc="$CXX" am_compiler_list= 3216 3217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3218$as_echo_n "checking dependency style of $depcc... " >&6; } 3219if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3220 $as_echo_n "(cached) " >&6 3221else 3222 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3223 # We make a subdir and do the tests there. Otherwise we can end up 3224 # making bogus files that we don't know about and never remove. For 3225 # instance it was reported that on HP-UX the gcc test will end up 3226 # making a dummy file named 'D' -- because '-MD' means "put the output 3227 # in D". 3228 rm -rf conftest.dir 3229 mkdir conftest.dir 3230 # Copy depcomp to subdir because otherwise we won't find it if we're 3231 # using a relative directory. 3232 cp "$am_depcomp" conftest.dir 3233 cd conftest.dir 3234 # We will build objects and dependencies in a subdirectory because 3235 # it helps to detect inapplicable dependency modes. For instance 3236 # both Tru64's cc and ICC support -MD to output dependencies as a 3237 # side effect of compilation, but ICC will put the dependencies in 3238 # the current directory while Tru64 will put them in the object 3239 # directory. 3240 mkdir sub 3241 3242 am_cv_CXX_dependencies_compiler_type=none 3243 if test "$am_compiler_list" = ""; then 3244 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3245 fi 3246 am__universal=false 3247 case " $depcc " in #( 3248 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3249 esac 3250 3251 for depmode in $am_compiler_list; do 3252 # Setup a source with many dependencies, because some compilers 3253 # like to wrap large dependency lists on column 80 (with \), and 3254 # we should not choose a depcomp mode which is confused by this. 3255 # 3256 # We need to recreate these files for each test, as the compiler may 3257 # overwrite some of them when testing with obscure command lines. 3258 # This happens at least with the AIX C compiler. 3259 : > sub/conftest.c 3260 for i in 1 2 3 4 5 6; do 3261 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3262 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3263 # Solaris 10 /bin/sh. 3264 echo '/* dummy */' > sub/conftst$i.h 3265 done 3266 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3267 3268 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3269 # mode. It turns out that the SunPro C++ compiler does not properly 3270 # handle '-M -o', and we need to detect this. Also, some Intel 3271 # versions had trouble with output in subdirs. 3272 am__obj=sub/conftest.${OBJEXT-o} 3273 am__minus_obj="-o $am__obj" 3274 case $depmode in 3275 gcc) 3276 # This depmode causes a compiler race in universal mode. 3277 test "$am__universal" = false || continue 3278 ;; 3279 nosideeffect) 3280 # After this tag, mechanisms are not by side-effect, so they'll 3281 # only be used when explicitly requested. 3282 if test "x$enable_dependency_tracking" = xyes; then 3283 continue 3284 else 3285 break 3286 fi 3287 ;; 3288 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3289 # This compiler won't grok '-c -o', but also, the minuso test has 3290 # not run yet. These depmodes are late enough in the game, and 3291 # so weak that their functioning should not be impacted. 3292 am__obj=conftest.${OBJEXT-o} 3293 am__minus_obj= 3294 ;; 3295 none) break ;; 3296 esac 3297 if depmode=$depmode \ 3298 source=sub/conftest.c object=$am__obj \ 3299 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3300 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3301 >/dev/null 2>conftest.err && 3302 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3303 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3304 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3305 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3306 # icc doesn't choke on unknown options, it will just issue warnings 3307 # or remarks (even with -Werror). So we grep stderr for any message 3308 # that says an option was ignored or not supported. 3309 # When given -MP, icc 7.0 and 7.1 complain thusly: 3310 # icc: Command line warning: ignoring option '-M'; no argument required 3311 # The diagnosis changed in icc 8.0: 3312 # icc: Command line remark: option '-MP' not supported 3313 if (grep 'ignoring option' conftest.err || 3314 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3315 am_cv_CXX_dependencies_compiler_type=$depmode 3316 break 3317 fi 3318 fi 3319 done 3320 3321 cd .. 3322 rm -rf conftest.dir 3323else 3324 am_cv_CXX_dependencies_compiler_type=none 3325fi 3326 3327fi 3328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3329$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 3330CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3331 3332 if 3333 test "x$enable_dependency_tracking" != xno \ 3334 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3335 am__fastdepCXX_TRUE= 3336 am__fastdepCXX_FALSE='#' 3337else 3338 am__fastdepCXX_TRUE='#' 3339 am__fastdepCXX_FALSE= 3340fi 3341 3342 3343 3344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5 3345$as_echo_n "checking whether the compiler implements namespaces... " >&6; } 3346if ${ac_cv_cxx_namespaces+:} false; then : 3347 $as_echo_n "(cached) " >&6 3348else 3349 3350 ac_ext=cpp 3351ac_cpp='$CXXCPP $CPPFLAGS' 3352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3355 3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3357/* end confdefs.h. */ 3358namespace Outer { namespace Inner { int i = 0; }} 3359int 3360main () 3361{ 3362using namespace Outer::Inner; return i; 3363 ; 3364 return 0; 3365} 3366_ACEOF 3367if ac_fn_cxx_try_compile "$LINENO"; then : 3368 ac_cv_cxx_namespaces=yes 3369else 3370 ac_cv_cxx_namespaces=no 3371fi 3372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3373 ac_ext=c 3374ac_cpp='$CPP $CPPFLAGS' 3375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3377ac_compiler_gnu=$ac_cv_c_compiler_gnu 3378 3379 3380fi 3381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5 3382$as_echo "$ac_cv_cxx_namespaces" >&6; } 3383if test "$ac_cv_cxx_namespaces" = yes; then 3384 3385$as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h 3386 3387fi 3388 3389ac_ext=cpp 3390ac_cpp='$CXXCPP $CPPFLAGS' 3391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 3395$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 3396if test -z "$CXXCPP"; then 3397 if ${ac_cv_prog_CXXCPP+:} false; then : 3398 $as_echo_n "(cached) " >&6 3399else 3400 # Double quotes because CXXCPP needs to be expanded 3401 for CXXCPP in "$CXX -E" "/lib/cpp" 3402 do 3403 ac_preproc_ok=false 3404for ac_cxx_preproc_warn_flag in '' yes 3405do 3406 # Use a header file that comes with gcc, so configuring glibc 3407 # with a fresh cross-compiler works. 3408 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3409 # <limits.h> exists even on freestanding compilers. 3410 # On the NeXT, cc -E runs the code through the compiler's parser, 3411 # not just through cpp. "Syntax error" is here to catch this case. 3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3413/* end confdefs.h. */ 3414#ifdef __STDC__ 3415# include <limits.h> 3416#else 3417# include <assert.h> 3418#endif 3419 Syntax error 3420_ACEOF 3421if ac_fn_cxx_try_cpp "$LINENO"; then : 3422 3423else 3424 # Broken: fails on valid input. 3425continue 3426fi 3427rm -f conftest.err conftest.i conftest.$ac_ext 3428 3429 # OK, works on sane cases. Now check whether nonexistent headers 3430 # can be detected and how. 3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3432/* end confdefs.h. */ 3433#include <ac_nonexistent.h> 3434_ACEOF 3435if ac_fn_cxx_try_cpp "$LINENO"; then : 3436 # Broken: success on invalid input. 3437continue 3438else 3439 # Passes both tests. 3440ac_preproc_ok=: 3441break 3442fi 3443rm -f conftest.err conftest.i conftest.$ac_ext 3444 3445done 3446# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3447rm -f conftest.i conftest.err conftest.$ac_ext 3448if $ac_preproc_ok; then : 3449 break 3450fi 3451 3452 done 3453 ac_cv_prog_CXXCPP=$CXXCPP 3454 3455fi 3456 CXXCPP=$ac_cv_prog_CXXCPP 3457else 3458 ac_cv_prog_CXXCPP=$CXXCPP 3459fi 3460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 3461$as_echo "$CXXCPP" >&6; } 3462ac_preproc_ok=false 3463for ac_cxx_preproc_warn_flag in '' yes 3464do 3465 # Use a header file that comes with gcc, so configuring glibc 3466 # with a fresh cross-compiler works. 3467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3468 # <limits.h> exists even on freestanding compilers. 3469 # On the NeXT, cc -E runs the code through the compiler's parser, 3470 # not just through cpp. "Syntax error" is here to catch this case. 3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3472/* end confdefs.h. */ 3473#ifdef __STDC__ 3474# include <limits.h> 3475#else 3476# include <assert.h> 3477#endif 3478 Syntax error 3479_ACEOF 3480if ac_fn_cxx_try_cpp "$LINENO"; then : 3481 3482else 3483 # Broken: fails on valid input. 3484continue 3485fi 3486rm -f conftest.err conftest.i conftest.$ac_ext 3487 3488 # OK, works on sane cases. Now check whether nonexistent headers 3489 # can be detected and how. 3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3491/* end confdefs.h. */ 3492#include <ac_nonexistent.h> 3493_ACEOF 3494if ac_fn_cxx_try_cpp "$LINENO"; then : 3495 # Broken: success on invalid input. 3496continue 3497else 3498 # Passes both tests. 3499ac_preproc_ok=: 3500break 3501fi 3502rm -f conftest.err conftest.i conftest.$ac_ext 3503 3504done 3505# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3506rm -f conftest.i conftest.err conftest.$ac_ext 3507if $ac_preproc_ok; then : 3508 3509else 3510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3512as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 3513See \`config.log' for more details" "$LINENO" 5; } 3514fi 3515 3516ac_ext=cpp 3517ac_cpp='$CXXCPP $CPPFLAGS' 3518ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3519ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3520ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3521 3522 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3524$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3525if ${ac_cv_path_GREP+:} false; then : 3526 $as_echo_n "(cached) " >&6 3527else 3528 if test -z "$GREP"; then 3529 ac_path_GREP_found=false 3530 # Loop through the user's path and test for each of PROGNAME-LIST 3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3532for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3533do 3534 IFS=$as_save_IFS 3535 test -z "$as_dir" && as_dir=. 3536 for ac_prog in grep ggrep; do 3537 for ac_exec_ext in '' $ac_executable_extensions; do 3538 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3539 as_fn_executable_p "$ac_path_GREP" || continue 3540# Check for GNU ac_path_GREP and select it if it is found. 3541 # Check for GNU $ac_path_GREP 3542case `"$ac_path_GREP" --version 2>&1` in 3543*GNU*) 3544 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3545*) 3546 ac_count=0 3547 $as_echo_n 0123456789 >"conftest.in" 3548 while : 3549 do 3550 cat "conftest.in" "conftest.in" >"conftest.tmp" 3551 mv "conftest.tmp" "conftest.in" 3552 cp "conftest.in" "conftest.nl" 3553 $as_echo 'GREP' >> "conftest.nl" 3554 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3555 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3556 as_fn_arith $ac_count + 1 && ac_count=$as_val 3557 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3558 # Best one so far, save it but keep looking for a better one 3559 ac_cv_path_GREP="$ac_path_GREP" 3560 ac_path_GREP_max=$ac_count 3561 fi 3562 # 10*(2^10) chars as input seems more than enough 3563 test $ac_count -gt 10 && break 3564 done 3565 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3566esac 3567 3568 $ac_path_GREP_found && break 3 3569 done 3570 done 3571 done 3572IFS=$as_save_IFS 3573 if test -z "$ac_cv_path_GREP"; then 3574 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3575 fi 3576else 3577 ac_cv_path_GREP=$GREP 3578fi 3579 3580fi 3581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3582$as_echo "$ac_cv_path_GREP" >&6; } 3583 GREP="$ac_cv_path_GREP" 3584 3585 3586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3587$as_echo_n "checking for egrep... " >&6; } 3588if ${ac_cv_path_EGREP+:} false; then : 3589 $as_echo_n "(cached) " >&6 3590else 3591 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3592 then ac_cv_path_EGREP="$GREP -E" 3593 else 3594 if test -z "$EGREP"; then 3595 ac_path_EGREP_found=false 3596 # Loop through the user's path and test for each of PROGNAME-LIST 3597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3598for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3599do 3600 IFS=$as_save_IFS 3601 test -z "$as_dir" && as_dir=. 3602 for ac_prog in egrep; do 3603 for ac_exec_ext in '' $ac_executable_extensions; do 3604 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3605 as_fn_executable_p "$ac_path_EGREP" || continue 3606# Check for GNU ac_path_EGREP and select it if it is found. 3607 # Check for GNU $ac_path_EGREP 3608case `"$ac_path_EGREP" --version 2>&1` in 3609*GNU*) 3610 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3611*) 3612 ac_count=0 3613 $as_echo_n 0123456789 >"conftest.in" 3614 while : 3615 do 3616 cat "conftest.in" "conftest.in" >"conftest.tmp" 3617 mv "conftest.tmp" "conftest.in" 3618 cp "conftest.in" "conftest.nl" 3619 $as_echo 'EGREP' >> "conftest.nl" 3620 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3621 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3622 as_fn_arith $ac_count + 1 && ac_count=$as_val 3623 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3624 # Best one so far, save it but keep looking for a better one 3625 ac_cv_path_EGREP="$ac_path_EGREP" 3626 ac_path_EGREP_max=$ac_count 3627 fi 3628 # 10*(2^10) chars as input seems more than enough 3629 test $ac_count -gt 10 && break 3630 done 3631 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3632esac 3633 3634 $ac_path_EGREP_found && break 3 3635 done 3636 done 3637 done 3638IFS=$as_save_IFS 3639 if test -z "$ac_cv_path_EGREP"; then 3640 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3641 fi 3642else 3643 ac_cv_path_EGREP=$EGREP 3644fi 3645 3646 fi 3647fi 3648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3649$as_echo "$ac_cv_path_EGREP" >&6; } 3650 EGREP="$ac_cv_path_EGREP" 3651 3652 3653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3654$as_echo_n "checking for ANSI C header files... " >&6; } 3655if ${ac_cv_header_stdc+:} false; then : 3656 $as_echo_n "(cached) " >&6 3657else 3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3659/* end confdefs.h. */ 3660#include <stdlib.h> 3661#include <stdarg.h> 3662#include <string.h> 3663#include <float.h> 3664 3665int 3666main () 3667{ 3668 3669 ; 3670 return 0; 3671} 3672_ACEOF 3673if ac_fn_cxx_try_compile "$LINENO"; then : 3674 ac_cv_header_stdc=yes 3675else 3676 ac_cv_header_stdc=no 3677fi 3678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3679 3680if test $ac_cv_header_stdc = yes; then 3681 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3683/* end confdefs.h. */ 3684#include <string.h> 3685 3686_ACEOF 3687if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3688 $EGREP "memchr" >/dev/null 2>&1; then : 3689 3690else 3691 ac_cv_header_stdc=no 3692fi 3693rm -f conftest* 3694 3695fi 3696 3697if test $ac_cv_header_stdc = yes; then 3698 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3700/* end confdefs.h. */ 3701#include <stdlib.h> 3702 3703_ACEOF 3704if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3705 $EGREP "free" >/dev/null 2>&1; then : 3706 3707else 3708 ac_cv_header_stdc=no 3709fi 3710rm -f conftest* 3711 3712fi 3713 3714if test $ac_cv_header_stdc = yes; then 3715 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3716 if test "$cross_compiling" = yes; then : 3717 : 3718else 3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3720/* end confdefs.h. */ 3721#include <ctype.h> 3722#include <stdlib.h> 3723#if ((' ' & 0x0FF) == 0x020) 3724# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3725# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3726#else 3727# define ISLOWER(c) \ 3728 (('a' <= (c) && (c) <= 'i') \ 3729 || ('j' <= (c) && (c) <= 'r') \ 3730 || ('s' <= (c) && (c) <= 'z')) 3731# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3732#endif 3733 3734#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3735int 3736main () 3737{ 3738 int i; 3739 for (i = 0; i < 256; i++) 3740 if (XOR (islower (i), ISLOWER (i)) 3741 || toupper (i) != TOUPPER (i)) 3742 return 2; 3743 return 0; 3744} 3745_ACEOF 3746if ac_fn_cxx_try_run "$LINENO"; then : 3747 3748else 3749 ac_cv_header_stdc=no 3750fi 3751rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3752 conftest.$ac_objext conftest.beam conftest.$ac_ext 3753fi 3754 3755fi 3756fi 3757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3758$as_echo "$ac_cv_header_stdc" >&6; } 3759if test $ac_cv_header_stdc = yes; then 3760 3761$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3762 3763fi 3764 3765# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3766for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3767 inttypes.h stdint.h unistd.h 3768do : 3769 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3770ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3771" 3772if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3773 cat >>confdefs.h <<_ACEOF 3774#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3775_ACEOF 3776 3777fi 3778 3779done 3780 3781 3782 3783 3784ac_ext=cpp 3785ac_cpp='$CXXCPP $CPPFLAGS' 3786ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3787ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3788ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3789 3790for ac_header in sstream 3791do : 3792 ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default" 3793if test "x$ac_cv_header_sstream" = xyes; then : 3794 cat >>confdefs.h <<_ACEOF 3795#define HAVE_SSTREAM 1 3796_ACEOF 3797 3798fi 3799 3800done 3801 3802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the STL defines stringstream" >&5 3803$as_echo_n "checking whether the STL defines stringstream... " >&6; } 3804if ${ac_cv_cxx_have_sstream+:} false; then : 3805 $as_echo_n "(cached) " >&6 3806else 3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3808/* end confdefs.h. */ 3809#include <sstream> 3810#ifdef HAVE_NAMESPACES 3811using namespace std; 3812#endif 3813int 3814main () 3815{ 3816stringstream message; message << "Hello"; return 0; 3817 ; 3818 return 0; 3819} 3820_ACEOF 3821if ac_fn_cxx_try_compile "$LINENO"; then : 3822 ac_cv_cxx_have_sstream=yes 3823else 3824 ac_cv_cxx_have_sstream=no 3825fi 3826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3827 3828fi 3829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_sstream" >&5 3830$as_echo "$ac_cv_cxx_have_sstream" >&6; } 3831if test "$ac_cv_cxx_have_sstream" = yes; then 3832 3833$as_echo "#define HAVE_SSTREAM 1" >>confdefs.h 3834 3835fi 3836ac_ext=c 3837ac_cpp='$CPP $CPPFLAGS' 3838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3840ac_compiler_gnu=$ac_cv_c_compiler_gnu 3841 3842 3843 3844 3845 ac_ext=cpp 3846ac_cpp='$CXXCPP $CPPFLAGS' 3847ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3848ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3849ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3850 3851 for ac_header in strstream 3852do : 3853 ac_fn_cxx_check_header_mongrel "$LINENO" "strstream" "ac_cv_header_strstream" "$ac_includes_default" 3854if test "x$ac_cv_header_strstream" = xyes; then : 3855 cat >>confdefs.h <<_ACEOF 3856#define HAVE_STRSTREAM 1 3857_ACEOF 3858 3859fi 3860 3861done 3862 3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the STL defines strstream" >&5 3864$as_echo_n "checking whether the STL defines strstream... " >&6; } 3865if ${ac_cv_cxx_have_class_strstream+:} false; then : 3866 $as_echo_n "(cached) " >&6 3867else 3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3869/* end confdefs.h. */ 3870#if HAVE_STRSTREAM 3871# include <strstream> 3872#else 3873# include <strstream.h> 3874#endif 3875#ifdef HAVE_NAMESPACES 3876using namespace std; 3877#endif 3878int 3879main () 3880{ 3881ostrstream message; message << "Hello"; return 0; 3882 ; 3883 return 0; 3884} 3885_ACEOF 3886if ac_fn_cxx_try_compile "$LINENO"; then : 3887 ac_cv_cxx_have_class_strstream=yes 3888else 3889 ac_cv_cxx_have_class_strstream=no 3890fi 3891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3892 3893fi 3894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_class_strstream" >&5 3895$as_echo "$ac_cv_cxx_have_class_strstream" >&6; } 3896if test "$ac_cv_cxx_have_class_strstream" = yes; then 3897 3898$as_echo "#define HAVE_CLASS_STRSTREAM 1" >>confdefs.h 3899 3900fi 3901ac_ext=c 3902ac_cpp='$CPP $CPPFLAGS' 3903ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3904ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3905ac_compiler_gnu=$ac_cv_c_compiler_gnu 3906 3907 3908 3909 ac_ext=cpp 3910ac_cpp='$CXXCPP $CPPFLAGS' 3911ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3912ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3913ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3914 3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3916/* end confdefs.h. */ 3917 3918int 3919main () 3920{ 3921long long x = 1; return 0; 3922 ; 3923 return 0; 3924} 3925_ACEOF 3926if ac_fn_cxx_try_compile "$LINENO"; then : 3927 ac_cv_cxx_have_long_long=yes 3928else 3929 ac_cv_cxx_have_long_long=no 3930fi 3931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3932 3933if test "$ac_cv_cxx_have_long_long" = yes; then 3934 3935$as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h 3936 3937else 3938 3939$as_echo "#define HAVE_LONG_LONG 0" >>confdefs.h 3940 3941fi 3942ac_ext=c 3943ac_cpp='$CPP $CPPFLAGS' 3944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3946ac_compiler_gnu=$ac_cv_c_compiler_gnu 3947 3948 3949# Extract the first word of "dot", so it can be a program name with args. 3950set dummy dot; ac_word=$2 3951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3952$as_echo_n "checking for $ac_word... " >&6; } 3953if ${ac_cv_prog_DOT+:} false; then : 3954 $as_echo_n "(cached) " >&6 3955else 3956 if test -n "$DOT"; then 3957 ac_cv_prog_DOT="$DOT" # Let the user override the test. 3958else 3959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3960for as_dir in $PATH 3961do 3962 IFS=$as_save_IFS 3963 test -z "$as_dir" && as_dir=. 3964 for ac_exec_ext in '' $ac_executable_extensions; do 3965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3966 ac_cv_prog_DOT="YES" 3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3968 break 2 3969 fi 3970done 3971 done 3972IFS=$as_save_IFS 3973 3974 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="NO" 3975fi 3976fi 3977DOT=$ac_cv_prog_DOT 3978if test -n "$DOT"; then 3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5 3980$as_echo "$DOT" >&6; } 3981else 3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3983$as_echo "no" >&6; } 3984fi 3985 3986 3987if test -n "$ac_tool_prefix"; then 3988 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3989set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3991$as_echo_n "checking for $ac_word... " >&6; } 3992if ${ac_cv_prog_RANLIB+:} false; then : 3993 $as_echo_n "(cached) " >&6 3994else 3995 if test -n "$RANLIB"; then 3996 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3997else 3998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3999for as_dir in $PATH 4000do 4001 IFS=$as_save_IFS 4002 test -z "$as_dir" && as_dir=. 4003 for ac_exec_ext in '' $ac_executable_extensions; do 4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4005 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4007 break 2 4008 fi 4009done 4010 done 4011IFS=$as_save_IFS 4012 4013fi 4014fi 4015RANLIB=$ac_cv_prog_RANLIB 4016if test -n "$RANLIB"; then 4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4018$as_echo "$RANLIB" >&6; } 4019else 4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4021$as_echo "no" >&6; } 4022fi 4023 4024 4025fi 4026if test -z "$ac_cv_prog_RANLIB"; then 4027 ac_ct_RANLIB=$RANLIB 4028 # Extract the first word of "ranlib", so it can be a program name with args. 4029set dummy ranlib; ac_word=$2 4030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4031$as_echo_n "checking for $ac_word... " >&6; } 4032if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4033 $as_echo_n "(cached) " >&6 4034else 4035 if test -n "$ac_ct_RANLIB"; then 4036 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4037else 4038as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4039for as_dir in $PATH 4040do 4041 IFS=$as_save_IFS 4042 test -z "$as_dir" && as_dir=. 4043 for ac_exec_ext in '' $ac_executable_extensions; do 4044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4045 ac_cv_prog_ac_ct_RANLIB="ranlib" 4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4047 break 2 4048 fi 4049done 4050 done 4051IFS=$as_save_IFS 4052 4053fi 4054fi 4055ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4056if test -n "$ac_ct_RANLIB"; then 4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4058$as_echo "$ac_ct_RANLIB" >&6; } 4059else 4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4061$as_echo "no" >&6; } 4062fi 4063 4064 if test "x$ac_ct_RANLIB" = x; then 4065 RANLIB=":" 4066 else 4067 case $cross_compiling:$ac_tool_warned in 4068yes:) 4069{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4070$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4071ac_tool_warned=yes ;; 4072esac 4073 RANLIB=$ac_ct_RANLIB 4074 fi 4075else 4076 RANLIB="$ac_cv_prog_RANLIB" 4077fi 4078 4079 4080 4081# Check whether --enable-doxygen was given. 4082if test "${enable_doxygen+set}" = set; then : 4083 enableval=$enable_doxygen; 4084fi 4085 4086if test "x$enable_doxygen" = xno; then 4087 enable_doc=no 4088else 4089 # Extract the first word of "doxygen", so it can be a program name with args. 4090set dummy doxygen; ac_word=$2 4091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4092$as_echo_n "checking for $ac_word... " >&6; } 4093if ${ac_cv_path_DOXYGEN+:} false; then : 4094 $as_echo_n "(cached) " >&6 4095else 4096 case $DOXYGEN in 4097 [\\/]* | ?:[\\/]*) 4098 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. 4099 ;; 4100 *) 4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4102for as_dir in $PATH 4103do 4104 IFS=$as_save_IFS 4105 test -z "$as_dir" && as_dir=. 4106 for ac_exec_ext in '' $ac_executable_extensions; do 4107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4108 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4110 break 2 4111 fi 4112done 4113 done 4114IFS=$as_save_IFS 4115 4116 ;; 4117esac 4118fi 4119DOXYGEN=$ac_cv_path_DOXYGEN 4120if test -n "$DOXYGEN"; then 4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 4122$as_echo "$DOXYGEN" >&6; } 4123else 4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4125$as_echo "no" >&6; } 4126fi 4127 4128 4129 if test x$DOXYGEN = x; then 4130 if test "x$enable_doxygen" = xyes; then 4131 as_fn_error $? "could not find doxygen" "$LINENO" 5 4132 fi 4133 enable_doc=no 4134 else 4135 enable_doc=yes 4136 fi 4137fi 4138 if test x$enable_doc = xyes; then 4139 DOC_TRUE= 4140 DOC_FALSE='#' 4141else 4142 DOC_TRUE='#' 4143 DOC_FALSE= 4144fi 4145 4146 4147 4148 4149 4150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler (${CXX}) accepts -Weffc++" >&5 4151$as_echo_n "checking whether the C++ compiler (${CXX}) accepts -Weffc++... " >&6; } 4152if ${cv_warn_effective_cxx+:} false; then : 4153 $as_echo_n "(cached) " >&6 4154else 4155 4156 4157ac_ext=cpp 4158ac_cpp='$CXXCPP $CPPFLAGS' 4159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4162 4163save_cxxflags="$CXXFLAGS" 4164CXXFLAGS="$CXXFLAGS -Weffc++" 4165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4166/* end confdefs.h. */ 4167 4168int 4169main () 4170{ 4171main(); 4172 ; 4173 return 0; 4174} 4175_ACEOF 4176if ac_fn_cxx_try_compile "$LINENO"; then : 4177 cv_warn_effective_cxx=yes 4178else 4179 cv_warn_effective_cxx=no 4180fi 4181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4182CXXFLAGS="$save_cxxflags" 4183ac_ext=c 4184ac_cpp='$CPP $CPPFLAGS' 4185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4187ac_compiler_gnu=$ac_cv_c_compiler_gnu 4188 4189 4190fi 4191 4192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_warn_effective_cxx" >&5 4193$as_echo "$cv_warn_effective_cxx" >&6; } 4194if test "$cv_warn_effective_cxx" = yes; then 4195 WARN_EFFECTIVE_CXX=-Weffc++ 4196 WARN_NO_EFFECTIVE_CXX=-Wno-effc++ 4197fi 4198 4199 4200 4201CXXFLAGS="$CXXFLAGS $WARN_EFFECTIVE_CXX" 4202 4203 if test x$ac_cv_cxx_compiler_gnu = xyes; then 4204 HAVE_GNU_COMPILERS_TRUE= 4205 HAVE_GNU_COMPILERS_FALSE='#' 4206else 4207 HAVE_GNU_COMPILERS_TRUE='#' 4208 HAVE_GNU_COMPILERS_FALSE= 4209fi 4210 4211 4212ac_config_files="$ac_config_files Makefile tclap.pc examples/Makefile include/Makefile include/tclap/Makefile config/Makefile docs/Makefile docs/Doxyfile msc/Makefile msc/examples/Makefile tests/Makefile" 4213 4214ac_config_commands="$ac_config_commands default" 4215 4216cat >confcache <<\_ACEOF 4217# This file is a shell script that caches the results of configure 4218# tests run on this system so they can be shared between configure 4219# scripts and configure runs, see configure's option --config-cache. 4220# It is not useful on other systems. If it contains results you don't 4221# want to keep, you may remove or edit it. 4222# 4223# config.status only pays attention to the cache file if you give it 4224# the --recheck option to rerun configure. 4225# 4226# `ac_cv_env_foo' variables (set or unset) will be overridden when 4227# loading this file, other *unset* `ac_cv_foo' will be assigned the 4228# following values. 4229 4230_ACEOF 4231 4232# The following way of writing the cache mishandles newlines in values, 4233# but we know of no workaround that is simple, portable, and efficient. 4234# So, we kill variables containing newlines. 4235# Ultrix sh set writes to stderr and can't be redirected directly, 4236# and sets the high bit in the cache file unless we assign to the vars. 4237( 4238 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4239 eval ac_val=\$$ac_var 4240 case $ac_val in #( 4241 *${as_nl}*) 4242 case $ac_var in #( 4243 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4244$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4245 esac 4246 case $ac_var in #( 4247 _ | IFS | as_nl) ;; #( 4248 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4249 *) { eval $ac_var=; unset $ac_var;} ;; 4250 esac ;; 4251 esac 4252 done 4253 4254 (set) 2>&1 | 4255 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4256 *${as_nl}ac_space=\ *) 4257 # `set' does not quote correctly, so add quotes: double-quote 4258 # substitution turns \\\\ into \\, and sed turns \\ into \. 4259 sed -n \ 4260 "s/'/'\\\\''/g; 4261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4262 ;; #( 4263 *) 4264 # `set' quotes correctly as required by POSIX, so do not add quotes. 4265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4266 ;; 4267 esac | 4268 sort 4269) | 4270 sed ' 4271 /^ac_cv_env_/b end 4272 t clear 4273 :clear 4274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4275 t end 4276 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4277 :end' >>confcache 4278if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4279 if test -w "$cache_file"; then 4280 if test "x$cache_file" != "x/dev/null"; then 4281 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4282$as_echo "$as_me: updating cache $cache_file" >&6;} 4283 if test ! -f "$cache_file" || test -h "$cache_file"; then 4284 cat confcache >"$cache_file" 4285 else 4286 case $cache_file in #( 4287 */* | ?:*) 4288 mv -f confcache "$cache_file"$$ && 4289 mv -f "$cache_file"$$ "$cache_file" ;; #( 4290 *) 4291 mv -f confcache "$cache_file" ;; 4292 esac 4293 fi 4294 fi 4295 else 4296 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4297$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4298 fi 4299fi 4300rm -f confcache 4301 4302test "x$prefix" = xNONE && prefix=$ac_default_prefix 4303# Let make expand exec_prefix. 4304test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4305 4306DEFS=-DHAVE_CONFIG_H 4307 4308ac_libobjs= 4309ac_ltlibobjs= 4310for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4311 # 1. Remove the extension, and $U if already installed. 4312 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4313 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4314 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4315 # will be set to the directory where LIBOBJS objects are built. 4316 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4317 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4318done 4319LIBOBJS=$ac_libobjs 4320 4321LTLIBOBJS=$ac_ltlibobjs 4322 4323 4324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 4325$as_echo_n "checking that generated files are newer than configure... " >&6; } 4326 if test -n "$am_sleep_pid"; then 4327 # Hide warnings about reused PIDs. 4328 wait $am_sleep_pid 2>/dev/null 4329 fi 4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 4331$as_echo "done" >&6; } 4332 if test -n "$EXEEXT"; then 4333 am__EXEEXT_TRUE= 4334 am__EXEEXT_FALSE='#' 4335else 4336 am__EXEEXT_TRUE='#' 4337 am__EXEEXT_FALSE= 4338fi 4339 4340if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4341 as_fn_error $? "conditional \"AMDEP\" was never defined. 4342Usually this means the macro was only invoked conditionally." "$LINENO" 5 4343fi 4344if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 4345 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 4346Usually this means the macro was only invoked conditionally." "$LINENO" 5 4347fi 4348if test -z "${DOC_TRUE}" && test -z "${DOC_FALSE}"; then 4349 as_fn_error $? "conditional \"DOC\" was never defined. 4350Usually this means the macro was only invoked conditionally." "$LINENO" 5 4351fi 4352if test -z "${HAVE_GNU_COMPILERS_TRUE}" && test -z "${HAVE_GNU_COMPILERS_FALSE}"; then 4353 as_fn_error $? "conditional \"HAVE_GNU_COMPILERS\" was never defined. 4354Usually this means the macro was only invoked conditionally." "$LINENO" 5 4355fi 4356 4357: "${CONFIG_STATUS=./config.status}" 4358ac_write_fail=0 4359ac_clean_files_save=$ac_clean_files 4360ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4361{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4362$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4363as_write_fail=0 4364cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4365#! $SHELL 4366# Generated by $as_me. 4367# Run this file to recreate the current configuration. 4368# Compiler output produced by configure, useful for debugging 4369# configure, is in config.log if it exists. 4370 4371debug=false 4372ac_cs_recheck=false 4373ac_cs_silent=false 4374 4375SHELL=\${CONFIG_SHELL-$SHELL} 4376export SHELL 4377_ASEOF 4378cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4379## -------------------- ## 4380## M4sh Initialization. ## 4381## -------------------- ## 4382 4383# Be more Bourne compatible 4384DUALCASE=1; export DUALCASE # for MKS sh 4385if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4386 emulate sh 4387 NULLCMD=: 4388 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4389 # is contrary to our usage. Disable this feature. 4390 alias -g '${1+"$@"}'='"$@"' 4391 setopt NO_GLOB_SUBST 4392else 4393 case `(set -o) 2>/dev/null` in #( 4394 *posix*) : 4395 set -o posix ;; #( 4396 *) : 4397 ;; 4398esac 4399fi 4400 4401 4402as_nl=' 4403' 4404export as_nl 4405# Printing a long string crashes Solaris 7 /usr/bin/printf. 4406as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4407as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4408as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4409# Prefer a ksh shell builtin over an external printf program on Solaris, 4410# but without wasting forks for bash or zsh. 4411if test -z "$BASH_VERSION$ZSH_VERSION" \ 4412 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4413 as_echo='print -r --' 4414 as_echo_n='print -rn --' 4415elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4416 as_echo='printf %s\n' 4417 as_echo_n='printf %s' 4418else 4419 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4420 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4421 as_echo_n='/usr/ucb/echo -n' 4422 else 4423 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4424 as_echo_n_body='eval 4425 arg=$1; 4426 case $arg in #( 4427 *"$as_nl"*) 4428 expr "X$arg" : "X\\(.*\\)$as_nl"; 4429 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4430 esac; 4431 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4432 ' 4433 export as_echo_n_body 4434 as_echo_n='sh -c $as_echo_n_body as_echo' 4435 fi 4436 export as_echo_body 4437 as_echo='sh -c $as_echo_body as_echo' 4438fi 4439 4440# The user is always right. 4441if test "${PATH_SEPARATOR+set}" != set; then 4442 PATH_SEPARATOR=: 4443 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4444 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4445 PATH_SEPARATOR=';' 4446 } 4447fi 4448 4449 4450# IFS 4451# We need space, tab and new line, in precisely that order. Quoting is 4452# there to prevent editors from complaining about space-tab. 4453# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4454# splitting by setting IFS to empty value.) 4455IFS=" "" $as_nl" 4456 4457# Find who we are. Look in the path if we contain no directory separator. 4458as_myself= 4459case $0 in #(( 4460 *[\\/]* ) as_myself=$0 ;; 4461 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4462for as_dir in $PATH 4463do 4464 IFS=$as_save_IFS 4465 test -z "$as_dir" && as_dir=. 4466 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4467 done 4468IFS=$as_save_IFS 4469 4470 ;; 4471esac 4472# We did not find ourselves, most probably we were run as `sh COMMAND' 4473# in which case we are not to be found in the path. 4474if test "x$as_myself" = x; then 4475 as_myself=$0 4476fi 4477if test ! -f "$as_myself"; then 4478 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4479 exit 1 4480fi 4481 4482# Unset variables that we do not need and which cause bugs (e.g. in 4483# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4484# suppresses any "Segmentation fault" message there. '((' could 4485# trigger a bug in pdksh 5.2.14. 4486for as_var in BASH_ENV ENV MAIL MAILPATH 4487do eval test x\${$as_var+set} = xset \ 4488 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4489done 4490PS1='$ ' 4491PS2='> ' 4492PS4='+ ' 4493 4494# NLS nuisances. 4495LC_ALL=C 4496export LC_ALL 4497LANGUAGE=C 4498export LANGUAGE 4499 4500# CDPATH. 4501(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4502 4503 4504# as_fn_error STATUS ERROR [LINENO LOG_FD] 4505# ---------------------------------------- 4506# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4507# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4508# script with STATUS, using 1 if that was 0. 4509as_fn_error () 4510{ 4511 as_status=$1; test $as_status -eq 0 && as_status=1 4512 if test "$4"; then 4513 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4514 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4515 fi 4516 $as_echo "$as_me: error: $2" >&2 4517 as_fn_exit $as_status 4518} # as_fn_error 4519 4520 4521# as_fn_set_status STATUS 4522# ----------------------- 4523# Set $? to STATUS, without forking. 4524as_fn_set_status () 4525{ 4526 return $1 4527} # as_fn_set_status 4528 4529# as_fn_exit STATUS 4530# ----------------- 4531# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4532as_fn_exit () 4533{ 4534 set +e 4535 as_fn_set_status $1 4536 exit $1 4537} # as_fn_exit 4538 4539# as_fn_unset VAR 4540# --------------- 4541# Portably unset VAR. 4542as_fn_unset () 4543{ 4544 { eval $1=; unset $1;} 4545} 4546as_unset=as_fn_unset 4547# as_fn_append VAR VALUE 4548# ---------------------- 4549# Append the text in VALUE to the end of the definition contained in VAR. Take 4550# advantage of any shell optimizations that allow amortized linear growth over 4551# repeated appends, instead of the typical quadratic growth present in naive 4552# implementations. 4553if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4554 eval 'as_fn_append () 4555 { 4556 eval $1+=\$2 4557 }' 4558else 4559 as_fn_append () 4560 { 4561 eval $1=\$$1\$2 4562 } 4563fi # as_fn_append 4564 4565# as_fn_arith ARG... 4566# ------------------ 4567# Perform arithmetic evaluation on the ARGs, and store the result in the 4568# global $as_val. Take advantage of shells that can avoid forks. The arguments 4569# must be portable across $(()) and expr. 4570if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4571 eval 'as_fn_arith () 4572 { 4573 as_val=$(( $* )) 4574 }' 4575else 4576 as_fn_arith () 4577 { 4578 as_val=`expr "$@" || test $? -eq 1` 4579 } 4580fi # as_fn_arith 4581 4582 4583if expr a : '\(a\)' >/dev/null 2>&1 && 4584 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4585 as_expr=expr 4586else 4587 as_expr=false 4588fi 4589 4590if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4591 as_basename=basename 4592else 4593 as_basename=false 4594fi 4595 4596if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4597 as_dirname=dirname 4598else 4599 as_dirname=false 4600fi 4601 4602as_me=`$as_basename -- "$0" || 4603$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4604 X"$0" : 'X\(//\)$' \| \ 4605 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4606$as_echo X/"$0" | 4607 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4608 s//\1/ 4609 q 4610 } 4611 /^X\/\(\/\/\)$/{ 4612 s//\1/ 4613 q 4614 } 4615 /^X\/\(\/\).*/{ 4616 s//\1/ 4617 q 4618 } 4619 s/.*/./; q'` 4620 4621# Avoid depending upon Character Ranges. 4622as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4623as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4624as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4625as_cr_digits='0123456789' 4626as_cr_alnum=$as_cr_Letters$as_cr_digits 4627 4628ECHO_C= ECHO_N= ECHO_T= 4629case `echo -n x` in #((((( 4630-n*) 4631 case `echo 'xy\c'` in 4632 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4633 xy) ECHO_C='\c';; 4634 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4635 ECHO_T=' ';; 4636 esac;; 4637*) 4638 ECHO_N='-n';; 4639esac 4640 4641rm -f conf$$ conf$$.exe conf$$.file 4642if test -d conf$$.dir; then 4643 rm -f conf$$.dir/conf$$.file 4644else 4645 rm -f conf$$.dir 4646 mkdir conf$$.dir 2>/dev/null 4647fi 4648if (echo >conf$$.file) 2>/dev/null; then 4649 if ln -s conf$$.file conf$$ 2>/dev/null; then 4650 as_ln_s='ln -s' 4651 # ... but there are two gotchas: 4652 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4653 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4654 # In both cases, we have to default to `cp -pR'. 4655 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4656 as_ln_s='cp -pR' 4657 elif ln conf$$.file conf$$ 2>/dev/null; then 4658 as_ln_s=ln 4659 else 4660 as_ln_s='cp -pR' 4661 fi 4662else 4663 as_ln_s='cp -pR' 4664fi 4665rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4666rmdir conf$$.dir 2>/dev/null 4667 4668 4669# as_fn_mkdir_p 4670# ------------- 4671# Create "$as_dir" as a directory, including parents if necessary. 4672as_fn_mkdir_p () 4673{ 4674 4675 case $as_dir in #( 4676 -*) as_dir=./$as_dir;; 4677 esac 4678 test -d "$as_dir" || eval $as_mkdir_p || { 4679 as_dirs= 4680 while :; do 4681 case $as_dir in #( 4682 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4683 *) as_qdir=$as_dir;; 4684 esac 4685 as_dirs="'$as_qdir' $as_dirs" 4686 as_dir=`$as_dirname -- "$as_dir" || 4687$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4688 X"$as_dir" : 'X\(//\)[^/]' \| \ 4689 X"$as_dir" : 'X\(//\)$' \| \ 4690 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4691$as_echo X"$as_dir" | 4692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4693 s//\1/ 4694 q 4695 } 4696 /^X\(\/\/\)[^/].*/{ 4697 s//\1/ 4698 q 4699 } 4700 /^X\(\/\/\)$/{ 4701 s//\1/ 4702 q 4703 } 4704 /^X\(\/\).*/{ 4705 s//\1/ 4706 q 4707 } 4708 s/.*/./; q'` 4709 test -d "$as_dir" && break 4710 done 4711 test -z "$as_dirs" || eval "mkdir $as_dirs" 4712 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4713 4714 4715} # as_fn_mkdir_p 4716if mkdir -p . 2>/dev/null; then 4717 as_mkdir_p='mkdir -p "$as_dir"' 4718else 4719 test -d ./-p && rmdir ./-p 4720 as_mkdir_p=false 4721fi 4722 4723 4724# as_fn_executable_p FILE 4725# ----------------------- 4726# Test if FILE is an executable regular file. 4727as_fn_executable_p () 4728{ 4729 test -f "$1" && test -x "$1" 4730} # as_fn_executable_p 4731as_test_x='test -x' 4732as_executable_p=as_fn_executable_p 4733 4734# Sed expression to map a string onto a valid CPP name. 4735as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4736 4737# Sed expression to map a string onto a valid variable name. 4738as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4739 4740 4741exec 6>&1 4742## ----------------------------------- ## 4743## Main body of $CONFIG_STATUS script. ## 4744## ----------------------------------- ## 4745_ASEOF 4746test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4747 4748cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4749# Save the log message, to keep $0 and so on meaningful, and to 4750# report actual input values of CONFIG_FILES etc. instead of their 4751# values after options handling. 4752ac_log=" 4753This file was extended by $as_me, which was 4754generated by GNU Autoconf 2.69. Invocation command line was 4755 4756 CONFIG_FILES = $CONFIG_FILES 4757 CONFIG_HEADERS = $CONFIG_HEADERS 4758 CONFIG_LINKS = $CONFIG_LINKS 4759 CONFIG_COMMANDS = $CONFIG_COMMANDS 4760 $ $0 $@ 4761 4762on `(hostname || uname -n) 2>/dev/null | sed 1q` 4763" 4764 4765_ACEOF 4766 4767case $ac_config_files in *" 4768"*) set x $ac_config_files; shift; ac_config_files=$*;; 4769esac 4770 4771case $ac_config_headers in *" 4772"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 4773esac 4774 4775 4776cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4777# Files that config.status was made for. 4778config_files="$ac_config_files" 4779config_headers="$ac_config_headers" 4780config_commands="$ac_config_commands" 4781 4782_ACEOF 4783 4784cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4785ac_cs_usage="\ 4786\`$as_me' instantiates files and other configuration actions 4787from templates according to the current configuration. Unless the files 4788and actions are specified as TAGs, all are instantiated by default. 4789 4790Usage: $0 [OPTION]... [TAG]... 4791 4792 -h, --help print this help, then exit 4793 -V, --version print version number and configuration settings, then exit 4794 --config print configuration, then exit 4795 -q, --quiet, --silent 4796 do not print progress messages 4797 -d, --debug don't remove temporary files 4798 --recheck update $as_me by reconfiguring in the same conditions 4799 --file=FILE[:TEMPLATE] 4800 instantiate the configuration file FILE 4801 --header=FILE[:TEMPLATE] 4802 instantiate the configuration header FILE 4803 4804Configuration files: 4805$config_files 4806 4807Configuration headers: 4808$config_headers 4809 4810Configuration commands: 4811$config_commands 4812 4813Report bugs to the package provider." 4814 4815_ACEOF 4816cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4817ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4818ac_cs_version="\\ 4819config.status 4820configured by $0, generated by GNU Autoconf 2.69, 4821 with options \\"\$ac_cs_config\\" 4822 4823Copyright (C) 2012 Free Software Foundation, Inc. 4824This config.status script is free software; the Free Software Foundation 4825gives unlimited permission to copy, distribute and modify it." 4826 4827ac_pwd='$ac_pwd' 4828srcdir='$srcdir' 4829INSTALL='$INSTALL' 4830MKDIR_P='$MKDIR_P' 4831AWK='$AWK' 4832test -n "\$AWK" || AWK=awk 4833_ACEOF 4834 4835cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4836# The default lists apply if the user does not specify any file. 4837ac_need_defaults=: 4838while test $# != 0 4839do 4840 case $1 in 4841 --*=?*) 4842 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4843 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4844 ac_shift=: 4845 ;; 4846 --*=) 4847 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4848 ac_optarg= 4849 ac_shift=: 4850 ;; 4851 *) 4852 ac_option=$1 4853 ac_optarg=$2 4854 ac_shift=shift 4855 ;; 4856 esac 4857 4858 case $ac_option in 4859 # Handling of the options. 4860 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4861 ac_cs_recheck=: ;; 4862 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4863 $as_echo "$ac_cs_version"; exit ;; 4864 --config | --confi | --conf | --con | --co | --c ) 4865 $as_echo "$ac_cs_config"; exit ;; 4866 --debug | --debu | --deb | --de | --d | -d ) 4867 debug=: ;; 4868 --file | --fil | --fi | --f ) 4869 $ac_shift 4870 case $ac_optarg in 4871 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4872 '') as_fn_error $? "missing file argument" ;; 4873 esac 4874 as_fn_append CONFIG_FILES " '$ac_optarg'" 4875 ac_need_defaults=false;; 4876 --header | --heade | --head | --hea ) 4877 $ac_shift 4878 case $ac_optarg in 4879 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4880 esac 4881 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 4882 ac_need_defaults=false;; 4883 --he | --h) 4884 # Conflict between --help and --header 4885 as_fn_error $? "ambiguous option: \`$1' 4886Try \`$0 --help' for more information.";; 4887 --help | --hel | -h ) 4888 $as_echo "$ac_cs_usage"; exit ;; 4889 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4890 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4891 ac_cs_silent=: ;; 4892 4893 # This is an error. 4894 -*) as_fn_error $? "unrecognized option: \`$1' 4895Try \`$0 --help' for more information." ;; 4896 4897 *) as_fn_append ac_config_targets " $1" 4898 ac_need_defaults=false ;; 4899 4900 esac 4901 shift 4902done 4903 4904ac_configure_extra_args= 4905 4906if $ac_cs_silent; then 4907 exec 6>/dev/null 4908 ac_configure_extra_args="$ac_configure_extra_args --silent" 4909fi 4910 4911_ACEOF 4912cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4913if \$ac_cs_recheck; then 4914 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4915 shift 4916 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4917 CONFIG_SHELL='$SHELL' 4918 export CONFIG_SHELL 4919 exec "\$@" 4920fi 4921 4922_ACEOF 4923cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4924exec 5>>config.log 4925{ 4926 echo 4927 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4928## Running $as_me. ## 4929_ASBOX 4930 $as_echo "$ac_log" 4931} >&5 4932 4933_ACEOF 4934cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4935# 4936# INIT-COMMANDS 4937# 4938AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4939 4940_ACEOF 4941 4942cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4943 4944# Handling of arguments. 4945for ac_config_target in $ac_config_targets 4946do 4947 case $ac_config_target in 4948 "config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS config/config.h" ;; 4949 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4950 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4951 "tclap.pc") CONFIG_FILES="$CONFIG_FILES tclap.pc" ;; 4952 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 4953 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 4954 "include/tclap/Makefile") CONFIG_FILES="$CONFIG_FILES include/tclap/Makefile" ;; 4955 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; 4956 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 4957 "docs/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/Doxyfile" ;; 4958 "msc/Makefile") CONFIG_FILES="$CONFIG_FILES msc/Makefile" ;; 4959 "msc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES msc/examples/Makefile" ;; 4960 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 4961 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 4962 4963 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4964 esac 4965done 4966 4967 4968# If the user did not use the arguments to specify the items to instantiate, 4969# then the envvar interface is used. Set only those that are not. 4970# We use the long form for the default assignment because of an extremely 4971# bizarre bug on SunOS 4.1.3. 4972if $ac_need_defaults; then 4973 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4974 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4975 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4976fi 4977 4978# Have a temporary directory for convenience. Make it in the build tree 4979# simply because there is no reason against having it here, and in addition, 4980# creating and moving files from /tmp can sometimes cause problems. 4981# Hook for its removal unless debugging. 4982# Note that there is a small window in which the directory will not be cleaned: 4983# after its creation but before its name has been assigned to `$tmp'. 4984$debug || 4985{ 4986 tmp= ac_tmp= 4987 trap 'exit_status=$? 4988 : "${ac_tmp:=$tmp}" 4989 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4990' 0 4991 trap 'as_fn_exit 1' 1 2 13 15 4992} 4993# Create a (secure) tmp directory for tmp files. 4994 4995{ 4996 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4997 test -d "$tmp" 4998} || 4999{ 5000 tmp=./conf$$-$RANDOM 5001 (umask 077 && mkdir "$tmp") 5002} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5003ac_tmp=$tmp 5004 5005# Set up the scripts for CONFIG_FILES section. 5006# No need to generate them if there are no CONFIG_FILES. 5007# This happens for instance with `./config.status config.h'. 5008if test -n "$CONFIG_FILES"; then 5009 5010 5011ac_cr=`echo X | tr X '\015'` 5012# On cygwin, bash can eat \r inside `` if the user requested igncr. 5013# But we know of no other shell where ac_cr would be empty at this 5014# point, so we can use a bashism as a fallback. 5015if test "x$ac_cr" = x; then 5016 eval ac_cr=\$\'\\r\' 5017fi 5018ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5019if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5020 ac_cs_awk_cr='\\r' 5021else 5022 ac_cs_awk_cr=$ac_cr 5023fi 5024 5025echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5026_ACEOF 5027 5028 5029{ 5030 echo "cat >conf$$subs.awk <<_ACEOF" && 5031 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5032 echo "_ACEOF" 5033} >conf$$subs.sh || 5034 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5035ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5036ac_delim='%!_!# ' 5037for ac_last_try in false false false false false :; do 5038 . ./conf$$subs.sh || 5039 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5040 5041 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5042 if test $ac_delim_n = $ac_delim_num; then 5043 break 5044 elif $ac_last_try; then 5045 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5046 else 5047 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5048 fi 5049done 5050rm -f conf$$subs.sh 5051 5052cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5053cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5054_ACEOF 5055sed -n ' 5056h 5057s/^/S["/; s/!.*/"]=/ 5058p 5059g 5060s/^[^!]*!// 5061:repl 5062t repl 5063s/'"$ac_delim"'$// 5064t delim 5065:nl 5066h 5067s/\(.\{148\}\)..*/\1/ 5068t more1 5069s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5070p 5071n 5072b repl 5073:more1 5074s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5075p 5076g 5077s/.\{148\}// 5078t nl 5079:delim 5080h 5081s/\(.\{148\}\)..*/\1/ 5082t more2 5083s/["\\]/\\&/g; s/^/"/; s/$/"/ 5084p 5085b 5086:more2 5087s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5088p 5089g 5090s/.\{148\}// 5091t delim 5092' <conf$$subs.awk | sed ' 5093/^[^""]/{ 5094 N 5095 s/\n// 5096} 5097' >>$CONFIG_STATUS || ac_write_fail=1 5098rm -f conf$$subs.awk 5099cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5100_ACAWK 5101cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5102 for (key in S) S_is_set[key] = 1 5103 FS = "" 5104 5105} 5106{ 5107 line = $ 0 5108 nfields = split(line, field, "@") 5109 substed = 0 5110 len = length(field[1]) 5111 for (i = 2; i < nfields; i++) { 5112 key = field[i] 5113 keylen = length(key) 5114 if (S_is_set[key]) { 5115 value = S[key] 5116 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5117 len += length(value) + length(field[++i]) 5118 substed = 1 5119 } else 5120 len += 1 + keylen 5121 } 5122 5123 print line 5124} 5125 5126_ACAWK 5127_ACEOF 5128cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5129if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5130 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5131else 5132 cat 5133fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5134 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5135_ACEOF 5136 5137# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5138# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5139# trailing colons and then remove the whole line if VPATH becomes empty 5140# (actually we leave an empty line to preserve line numbers). 5141if test "x$srcdir" = x.; then 5142 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5143h 5144s/// 5145s/^/:/ 5146s/[ ]*$/:/ 5147s/:\$(srcdir):/:/g 5148s/:\${srcdir}:/:/g 5149s/:@srcdir@:/:/g 5150s/^:*// 5151s/:*$// 5152x 5153s/\(=[ ]*\).*/\1/ 5154G 5155s/\n// 5156s/^[^=]*=[ ]*$// 5157}' 5158fi 5159 5160cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5161fi # test -n "$CONFIG_FILES" 5162 5163# Set up the scripts for CONFIG_HEADERS section. 5164# No need to generate them if there are no CONFIG_HEADERS. 5165# This happens for instance with `./config.status Makefile'. 5166if test -n "$CONFIG_HEADERS"; then 5167cat >"$ac_tmp/defines.awk" <<\_ACAWK || 5168BEGIN { 5169_ACEOF 5170 5171# Transform confdefs.h into an awk script `defines.awk', embedded as 5172# here-document in config.status, that substitutes the proper values into 5173# config.h.in to produce config.h. 5174 5175# Create a delimiter string that does not exist in confdefs.h, to ease 5176# handling of long lines. 5177ac_delim='%!_!# ' 5178for ac_last_try in false false :; do 5179 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5180 if test -z "$ac_tt"; then 5181 break 5182 elif $ac_last_try; then 5183 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5184 else 5185 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5186 fi 5187done 5188 5189# For the awk script, D is an array of macro values keyed by name, 5190# likewise P contains macro parameters if any. Preserve backslash 5191# newline sequences. 5192 5193ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5194sed -n ' 5195s/.\{148\}/&'"$ac_delim"'/g 5196t rset 5197:rset 5198s/^[ ]*#[ ]*define[ ][ ]*/ / 5199t def 5200d 5201:def 5202s/\\$// 5203t bsnl 5204s/["\\]/\\&/g 5205s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5206D["\1"]=" \3"/p 5207s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5208d 5209:bsnl 5210s/["\\]/\\&/g 5211s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5212D["\1"]=" \3\\\\\\n"\\/p 5213t cont 5214s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5215t cont 5216d 5217:cont 5218n 5219s/.\{148\}/&'"$ac_delim"'/g 5220t clear 5221:clear 5222s/\\$// 5223t bsnlc 5224s/["\\]/\\&/g; s/^/"/; s/$/"/p 5225d 5226:bsnlc 5227s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 5228b cont 5229' <confdefs.h | sed ' 5230s/'"$ac_delim"'/"\\\ 5231"/g' >>$CONFIG_STATUS || ac_write_fail=1 5232 5233cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5234 for (key in D) D_is_set[key] = 1 5235 FS = "" 5236} 5237/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5238 line = \$ 0 5239 split(line, arg, " ") 5240 if (arg[1] == "#") { 5241 defundef = arg[2] 5242 mac1 = arg[3] 5243 } else { 5244 defundef = substr(arg[1], 2) 5245 mac1 = arg[2] 5246 } 5247 split(mac1, mac2, "(") #) 5248 macro = mac2[1] 5249 prefix = substr(line, 1, index(line, defundef) - 1) 5250 if (D_is_set[macro]) { 5251 # Preserve the white space surrounding the "#". 5252 print prefix "define", macro P[macro] D[macro] 5253 next 5254 } else { 5255 # Replace #undef with comments. This is necessary, for example, 5256 # in the case of _POSIX_SOURCE, which is predefined and required 5257 # on some systems where configure will not decide to define it. 5258 if (defundef == "undef") { 5259 print "/*", prefix defundef, macro, "*/" 5260 next 5261 } 5262 } 5263} 5264{ print } 5265_ACAWK 5266_ACEOF 5267cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5268 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 5269fi # test -n "$CONFIG_HEADERS" 5270 5271 5272eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 5273shift 5274for ac_tag 5275do 5276 case $ac_tag in 5277 :[FHLC]) ac_mode=$ac_tag; continue;; 5278 esac 5279 case $ac_mode$ac_tag in 5280 :[FHL]*:*);; 5281 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5282 :[FH]-) ac_tag=-:-;; 5283 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5284 esac 5285 ac_save_IFS=$IFS 5286 IFS=: 5287 set x $ac_tag 5288 IFS=$ac_save_IFS 5289 shift 5290 ac_file=$1 5291 shift 5292 5293 case $ac_mode in 5294 :L) ac_source=$1;; 5295 :[FH]) 5296 ac_file_inputs= 5297 for ac_f 5298 do 5299 case $ac_f in 5300 -) ac_f="$ac_tmp/stdin";; 5301 *) # Look for the file first in the build tree, then in the source tree 5302 # (if the path is not absolute). The absolute path cannot be DOS-style, 5303 # because $ac_f cannot contain `:'. 5304 test -f "$ac_f" || 5305 case $ac_f in 5306 [\\/$]*) false;; 5307 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5308 esac || 5309 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5310 esac 5311 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5312 as_fn_append ac_file_inputs " '$ac_f'" 5313 done 5314 5315 # Let's still pretend it is `configure' which instantiates (i.e., don't 5316 # use $as_me), people would be surprised to read: 5317 # /* config.h. Generated by config.status. */ 5318 configure_input='Generated from '` 5319 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5320 `' by configure.' 5321 if test x"$ac_file" != x-; then 5322 configure_input="$ac_file. $configure_input" 5323 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5324$as_echo "$as_me: creating $ac_file" >&6;} 5325 fi 5326 # Neutralize special characters interpreted by sed in replacement strings. 5327 case $configure_input in #( 5328 *\&* | *\|* | *\\* ) 5329 ac_sed_conf_input=`$as_echo "$configure_input" | 5330 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5331 *) ac_sed_conf_input=$configure_input;; 5332 esac 5333 5334 case $ac_tag in 5335 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5336 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5337 esac 5338 ;; 5339 esac 5340 5341 ac_dir=`$as_dirname -- "$ac_file" || 5342$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5343 X"$ac_file" : 'X\(//\)[^/]' \| \ 5344 X"$ac_file" : 'X\(//\)$' \| \ 5345 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5346$as_echo X"$ac_file" | 5347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5348 s//\1/ 5349 q 5350 } 5351 /^X\(\/\/\)[^/].*/{ 5352 s//\1/ 5353 q 5354 } 5355 /^X\(\/\/\)$/{ 5356 s//\1/ 5357 q 5358 } 5359 /^X\(\/\).*/{ 5360 s//\1/ 5361 q 5362 } 5363 s/.*/./; q'` 5364 as_dir="$ac_dir"; as_fn_mkdir_p 5365 ac_builddir=. 5366 5367case "$ac_dir" in 5368.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5369*) 5370 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5371 # A ".." for each directory in $ac_dir_suffix. 5372 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5373 case $ac_top_builddir_sub in 5374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5376 esac ;; 5377esac 5378ac_abs_top_builddir=$ac_pwd 5379ac_abs_builddir=$ac_pwd$ac_dir_suffix 5380# for backward compatibility: 5381ac_top_builddir=$ac_top_build_prefix 5382 5383case $srcdir in 5384 .) # We are building in place. 5385 ac_srcdir=. 5386 ac_top_srcdir=$ac_top_builddir_sub 5387 ac_abs_top_srcdir=$ac_pwd ;; 5388 [\\/]* | ?:[\\/]* ) # Absolute name. 5389 ac_srcdir=$srcdir$ac_dir_suffix; 5390 ac_top_srcdir=$srcdir 5391 ac_abs_top_srcdir=$srcdir ;; 5392 *) # Relative name. 5393 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5394 ac_top_srcdir=$ac_top_build_prefix$srcdir 5395 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5396esac 5397ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5398 5399 5400 case $ac_mode in 5401 :F) 5402 # 5403 # CONFIG_FILE 5404 # 5405 5406 case $INSTALL in 5407 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5408 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5409 esac 5410 ac_MKDIR_P=$MKDIR_P 5411 case $MKDIR_P in 5412 [\\/$]* | ?:[\\/]* ) ;; 5413 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5414 esac 5415_ACEOF 5416 5417cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5418# If the template does not know about datarootdir, expand it. 5419# FIXME: This hack should be removed a few years after 2.60. 5420ac_datarootdir_hack=; ac_datarootdir_seen= 5421ac_sed_dataroot=' 5422/datarootdir/ { 5423 p 5424 q 5425} 5426/@datadir@/p 5427/@docdir@/p 5428/@infodir@/p 5429/@localedir@/p 5430/@mandir@/p' 5431case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5432*datarootdir*) ac_datarootdir_seen=yes;; 5433*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5435$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5436_ACEOF 5437cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5438 ac_datarootdir_hack=' 5439 s&@datadir@&$datadir&g 5440 s&@docdir@&$docdir&g 5441 s&@infodir@&$infodir&g 5442 s&@localedir@&$localedir&g 5443 s&@mandir@&$mandir&g 5444 s&\\\${datarootdir}&$datarootdir&g' ;; 5445esac 5446_ACEOF 5447 5448# Neutralize VPATH when `$srcdir' = `.'. 5449# Shell code in configure.ac might set extrasub. 5450# FIXME: do we really want to maintain this feature? 5451cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5452ac_sed_extra="$ac_vpsub 5453$extrasub 5454_ACEOF 5455cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5456:t 5457/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5458s|@configure_input@|$ac_sed_conf_input|;t t 5459s&@top_builddir@&$ac_top_builddir_sub&;t t 5460s&@top_build_prefix@&$ac_top_build_prefix&;t t 5461s&@srcdir@&$ac_srcdir&;t t 5462s&@abs_srcdir@&$ac_abs_srcdir&;t t 5463s&@top_srcdir@&$ac_top_srcdir&;t t 5464s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5465s&@builddir@&$ac_builddir&;t t 5466s&@abs_builddir@&$ac_abs_builddir&;t t 5467s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5468s&@INSTALL@&$ac_INSTALL&;t t 5469s&@MKDIR_P@&$ac_MKDIR_P&;t t 5470$ac_datarootdir_hack 5471" 5472eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5473 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5474 5475test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5476 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5477 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5478 "$ac_tmp/out"`; test -z "$ac_out"; } && 5479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5480which seems to be undefined. Please make sure it is defined" >&5 5481$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5482which seems to be undefined. Please make sure it is defined" >&2;} 5483 5484 rm -f "$ac_tmp/stdin" 5485 case $ac_file in 5486 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5487 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5488 esac \ 5489 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5490 ;; 5491 :H) 5492 # 5493 # CONFIG_HEADER 5494 # 5495 if test x"$ac_file" != x-; then 5496 { 5497 $as_echo "/* $configure_input */" \ 5498 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 5499 } >"$ac_tmp/config.h" \ 5500 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5501 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 5502 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5503$as_echo "$as_me: $ac_file is unchanged" >&6;} 5504 else 5505 rm -f "$ac_file" 5506 mv "$ac_tmp/config.h" "$ac_file" \ 5507 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5508 fi 5509 else 5510 $as_echo "/* $configure_input */" \ 5511 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 5512 || as_fn_error $? "could not create -" "$LINENO" 5 5513 fi 5514# Compute "$ac_file"'s index in $config_headers. 5515_am_arg="$ac_file" 5516_am_stamp_count=1 5517for _am_header in $config_headers :; do 5518 case $_am_header in 5519 $_am_arg | $_am_arg:* ) 5520 break ;; 5521 * ) 5522 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 5523 esac 5524done 5525echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 5526$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5527 X"$_am_arg" : 'X\(//\)[^/]' \| \ 5528 X"$_am_arg" : 'X\(//\)$' \| \ 5529 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 5530$as_echo X"$_am_arg" | 5531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5532 s//\1/ 5533 q 5534 } 5535 /^X\(\/\/\)[^/].*/{ 5536 s//\1/ 5537 q 5538 } 5539 /^X\(\/\/\)$/{ 5540 s//\1/ 5541 q 5542 } 5543 /^X\(\/\).*/{ 5544 s//\1/ 5545 q 5546 } 5547 s/.*/./; q'`/stamp-h$_am_stamp_count 5548 ;; 5549 5550 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5551$as_echo "$as_me: executing $ac_file commands" >&6;} 5552 ;; 5553 esac 5554 5555 5556 case $ac_file$ac_mode in 5557 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 5558 # Older Autoconf quotes --file arguments for eval, but not when files 5559 # are listed without --file. Let's play safe and only enable the eval 5560 # if we detect the quoting. 5561 case $CONFIG_FILES in 5562 *\'*) eval set x "$CONFIG_FILES" ;; 5563 *) set x $CONFIG_FILES ;; 5564 esac 5565 shift 5566 for mf 5567 do 5568 # Strip MF so we end up with the name of the file. 5569 mf=`echo "$mf" | sed -e 's/:.*$//'` 5570 # Check whether this is an Automake generated Makefile or not. 5571 # We used to match only the files named 'Makefile.in', but 5572 # some people rename them; so instead we look at the file content. 5573 # Grep'ing the first line is not enough: some people post-process 5574 # each Makefile.in and add a new line on top of each file to say so. 5575 # Grep'ing the whole file is not good either: AIX grep has a line 5576 # limit of 2048, but all sed's we know have understand at least 4000. 5577 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 5578 dirpart=`$as_dirname -- "$mf" || 5579$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5580 X"$mf" : 'X\(//\)[^/]' \| \ 5581 X"$mf" : 'X\(//\)$' \| \ 5582 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 5583$as_echo X"$mf" | 5584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5585 s//\1/ 5586 q 5587 } 5588 /^X\(\/\/\)[^/].*/{ 5589 s//\1/ 5590 q 5591 } 5592 /^X\(\/\/\)$/{ 5593 s//\1/ 5594 q 5595 } 5596 /^X\(\/\).*/{ 5597 s//\1/ 5598 q 5599 } 5600 s/.*/./; q'` 5601 else 5602 continue 5603 fi 5604 # Extract the definition of DEPDIR, am__include, and am__quote 5605 # from the Makefile without running 'make'. 5606 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 5607 test -z "$DEPDIR" && continue 5608 am__include=`sed -n 's/^am__include = //p' < "$mf"` 5609 test -z "$am__include" && continue 5610 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 5611 # Find all dependency output files, they are included files with 5612 # $(DEPDIR) in their names. We invoke sed twice because it is the 5613 # simplest approach to changing $(DEPDIR) to its actual value in the 5614 # expansion. 5615 for file in `sed -n " 5616 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 5617 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 5618 # Make sure the directory exists. 5619 test -f "$dirpart/$file" && continue 5620 fdir=`$as_dirname -- "$file" || 5621$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5622 X"$file" : 'X\(//\)[^/]' \| \ 5623 X"$file" : 'X\(//\)$' \| \ 5624 X"$file" : 'X\(/\)' \| . 2>/dev/null || 5625$as_echo X"$file" | 5626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5627 s//\1/ 5628 q 5629 } 5630 /^X\(\/\/\)[^/].*/{ 5631 s//\1/ 5632 q 5633 } 5634 /^X\(\/\/\)$/{ 5635 s//\1/ 5636 q 5637 } 5638 /^X\(\/\).*/{ 5639 s//\1/ 5640 q 5641 } 5642 s/.*/./; q'` 5643 as_dir=$dirpart/$fdir; as_fn_mkdir_p 5644 # echo "creating $dirpart/$file" 5645 echo '# dummy' > "$dirpart/$file" 5646 done 5647 done 5648} 5649 ;; 5650 "default":C) \ 5651 chmod a+x $ac_top_srcdir/tests/*.sh ;; 5652 5653 esac 5654done # for ac_tag 5655 5656 5657as_fn_exit 0 5658_ACEOF 5659ac_clean_files=$ac_clean_files_save 5660 5661test $ac_write_fail = 0 || 5662 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5663 5664 5665# configure is writing to config.log, and then calls config.status. 5666# config.status does its own redirection, appending to config.log. 5667# Unfortunately, on DOS this fails, as config.log is still kept open 5668# by configure, so config.status won't be able to write to it; its 5669# output is simply discarded. So we exec the FD to /dev/null, 5670# effectively closing config.log, so it can be properly (re)opened and 5671# appended to by config.status. When coming back to configure, we 5672# need to make the FD available again. 5673if test "$no_create" != yes; then 5674 ac_cs_success=: 5675 ac_config_status_args= 5676 test "$silent" = yes && 5677 ac_config_status_args="$ac_config_status_args --quiet" 5678 exec 5>/dev/null 5679 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5680 exec 5>>config.log 5681 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5682 # would make configure fail if this is the last instruction. 5683 $ac_cs_success || as_fn_exit 1 5684fi 5685if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5687$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5688fi 5689 5690