2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68 for libsockstream 0.1.
5 @%:@ Report bugs to <arjen@andromeda.nl>.
8 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 @%:@ This configure script is free software; the Free Software Foundation
14 @%:@ gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in @%:@(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in @%:@(
150 set -o posix ;; @%:@(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
193 case $as_dir in @%:@(
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and arjen@andromeda.nl
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 @%:@ Portably unset VAR.
265 { eval $1=; unset $1;}
269 @%:@ as_fn_set_status STATUS
270 @%:@ -----------------------
271 @%:@ Set @S|@? to STATUS, without forking.
275 } @%:@ as_fn_set_status
277 @%:@ as_fn_exit STATUS
278 @%:@ -----------------
279 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 @%:@ as_fn_append VAR VALUE
335 @%:@ ----------------------
336 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
337 @%:@ advantage of any shell optimizations that allow amortized linear growth over
338 @%:@ repeated appends, instead of the typical quadratic growth present in naive
339 @%:@ implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
352 @%:@ as_fn_arith ARG...
353 @%:@ ------------------
354 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
355 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
356 @%:@ must be portable across @S|@(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
371 @%:@ ----------------------------------------
372 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 @%:@ script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in @%:@(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='libsockstream'
562 PACKAGE_TARNAME='libsockstream'
563 PACKAGE_VERSION='0.1'
564 PACKAGE_STRING='libsockstream 0.1'
565 PACKAGE_BUGREPORT='arjen@andromeda.nl'
568 ac_unique_file="src/revd.cpp"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='am__EXEEXT_FALSE
642 INSTALL_STRIP_PROGRAM
684 program_transform_name
697 enable_option_checking
698 enable_dependency_tracking
700 ac_precious_vars='build_alias
714 # Initialize some variables set by options.
716 ac_init_version=false
717 ac_unrecognized_opts=
719 # The variables have the same names as the options, with
720 # dashes changed to underlines.
728 program_transform_name=s,x,x,
736 # Installation directory options.
737 # These are left unexpanded so users can "make install exec_prefix=/foo"
738 # and all the variables that are supposed to be based on exec_prefix
739 # by default will actually change.
740 # Use braces instead of parens because sh, perl, etc. also accept them.
741 # (The list follows the same order as the GNU Coding Standards.)
742 bindir='${exec_prefix}/bin'
743 sbindir='${exec_prefix}/sbin'
744 libexecdir='${exec_prefix}/libexec'
745 datarootdir='${prefix}/share'
746 datadir='${datarootdir}'
747 sysconfdir='${prefix}/etc'
748 sharedstatedir='${prefix}/com'
749 localstatedir='${prefix}/var'
750 includedir='${prefix}/include'
751 oldincludedir='/usr/include'
752 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
753 infodir='${datarootdir}/info'
758 libdir='${exec_prefix}/lib'
759 localedir='${datarootdir}/locale'
760 mandir='${datarootdir}/man'
766 # If the previous option needs an argument, assign it.
767 if test -n "$ac_prev"; then
768 eval $ac_prev=\$ac_option
774 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
779 # Accept the important Cygnus configure options, so we can diagnose typos.
781 case $ac_dashdash$ac_option in
785 -bindir | --bindir | --bindi | --bind | --bin | --bi)
787 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
790 -build | --build | --buil | --bui | --bu)
791 ac_prev=build_alias ;;
792 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
793 build_alias=$ac_optarg ;;
795 -cache-file | --cache-file | --cache-fil | --cache-fi \
796 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
797 ac_prev=cache_file ;;
798 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
799 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
800 cache_file=$ac_optarg ;;
803 cache_file=config.cache ;;
805 -datadir | --datadir | --datadi | --datad)
807 -datadir=* | --datadir=* | --datadi=* | --datad=*)
808 datadir=$ac_optarg ;;
810 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
811 | --dataroo | --dataro | --datar)
812 ac_prev=datarootdir ;;
813 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
814 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
815 datarootdir=$ac_optarg ;;
817 -disable-* | --disable-*)
818 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
819 # Reject names that are not valid shell variable names.
820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
821 as_fn_error $? "invalid feature name: $ac_useropt"
822 ac_useropt_orig=$ac_useropt
823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
824 case $ac_user_opts in
828 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
829 ac_unrecognized_sep=', ';;
831 eval enable_$ac_useropt=no ;;
833 -docdir | --docdir | --docdi | --doc | --do)
835 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
838 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
840 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
843 -enable-* | --enable-*)
844 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
845 # Reject names that are not valid shell variable names.
846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
847 as_fn_error $? "invalid feature name: $ac_useropt"
848 ac_useropt_orig=$ac_useropt
849 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
850 case $ac_user_opts in
854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
855 ac_unrecognized_sep=', ';;
857 eval enable_$ac_useropt=\$ac_optarg ;;
859 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
860 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
861 | --exec | --exe | --ex)
862 ac_prev=exec_prefix ;;
863 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
864 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
865 | --exec=* | --exe=* | --ex=*)
866 exec_prefix=$ac_optarg ;;
868 -gas | --gas | --ga | --g)
869 # Obsolete; use --with-gas.
872 -help | --help | --hel | --he | -h)
874 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
875 ac_init_help=recursive ;;
876 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
877 ac_init_help=short ;;
879 -host | --host | --hos | --ho)
880 ac_prev=host_alias ;;
881 -host=* | --host=* | --hos=* | --ho=*)
882 host_alias=$ac_optarg ;;
884 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
886 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
888 htmldir=$ac_optarg ;;
890 -includedir | --includedir | --includedi | --included | --include \
891 | --includ | --inclu | --incl | --inc)
892 ac_prev=includedir ;;
893 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
894 | --includ=* | --inclu=* | --incl=* | --inc=*)
895 includedir=$ac_optarg ;;
897 -infodir | --infodir | --infodi | --infod | --info | --inf)
899 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
900 infodir=$ac_optarg ;;
902 -libdir | --libdir | --libdi | --libd)
904 -libdir=* | --libdir=* | --libdi=* | --libd=*)
907 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
908 | --libexe | --libex | --libe)
909 ac_prev=libexecdir ;;
910 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
911 | --libexe=* | --libex=* | --libe=*)
912 libexecdir=$ac_optarg ;;
914 -localedir | --localedir | --localedi | --localed | --locale)
916 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
917 localedir=$ac_optarg ;;
919 -localstatedir | --localstatedir | --localstatedi | --localstated \
920 | --localstate | --localstat | --localsta | --localst | --locals)
921 ac_prev=localstatedir ;;
922 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
923 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
924 localstatedir=$ac_optarg ;;
926 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
928 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
932 # Obsolete; use --without-fp.
935 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
936 | --no-cr | --no-c | -n)
939 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
940 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
943 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
944 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
945 | --oldin | --oldi | --old | --ol | --o)
946 ac_prev=oldincludedir ;;
947 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
948 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
949 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
950 oldincludedir=$ac_optarg ;;
952 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
954 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
957 -program-prefix | --program-prefix | --program-prefi | --program-pref \
958 | --program-pre | --program-pr | --program-p)
959 ac_prev=program_prefix ;;
960 -program-prefix=* | --program-prefix=* | --program-prefi=* \
961 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
962 program_prefix=$ac_optarg ;;
964 -program-suffix | --program-suffix | --program-suffi | --program-suff \
965 | --program-suf | --program-su | --program-s)
966 ac_prev=program_suffix ;;
967 -program-suffix=* | --program-suffix=* | --program-suffi=* \
968 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
969 program_suffix=$ac_optarg ;;
971 -program-transform-name | --program-transform-name \
972 | --program-transform-nam | --program-transform-na \
973 | --program-transform-n | --program-transform- \
974 | --program-transform | --program-transfor \
975 | --program-transfo | --program-transf \
976 | --program-trans | --program-tran \
977 | --progr-tra | --program-tr | --program-t)
978 ac_prev=program_transform_name ;;
979 -program-transform-name=* | --program-transform-name=* \
980 | --program-transform-nam=* | --program-transform-na=* \
981 | --program-transform-n=* | --program-transform-=* \
982 | --program-transform=* | --program-transfor=* \
983 | --program-transfo=* | --program-transf=* \
984 | --program-trans=* | --program-tran=* \
985 | --progr-tra=* | --program-tr=* | --program-t=*)
986 program_transform_name=$ac_optarg ;;
988 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
990 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
993 -psdir | --psdir | --psdi | --psd | --ps)
995 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
999 | -silent | --silent | --silen | --sile | --sil)
1002 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1004 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1006 sbindir=$ac_optarg ;;
1008 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1009 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1010 | --sharedst | --shareds | --shared | --share | --shar \
1012 ac_prev=sharedstatedir ;;
1013 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1014 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1015 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1017 sharedstatedir=$ac_optarg ;;
1019 -site | --site | --sit)
1021 -site=* | --site=* | --sit=*)
1024 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1026 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1027 srcdir=$ac_optarg ;;
1029 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1030 | --syscon | --sysco | --sysc | --sys | --sy)
1031 ac_prev=sysconfdir ;;
1032 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1033 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1034 sysconfdir=$ac_optarg ;;
1036 -target | --target | --targe | --targ | --tar | --ta | --t)
1037 ac_prev=target_alias ;;
1038 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1039 target_alias=$ac_optarg ;;
1041 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1044 -version | --version | --versio | --versi | --vers | -V)
1045 ac_init_version=: ;;
1048 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1051 as_fn_error $? "invalid package name: $ac_useropt"
1052 ac_useropt_orig=$ac_useropt
1053 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054 case $ac_user_opts in
1058 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1059 ac_unrecognized_sep=', ';;
1061 eval with_$ac_useropt=\$ac_optarg ;;
1063 -without-* | --without-*)
1064 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 as_fn_error $? "invalid package name: $ac_useropt"
1068 ac_useropt_orig=$ac_useropt
1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1075 ac_unrecognized_sep=', ';;
1077 eval with_$ac_useropt=no ;;
1080 # Obsolete; use --with-x.
1083 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1084 | --x-incl | --x-inc | --x-in | --x-i)
1085 ac_prev=x_includes ;;
1086 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1087 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1088 x_includes=$ac_optarg ;;
1090 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1091 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1092 ac_prev=x_libraries ;;
1093 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1094 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1095 x_libraries=$ac_optarg ;;
1097 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1098 Try \`$0 --help' for more information"
1102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1103 # Reject names that are not valid shell variable names.
1104 case $ac_envvar in #(
1105 '' | [0-9]* | *[!_$as_cr_alnum]* )
1106 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1108 eval $ac_envvar=\$ac_optarg
1109 export $ac_envvar ;;
1112 # FIXME: should be removed in autoconf 3.0.
1113 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1114 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1115 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1116 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1122 if test -n "$ac_prev"; then
1123 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1124 as_fn_error $? "missing argument to $ac_option"
1127 if test -n "$ac_unrecognized_opts"; then
1128 case $enable_option_checking in
1130 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1131 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1135 # Check all directory arguments for consistency.
1136 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1137 datadir sysconfdir sharedstatedir localstatedir includedir \
1138 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1139 libdir localedir mandir
1141 eval ac_val=\$$ac_var
1142 # Remove trailing slashes.
1145 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1146 eval $ac_var=\$ac_val;;
1148 # Be sure to have absolute directory names.
1150 [\\/$]* | ?:[\\/]* ) continue;;
1151 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1153 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1156 # There might be people who depend on the old broken behavior: `$host'
1157 # used to hold the argument of --host etc.
1158 # FIXME: To remove some day.
1161 target=$target_alias
1163 # FIXME: To remove some day.
1164 if test "x$host_alias" != x; then
1165 if test "x$build_alias" = x; then
1166 cross_compiling=maybe
1167 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1168 If a cross compiler is detected then cross compile mode will be used" >&2
1169 elif test "x$build_alias" != "x$host_alias"; then
1175 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1177 test "$silent" = yes && exec 6>/dev/null
1180 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1181 ac_ls_di=`ls -di .` &&
1182 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1183 as_fn_error $? "working directory cannot be determined"
1184 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1185 as_fn_error $? "pwd does not report name of working directory"
1188 # Find the source files, if location was not specified.
1189 if test -z "$srcdir"; then
1190 ac_srcdir_defaulted=yes
1191 # Try the directory containing this script, then the parent directory.
1192 ac_confdir=`$as_dirname -- "$as_myself" ||
1193 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1194 X"$as_myself" : 'X\(//\)[^/]' \| \
1195 X"$as_myself" : 'X\(//\)$' \| \
1196 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1197 $as_echo X"$as_myself" |
1198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1220 ac_srcdir_defaulted=no
1222 if test ! -r "$srcdir/$ac_unique_file"; then
1223 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1224 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1226 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1228 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1230 # When building in place, set srcdir=.
1231 if test "$ac_abs_confdir" = "$ac_pwd"; then
1234 # Remove unnecessary trailing slashes from srcdir.
1235 # Double slashes in file names in object file debugging info
1236 # mess up M-x gdb in Emacs.
1238 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1240 for ac_var in $ac_precious_vars; do
1241 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1242 eval ac_env_${ac_var}_value=\$${ac_var}
1243 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1244 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1248 # Report the --help message.
1250 if test "$ac_init_help" = "long"; then
1251 # Omit some internal or obsolete options to make the list less imposing.
1252 # This message is too long to be a string in the A/UX 3.1 sh.
1254 \`configure' configures libsockstream 0.1 to adapt to many kinds of systems.
1256 Usage: $0 [OPTION]... [VAR=VALUE]...
1258 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1259 VAR=VALUE. See below for descriptions of some of the useful variables.
1261 Defaults for the options are specified in brackets.
1264 -h, --help display this help and exit
1265 --help=short display options specific to this package
1266 --help=recursive display the short help of all the included packages
1267 -V, --version display version information and exit
1268 -q, --quiet, --silent do not print \`checking ...' messages
1269 --cache-file=FILE cache test results in FILE [disabled]
1270 -C, --config-cache alias for \`--cache-file=config.cache'
1271 -n, --no-create do not create output files
1272 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1274 Installation directories:
1275 --prefix=PREFIX install architecture-independent files in PREFIX
1276 @<:@@S|@ac_default_prefix@:>@
1277 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1280 By default, \`make install' will install all the files in
1281 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1282 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1283 for instance \`--prefix=\$HOME'.
1285 For better control, use the options below.
1287 Fine tuning of the installation directories:
1288 --bindir=DIR user executables [EPREFIX/bin]
1289 --sbindir=DIR system admin executables [EPREFIX/sbin]
1290 --libexecdir=DIR program executables [EPREFIX/libexec]
1291 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1292 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1293 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1294 --libdir=DIR object code libraries [EPREFIX/lib]
1295 --includedir=DIR C header files [PREFIX/include]
1296 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1297 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1298 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1299 --infodir=DIR info documentation [DATAROOTDIR/info]
1300 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1301 --mandir=DIR man documentation [DATAROOTDIR/man]
1302 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libsockstream@:>@
1303 --htmldir=DIR html documentation [DOCDIR]
1304 --dvidir=DIR dvi documentation [DOCDIR]
1305 --pdfdir=DIR pdf documentation [DOCDIR]
1306 --psdir=DIR ps documentation [DOCDIR]
1312 --program-prefix=PREFIX prepend PREFIX to installed program names
1313 --program-suffix=SUFFIX append SUFFIX to installed program names
1314 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1318 if test -n "$ac_init_help"; then
1319 case $ac_init_help in
1320 short | recursive ) echo "Configuration of libsockstream 0.1:";;
1325 --disable-option-checking ignore unrecognized --enable/--with options
1326 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1327 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1328 --disable-dependency-tracking speeds up one-time build
1329 --enable-dependency-tracking do not reject slow dependency extractors
1331 Some influential environment variables:
1332 CXX C++ compiler command
1333 CXXFLAGS C++ compiler flags
1334 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1335 nonstandard directory <lib dir>
1336 LIBS libraries to pass to the linker, e.g. -l<library>
1337 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1338 you have headers in a nonstandard directory <include dir>
1339 CC C compiler command
1340 CFLAGS C compiler flags
1343 Use these variables to override the choices made by `configure' or to help
1344 it to find libraries and programs with nonstandard names/locations.
1346 Report bugs to <arjen@andromeda.nl>.
1351 if test "$ac_init_help" = "recursive"; then
1352 # If there are subdirs, report their specific --help.
1353 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1354 test -d "$ac_dir" ||
1355 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1360 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1363 # A ".." for each directory in $ac_dir_suffix.
1364 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1365 case $ac_top_builddir_sub in
1366 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1367 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1370 ac_abs_top_builddir=$ac_pwd
1371 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1372 # for backward compatibility:
1373 ac_top_builddir=$ac_top_build_prefix
1376 .) # We are building in place.
1378 ac_top_srcdir=$ac_top_builddir_sub
1379 ac_abs_top_srcdir=$ac_pwd ;;
1380 [\\/]* | ?:[\\/]* ) # Absolute name.
1381 ac_srcdir=$srcdir$ac_dir_suffix;
1382 ac_top_srcdir=$srcdir
1383 ac_abs_top_srcdir=$srcdir ;;
1385 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1386 ac_top_srcdir=$ac_top_build_prefix$srcdir
1387 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1389 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1391 cd "$ac_dir" || { ac_status=$?; continue; }
1392 # Check for guested configure.
1393 if test -f "$ac_srcdir/configure.gnu"; then
1395 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1396 elif test -f "$ac_srcdir/configure"; then
1398 $SHELL "$ac_srcdir/configure" --help=recursive
1400 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1402 cd "$ac_pwd" || { ac_status=$?; break; }
1406 test -n "$ac_init_help" && exit $ac_status
1407 if $ac_init_version; then
1409 libsockstream configure 0.1
1410 generated by GNU Autoconf 2.68
1412 Copyright (C) 2010 Free Software Foundation, Inc.
1413 This configure script is free software; the Free Software Foundation
1414 gives unlimited permission to copy, distribute and modify it.
1419 ## ------------------------ ##
1420 ## Autoconf initialization. ##
1421 ## ------------------------ ##
1423 @%:@ ac_fn_cxx_try_compile LINENO
1424 @%:@ ----------------------------
1425 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1426 ac_fn_cxx_try_compile ()
1428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1429 rm -f conftest.$ac_objext
1430 if { { ac_try="$ac_compile"
1432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1433 *) ac_try_echo=$ac_try;;
1435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436 $as_echo "$ac_try_echo"; } >&5
1437 (eval "$ac_compile") 2>conftest.err
1439 if test -s conftest.err; then
1440 grep -v '^ *+' conftest.err >conftest.er1
1441 cat conftest.er1 >&5
1442 mv -f conftest.er1 conftest.err
1444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445 test $ac_status = 0; } && {
1446 test -z "$ac_cxx_werror_flag" ||
1447 test ! -s conftest.err
1448 } && test -s conftest.$ac_objext; then :
1451 $as_echo "$as_me: failed program was:" >&5
1452 sed 's/^/| /' conftest.$ac_ext >&5
1456 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1457 as_fn_set_status $ac_retval
1459 } @%:@ ac_fn_cxx_try_compile
1461 @%:@ ac_fn_c_try_compile LINENO
1462 @%:@ --------------------------
1463 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1464 ac_fn_c_try_compile ()
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 rm -f conftest.$ac_objext
1468 if { { ac_try="$ac_compile"
1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1471 *) ac_try_echo=$ac_try;;
1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1474 $as_echo "$ac_try_echo"; } >&5
1475 (eval "$ac_compile") 2>conftest.err
1477 if test -s conftest.err; then
1478 grep -v '^ *+' conftest.err >conftest.er1
1479 cat conftest.er1 >&5
1480 mv -f conftest.er1 conftest.err
1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1483 test $ac_status = 0; } && {
1484 test -z "$ac_c_werror_flag" ||
1485 test ! -s conftest.err
1486 } && test -s conftest.$ac_objext; then :
1489 $as_echo "$as_me: failed program was:" >&5
1490 sed 's/^/| /' conftest.$ac_ext >&5
1494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1495 as_fn_set_status $ac_retval
1497 } @%:@ ac_fn_c_try_compile
1499 @%:@ ac_fn_c_try_link LINENO
1500 @%:@ -----------------------
1501 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1505 rm -f conftest.$ac_objext conftest$ac_exeext
1506 if { { ac_try="$ac_link"
1508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1509 *) ac_try_echo=$ac_try;;
1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1512 $as_echo "$ac_try_echo"; } >&5
1513 (eval "$ac_link") 2>conftest.err
1515 if test -s conftest.err; then
1516 grep -v '^ *+' conftest.err >conftest.er1
1517 cat conftest.er1 >&5
1518 mv -f conftest.er1 conftest.err
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1521 test $ac_status = 0; } && {
1522 test -z "$ac_c_werror_flag" ||
1523 test ! -s conftest.err
1524 } && test -s conftest$ac_exeext && {
1525 test "$cross_compiling" = yes ||
1526 $as_test_x conftest$ac_exeext
1530 $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.$ac_ext >&5
1535 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1536 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1537 # interfere with the next link command; also delete a directory that is
1538 # left behind by Apple's compiler. We do this before executing the actions.
1539 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1541 as_fn_set_status $ac_retval
1543 } @%:@ ac_fn_c_try_link
1545 @%:@ ac_fn_c_try_cpp LINENO
1546 @%:@ ----------------------
1547 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 if { { ac_try="$ac_cpp conftest.$ac_ext"
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } > conftest.i && {
1567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status $ac_retval
1580 } @%:@ ac_fn_c_try_cpp
1582 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1583 @%:@ -------------------------------------------------------
1584 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1585 @%:@ the include files in INCLUDES and setting the cache variable VAR
1587 ac_fn_c_check_header_mongrel ()
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 if eval \${$3+:} false; then :
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1592 $as_echo_n "checking for $2... " >&6; }
1593 if eval \${$3+:} false; then :
1594 $as_echo_n "(cached) " >&6
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1598 $as_echo "$ac_res" >&6; }
1600 # Is the header compilable?
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1602 $as_echo_n "checking $2 usability... " >&6; }
1603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h. */
1608 if ac_fn_c_try_compile "$LINENO"; then :
1609 ac_header_compiler=yes
1611 ac_header_compiler=no
1613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1615 $as_echo "$ac_header_compiler" >&6; }
1617 # Is the header present?
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1619 $as_echo_n "checking $2 presence... " >&6; }
1620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1621 /* end confdefs.h. */
1624 if ac_fn_c_try_cpp "$LINENO"; then :
1625 ac_header_preproc=yes
1627 ac_header_preproc=no
1629 rm -f conftest.err conftest.i conftest.$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1631 $as_echo "$ac_header_preproc" >&6; }
1633 # So? What about this header?
1634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1637 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1639 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1643 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1645 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1647 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1649 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1651 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1652 ( $as_echo "## --------------------------------- ##
1653 ## Report this to arjen@andromeda.nl ##
1654 ## --------------------------------- ##"
1655 ) | sed "s/^/$as_me: WARNING: /" >&2
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1659 $as_echo_n "checking for $2... " >&6; }
1660 if eval \${$3+:} false; then :
1661 $as_echo_n "(cached) " >&6
1663 eval "$3=\$ac_header_compiler"
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1667 $as_echo "$ac_res" >&6; }
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 } @%:@ ac_fn_c_check_header_mongrel
1673 @%:@ ac_fn_c_try_run LINENO
1674 @%:@ ----------------------
1675 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1676 @%:@ that executables *can* be run.
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 if { { ac_try="$ac_link"
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>&5
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1691 { { case "(($ac_try" in
1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_try") 2>&5
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; }; }; then :
1703 $as_echo "$as_me: program exited with status $ac_status" >&5
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1707 ac_retval=$ac_status
1709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1713 } @%:@ ac_fn_c_try_run
1715 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1716 @%:@ -------------------------------------------------------
1717 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1718 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1719 ac_fn_c_check_header_compile ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1723 $as_echo_n "checking for $2... " >&6; }
1724 if eval \${$3+:} false; then :
1725 $as_echo_n "(cached) " >&6
1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1732 if ac_fn_c_try_compile "$LINENO"; then :
1737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741 $as_echo "$ac_res" >&6; }
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 } @%:@ ac_fn_c_check_header_compile
1746 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1747 @%:@ -------------------------------------------
1748 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1749 @%:@ variable VAR accordingly.
1750 ac_fn_c_check_type ()
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if eval \${$3+:} false; then :
1756 $as_echo_n "(cached) " >&6
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1771 if ac_fn_c_try_compile "$LINENO"; then :
1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1784 if ac_fn_c_try_compile "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1795 $as_echo "$ac_res" >&6; }
1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798 } @%:@ ac_fn_c_check_type
1800 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1801 @%:@ ----------------------------------
1802 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1803 ac_fn_c_check_func ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809 $as_echo_n "(cached) " >&6
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1813 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1815 #define $2 innocuous_$2
1817 /* System header to define __stub macros and hopefully few prototypes,
1818 which can conflict with char $2 (); below.
1819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1820 <limits.h> exists even on freestanding compilers. */
1823 # include <limits.h>
1825 # include <assert.h>
1830 /* Override any GCC internal prototype to avoid an error.
1831 Use char because int might match the return type of a GCC
1832 builtin and then its argument prototype would still apply. */
1837 /* The GNU C library defines this for functions which it implements
1838 to always fail with ENOSYS. Some functions are actually named
1839 something starting with __ and the normal name is an alias. */
1840 #if defined __stub_$2 || defined __stub___$2
1852 if ac_fn_c_try_link "$LINENO"; then :
1857 rm -f core conftest.err conftest.$ac_objext \
1858 conftest$ac_exeext conftest.$ac_ext
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; }
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 } @%:@ ac_fn_c_check_func
1866 cat >config.log <<_ACEOF
1867 This file contains any messages produced by compilers while
1868 running configure, to aid debugging if configure makes a mistake.
1870 It was created by libsockstream $as_me 0.1, which was
1871 generated by GNU Autoconf 2.68. Invocation command line was
1883 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1884 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1885 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1886 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1887 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1889 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1890 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1892 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1893 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1894 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1895 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1896 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1897 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1898 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1906 test -z "$as_dir" && as_dir=.
1907 $as_echo "PATH: $as_dir"
1923 # Keep a trace of the command line.
1924 # Strip out --no-create and --no-recursion so they do not pile up.
1925 # Strip out --silent because we don't want to record it for future runs.
1926 # Also quote any args containing shell meta-characters.
1927 # Make two passes to allow for proper duplicate-argument suppression.
1931 ac_must_keep_next=false
1937 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1939 | -silent | --silent | --silen | --sile | --sil)
1942 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1945 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1947 as_fn_append ac_configure_args1 " '$ac_arg'"
1948 if test $ac_must_keep_next = true; then
1949 ac_must_keep_next=false # Got value, back to normal.
1952 *=* | --config-cache | -C | -disable-* | --disable-* \
1953 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1954 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1955 | -with-* | --with-* | -without-* | --without-* | --x)
1956 case "$ac_configure_args0 " in
1957 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1960 -* ) ac_must_keep_next=true ;;
1963 as_fn_append ac_configure_args " '$ac_arg'"
1968 { ac_configure_args0=; unset ac_configure_args0;}
1969 { ac_configure_args1=; unset ac_configure_args1;}
1971 # When interrupted or exit'd, cleanup temporary files, and complete
1972 # config.log. We remove comments because anyway the quotes in there
1973 # would cause problems or look ugly.
1974 # WARNING: Use '\'' to represent an apostrophe within the trap.
1975 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1976 trap 'exit_status=$?
1977 # Save into config.log some information that might help in debugging.
1981 $as_echo "## ---------------- ##
1982 ## Cache variables. ##
1983 ## ---------------- ##"
1985 # The following way of writing the cache mishandles newlines in values,
1987 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1988 eval ac_val=\$$ac_var
1992 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1996 _ | IFS | as_nl) ;; #(
1997 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1998 *) { eval $ac_var=; unset $ac_var;} ;;
2003 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2004 *${as_nl}ac_space=\ *)
2006 "s/'\''/'\''\\\\'\'''\''/g;
2007 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2010 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2017 $as_echo "## ----------------- ##
2018 ## Output variables. ##
2019 ## ----------------- ##"
2021 for ac_var in $ac_subst_vars
2023 eval ac_val=\$$ac_var
2025 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2027 $as_echo "$ac_var='\''$ac_val'\''"
2031 if test -n "$ac_subst_files"; then
2032 $as_echo "## ------------------- ##
2033 ## File substitutions. ##
2034 ## ------------------- ##"
2036 for ac_var in $ac_subst_files
2038 eval ac_val=\$$ac_var
2040 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2042 $as_echo "$ac_var='\''$ac_val'\''"
2047 if test -s confdefs.h; then
2048 $as_echo "## ----------- ##
2055 test "$ac_signal" != 0 &&
2056 $as_echo "$as_me: caught signal $ac_signal"
2057 $as_echo "$as_me: exit $exit_status"
2059 rm -f core *.core core.conftest.* &&
2060 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2063 for ac_signal in 1 2 13 15; do
2064 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2068 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2069 rm -f -r conftest* confdefs.h
2071 $as_echo "/* confdefs.h */" > confdefs.h
2073 # Predefined preprocessor variables.
2075 cat >>confdefs.h <<_ACEOF
2076 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2079 cat >>confdefs.h <<_ACEOF
2080 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2083 cat >>confdefs.h <<_ACEOF
2084 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2087 cat >>confdefs.h <<_ACEOF
2088 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2091 cat >>confdefs.h <<_ACEOF
2092 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2095 cat >>confdefs.h <<_ACEOF
2096 @%:@define PACKAGE_URL "$PACKAGE_URL"
2100 # Let the site file select an alternate cache file if it wants to.
2101 # Prefer an explicitly selected file to automatically selected ones.
2104 if test -n "$CONFIG_SITE"; then
2105 # We do not want a PATH search for config.site.
2106 case $CONFIG_SITE in @%:@((
2107 -*) ac_site_file1=./$CONFIG_SITE;;
2108 */*) ac_site_file1=$CONFIG_SITE;;
2109 *) ac_site_file1=./$CONFIG_SITE;;
2111 elif test "x$prefix" != xNONE; then
2112 ac_site_file1=$prefix/share/config.site
2113 ac_site_file2=$prefix/etc/config.site
2115 ac_site_file1=$ac_default_prefix/share/config.site
2116 ac_site_file2=$ac_default_prefix/etc/config.site
2118 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2120 test "x$ac_site_file" = xNONE && continue
2121 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2123 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2124 sed 's/^/| /' "$ac_site_file" >&5
2126 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2128 as_fn_error $? "failed to load site script $ac_site_file
2129 See \`config.log' for more details" "$LINENO" 5; }
2133 if test -r "$cache_file"; then
2134 # Some versions of bash will fail to source /dev/null (special files
2135 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2136 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2138 $as_echo "$as_me: loading cache $cache_file" >&6;}
2140 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2141 *) . "./$cache_file";;
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2146 $as_echo "$as_me: creating cache $cache_file" >&6;}
2150 # Check that the precious variables saved in the cache have kept the same
2152 ac_cache_corrupted=false
2153 for ac_var in $ac_precious_vars; do
2154 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2155 eval ac_new_set=\$ac_env_${ac_var}_set
2156 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2157 eval ac_new_val=\$ac_env_${ac_var}_value
2158 case $ac_old_set,$ac_new_set in
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2161 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2162 ac_cache_corrupted=: ;;
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2165 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2166 ac_cache_corrupted=: ;;
2169 if test "x$ac_old_val" != "x$ac_new_val"; then
2170 # differences in whitespace do not lead to failure.
2171 ac_old_val_w=`echo x $ac_old_val`
2172 ac_new_val_w=`echo x $ac_new_val`
2173 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2175 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2176 ac_cache_corrupted=:
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2179 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2180 eval $ac_var=\$ac_old_val
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2183 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2185 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2188 # Pass precious variables to config.status.
2189 if test "$ac_new_set" = set; then
2191 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2192 *) ac_arg=$ac_var=$ac_new_val ;;
2194 case " $ac_configure_args " in
2195 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2196 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2200 if $ac_cache_corrupted; then
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2204 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2205 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2207 ## -------------------- ##
2208 ## Main body of script. ##
2209 ## -------------------- ##
2212 ac_cpp='$CPP $CPPFLAGS'
2213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2218 am__api_version='1.11'
2221 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2222 if test -f "$ac_dir/install-sh"; then
2224 ac_install_sh="$ac_aux_dir/install-sh -c"
2226 elif test -f "$ac_dir/install.sh"; then
2228 ac_install_sh="$ac_aux_dir/install.sh -c"
2230 elif test -f "$ac_dir/shtool"; then
2232 ac_install_sh="$ac_aux_dir/shtool install -c"
2236 if test -z "$ac_aux_dir"; then
2237 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2240 # These three variables are undocumented and unsupported,
2241 # and are intended to be withdrawn in a future Autoconf release.
2242 # They can cause serious problems if a builder's source tree is in a directory
2243 # whose full name contains unusual characters.
2244 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2245 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2246 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2249 # Find a good install program. We prefer a C program (faster),
2250 # so one script is as good as another. But avoid the broken or
2251 # incompatible versions:
2252 # SysV /etc/install, /usr/sbin/install
2253 # SunOS /usr/etc/install
2254 # IRIX /sbin/install
2256 # AmigaOS /C/install, which installs bootblocks on floppy discs
2257 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2258 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2260 # OS/2's system install, which has a completely different semantic
2261 # ./install, which can be erroneously created by make from ./install.sh.
2262 # Reject install programs that cannot install multiple files.
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2264 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2265 if test -z "$INSTALL"; then
2266 if ${ac_cv_path_install+:} false; then :
2267 $as_echo_n "(cached) " >&6
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir=.
2274 # Account for people who put trailing slashes in PATH elements.
2275 case $as_dir/ in @%:@((
2276 ./ | .// | /[cC]/* | \
2277 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2278 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2281 # OSF1 and SCO ODT 3.0 have their own names for install.
2282 # Don't use installbsd from OSF since it installs stuff as root
2284 for ac_prog in ginstall scoinst install; do
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2287 if test $ac_prog = install &&
2288 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2289 # AIX install. It has an incompatible calling convention.
2291 elif test $ac_prog = install &&
2292 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2293 # program-specific install script used by HP pwplus--don't use.
2296 rm -rf conftest.one conftest.two conftest.dir
2297 echo one > conftest.one
2298 echo two > conftest.two
2300 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2301 test -s conftest.one && test -s conftest.two &&
2302 test -s conftest.dir/conftest.one &&
2303 test -s conftest.dir/conftest.two
2305 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2318 rm -rf conftest.one conftest.two conftest.dir
2321 if test "${ac_cv_path_install+set}" = set; then
2322 INSTALL=$ac_cv_path_install
2324 # As a last resort, use the slow shell script. Don't cache a
2325 # value for INSTALL within a source directory, because that will
2326 # break other packages using the cache if that directory is
2327 # removed, or if the value is a relative name.
2328 INSTALL=$ac_install_sh
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2332 $as_echo "$INSTALL" >&6; }
2334 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2335 # It thinks the first close brace ends the variable substitution.
2336 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2338 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2340 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2343 $as_echo_n "checking whether build environment is sane... " >&6; }
2346 echo timestamp > conftest.file
2347 # Reject unsafe characters in $srcdir or the absolute working directory
2348 # name. Accept space and tab only in the latter.
2352 *[\\\"\#\$\&\'\`$am_lf]*)
2353 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2356 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2357 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2360 # Do `set' in a subshell so we don't clobber the current shell's
2361 # arguments. Must try -L first in case configure is actually a
2362 # symlink; some systems play weird games with the mod time of symlinks
2363 # (eg FreeBSD returns the mod time of the symlink's containing
2366 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2367 if test "$*" = "X"; then
2369 set X `ls -t "$srcdir/configure" conftest.file`
2372 if test "$*" != "X $srcdir/configure conftest.file" \
2373 && test "$*" != "X conftest.file $srcdir/configure"; then
2375 # If neither matched, then we have a broken ls. This can happen
2376 # if, for instance, CONFIG_SHELL is bash and it inherits a
2377 # broken ls alias from the environment. This has actually
2378 # happened. Such a system could not be considered "sane".
2379 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2380 alias in your environment" "$LINENO" 5
2383 test "$2" = conftest.file
2389 as_fn_error $? "newly created file is older than distributed files!
2390 Check your system clock" "$LINENO" 5
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2393 $as_echo "yes" >&6; }
2394 test "$program_prefix" != NONE &&
2395 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2396 # Use a double $ so make ignores it.
2397 test "$program_suffix" != NONE &&
2398 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2399 # Double any \ or $.
2400 # By default was `s,x,x', remove it if useless.
2401 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2402 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2404 # expand $ac_aux_dir to an absolute path
2405 am_aux_dir=`cd $ac_aux_dir && pwd`
2407 if test x"${MISSING+set}" != xset; then
2410 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2412 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2415 # Use eval to expand $SHELL
2416 if eval "$MISSING --run true"; then
2417 am_missing_run="$MISSING --run "
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2421 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2424 if test x"${install_sh}" != xset; then
2427 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2429 install_sh="\${SHELL} $am_aux_dir/install-sh"
2433 # Installed binaries are usually stripped using `strip' when the user
2434 # run `make install-strip'. However `strip' might not be the right
2435 # tool to use in cross-compilation environments, therefore Automake
2436 # will honor the `STRIP' environment variable to overrule this program.
2437 if test "$cross_compiling" != no; then
2438 if test -n "$ac_tool_prefix"; then
2439 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2440 set dummy ${ac_tool_prefix}strip; ac_word=$2
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2442 $as_echo_n "checking for $ac_word... " >&6; }
2443 if ${ac_cv_prog_STRIP+:} false; then :
2444 $as_echo_n "(cached) " >&6
2446 if test -n "$STRIP"; then
2447 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 test -z "$as_dir" && as_dir=.
2454 for ac_exec_ext in '' $ac_executable_extensions; do
2455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2456 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 STRIP=$ac_cv_prog_STRIP
2467 if test -n "$STRIP"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2469 $as_echo "$STRIP" >&6; }
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2477 if test -z "$ac_cv_prog_STRIP"; then
2479 # Extract the first word of "strip", so it can be a program name with args.
2480 set dummy strip; ac_word=$2
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2482 $as_echo_n "checking for $ac_word... " >&6; }
2483 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2484 $as_echo_n "(cached) " >&6
2486 if test -n "$ac_ct_STRIP"; then
2487 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 test -z "$as_dir" && as_dir=.
2494 for ac_exec_ext in '' $ac_executable_extensions; do
2495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2496 ac_cv_prog_ac_ct_STRIP="strip"
2497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2507 if test -n "$ac_ct_STRIP"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2509 $as_echo "$ac_ct_STRIP" >&6; }
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2512 $as_echo "no" >&6; }
2515 if test "x$ac_ct_STRIP" = x; then
2518 case $cross_compiling:$ac_tool_warned in
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2522 ac_tool_warned=yes ;;
2527 STRIP="$ac_cv_prog_STRIP"
2531 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2534 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2535 if test -z "$MKDIR_P"; then
2536 if ${ac_cv_path_mkdir+:} false; then :
2537 $as_echo_n "(cached) " >&6
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2543 test -z "$as_dir" && as_dir=.
2544 for ac_prog in mkdir gmkdir; do
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2547 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2548 'mkdir (GNU coreutils) '* | \
2549 'mkdir (coreutils) '* | \
2550 'mkdir (fileutils) '4.1*)
2551 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2561 test -d ./--version && rmdir ./--version
2562 if test "${ac_cv_path_mkdir+set}" = set; then
2563 MKDIR_P="$ac_cv_path_mkdir -p"
2565 # As a last resort, use the slow shell script. Don't cache a
2566 # value for MKDIR_P within a source directory, because that will
2567 # break other packages using the cache if that directory is
2568 # removed, or if the value is a relative name.
2569 MKDIR_P="$ac_install_sh -d"
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2573 $as_echo "$MKDIR_P" >&6; }
2577 [\\/$]* | ?:[\\/]*) ;;
2578 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2581 for ac_prog in gawk mawk nawk awk
2583 # Extract the first word of "$ac_prog", so it can be a program name with args.
2584 set dummy $ac_prog; ac_word=$2
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2586 $as_echo_n "checking for $ac_word... " >&6; }
2587 if ${ac_cv_prog_AWK+:} false; then :
2588 $as_echo_n "(cached) " >&6
2590 if test -n "$AWK"; then
2591 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir=.
2598 for ac_exec_ext in '' $ac_executable_extensions; do
2599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2600 ac_cv_prog_AWK="$ac_prog"
2601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 if test -n "$AWK"; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2613 $as_echo "$AWK" >&6; }
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2616 $as_echo "no" >&6; }
2620 test -n "$AWK" && break
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2624 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2626 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2627 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2628 $as_echo_n "(cached) " >&6
2630 cat >conftest.make <<\_ACEOF
2633 @echo '@@@%%%=$(MAKE)=@@@%%%'
2635 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2636 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2638 eval ac_cv_prog_make_${ac_make}_set=yes;;
2640 eval ac_cv_prog_make_${ac_make}_set=no;;
2644 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2646 $as_echo "yes" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2651 SET_MAKE="MAKE=${MAKE-make}"
2654 rm -rf .tst 2>/dev/null
2655 mkdir .tst 2>/dev/null
2656 if test -d .tst; then
2661 rmdir .tst 2>/dev/null
2663 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2664 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2665 # is not polluted with repeated "-I."
2666 am__isrc=' -I$(srcdir)'
2667 # test to see if srcdir already configured
2668 if test -f $srcdir/config.status; then
2669 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2673 # test whether we have cygpath
2674 if test -z "$CYGPATH_W"; then
2675 if (cygpath --version) >/dev/null 2>/dev/null; then
2676 CYGPATH_W='cygpath -w'
2683 # Define the identity of the package.
2684 PACKAGE='libsockstream'
2688 cat >>confdefs.h <<_ACEOF
2689 @%:@define PACKAGE "$PACKAGE"
2693 cat >>confdefs.h <<_ACEOF
2694 @%:@define VERSION "$VERSION"
2697 # Some tools Automake needs.
2699 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2702 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2705 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2708 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2711 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2713 # We need awk for the "check" target. The system "awk" is bad on
2715 # Always define AMTAR for backward compatibility.
2717 AMTAR=${AMTAR-"${am_missing_run}tar"}
2719 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2726 ac_config_headers="$ac_config_headers config.h"
2729 # Checks for programs.
2731 ac_cpp='$CXXCPP $CPPFLAGS'
2732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2735 if test -z "$CXX"; then
2736 if test -n "$CCC"; then
2739 if test -n "$ac_tool_prefix"; then
2740 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if ${ac_cv_prog_CXX+:} false; then :
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$CXX"; then
2750 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2770 if test -n "$CXX"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2772 $as_echo "$CXX" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2779 test -n "$CXX" && break
2782 if test -z "$CXX"; then
2784 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2786 # Extract the first word of "$ac_prog", so it can be a program name with args.
2787 set dummy $ac_prog; ac_word=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2791 $as_echo_n "(cached) " >&6
2793 if test -n "$ac_ct_CXX"; then
2794 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803 ac_cv_prog_ac_ct_CXX="$ac_prog"
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2814 if test -n "$ac_ct_CXX"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2816 $as_echo "$ac_ct_CXX" >&6; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2823 test -n "$ac_ct_CXX" && break
2826 if test "x$ac_ct_CXX" = x; then
2829 case $cross_compiling:$ac_tool_warned in
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2833 ac_tool_warned=yes ;;
2841 # Provide some information about the compiler.
2842 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2845 for ac_option in --version -v -V -qversion; do
2846 { { ac_try="$ac_compiler $ac_option >&5"
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2852 $as_echo "$ac_try_echo"; } >&5
2853 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2855 if test -s conftest.err; then
2857 ... rest of stderr output deleted ...
2858 10q' conftest.err >conftest.er1
2859 cat conftest.er1 >&5
2861 rm -f conftest.er1 conftest.err
2862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863 test $ac_status = 0; }
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2877 ac_clean_files_save=$ac_clean_files
2878 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2879 # Try to create an executable without -o first, disregard a.out.
2880 # It will help us diagnose broken compilers, and finding out an intuition
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2883 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2884 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2886 # The possible output files:
2887 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2890 for ac_file in $ac_files
2893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2894 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2899 if { { ac_try="$ac_link_default"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905 $as_echo "$ac_try_echo"; } >&5
2906 (eval "$ac_link_default") 2>&5
2908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2909 test $ac_status = 0; }; then :
2910 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2911 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2912 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2913 # so that the user can short-circuit this test for compilers unknown to
2915 for ac_file in $ac_files ''
2917 test -f "$ac_file" || continue
2919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2922 # We found the default executable, but exeext='' is most
2926 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2928 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2930 # We set ac_cv_exeext here because the later test for it is not
2931 # safe: cross compilers may not add the suffix if given an `-o'
2932 # argument, so we may need to know it at that point already.
2933 # Even if this section looks crufty: it has the advantage of
2940 test "$ac_cv_exeext" = no && ac_cv_exeext=
2945 if test -z "$ac_file"; then :
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2948 $as_echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.$ac_ext >&5
2951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2953 as_fn_error 77 "C++ compiler cannot create executables
2954 See \`config.log' for more details" "$LINENO" 5; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2957 $as_echo "yes" >&6; }
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2960 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2962 $as_echo "$ac_file" >&6; }
2963 ac_exeext=$ac_cv_exeext
2965 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2966 ac_clean_files=$ac_clean_files_save
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2968 $as_echo_n "checking for suffix of executables... " >&6; }
2969 if { { ac_try="$ac_link"
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2975 $as_echo "$ac_try_echo"; } >&5
2976 (eval "$ac_link") 2>&5
2978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2979 test $ac_status = 0; }; then :
2980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2982 # work properly (i.e., refer to `conftest.exe'), while it won't with
2984 for ac_file in conftest.exe conftest conftest.*; do
2985 test -f "$ac_file" || continue
2987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2988 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2996 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2997 See \`config.log' for more details" "$LINENO" 5; }
2999 rm -f conftest conftest$ac_cv_exeext
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3001 $as_echo "$ac_cv_exeext" >&6; }
3003 rm -f conftest.$ac_ext
3004 EXEEXT=$ac_cv_exeext
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3008 @%:@include <stdio.h>
3012 FILE *f = fopen ("conftest.out", "w");
3013 return ferror (f) || fclose (f) != 0;
3019 ac_clean_files="$ac_clean_files conftest.out"
3020 # Check that the compiler produces executables we can run. If not, either
3021 # the compiler is broken, or we cross compile.
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3023 $as_echo_n "checking whether we are cross compiling... " >&6; }
3024 if test "$cross_compiling" != yes; then
3025 { { ac_try="$ac_link"
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3031 $as_echo "$ac_try_echo"; } >&5
3032 (eval "$ac_link") 2>&5
3034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3035 test $ac_status = 0; }
3036 if { ac_try='./conftest$ac_cv_exeext'
3037 { { case "(($ac_try" in
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3042 $as_echo "$ac_try_echo"; } >&5
3043 (eval "$ac_try") 2>&5
3045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3046 test $ac_status = 0; }; }; then
3049 if test "$cross_compiling" = maybe; then
3052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054 as_fn_error $? "cannot run C++ compiled programs.
3055 If you meant to cross compile, use \`--host'.
3056 See \`config.log' for more details" "$LINENO" 5; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3061 $as_echo "$cross_compiling" >&6; }
3063 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3064 ac_clean_files=$ac_clean_files_save
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3066 $as_echo_n "checking for suffix of object files... " >&6; }
3067 if ${ac_cv_objext+:} false; then :
3068 $as_echo_n "(cached) " >&6
3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071 /* end confdefs.h. */
3081 rm -f conftest.o conftest.obj
3082 if { { ac_try="$ac_compile"
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3088 $as_echo "$ac_try_echo"; } >&5
3089 (eval "$ac_compile") 2>&5
3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3092 test $ac_status = 0; }; then :
3093 for ac_file in conftest.o conftest.obj conftest.*; do
3094 test -f "$ac_file" || continue;
3096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3097 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3102 $as_echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error $? "cannot compute suffix of object files: cannot compile
3108 See \`config.log' for more details" "$LINENO" 5; }
3110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3113 $as_echo "$ac_cv_objext" >&6; }
3114 OBJEXT=$ac_cv_objext
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3117 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3118 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3119 $as_echo_n "(cached) " >&6
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3135 if ac_fn_cxx_try_compile "$LINENO"; then :
3140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3141 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3145 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3146 if test $ac_compiler_gnu = yes; then
3151 ac_test_CXXFLAGS=${CXXFLAGS+set}
3152 ac_save_CXXFLAGS=$CXXFLAGS
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3154 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3155 if ${ac_cv_prog_cxx_g+:} false; then :
3156 $as_echo_n "(cached) " >&6
3158 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3159 ac_cxx_werror_flag=yes
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3173 if ac_fn_cxx_try_compile "$LINENO"; then :
3174 ac_cv_prog_cxx_g=yes
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3188 if ac_fn_cxx_try_compile "$LINENO"; then :
3191 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3204 if ac_fn_cxx_try_compile "$LINENO"; then :
3205 ac_cv_prog_cxx_g=yes
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3215 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3216 if test "$ac_test_CXXFLAGS" = set; then
3217 CXXFLAGS=$ac_save_CXXFLAGS
3218 elif test $ac_cv_prog_cxx_g = yes; then
3219 if test "$GXX" = yes; then
3225 if test "$GXX" = yes; then
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 DEPDIR="${am__leading_dot}deps"
3238 ac_config_commands="$ac_config_commands depfiles"
3241 am_make=${MAKE-make}
3242 cat > confinc << 'END'
3244 @echo this is the am__doit target
3247 # If we don't find an include directive, just comment out the code.
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3249 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3253 # First try GNU make style include.
3254 echo "include confinc" > confmf
3255 # Ignore all kinds of additional output from `make'.
3256 case `$am_make -s -f confmf 2> /dev/null` in #(
3257 *the\ am__doit\ target*)
3263 # Now try BSD make style include.
3264 if test "$am__include" = "#"; then
3265 echo '.include "confinc"' > confmf
3266 case `$am_make -s -f confmf 2> /dev/null` in #(
3267 *the\ am__doit\ target*)
3268 am__include=.include
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3277 $as_echo "$_am_result" >&6; }
3278 rm -f confinc confmf
3280 @%:@ Check whether --enable-dependency-tracking was given.
3281 if test "${enable_dependency_tracking+set}" = set; then :
3282 enableval=$enable_dependency_tracking;
3285 if test "x$enable_dependency_tracking" != xno; then
3286 am_depcomp="$ac_aux_dir/depcomp"
3289 if test "x$enable_dependency_tracking" != xno; then
3299 depcc="$CXX" am_compiler_list=
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3302 $as_echo_n "checking dependency style of $depcc... " >&6; }
3303 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3304 $as_echo_n "(cached) " >&6
3306 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3307 # We make a subdir and do the tests there. Otherwise we can end up
3308 # making bogus files that we don't know about and never remove. For
3309 # instance it was reported that on HP-UX the gcc test will end up
3310 # making a dummy file named `D' -- because `-MD' means `put the output
3313 # Copy depcomp to subdir because otherwise we won't find it if we're
3314 # using a relative directory.
3315 cp "$am_depcomp" conftest.dir
3317 # We will build objects and dependencies in a subdirectory because
3318 # it helps to detect inapplicable dependency modes. For instance
3319 # both Tru64's cc and ICC support -MD to output dependencies as a
3320 # side effect of compilation, but ICC will put the dependencies in
3321 # the current directory while Tru64 will put them in the object
3325 am_cv_CXX_dependencies_compiler_type=none
3326 if test "$am_compiler_list" = ""; then
3327 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3330 case " $depcc " in #(
3331 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3334 for depmode in $am_compiler_list; do
3335 # Setup a source with many dependencies, because some compilers
3336 # like to wrap large dependency lists on column 80 (with \), and
3337 # we should not choose a depcomp mode which is confused by this.
3339 # We need to recreate these files for each test, as the compiler may
3340 # overwrite some of them when testing with obscure command lines.
3341 # This happens at least with the AIX C compiler.
3343 for i in 1 2 3 4 5 6; do
3344 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3345 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3346 # Solaris 8's {/usr,}/bin/sh.
3347 touch sub/conftst$i.h
3349 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3351 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3352 # mode. It turns out that the SunPro C++ compiler does not properly
3353 # handle `-M -o', and we need to detect this. Also, some Intel
3354 # versions had trouble with output in subdirs
3355 am__obj=sub/conftest.${OBJEXT-o}
3356 am__minus_obj="-o $am__obj"
3359 # This depmode causes a compiler race in universal mode.
3360 test "$am__universal" = false || continue
3363 # after this tag, mechanisms are not by side-effect, so they'll
3364 # only be used when explicitly requested
3365 if test "x$enable_dependency_tracking" = xyes; then
3371 msvisualcpp | msvcmsys)
3372 # This compiler won't grok `-c -o', but also, the minuso test has
3373 # not run yet. These depmodes are late enough in the game, and
3374 # so weak that their functioning should not be impacted.
3375 am__obj=conftest.${OBJEXT-o}
3380 if depmode=$depmode \
3381 source=sub/conftest.c object=$am__obj \
3382 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3383 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3384 >/dev/null 2>conftest.err &&
3385 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3386 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3387 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3388 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3389 # icc doesn't choke on unknown options, it will just issue warnings
3390 # or remarks (even with -Werror). So we grep stderr for any message
3391 # that says an option was ignored or not supported.
3392 # When given -MP, icc 7.0 and 7.1 complain thusly:
3393 # icc: Command line warning: ignoring option '-M'; no argument required
3394 # The diagnosis changed in icc 8.0:
3395 # icc: Command line remark: option '-MP' not supported
3396 if (grep 'ignoring option' conftest.err ||
3397 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3398 am_cv_CXX_dependencies_compiler_type=$depmode
3407 am_cv_CXX_dependencies_compiler_type=none
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3412 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3413 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3416 test "x$enable_dependency_tracking" != xno \
3417 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3418 am__fastdepCXX_TRUE=
3419 am__fastdepCXX_FALSE='#'
3421 am__fastdepCXX_TRUE='#'
3422 am__fastdepCXX_FALSE=
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3431 if test -n "$ac_tool_prefix"; then
3432 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3433 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435 $as_echo_n "checking for $ac_word... " >&6; }
3436 if ${ac_cv_prog_CC+:} false; then :
3437 $as_echo_n "(cached) " >&6
3439 if test -n "$CC"; then
3440 ac_cv_prog_CC="$CC" # Let the user override the test.
3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446 test -z "$as_dir" && as_dir=.
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3449 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3460 if test -n "$CC"; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3462 $as_echo "$CC" >&6; }
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3470 if test -z "$ac_cv_prog_CC"; then
3472 # Extract the first word of "gcc", so it can be a program name with args.
3473 set dummy gcc; ac_word=$2
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475 $as_echo_n "checking for $ac_word... " >&6; }
3476 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 if test -n "$ac_ct_CC"; then
3480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3489 ac_cv_prog_ac_ct_CC="gcc"
3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3500 if test -n "$ac_ct_CC"; then
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3502 $as_echo "$ac_ct_CC" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3508 if test "x$ac_ct_CC" = x; then
3511 case $cross_compiling:$ac_tool_warned in
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3515 ac_tool_warned=yes ;;
3523 if test -z "$CC"; then
3524 if test -n "$ac_tool_prefix"; then
3525 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3526 set dummy ${ac_tool_prefix}cc; ac_word=$2
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3528 $as_echo_n "checking for $ac_word... " >&6; }
3529 if ${ac_cv_prog_CC+:} false; then :
3530 $as_echo_n "(cached) " >&6
3532 if test -n "$CC"; then
3533 ac_cv_prog_CC="$CC" # Let the user override the test.
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3539 test -z "$as_dir" && as_dir=.
3540 for ac_exec_ext in '' $ac_executable_extensions; do
3541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3542 ac_cv_prog_CC="${ac_tool_prefix}cc"
3543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 if test -n "$CC"; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3555 $as_echo "$CC" >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3564 if test -z "$CC"; then
3565 # Extract the first word of "cc", so it can be a program name with args.
3566 set dummy cc; ac_word=$2
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 $as_echo_n "checking for $ac_word... " >&6; }
3569 if ${ac_cv_prog_CC+:} false; then :
3570 $as_echo_n "(cached) " >&6
3572 if test -n "$CC"; then
3573 ac_cv_prog_CC="$CC" # Let the user override the test.
3576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 test -z "$as_dir" && as_dir=.
3581 for ac_exec_ext in '' $ac_executable_extensions; do
3582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3584 ac_prog_rejected=yes
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 if test $ac_prog_rejected = yes; then
3596 # We found a bogon in the path, so make sure we never use it.
3597 set dummy $ac_cv_prog_CC
3599 if test $@%:@ != 0; then
3600 # We chose a different compiler from the bogus one.
3601 # However, it has the same basename, so the bogon will be chosen
3602 # first if we set CC to just the basename; use the full file name.
3604 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3610 if test -n "$CC"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3612 $as_echo "$CC" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3620 if test -z "$CC"; then
3621 if test -n "$ac_tool_prefix"; then
3622 for ac_prog in cl.exe
3624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_CC+:} false; then :
3629 $as_echo_n "(cached) " >&6
3631 if test -n "$CC"; then
3632 ac_cv_prog_CC="$CC" # Let the user override the test.
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3638 test -z "$as_dir" && as_dir=.
3639 for ac_exec_ext in '' $ac_executable_extensions; do
3640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 if test -n "$CC"; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3654 $as_echo "$CC" >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3661 test -n "$CC" && break
3664 if test -z "$CC"; then
3666 for ac_prog in cl.exe
3668 # Extract the first word of "$ac_prog", so it can be a program name with args.
3669 set dummy $ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$ac_ct_CC"; then
3676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_ac_ct_CC="$ac_prog"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3696 if test -n "$ac_ct_CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3698 $as_echo "$ac_ct_CC" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3705 test -n "$ac_ct_CC" && break
3708 if test "x$ac_ct_CC" = x; then
3711 case $cross_compiling:$ac_tool_warned in
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3724 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_error $? "no acceptable C compiler found in \$PATH
3727 See \`config.log' for more details" "$LINENO" 5; }
3729 # Provide some information about the compiler.
3730 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3733 for ac_option in --version -v -V -qversion; do
3734 { { ac_try="$ac_compiler $ac_option >&5"
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3740 $as_echo "$ac_try_echo"; } >&5
3741 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3743 if test -s conftest.err; then
3745 ... rest of stderr output deleted ...
3746 10q' conftest.err >conftest.er1
3747 cat conftest.er1 >&5
3749 rm -f conftest.er1 conftest.err
3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751 test $ac_status = 0; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3755 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3756 if ${ac_cv_c_compiler_gnu+:} false; then :
3757 $as_echo_n "(cached) " >&6
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3773 if ac_fn_c_try_compile "$LINENO"; then :
3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3783 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3784 if test $ac_compiler_gnu = yes; then
3789 ac_test_CFLAGS=${CFLAGS+set}
3790 ac_save_CFLAGS=$CFLAGS
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3792 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3793 if ${ac_cv_prog_cc_g+:} false; then :
3794 $as_echo_n "(cached) " >&6
3796 ac_save_c_werror_flag=$ac_c_werror_flag
3797 ac_c_werror_flag=yes
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3811 if ac_fn_c_try_compile "$LINENO"; then :
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 if ac_fn_c_try_compile "$LINENO"; then :
3829 ac_c_werror_flag=$ac_save_c_werror_flag
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3842 if ac_fn_c_try_compile "$LINENO"; then :
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3850 ac_c_werror_flag=$ac_save_c_werror_flag
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3853 $as_echo "$ac_cv_prog_cc_g" >&6; }
3854 if test "$ac_test_CFLAGS" = set; then
3855 CFLAGS=$ac_save_CFLAGS
3856 elif test $ac_cv_prog_cc_g = yes; then
3857 if test "$GCC" = yes; then
3863 if test "$GCC" = yes; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3870 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3871 if ${ac_cv_prog_cc_c89+:} false; then :
3872 $as_echo_n "(cached) " >&6
3874 ac_cv_prog_cc_c89=no
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3880 #include <sys/types.h>
3881 #include <sys/stat.h>
3882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3883 struct buf { int x; };
3884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3885 static char *e (p, i)
3891 static char *f (char * (*g) (char **, int), char **p, ...)
3896 s = g (p, va_arg (v,int));
3901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3902 function prototypes and stuff, but not '\xHH' hex character constants.
3903 These don't provoke an error unfortunately, instead are silently treated
3904 as 'x'. The following induces an error, until -std is added to get
3905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3906 array size at least. It's necessary to write '\x00'==0 to get something
3907 that's true only with -std. */
3908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3911 inside strings and character constants. */
3913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3915 int test (int i, double x);
3916 struct s1 {int (*f) (int a);};
3917 struct s2 {int (*f) (double a);};
3918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3932 CC="$ac_save_CC $ac_arg"
3933 if ac_fn_c_try_compile "$LINENO"; then :
3934 ac_cv_prog_cc_c89=$ac_arg
3936 rm -f core conftest.err conftest.$ac_objext
3937 test "x$ac_cv_prog_cc_c89" != "xno" && break
3939 rm -f conftest.$ac_ext
3944 case "x$ac_cv_prog_cc_c89" in
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3947 $as_echo "none needed" >&6; } ;;
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3950 $as_echo "unsupported" >&6; } ;;
3952 CC="$CC $ac_cv_prog_cc_c89"
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3954 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3956 if test "x$ac_cv_prog_cc_c89" != xno; then :
3961 ac_cpp='$CPP $CPPFLAGS'
3962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3966 depcc="$CC" am_compiler_list=
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3969 $as_echo_n "checking dependency style of $depcc... " >&6; }
3970 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3971 $as_echo_n "(cached) " >&6
3973 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3974 # We make a subdir and do the tests there. Otherwise we can end up
3975 # making bogus files that we don't know about and never remove. For
3976 # instance it was reported that on HP-UX the gcc test will end up
3977 # making a dummy file named `D' -- because `-MD' means `put the output
3980 # Copy depcomp to subdir because otherwise we won't find it if we're
3981 # using a relative directory.
3982 cp "$am_depcomp" conftest.dir
3984 # We will build objects and dependencies in a subdirectory because
3985 # it helps to detect inapplicable dependency modes. For instance
3986 # both Tru64's cc and ICC support -MD to output dependencies as a
3987 # side effect of compilation, but ICC will put the dependencies in
3988 # the current directory while Tru64 will put them in the object
3992 am_cv_CC_dependencies_compiler_type=none
3993 if test "$am_compiler_list" = ""; then
3994 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3997 case " $depcc " in #(
3998 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4001 for depmode in $am_compiler_list; do
4002 # Setup a source with many dependencies, because some compilers
4003 # like to wrap large dependency lists on column 80 (with \), and
4004 # we should not choose a depcomp mode which is confused by this.
4006 # We need to recreate these files for each test, as the compiler may
4007 # overwrite some of them when testing with obscure command lines.
4008 # This happens at least with the AIX C compiler.
4010 for i in 1 2 3 4 5 6; do
4011 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4012 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4013 # Solaris 8's {/usr,}/bin/sh.
4014 touch sub/conftst$i.h
4016 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4018 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4019 # mode. It turns out that the SunPro C++ compiler does not properly
4020 # handle `-M -o', and we need to detect this. Also, some Intel
4021 # versions had trouble with output in subdirs
4022 am__obj=sub/conftest.${OBJEXT-o}
4023 am__minus_obj="-o $am__obj"
4026 # This depmode causes a compiler race in universal mode.
4027 test "$am__universal" = false || continue
4030 # after this tag, mechanisms are not by side-effect, so they'll
4031 # only be used when explicitly requested
4032 if test "x$enable_dependency_tracking" = xyes; then
4038 msvisualcpp | msvcmsys)
4039 # This compiler won't grok `-c -o', but also, the minuso test has
4040 # not run yet. These depmodes are late enough in the game, and
4041 # so weak that their functioning should not be impacted.
4042 am__obj=conftest.${OBJEXT-o}
4047 if depmode=$depmode \
4048 source=sub/conftest.c object=$am__obj \
4049 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4050 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4051 >/dev/null 2>conftest.err &&
4052 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4053 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4054 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4055 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4056 # icc doesn't choke on unknown options, it will just issue warnings
4057 # or remarks (even with -Werror). So we grep stderr for any message
4058 # that says an option was ignored or not supported.
4059 # When given -MP, icc 7.0 and 7.1 complain thusly:
4060 # icc: Command line warning: ignoring option '-M'; no argument required
4061 # The diagnosis changed in icc 8.0:
4062 # icc: Command line remark: option '-MP' not supported
4063 if (grep 'ignoring option' conftest.err ||
4064 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4065 am_cv_CC_dependencies_compiler_type=$depmode
4074 am_cv_CC_dependencies_compiler_type=none
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4079 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4080 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4083 test "x$enable_dependency_tracking" != xno \
4084 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4086 am__fastdepCC_FALSE='#'
4088 am__fastdepCC_TRUE='#'
4089 am__fastdepCC_FALSE=
4094 # Checks for libraries.
4095 # FIXME: Replace `main' with a function in `-lAXE':
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lAXE" >&5
4098 $as_echo_n "checking for main in -lAXE... " >&6; }
4099 if ${ac_cv_lib_AXE_main+:} false; then :
4100 $as_echo_n "(cached) " >&6
4102 ac_check_lib_save_LIBS=$LIBS
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4116 if ac_fn_c_try_link "$LINENO"; then :
4117 ac_cv_lib_AXE_main=yes
4119 ac_cv_lib_AXE_main=no
4121 rm -f core conftest.err conftest.$ac_objext \
4122 conftest$ac_exeext conftest.$ac_ext
4123 LIBS=$ac_check_lib_save_LIBS
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_AXE_main" >&5
4126 $as_echo "$ac_cv_lib_AXE_main" >&6; }
4127 if test "x$ac_cv_lib_AXE_main" = xyes; then :
4128 cat >>confdefs.h <<_ACEOF
4129 @%:@define HAVE_LIBAXE 1
4137 # Checks for header files.
4139 ac_cpp='$CPP $CPPFLAGS'
4140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4144 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4145 # On Suns, sometimes $CPP names a directory.
4146 if test -n "$CPP" && test -d "$CPP"; then
4149 if test -z "$CPP"; then
4150 if ${ac_cv_prog_CPP+:} false; then :
4151 $as_echo_n "(cached) " >&6
4153 # Double quotes because CPP needs to be expanded
4154 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4157 for ac_c_preproc_warn_flag in '' yes
4159 # Use a header file that comes with gcc, so configuring glibc
4160 # with a fresh cross-compiler works.
4161 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4162 # <limits.h> exists even on freestanding compilers.
4163 # On the NeXT, cc -E runs the code through the compiler's parser,
4164 # not just through cpp. "Syntax error" is here to catch this case.
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4168 @%:@ include <limits.h>
4170 @%:@ include <assert.h>
4174 if ac_fn_c_try_cpp "$LINENO"; then :
4177 # Broken: fails on valid input.
4180 rm -f conftest.err conftest.i conftest.$ac_ext
4182 # OK, works on sane cases. Now check whether nonexistent headers
4183 # can be detected and how.
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4186 @%:@include <ac_nonexistent.h>
4188 if ac_fn_c_try_cpp "$LINENO"; then :
4189 # Broken: success on invalid input.
4192 # Passes both tests.
4196 rm -f conftest.err conftest.i conftest.$ac_ext
4199 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4200 rm -f conftest.i conftest.err conftest.$ac_ext
4201 if $ac_preproc_ok; then :
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4214 $as_echo "$CPP" >&6; }
4216 for ac_c_preproc_warn_flag in '' yes
4218 # Use a header file that comes with gcc, so configuring glibc
4219 # with a fresh cross-compiler works.
4220 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4221 # <limits.h> exists even on freestanding compilers.
4222 # On the NeXT, cc -E runs the code through the compiler's parser,
4223 # not just through cpp. "Syntax error" is here to catch this case.
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4227 @%:@ include <limits.h>
4229 @%:@ include <assert.h>
4233 if ac_fn_c_try_cpp "$LINENO"; then :
4236 # Broken: fails on valid input.
4239 rm -f conftest.err conftest.i conftest.$ac_ext
4241 # OK, works on sane cases. Now check whether nonexistent headers
4242 # can be detected and how.
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4245 @%:@include <ac_nonexistent.h>
4247 if ac_fn_c_try_cpp "$LINENO"; then :
4248 # Broken: success on invalid input.
4251 # Passes both tests.
4255 rm -f conftest.err conftest.i conftest.$ac_ext
4258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4259 rm -f conftest.i conftest.err conftest.$ac_ext
4260 if $ac_preproc_ok; then :
4263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4265 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4266 See \`config.log' for more details" "$LINENO" 5; }
4270 ac_cpp='$CPP $CPPFLAGS'
4271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4277 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4278 if ${ac_cv_path_GREP+:} false; then :
4279 $as_echo_n "(cached) " >&6
4281 if test -z "$GREP"; then
4282 ac_path_GREP_found=false
4283 # Loop through the user's path and test for each of PROGNAME-LIST
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4288 test -z "$as_dir" && as_dir=.
4289 for ac_prog in grep ggrep; do
4290 for ac_exec_ext in '' $ac_executable_extensions; do
4291 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4292 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4293 # Check for GNU ac_path_GREP and select it if it is found.
4294 # Check for GNU $ac_path_GREP
4295 case `"$ac_path_GREP" --version 2>&1` in
4297 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4300 $as_echo_n 0123456789 >"conftest.in"
4303 cat "conftest.in" "conftest.in" >"conftest.tmp"
4304 mv "conftest.tmp" "conftest.in"
4305 cp "conftest.in" "conftest.nl"
4306 $as_echo 'GREP' >> "conftest.nl"
4307 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4308 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4309 as_fn_arith $ac_count + 1 && ac_count=$as_val
4310 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4311 # Best one so far, save it but keep looking for a better one
4312 ac_cv_path_GREP="$ac_path_GREP"
4313 ac_path_GREP_max=$ac_count
4315 # 10*(2^10) chars as input seems more than enough
4316 test $ac_count -gt 10 && break
4318 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4321 $ac_path_GREP_found && break 3
4326 if test -z "$ac_cv_path_GREP"; then
4327 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4330 ac_cv_path_GREP=$GREP
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4335 $as_echo "$ac_cv_path_GREP" >&6; }
4336 GREP="$ac_cv_path_GREP"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4340 $as_echo_n "checking for egrep... " >&6; }
4341 if ${ac_cv_path_EGREP+:} false; then :
4342 $as_echo_n "(cached) " >&6
4344 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4345 then ac_cv_path_EGREP="$GREP -E"
4347 if test -z "$EGREP"; then
4348 ac_path_EGREP_found=false
4349 # Loop through the user's path and test for each of PROGNAME-LIST
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4354 test -z "$as_dir" && as_dir=.
4355 for ac_prog in egrep; do
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4358 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4359 # Check for GNU ac_path_EGREP and select it if it is found.
4360 # Check for GNU $ac_path_EGREP
4361 case `"$ac_path_EGREP" --version 2>&1` in
4363 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4366 $as_echo_n 0123456789 >"conftest.in"
4369 cat "conftest.in" "conftest.in" >"conftest.tmp"
4370 mv "conftest.tmp" "conftest.in"
4371 cp "conftest.in" "conftest.nl"
4372 $as_echo 'EGREP' >> "conftest.nl"
4373 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4375 as_fn_arith $ac_count + 1 && ac_count=$as_val
4376 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4377 # Best one so far, save it but keep looking for a better one
4378 ac_cv_path_EGREP="$ac_path_EGREP"
4379 ac_path_EGREP_max=$ac_count
4381 # 10*(2^10) chars as input seems more than enough
4382 test $ac_count -gt 10 && break
4384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4387 $ac_path_EGREP_found && break 3
4392 if test -z "$ac_cv_path_EGREP"; then
4393 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4396 ac_cv_path_EGREP=$EGREP
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4402 $as_echo "$ac_cv_path_EGREP" >&6; }
4403 EGREP="$ac_cv_path_EGREP"
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4407 $as_echo_n "checking for ANSI C header files... " >&6; }
4408 if ${ac_cv_header_stdc+:} false; then :
4409 $as_echo_n "(cached) " >&6
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4426 if ac_fn_c_try_compile "$LINENO"; then :
4427 ac_cv_header_stdc=yes
4429 ac_cv_header_stdc=no
4431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4433 if test $ac_cv_header_stdc = yes; then
4434 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4441 $EGREP "memchr" >/dev/null 2>&1; then :
4444 ac_cv_header_stdc=no
4450 if test $ac_cv_header_stdc = yes; then
4451 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h. */
4457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4458 $EGREP "free" >/dev/null 2>&1; then :
4461 ac_cv_header_stdc=no
4467 if test $ac_cv_header_stdc = yes; then
4468 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4469 if test "$cross_compiling" = yes; then :
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4476 #if ((' ' & 0x0FF) == 0x020)
4477 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4478 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4480 # define ISLOWER(c) \
4481 (('a' <= (c) && (c) <= 'i') \
4482 || ('j' <= (c) && (c) <= 'r') \
4483 || ('s' <= (c) && (c) <= 'z'))
4484 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4487 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4492 for (i = 0; i < 256; i++)
4493 if (XOR (islower (i), ISLOWER (i))
4494 || toupper (i) != TOUPPER (i))
4499 if ac_fn_c_try_run "$LINENO"; then :
4502 ac_cv_header_stdc=no
4504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4505 conftest.$ac_objext conftest.beam conftest.$ac_ext
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4511 $as_echo "$ac_cv_header_stdc" >&6; }
4512 if test $ac_cv_header_stdc = yes; then
4514 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4518 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4519 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4520 inttypes.h stdint.h unistd.h
4522 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4523 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4525 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4526 cat >>confdefs.h <<_ACEOF
4527 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4535 for ac_header in arpa/inet.h netdb.h sys/socket.h
4537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4538 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4539 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4540 cat >>confdefs.h <<_ACEOF
4541 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4549 # Checks for typedefs, structures, and compiler characteristics.
4550 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4551 if test "x$ac_cv_type_size_t" = xyes; then :
4555 cat >>confdefs.h <<_ACEOF
4556 @%:@define size_t unsigned int
4561 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4562 if test "x$ac_cv_type_ssize_t" = xyes; then :
4566 cat >>confdefs.h <<_ACEOF
4567 @%:@define ssize_t int
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4573 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4574 if ${ac_cv_header_stdbool_h+:} false; then :
4575 $as_echo_n "(cached) " >&6
4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4580 #include <stdbool.h>
4582 "error: bool is not defined"
4585 "error: false is not defined"
4588 "error: false is not 0"
4591 "error: true is not defined"
4594 "error: true is not 1"
4596 #ifndef __bool_true_false_are_defined
4597 "error: __bool_true_false_are_defined is not defined"
4600 struct s { _Bool s: 1; _Bool t; } s;
4602 char a[true == 1 ? 1 : -1];
4603 char b[false == 0 ? 1 : -1];
4604 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4605 char d[(bool) 0.5 == true ? 1 : -1];
4606 /* See body of main program for 'e'. */
4607 char f[(_Bool) 0.0 == false ? 1 : -1];
4609 char h[sizeof (_Bool)];
4611 enum { j = false, k = true, l = false * true, m = true * 256 };
4612 /* The following fails for
4613 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4615 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4616 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4617 /* Catch a bug in an HP-UX C compiler. See
4618 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4619 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4631 /* Refer to every declared value, to avoid compiler optimizations. */
4632 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4633 + !m + !n + !o + !p + !q + !pq);
4639 if ac_fn_c_try_compile "$LINENO"; then :
4640 ac_cv_header_stdbool_h=yes
4642 ac_cv_header_stdbool_h=no
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4647 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4648 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4649 if test "x$ac_cv_type__Bool" = xyes; then :
4651 cat >>confdefs.h <<_ACEOF
4652 @%:@define HAVE__BOOL 1
4658 if test $ac_cv_header_stdbool_h = yes; then
4660 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
4665 # Checks for library functions.
4666 for ac_func in socket strchr
4668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4670 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4671 cat >>confdefs.h <<_ACEOF
4672 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4679 ac_config_files="$ac_config_files doc/Makefile src/Makefile"
4681 cat >confcache <<\_ACEOF
4682 # This file is a shell script that caches the results of configure
4683 # tests run on this system so they can be shared between configure
4684 # scripts and configure runs, see configure's option --config-cache.
4685 # It is not useful on other systems. If it contains results you don't
4686 # want to keep, you may remove or edit it.
4688 # config.status only pays attention to the cache file if you give it
4689 # the --recheck option to rerun configure.
4691 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4692 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4697 # The following way of writing the cache mishandles newlines in values,
4698 # but we know of no workaround that is simple, portable, and efficient.
4699 # So, we kill variables containing newlines.
4700 # Ultrix sh set writes to stderr and can't be redirected directly,
4701 # and sets the high bit in the cache file unless we assign to the vars.
4703 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4704 eval ac_val=\$$ac_var
4708 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4709 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4712 _ | IFS | as_nl) ;; #(
4713 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4714 *) { eval $ac_var=; unset $ac_var;} ;;
4720 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4721 *${as_nl}ac_space=\ *)
4722 # `set' does not quote correctly, so add quotes: double-quote
4723 # substitution turns \\\\ into \\, and sed turns \\ into \.
4726 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4729 # `set' quotes correctly as required by POSIX, so do not add quotes.
4730 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4739 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4741 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4743 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4744 if test -w "$cache_file"; then
4745 if test "x$cache_file" != "x/dev/null"; then
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4747 $as_echo "$as_me: updating cache $cache_file" >&6;}
4748 if test ! -f "$cache_file" || test -h "$cache_file"; then
4749 cat confcache >"$cache_file"
4751 case $cache_file in #(
4753 mv -f confcache "$cache_file"$$ &&
4754 mv -f "$cache_file"$$ "$cache_file" ;; #(
4756 mv -f confcache "$cache_file" ;;
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4762 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4768 # Let make expand exec_prefix.
4769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4771 DEFS=-DHAVE_CONFIG_H
4776 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
4777 # 1. Remove the extension, and $U if already installed.
4778 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4779 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4780 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4781 # will be set to the directory where LIBOBJS objects are built.
4782 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4783 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4785 LIB@&t@OBJS=$ac_libobjs
4787 LTLIBOBJS=$ac_ltlibobjs
4790 if test -n "$EXEEXT"; then
4792 am__EXEEXT_FALSE='#'
4798 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4799 as_fn_error $? "conditional \"AMDEP\" was never defined.
4800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4802 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4803 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4806 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4807 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4811 : "${CONFIG_STATUS=./config.status}"
4813 ac_clean_files_save=$ac_clean_files
4814 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4816 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4818 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4820 # Generated by $as_me.
4821 # Run this file to recreate the current configuration.
4822 # Compiler output produced by configure, useful for debugging
4823 # configure, is in config.log if it exists.
4829 SHELL=\${CONFIG_SHELL-$SHELL}
4832 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4833 ## -------------------- ##
4834 ## M4sh Initialization. ##
4835 ## -------------------- ##
4837 # Be more Bourne compatible
4838 DUALCASE=1; export DUALCASE # for MKS sh
4839 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4842 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4843 # is contrary to our usage. Disable this feature.
4844 alias -g '${1+"$@"}'='"$@"'
4845 setopt NO_GLOB_SUBST
4847 case `(set -o) 2>/dev/null` in @%:@(
4849 set -o posix ;; @%:@(
4859 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4860 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4861 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4863 # Prefer a ksh shell builtin over an external printf program on Solaris,
4864 # but without wasting forks for bash or zsh.
4865 if test -z "$BASH_VERSION$ZSH_VERSION" \
4866 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4867 as_echo='print -r --'
4868 as_echo_n='print -rn --'
4869 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4870 as_echo='printf %s\n'
4871 as_echo_n='printf %s'
4873 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4874 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4875 as_echo_n='/usr/ucb/echo -n'
4877 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4878 as_echo_n_body='eval
4882 expr "X$arg" : "X\\(.*\\)$as_nl";
4883 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4885 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4887 export as_echo_n_body
4888 as_echo_n='sh -c $as_echo_n_body as_echo'
4891 as_echo='sh -c $as_echo_body as_echo'
4894 # The user is always right.
4895 if test "${PATH_SEPARATOR+set}" != set; then
4897 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4898 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4905 # We need space, tab and new line, in precisely that order. Quoting is
4906 # there to prevent editors from complaining about space-tab.
4907 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4908 # splitting by setting IFS to empty value.)
4911 # Find who we are. Look in the path if we contain no directory separator.
4914 *[\\/]* ) as_myself=$0 ;;
4915 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir=.
4920 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4926 # We did not find ourselves, most probably we were run as `sh COMMAND'
4927 # in which case we are not to be found in the path.
4928 if test "x$as_myself" = x; then
4931 if test ! -f "$as_myself"; then
4932 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4936 # Unset variables that we do not need and which cause bugs (e.g. in
4937 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4938 # suppresses any "Segmentation fault" message there. '((' could
4939 # trigger a bug in pdksh 5.2.14.
4940 for as_var in BASH_ENV ENV MAIL MAILPATH
4941 do eval test x\${$as_var+set} = xset \
4942 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4955 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4958 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
4959 @%:@ ----------------------------------------
4960 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4961 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4962 @%:@ script with STATUS, using 1 if that was 0.
4965 as_status=$1; test $as_status -eq 0 && as_status=1
4967 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4968 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4970 $as_echo "$as_me: error: $2" >&2
4971 as_fn_exit $as_status
4975 @%:@ as_fn_set_status STATUS
4976 @%:@ -----------------------
4977 @%:@ Set @S|@? to STATUS, without forking.
4981 } @%:@ as_fn_set_status
4983 @%:@ as_fn_exit STATUS
4984 @%:@ -----------------
4985 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4993 @%:@ as_fn_unset VAR
4994 @%:@ ---------------
4995 @%:@ Portably unset VAR.
4998 { eval $1=; unset $1;}
5000 as_unset=as_fn_unset
5001 @%:@ as_fn_append VAR VALUE
5002 @%:@ ----------------------
5003 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
5004 @%:@ advantage of any shell optimizations that allow amortized linear growth over
5005 @%:@ repeated appends, instead of the typical quadratic growth present in naive
5006 @%:@ implementations.
5007 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5008 eval 'as_fn_append ()
5019 @%:@ as_fn_arith ARG...
5020 @%:@ ------------------
5021 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
5022 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
5023 @%:@ must be portable across @S|@(()) and expr.
5024 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5025 eval 'as_fn_arith ()
5032 as_val=`expr "$@" || test $? -eq 1`
5037 if expr a : '\(a\)' >/dev/null 2>&1 &&
5038 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5044 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5045 as_basename=basename
5050 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5056 as_me=`$as_basename -- "$0" ||
5057 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5058 X"$0" : 'X\(//\)$' \| \
5059 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5061 sed '/^.*\/\([^/][^/]*\)\/*$/{
5075 # Avoid depending upon Character Ranges.
5076 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5077 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5078 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5079 as_cr_digits='0123456789'
5080 as_cr_alnum=$as_cr_Letters$as_cr_digits
5082 ECHO_C= ECHO_N= ECHO_T=
5083 case `echo -n x` in @%:@(((((
5085 case `echo 'xy\c'` in
5086 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5088 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5095 rm -f conf$$ conf$$.exe conf$$.file
5096 if test -d conf$$.dir; then
5097 rm -f conf$$.dir/conf$$.file
5100 mkdir conf$$.dir 2>/dev/null
5102 if (echo >conf$$.file) 2>/dev/null; then
5103 if ln -s conf$$.file conf$$ 2>/dev/null; then
5105 # ... but there are two gotchas:
5106 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5107 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5108 # In both cases, we have to default to `cp -p'.
5109 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5111 elif ln conf$$.file conf$$ 2>/dev/null; then
5119 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5120 rmdir conf$$.dir 2>/dev/null
5125 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
5130 -*) as_dir=./$as_dir;;
5132 test -d "$as_dir" || eval $as_mkdir_p || {
5136 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5137 *) as_qdir=$as_dir;;
5139 as_dirs="'$as_qdir' $as_dirs"
5140 as_dir=`$as_dirname -- "$as_dir" ||
5141 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5142 X"$as_dir" : 'X\(//\)[^/]' \| \
5143 X"$as_dir" : 'X\(//\)$' \| \
5144 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5145 $as_echo X"$as_dir" |
5146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5163 test -d "$as_dir" && break
5165 test -z "$as_dirs" || eval "mkdir $as_dirs"
5166 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5169 } @%:@ as_fn_mkdir_p
5170 if mkdir -p . 2>/dev/null; then
5171 as_mkdir_p='mkdir -p "$as_dir"'
5173 test -d ./-p && rmdir ./-p
5177 if test -x / >/dev/null 2>&1; then
5180 if ls -dL / >/dev/null 2>&1; then
5187 if test -d "$1"; then
5193 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
5194 ???[sx]*):;;*)false;;esac;fi
5198 as_executable_p=$as_test_x
5200 # Sed expression to map a string onto a valid CPP name.
5201 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5203 # Sed expression to map a string onto a valid variable name.
5204 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5208 ## ----------------------------------- ##
5209 ## Main body of $CONFIG_STATUS script. ##
5210 ## ----------------------------------- ##
5212 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5215 # Save the log message, to keep $0 and so on meaningful, and to
5216 # report actual input values of CONFIG_FILES etc. instead of their
5217 # values after options handling.
5219 This file was extended by libsockstream $as_me 0.1, which was
5220 generated by GNU Autoconf 2.68. Invocation command line was
5222 CONFIG_FILES = $CONFIG_FILES
5223 CONFIG_HEADERS = $CONFIG_HEADERS
5224 CONFIG_LINKS = $CONFIG_LINKS
5225 CONFIG_COMMANDS = $CONFIG_COMMANDS
5228 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5233 case $ac_config_files in *"
5234 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5237 case $ac_config_headers in *"
5238 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5243 # Files that config.status was made for.
5244 config_files="$ac_config_files"
5245 config_headers="$ac_config_headers"
5246 config_commands="$ac_config_commands"
5250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5252 \`$as_me' instantiates files and other configuration actions
5253 from templates according to the current configuration. Unless the files
5254 and actions are specified as TAGs, all are instantiated by default.
5256 Usage: $0 [OPTION]... [TAG]...
5258 -h, --help print this help, then exit
5259 -V, --version print version number and configuration settings, then exit
5260 --config print configuration, then exit
5261 -q, --quiet, --silent
5262 do not print progress messages
5263 -d, --debug don't remove temporary files
5264 --recheck update $as_me by reconfiguring in the same conditions
5265 --file=FILE[:TEMPLATE]
5266 instantiate the configuration file FILE
5267 --header=FILE[:TEMPLATE]
5268 instantiate the configuration header FILE
5270 Configuration files:
5273 Configuration headers:
5276 Configuration commands:
5279 Report bugs to <arjen@andromeda.nl>."
5282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5283 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5285 libsockstream config.status 0.1
5286 configured by $0, generated by GNU Autoconf 2.68,
5287 with options \\"\$ac_cs_config\\"
5289 Copyright (C) 2010 Free Software Foundation, Inc.
5290 This config.status script is free software; the Free Software Foundation
5291 gives unlimited permission to copy, distribute and modify it."
5298 test -n "\$AWK" || AWK=awk
5301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5302 # The default lists apply if the user does not specify any file.
5308 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5309 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5313 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5325 # Handling of the options.
5326 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5328 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5329 $as_echo "$ac_cs_version"; exit ;;
5330 --config | --confi | --conf | --con | --co | --c )
5331 $as_echo "$ac_cs_config"; exit ;;
5332 --debug | --debu | --deb | --de | --d | -d )
5334 --file | --fil | --fi | --f )
5337 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5338 '') as_fn_error $? "missing file argument" ;;
5340 as_fn_append CONFIG_FILES " '$ac_optarg'"
5341 ac_need_defaults=false;;
5342 --header | --heade | --head | --hea )
5345 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5347 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5348 ac_need_defaults=false;;
5350 # Conflict between --help and --header
5351 as_fn_error $? "ambiguous option: \`$1'
5352 Try \`$0 --help' for more information.";;
5353 --help | --hel | -h )
5354 $as_echo "$ac_cs_usage"; exit ;;
5355 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5356 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5360 -*) as_fn_error $? "unrecognized option: \`$1'
5361 Try \`$0 --help' for more information." ;;
5363 *) as_fn_append ac_config_targets " $1"
5364 ac_need_defaults=false ;;
5370 ac_configure_extra_args=
5372 if $ac_cs_silent; then
5374 ac_configure_extra_args="$ac_configure_extra_args --silent"
5378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5379 if \$ac_cs_recheck; then
5380 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5382 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5383 CONFIG_SHELL='$SHELL'
5389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5393 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5394 @%:@@%:@ Running $as_me. @%:@@%:@
5400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5404 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5410 # Handling of arguments.
5411 for ac_config_target in $ac_config_targets
5413 case $ac_config_target in
5414 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5415 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5416 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5417 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5419 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5424 # If the user did not use the arguments to specify the items to instantiate,
5425 # then the envvar interface is used. Set only those that are not.
5426 # We use the long form for the default assignment because of an extremely
5427 # bizarre bug on SunOS 4.1.3.
5428 if $ac_need_defaults; then
5429 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5430 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5431 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5434 # Have a temporary directory for convenience. Make it in the build tree
5435 # simply because there is no reason against having it here, and in addition,
5436 # creating and moving files from /tmp can sometimes cause problems.
5437 # Hook for its removal unless debugging.
5438 # Note that there is a small window in which the directory will not be cleaned:
5439 # after its creation but before its name has been assigned to `$tmp'.
5443 trap 'exit_status=$?
5445 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5447 trap 'as_fn_exit 1' 1 2 13 15
5449 # Create a (secure) tmp directory for tmp files.
5452 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5456 tmp=./conf$$-$RANDOM
5457 (umask 077 && mkdir "$tmp")
5458 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5461 # Set up the scripts for CONFIG_FILES section.
5462 # No need to generate them if there are no CONFIG_FILES.
5463 # This happens for instance with `./config.status config.h'.
5464 if test -n "$CONFIG_FILES"; then
5467 ac_cr=`echo X | tr X '\015'`
5468 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5469 # But we know of no other shell where ac_cr would be empty at this
5470 # point, so we can use a bashism as a fallback.
5471 if test "x$ac_cr" = x; then
5472 eval ac_cr=\$\'\\r\'
5474 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5475 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5481 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5486 echo "cat >conf$$subs.awk <<_ACEOF" &&
5487 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5490 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5491 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5493 for ac_last_try in false false false false false :; do
5494 . ./conf$$subs.sh ||
5495 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5497 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5498 if test $ac_delim_n = $ac_delim_num; then
5500 elif $ac_last_try; then
5501 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5503 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5509 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5513 s/^/S["/; s/!.*/"]=/
5523 s/\(.\{148\}\)..*/\1/
5525 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5530 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5537 s/\(.\{148\}\)..*/\1/
5539 s/["\\]/\\&/g; s/^/"/; s/$/"/
5543 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5548 ' <conf$$subs.awk | sed '
5553 ' >>$CONFIG_STATUS || ac_write_fail=1
5554 rm -f conf$$subs.awk
5555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5557 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5558 for (key in S) S_is_set[key] = 1
5564 nfields = split(line, field, "@")
5566 len = length(field[1])
5567 for (i = 2; i < nfields; i++) {
5569 keylen = length(key)
5570 if (S_is_set[key]) {
5572 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5573 len += length(value) + length(field[++i])
5584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5585 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5586 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5589 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5590 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5593 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5594 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5595 # trailing colons and then remove the whole line if VPATH becomes empty
5596 # (actually we leave an empty line to preserve line numbers).
5597 if test "x$srcdir" = x.; then
5598 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5617 fi # test -n "$CONFIG_FILES"
5619 # Set up the scripts for CONFIG_HEADERS section.
5620 # No need to generate them if there are no CONFIG_HEADERS.
5621 # This happens for instance with `./config.status Makefile'.
5622 if test -n "$CONFIG_HEADERS"; then
5623 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5627 # Transform confdefs.h into an awk script `defines.awk', embedded as
5628 # here-document in config.status, that substitutes the proper values into
5629 # config.h.in to produce config.h.
5631 # Create a delimiter string that does not exist in confdefs.h, to ease
5632 # handling of long lines.
5634 for ac_last_try in false false :; do
5635 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5636 if test -z "$ac_tt"; then
5638 elif $ac_last_try; then
5639 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5641 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5645 # For the awk script, D is an array of macro values keyed by name,
5646 # likewise P contains macro parameters if any. Preserve backslash
5647 # newline sequences.
5649 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5651 s/.\{148\}/&'"$ac_delim"'/g
5654 s/^[ ]*#[ ]*define[ ][ ]*/ /
5661 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5663 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5667 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5668 D["\1"]=" \3\\\\\\n"\\/p
5670 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5675 s/.\{148\}/&'"$ac_delim"'/g
5680 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5683 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5685 ' <confdefs.h | sed '
5686 s/'"$ac_delim"'/"\\\
5687 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5690 for (key in D) D_is_set[key] = 1
5693 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5695 split(line, arg, " ")
5696 if (arg[1] == "#") {
5700 defundef = substr(arg[1], 2)
5703 split(mac1, mac2, "(") #)
5705 prefix = substr(line, 1, index(line, defundef) - 1)
5706 if (D_is_set[macro]) {
5707 # Preserve the white space surrounding the "#".
5708 print prefix "define", macro P[macro] D[macro]
5711 # Replace #undef with comments. This is necessary, for example,
5712 # in the case of _POSIX_SOURCE, which is predefined and required
5713 # on some systems where configure will not decide to define it.
5714 if (defundef == "undef") {
5715 print "/*", prefix defundef, macro, "*/"
5723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5724 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5725 fi # test -n "$CONFIG_HEADERS"
5728 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5733 :[FHLC]) ac_mode=$ac_tag; continue;;
5735 case $ac_mode$ac_tag in
5737 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5738 :[FH]-) ac_tag=-:-;;
5739 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5756 -) ac_f="$ac_tmp/stdin";;
5757 *) # Look for the file first in the build tree, then in the source tree
5758 # (if the path is not absolute). The absolute path cannot be DOS-style,
5759 # because $ac_f cannot contain `:'.
5763 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5765 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5767 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5768 as_fn_append ac_file_inputs " '$ac_f'"
5771 # Let's still pretend it is `configure' which instantiates (i.e., don't
5772 # use $as_me), people would be surprised to read:
5773 # /* config.h. Generated by config.status. */
5774 configure_input='Generated from '`
5775 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5777 if test x"$ac_file" != x-; then
5778 configure_input="$ac_file. $configure_input"
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5780 $as_echo "$as_me: creating $ac_file" >&6;}
5782 # Neutralize special characters interpreted by sed in replacement strings.
5783 case $configure_input in #(
5784 *\&* | *\|* | *\\* )
5785 ac_sed_conf_input=`$as_echo "$configure_input" |
5786 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5787 *) ac_sed_conf_input=$configure_input;;
5791 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5797 ac_dir=`$as_dirname -- "$ac_file" ||
5798 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5799 X"$ac_file" : 'X\(//\)[^/]' \| \
5800 X"$ac_file" : 'X\(//\)$' \| \
5801 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5802 $as_echo X"$ac_file" |
5803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5820 as_dir="$ac_dir"; as_fn_mkdir_p
5824 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5826 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5827 # A ".." for each directory in $ac_dir_suffix.
5828 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5829 case $ac_top_builddir_sub in
5830 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5831 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5834 ac_abs_top_builddir=$ac_pwd
5835 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5836 # for backward compatibility:
5837 ac_top_builddir=$ac_top_build_prefix
5840 .) # We are building in place.
5842 ac_top_srcdir=$ac_top_builddir_sub
5843 ac_abs_top_srcdir=$ac_pwd ;;
5844 [\\/]* | ?:[\\/]* ) # Absolute name.
5845 ac_srcdir=$srcdir$ac_dir_suffix;
5846 ac_top_srcdir=$srcdir
5847 ac_abs_top_srcdir=$srcdir ;;
5849 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5850 ac_top_srcdir=$ac_top_build_prefix$srcdir
5851 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5853 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5863 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5864 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5868 [\\/$]* | ?:[\\/]* ) ;;
5869 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5874 # If the template does not know about datarootdir, expand it.
5875 # FIXME: This hack should be removed a few years after 2.60.
5876 ac_datarootdir_hack=; ac_datarootdir_seen=
5887 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5888 *datarootdir*) ac_datarootdir_seen=yes;;
5889 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5891 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5894 ac_datarootdir_hack='
5895 s&@datadir@&$datadir&g
5896 s&@docdir@&$docdir&g
5897 s&@infodir@&$infodir&g
5898 s&@localedir@&$localedir&g
5899 s&@mandir@&$mandir&g
5900 s&\\\${datarootdir}&$datarootdir&g' ;;
5904 # Neutralize VPATH when `$srcdir' = `.'.
5905 # Shell code in configure.ac might set extrasub.
5906 # FIXME: do we really want to maintain this feature?
5907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5908 ac_sed_extra="$ac_vpsub
5911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5914 s|@configure_input@|$ac_sed_conf_input|;t t
5915 s&@top_builddir@&$ac_top_builddir_sub&;t t
5916 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5917 s&@srcdir@&$ac_srcdir&;t t
5918 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5919 s&@top_srcdir@&$ac_top_srcdir&;t t
5920 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5921 s&@builddir@&$ac_builddir&;t t
5922 s&@abs_builddir@&$ac_abs_builddir&;t t
5923 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5924 s&@INSTALL@&$ac_INSTALL&;t t
5925 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5926 $ac_datarootdir_hack
5928 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5929 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5931 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5932 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5933 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5934 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5936 which seems to be undefined. Please make sure it is defined" >&5
5937 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5938 which seems to be undefined. Please make sure it is defined" >&2;}
5940 rm -f "$ac_tmp/stdin"
5942 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5943 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5945 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5951 if test x"$ac_file" != x-; then
5953 $as_echo "/* $configure_input */" \
5954 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5955 } >"$ac_tmp/config.h" \
5956 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5957 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5959 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5962 mv "$ac_tmp/config.h" "$ac_file" \
5963 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5966 $as_echo "/* $configure_input */" \
5967 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5968 || as_fn_error $? "could not create -" "$LINENO" 5
5970 # Compute "$ac_file"'s index in $config_headers.
5973 for _am_header in $config_headers :; do
5975 $_am_arg | $_am_arg:* )
5978 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5981 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5982 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5983 X"$_am_arg" : 'X\(//\)[^/]' \| \
5984 X"$_am_arg" : 'X\(//\)$' \| \
5985 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5986 $as_echo X"$_am_arg" |
5987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6003 s/.*/./; q'`/stamp-h$_am_stamp_count
6006 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6007 $as_echo "$as_me: executing $ac_file commands" >&6;}
6012 case $ac_file$ac_mode in
6013 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6014 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6015 # are listed without --file. Let's play safe and only enable the eval
6016 # if we detect the quoting.
6017 case $CONFIG_FILES in
6018 *\'*) eval set x "$CONFIG_FILES" ;;
6019 *) set x $CONFIG_FILES ;;
6024 # Strip MF so we end up with the name of the file.
6025 mf=`echo "$mf" | sed -e 's/:.*$//'`
6026 # Check whether this is an Automake generated Makefile or not.
6027 # We used to match only the files named `Makefile.in', but
6028 # some people rename them; so instead we look at the file content.
6029 # Grep'ing the first line is not enough: some people post-process
6030 # each Makefile.in and add a new line on top of each file to say so.
6031 # Grep'ing the whole file is not good either: AIX grep has a line
6032 # limit of 2048, but all sed's we know have understand at least 4000.
6033 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6034 dirpart=`$as_dirname -- "$mf" ||
6035 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6036 X"$mf" : 'X\(//\)[^/]' \| \
6037 X"$mf" : 'X\(//\)$' \| \
6038 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6060 # Extract the definition of DEPDIR, am__include, and am__quote
6061 # from the Makefile without running `make'.
6062 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6063 test -z "$DEPDIR" && continue
6064 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6065 test -z "am__include" && continue
6066 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6067 # When using ansi2knr, U may be empty or an underscore; expand it
6068 U=`sed -n 's/^U = //p' < "$mf"`
6069 # Find all dependency output files, they are included files with
6070 # $(DEPDIR) in their names. We invoke sed twice because it is the
6071 # simplest approach to changing $(DEPDIR) to its actual value in the
6073 for file in `sed -n "
6074 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6075 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6076 # Make sure the directory exists.
6077 test -f "$dirpart/$file" && continue
6078 fdir=`$as_dirname -- "$file" ||
6079 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6080 X"$file" : 'X\(//\)[^/]' \| \
6081 X"$file" : 'X\(//\)$' \| \
6082 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6101 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6102 # echo "creating $dirpart/$file"
6103 echo '# dummy' > "$dirpart/$file"
6115 ac_clean_files=$ac_clean_files_save
6117 test $ac_write_fail = 0 ||
6118 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6121 # configure is writing to config.log, and then calls config.status.
6122 # config.status does its own redirection, appending to config.log.
6123 # Unfortunately, on DOS this fails, as config.log is still kept open
6124 # by configure, so config.status won't be able to write to it; its
6125 # output is simply discarded. So we exec the FD to /dev/null,
6126 # effectively closing config.log, so it can be properly (re)opened and
6127 # appended to by config.status. When coming back to configure, we
6128 # need to make the FD available again.
6129 if test "$no_create" != yes; then
6131 ac_config_status_args=
6132 test "$silent" = yes &&
6133 ac_config_status_args="$ac_config_status_args --quiet"
6135 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6137 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6138 # would make configure fail if this is the last instruction.
6139 $ac_cs_success || as_fn_exit 1
6141 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6143 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}