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='LTLIBOBJS
647 program_transform_name
660 enable_option_checking
662 ac_precious_vars='build_alias
676 # Initialize some variables set by options.
678 ac_init_version=false
679 ac_unrecognized_opts=
681 # The variables have the same names as the options, with
682 # dashes changed to underlines.
690 program_transform_name=s,x,x,
698 # Installation directory options.
699 # These are left unexpanded so users can "make install exec_prefix=/foo"
700 # and all the variables that are supposed to be based on exec_prefix
701 # by default will actually change.
702 # Use braces instead of parens because sh, perl, etc. also accept them.
703 # (The list follows the same order as the GNU Coding Standards.)
704 bindir='${exec_prefix}/bin'
705 sbindir='${exec_prefix}/sbin'
706 libexecdir='${exec_prefix}/libexec'
707 datarootdir='${prefix}/share'
708 datadir='${datarootdir}'
709 sysconfdir='${prefix}/etc'
710 sharedstatedir='${prefix}/com'
711 localstatedir='${prefix}/var'
712 includedir='${prefix}/include'
713 oldincludedir='/usr/include'
714 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
715 infodir='${datarootdir}/info'
720 libdir='${exec_prefix}/lib'
721 localedir='${datarootdir}/locale'
722 mandir='${datarootdir}/man'
728 # If the previous option needs an argument, assign it.
729 if test -n "$ac_prev"; then
730 eval $ac_prev=\$ac_option
736 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
741 # Accept the important Cygnus configure options, so we can diagnose typos.
743 case $ac_dashdash$ac_option in
747 -bindir | --bindir | --bindi | --bind | --bin | --bi)
749 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
752 -build | --build | --buil | --bui | --bu)
753 ac_prev=build_alias ;;
754 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
755 build_alias=$ac_optarg ;;
757 -cache-file | --cache-file | --cache-fil | --cache-fi \
758 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
759 ac_prev=cache_file ;;
760 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
761 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
762 cache_file=$ac_optarg ;;
765 cache_file=config.cache ;;
767 -datadir | --datadir | --datadi | --datad)
769 -datadir=* | --datadir=* | --datadi=* | --datad=*)
770 datadir=$ac_optarg ;;
772 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
773 | --dataroo | --dataro | --datar)
774 ac_prev=datarootdir ;;
775 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
776 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
777 datarootdir=$ac_optarg ;;
779 -disable-* | --disable-*)
780 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
781 # Reject names that are not valid shell variable names.
782 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
783 as_fn_error $? "invalid feature name: $ac_useropt"
784 ac_useropt_orig=$ac_useropt
785 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
786 case $ac_user_opts in
790 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
791 ac_unrecognized_sep=', ';;
793 eval enable_$ac_useropt=no ;;
795 -docdir | --docdir | --docdi | --doc | --do)
797 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
800 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
802 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
805 -enable-* | --enable-*)
806 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
807 # Reject names that are not valid shell variable names.
808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
809 as_fn_error $? "invalid feature name: $ac_useropt"
810 ac_useropt_orig=$ac_useropt
811 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812 case $ac_user_opts in
816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
817 ac_unrecognized_sep=', ';;
819 eval enable_$ac_useropt=\$ac_optarg ;;
821 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
822 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
823 | --exec | --exe | --ex)
824 ac_prev=exec_prefix ;;
825 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
826 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
827 | --exec=* | --exe=* | --ex=*)
828 exec_prefix=$ac_optarg ;;
830 -gas | --gas | --ga | --g)
831 # Obsolete; use --with-gas.
834 -help | --help | --hel | --he | -h)
836 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
837 ac_init_help=recursive ;;
838 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
839 ac_init_help=short ;;
841 -host | --host | --hos | --ho)
842 ac_prev=host_alias ;;
843 -host=* | --host=* | --hos=* | --ho=*)
844 host_alias=$ac_optarg ;;
846 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
848 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
850 htmldir=$ac_optarg ;;
852 -includedir | --includedir | --includedi | --included | --include \
853 | --includ | --inclu | --incl | --inc)
854 ac_prev=includedir ;;
855 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
856 | --includ=* | --inclu=* | --incl=* | --inc=*)
857 includedir=$ac_optarg ;;
859 -infodir | --infodir | --infodi | --infod | --info | --inf)
861 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
862 infodir=$ac_optarg ;;
864 -libdir | --libdir | --libdi | --libd)
866 -libdir=* | --libdir=* | --libdi=* | --libd=*)
869 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
870 | --libexe | --libex | --libe)
871 ac_prev=libexecdir ;;
872 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
873 | --libexe=* | --libex=* | --libe=*)
874 libexecdir=$ac_optarg ;;
876 -localedir | --localedir | --localedi | --localed | --locale)
878 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
879 localedir=$ac_optarg ;;
881 -localstatedir | --localstatedir | --localstatedi | --localstated \
882 | --localstate | --localstat | --localsta | --localst | --locals)
883 ac_prev=localstatedir ;;
884 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
885 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
886 localstatedir=$ac_optarg ;;
888 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
890 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
894 # Obsolete; use --without-fp.
897 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
898 | --no-cr | --no-c | -n)
901 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
902 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
905 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
906 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
907 | --oldin | --oldi | --old | --ol | --o)
908 ac_prev=oldincludedir ;;
909 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
910 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
911 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
912 oldincludedir=$ac_optarg ;;
914 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
916 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
919 -program-prefix | --program-prefix | --program-prefi | --program-pref \
920 | --program-pre | --program-pr | --program-p)
921 ac_prev=program_prefix ;;
922 -program-prefix=* | --program-prefix=* | --program-prefi=* \
923 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
924 program_prefix=$ac_optarg ;;
926 -program-suffix | --program-suffix | --program-suffi | --program-suff \
927 | --program-suf | --program-su | --program-s)
928 ac_prev=program_suffix ;;
929 -program-suffix=* | --program-suffix=* | --program-suffi=* \
930 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
931 program_suffix=$ac_optarg ;;
933 -program-transform-name | --program-transform-name \
934 | --program-transform-nam | --program-transform-na \
935 | --program-transform-n | --program-transform- \
936 | --program-transform | --program-transfor \
937 | --program-transfo | --program-transf \
938 | --program-trans | --program-tran \
939 | --progr-tra | --program-tr | --program-t)
940 ac_prev=program_transform_name ;;
941 -program-transform-name=* | --program-transform-name=* \
942 | --program-transform-nam=* | --program-transform-na=* \
943 | --program-transform-n=* | --program-transform-=* \
944 | --program-transform=* | --program-transfor=* \
945 | --program-transfo=* | --program-transf=* \
946 | --program-trans=* | --program-tran=* \
947 | --progr-tra=* | --program-tr=* | --program-t=*)
948 program_transform_name=$ac_optarg ;;
950 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
952 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
955 -psdir | --psdir | --psdi | --psd | --ps)
957 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
961 | -silent | --silent | --silen | --sile | --sil)
964 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
966 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
968 sbindir=$ac_optarg ;;
970 -sharedstatedir | --sharedstatedir | --sharedstatedi \
971 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
972 | --sharedst | --shareds | --shared | --share | --shar \
974 ac_prev=sharedstatedir ;;
975 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
976 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
977 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
979 sharedstatedir=$ac_optarg ;;
981 -site | --site | --sit)
983 -site=* | --site=* | --sit=*)
986 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
988 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
991 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
992 | --syscon | --sysco | --sysc | --sys | --sy)
993 ac_prev=sysconfdir ;;
994 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
995 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
996 sysconfdir=$ac_optarg ;;
998 -target | --target | --targe | --targ | --tar | --ta | --t)
999 ac_prev=target_alias ;;
1000 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1001 target_alias=$ac_optarg ;;
1003 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1006 -version | --version | --versio | --versi | --vers | -V)
1007 ac_init_version=: ;;
1010 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013 as_fn_error $? "invalid package name: $ac_useropt"
1014 ac_useropt_orig=$ac_useropt
1015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1021 ac_unrecognized_sep=', ';;
1023 eval with_$ac_useropt=\$ac_optarg ;;
1025 -without-* | --without-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error $? "invalid package name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1039 eval with_$ac_useropt=no ;;
1042 # Obsolete; use --with-x.
1045 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1046 | --x-incl | --x-inc | --x-in | --x-i)
1047 ac_prev=x_includes ;;
1048 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1049 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1050 x_includes=$ac_optarg ;;
1052 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1053 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1054 ac_prev=x_libraries ;;
1055 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1056 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1057 x_libraries=$ac_optarg ;;
1059 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1060 Try \`$0 --help' for more information"
1064 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1065 # Reject names that are not valid shell variable names.
1066 case $ac_envvar in #(
1067 '' | [0-9]* | *[!_$as_cr_alnum]* )
1068 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1070 eval $ac_envvar=\$ac_optarg
1071 export $ac_envvar ;;
1074 # FIXME: should be removed in autoconf 3.0.
1075 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1076 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1077 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1078 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1084 if test -n "$ac_prev"; then
1085 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1086 as_fn_error $? "missing argument to $ac_option"
1089 if test -n "$ac_unrecognized_opts"; then
1090 case $enable_option_checking in
1092 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1093 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1097 # Check all directory arguments for consistency.
1098 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1099 datadir sysconfdir sharedstatedir localstatedir includedir \
1100 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1101 libdir localedir mandir
1103 eval ac_val=\$$ac_var
1104 # Remove trailing slashes.
1107 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1108 eval $ac_var=\$ac_val;;
1110 # Be sure to have absolute directory names.
1112 [\\/$]* | ?:[\\/]* ) continue;;
1113 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1115 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1118 # There might be people who depend on the old broken behavior: `$host'
1119 # used to hold the argument of --host etc.
1120 # FIXME: To remove some day.
1123 target=$target_alias
1125 # FIXME: To remove some day.
1126 if test "x$host_alias" != x; then
1127 if test "x$build_alias" = x; then
1128 cross_compiling=maybe
1129 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1130 If a cross compiler is detected then cross compile mode will be used" >&2
1131 elif test "x$build_alias" != "x$host_alias"; then
1137 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1139 test "$silent" = yes && exec 6>/dev/null
1142 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1143 ac_ls_di=`ls -di .` &&
1144 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1145 as_fn_error $? "working directory cannot be determined"
1146 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1147 as_fn_error $? "pwd does not report name of working directory"
1150 # Find the source files, if location was not specified.
1151 if test -z "$srcdir"; then
1152 ac_srcdir_defaulted=yes
1153 # Try the directory containing this script, then the parent directory.
1154 ac_confdir=`$as_dirname -- "$as_myself" ||
1155 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1156 X"$as_myself" : 'X\(//\)[^/]' \| \
1157 X"$as_myself" : 'X\(//\)$' \| \
1158 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1159 $as_echo X"$as_myself" |
1160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1182 ac_srcdir_defaulted=no
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1185 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1186 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1188 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1190 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1192 # When building in place, set srcdir=.
1193 if test "$ac_abs_confdir" = "$ac_pwd"; then
1196 # Remove unnecessary trailing slashes from srcdir.
1197 # Double slashes in file names in object file debugging info
1198 # mess up M-x gdb in Emacs.
1200 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1202 for ac_var in $ac_precious_vars; do
1203 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1204 eval ac_env_${ac_var}_value=\$${ac_var}
1205 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1206 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1210 # Report the --help message.
1212 if test "$ac_init_help" = "long"; then
1213 # Omit some internal or obsolete options to make the list less imposing.
1214 # This message is too long to be a string in the A/UX 3.1 sh.
1216 \`configure' configures libsockstream 0.1 to adapt to many kinds of systems.
1218 Usage: $0 [OPTION]... [VAR=VALUE]...
1220 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1221 VAR=VALUE. See below for descriptions of some of the useful variables.
1223 Defaults for the options are specified in brackets.
1226 -h, --help display this help and exit
1227 --help=short display options specific to this package
1228 --help=recursive display the short help of all the included packages
1229 -V, --version display version information and exit
1230 -q, --quiet, --silent do not print \`checking ...' messages
1231 --cache-file=FILE cache test results in FILE [disabled]
1232 -C, --config-cache alias for \`--cache-file=config.cache'
1233 -n, --no-create do not create output files
1234 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1236 Installation directories:
1237 --prefix=PREFIX install architecture-independent files in PREFIX
1238 @<:@@S|@ac_default_prefix@:>@
1239 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1242 By default, \`make install' will install all the files in
1243 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1244 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1245 for instance \`--prefix=\$HOME'.
1247 For better control, use the options below.
1249 Fine tuning of the installation directories:
1250 --bindir=DIR user executables [EPREFIX/bin]
1251 --sbindir=DIR system admin executables [EPREFIX/sbin]
1252 --libexecdir=DIR program executables [EPREFIX/libexec]
1253 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1254 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1255 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1256 --libdir=DIR object code libraries [EPREFIX/lib]
1257 --includedir=DIR C header files [PREFIX/include]
1258 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1259 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1260 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1261 --infodir=DIR info documentation [DATAROOTDIR/info]
1262 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1263 --mandir=DIR man documentation [DATAROOTDIR/man]
1264 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libsockstream@:>@
1265 --htmldir=DIR html documentation [DOCDIR]
1266 --dvidir=DIR dvi documentation [DOCDIR]
1267 --pdfdir=DIR pdf documentation [DOCDIR]
1268 --psdir=DIR ps documentation [DOCDIR]
1275 if test -n "$ac_init_help"; then
1276 case $ac_init_help in
1277 short | recursive ) echo "Configuration of libsockstream 0.1:";;
1281 Some influential environment variables:
1282 CXX C++ compiler command
1283 CXXFLAGS C++ compiler flags
1284 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1285 nonstandard directory <lib dir>
1286 LIBS libraries to pass to the linker, e.g. -l<library>
1287 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1288 you have headers in a nonstandard directory <include dir>
1289 CC C compiler command
1290 CFLAGS C compiler flags
1293 Use these variables to override the choices made by `configure' or to help
1294 it to find libraries and programs with nonstandard names/locations.
1296 Report bugs to <arjen@andromeda.nl>.
1301 if test "$ac_init_help" = "recursive"; then
1302 # If there are subdirs, report their specific --help.
1303 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1304 test -d "$ac_dir" ||
1305 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1310 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1312 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1313 # A ".." for each directory in $ac_dir_suffix.
1314 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1315 case $ac_top_builddir_sub in
1316 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1317 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1320 ac_abs_top_builddir=$ac_pwd
1321 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1322 # for backward compatibility:
1323 ac_top_builddir=$ac_top_build_prefix
1326 .) # We are building in place.
1328 ac_top_srcdir=$ac_top_builddir_sub
1329 ac_abs_top_srcdir=$ac_pwd ;;
1330 [\\/]* | ?:[\\/]* ) # Absolute name.
1331 ac_srcdir=$srcdir$ac_dir_suffix;
1332 ac_top_srcdir=$srcdir
1333 ac_abs_top_srcdir=$srcdir ;;
1335 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1336 ac_top_srcdir=$ac_top_build_prefix$srcdir
1337 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1339 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1341 cd "$ac_dir" || { ac_status=$?; continue; }
1342 # Check for guested configure.
1343 if test -f "$ac_srcdir/configure.gnu"; then
1345 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1346 elif test -f "$ac_srcdir/configure"; then
1348 $SHELL "$ac_srcdir/configure" --help=recursive
1350 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1352 cd "$ac_pwd" || { ac_status=$?; break; }
1356 test -n "$ac_init_help" && exit $ac_status
1357 if $ac_init_version; then
1359 libsockstream configure 0.1
1360 generated by GNU Autoconf 2.68
1362 Copyright (C) 2010 Free Software Foundation, Inc.
1363 This configure script is free software; the Free Software Foundation
1364 gives unlimited permission to copy, distribute and modify it.
1369 ## ------------------------ ##
1370 ## Autoconf initialization. ##
1371 ## ------------------------ ##
1373 @%:@ ac_fn_cxx_try_compile LINENO
1374 @%:@ ----------------------------
1375 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1376 ac_fn_cxx_try_compile ()
1378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1379 rm -f conftest.$ac_objext
1380 if { { ac_try="$ac_compile"
1382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1383 *) ac_try_echo=$ac_try;;
1385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1386 $as_echo "$ac_try_echo"; } >&5
1387 (eval "$ac_compile") 2>conftest.err
1389 if test -s conftest.err; then
1390 grep -v '^ *+' conftest.err >conftest.er1
1391 cat conftest.er1 >&5
1392 mv -f conftest.er1 conftest.err
1394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1395 test $ac_status = 0; } && {
1396 test -z "$ac_cxx_werror_flag" ||
1397 test ! -s conftest.err
1398 } && test -s conftest.$ac_objext; then :
1401 $as_echo "$as_me: failed program was:" >&5
1402 sed 's/^/| /' conftest.$ac_ext >&5
1406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1407 as_fn_set_status $ac_retval
1409 } @%:@ ac_fn_cxx_try_compile
1411 @%:@ ac_fn_c_try_compile LINENO
1412 @%:@ --------------------------
1413 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1414 ac_fn_c_try_compile ()
1416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1417 rm -f conftest.$ac_objext
1418 if { { ac_try="$ac_compile"
1420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1421 *) ac_try_echo=$ac_try;;
1423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1424 $as_echo "$ac_try_echo"; } >&5
1425 (eval "$ac_compile") 2>conftest.err
1427 if test -s conftest.err; then
1428 grep -v '^ *+' conftest.err >conftest.er1
1429 cat conftest.er1 >&5
1430 mv -f conftest.er1 conftest.err
1432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1433 test $ac_status = 0; } && {
1434 test -z "$ac_c_werror_flag" ||
1435 test ! -s conftest.err
1436 } && test -s conftest.$ac_objext; then :
1439 $as_echo "$as_me: failed program was:" >&5
1440 sed 's/^/| /' conftest.$ac_ext >&5
1444 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1445 as_fn_set_status $ac_retval
1447 } @%:@ ac_fn_c_try_compile
1449 @%:@ ac_fn_c_try_link LINENO
1450 @%:@ -----------------------
1451 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1455 rm -f conftest.$ac_objext conftest$ac_exeext
1456 if { { ac_try="$ac_link"
1458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1459 *) ac_try_echo=$ac_try;;
1461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1462 $as_echo "$ac_try_echo"; } >&5
1463 (eval "$ac_link") 2>conftest.err
1465 if test -s conftest.err; then
1466 grep -v '^ *+' conftest.err >conftest.er1
1467 cat conftest.er1 >&5
1468 mv -f conftest.er1 conftest.err
1470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1471 test $ac_status = 0; } && {
1472 test -z "$ac_c_werror_flag" ||
1473 test ! -s conftest.err
1474 } && test -s conftest$ac_exeext && {
1475 test "$cross_compiling" = yes ||
1476 $as_test_x conftest$ac_exeext
1480 $as_echo "$as_me: failed program was:" >&5
1481 sed 's/^/| /' conftest.$ac_ext >&5
1485 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1486 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1487 # interfere with the next link command; also delete a directory that is
1488 # left behind by Apple's compiler. We do this before executing the actions.
1489 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1491 as_fn_set_status $ac_retval
1493 } @%:@ ac_fn_c_try_link
1495 @%:@ ac_fn_c_try_cpp LINENO
1496 @%:@ ----------------------
1497 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501 if { { ac_try="$ac_cpp conftest.$ac_ext"
1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1510 if test -s conftest.err; then
1511 grep -v '^ *+' conftest.err >conftest.er1
1512 cat conftest.er1 >&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } > conftest.i && {
1517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.$ac_ext >&5
1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528 as_fn_set_status $ac_retval
1530 } @%:@ ac_fn_c_try_cpp
1532 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1533 @%:@ -------------------------------------------------------
1534 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1535 @%:@ the include files in INCLUDES and setting the cache variable VAR
1537 ac_fn_c_check_header_mongrel ()
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 if eval \${$3+:} false; then :
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1542 $as_echo_n "checking for $2... " >&6; }
1543 if eval \${$3+:} false; then :
1544 $as_echo_n "(cached) " >&6
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1548 $as_echo "$ac_res" >&6; }
1550 # Is the header compilable?
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1552 $as_echo_n "checking $2 usability... " >&6; }
1553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1554 /* end confdefs.h. */
1558 if ac_fn_c_try_compile "$LINENO"; then :
1559 ac_header_compiler=yes
1561 ac_header_compiler=no
1563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1565 $as_echo "$ac_header_compiler" >&6; }
1567 # Is the header present?
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1569 $as_echo_n "checking $2 presence... " >&6; }
1570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1571 /* end confdefs.h. */
1574 if ac_fn_c_try_cpp "$LINENO"; then :
1575 ac_header_preproc=yes
1577 ac_header_preproc=no
1579 rm -f conftest.err conftest.i conftest.$ac_ext
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1581 $as_echo "$ac_header_preproc" >&6; }
1583 # So? What about this header?
1584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1587 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1589 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1593 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1595 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1597 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1599 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1601 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1602 ( $as_echo "## --------------------------------- ##
1603 ## Report this to arjen@andromeda.nl ##
1604 ## --------------------------------- ##"
1605 ) | sed "s/^/$as_me: WARNING: /" >&2
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1609 $as_echo_n "checking for $2... " >&6; }
1610 if eval \${$3+:} false; then :
1611 $as_echo_n "(cached) " >&6
1613 eval "$3=\$ac_header_compiler"
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1617 $as_echo "$ac_res" >&6; }
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 } @%:@ ac_fn_c_check_header_mongrel
1623 @%:@ ac_fn_c_try_run LINENO
1624 @%:@ ----------------------
1625 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1626 @%:@ that executables *can* be run.
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 if { { ac_try="$ac_link"
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_link") 2>&5
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1641 { { case "(($ac_try" in
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_try") 2>&5
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; }; }; then :
1653 $as_echo "$as_me: program exited with status $ac_status" >&5
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1657 ac_retval=$ac_status
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1663 } @%:@ ac_fn_c_try_run
1665 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1666 @%:@ -------------------------------------------------------
1667 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1668 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1669 ac_fn_c_check_header_compile ()
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 $as_echo_n "checking for $2... " >&6; }
1674 if eval \${$3+:} false; then :
1675 $as_echo_n "(cached) " >&6
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1682 if ac_fn_c_try_compile "$LINENO"; then :
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 } @%:@ ac_fn_c_check_header_compile
1696 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1697 @%:@ -------------------------------------------
1698 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1699 @%:@ variable VAR accordingly.
1700 ac_fn_c_check_type ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval \${$3+:} false; then :
1706 $as_echo_n "(cached) " >&6
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1721 if ac_fn_c_try_compile "$LINENO"; then :
1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1734 if ac_fn_c_try_compile "$LINENO"; then :
1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 } @%:@ ac_fn_c_check_type
1750 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1751 @%:@ ----------------------------------
1752 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1753 ac_fn_c_check_func ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757 $as_echo_n "checking for $2... " >&6; }
1758 if eval \${$3+:} false; then :
1759 $as_echo_n "(cached) " >&6
1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h. */
1763 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1765 #define $2 innocuous_$2
1767 /* System header to define __stub macros and hopefully few prototypes,
1768 which can conflict with char $2 (); below.
1769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1770 <limits.h> exists even on freestanding compilers. */
1773 # include <limits.h>
1775 # include <assert.h>
1780 /* Override any GCC internal prototype to avoid an error.
1781 Use char because int might match the return type of a GCC
1782 builtin and then its argument prototype would still apply. */
1787 /* The GNU C library defines this for functions which it implements
1788 to always fail with ENOSYS. Some functions are actually named
1789 something starting with __ and the normal name is an alias. */
1790 #if defined __stub_$2 || defined __stub___$2
1802 if ac_fn_c_try_link "$LINENO"; then :
1807 rm -f core conftest.err conftest.$ac_objext \
1808 conftest$ac_exeext conftest.$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812 $as_echo "$ac_res" >&6; }
1813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 } @%:@ ac_fn_c_check_func
1816 cat >config.log <<_ACEOF
1817 This file contains any messages produced by compilers while
1818 running configure, to aid debugging if configure makes a mistake.
1820 It was created by libsockstream $as_me 0.1, which was
1821 generated by GNU Autoconf 2.68. Invocation command line was
1833 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1834 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1835 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1836 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1837 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1839 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1840 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1842 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1843 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1844 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1845 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1846 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1847 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1848 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir=.
1857 $as_echo "PATH: $as_dir"
1873 # Keep a trace of the command line.
1874 # Strip out --no-create and --no-recursion so they do not pile up.
1875 # Strip out --silent because we don't want to record it for future runs.
1876 # Also quote any args containing shell meta-characters.
1877 # Make two passes to allow for proper duplicate-argument suppression.
1881 ac_must_keep_next=false
1887 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1888 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1889 | -silent | --silent | --silen | --sile | --sil)
1892 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1895 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1897 as_fn_append ac_configure_args1 " '$ac_arg'"
1898 if test $ac_must_keep_next = true; then
1899 ac_must_keep_next=false # Got value, back to normal.
1902 *=* | --config-cache | -C | -disable-* | --disable-* \
1903 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1904 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1905 | -with-* | --with-* | -without-* | --without-* | --x)
1906 case "$ac_configure_args0 " in
1907 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1910 -* ) ac_must_keep_next=true ;;
1913 as_fn_append ac_configure_args " '$ac_arg'"
1918 { ac_configure_args0=; unset ac_configure_args0;}
1919 { ac_configure_args1=; unset ac_configure_args1;}
1921 # When interrupted or exit'd, cleanup temporary files, and complete
1922 # config.log. We remove comments because anyway the quotes in there
1923 # would cause problems or look ugly.
1924 # WARNING: Use '\'' to represent an apostrophe within the trap.
1925 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1926 trap 'exit_status=$?
1927 # Save into config.log some information that might help in debugging.
1931 $as_echo "## ---------------- ##
1932 ## Cache variables. ##
1933 ## ---------------- ##"
1935 # The following way of writing the cache mishandles newlines in values,
1937 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1938 eval ac_val=\$$ac_var
1942 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1946 _ | IFS | as_nl) ;; #(
1947 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1948 *) { eval $ac_var=; unset $ac_var;} ;;
1953 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1954 *${as_nl}ac_space=\ *)
1956 "s/'\''/'\''\\\\'\'''\''/g;
1957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1967 $as_echo "## ----------------- ##
1968 ## Output variables. ##
1969 ## ----------------- ##"
1971 for ac_var in $ac_subst_vars
1973 eval ac_val=\$$ac_var
1975 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1977 $as_echo "$ac_var='\''$ac_val'\''"
1981 if test -n "$ac_subst_files"; then
1982 $as_echo "## ------------------- ##
1983 ## File substitutions. ##
1984 ## ------------------- ##"
1986 for ac_var in $ac_subst_files
1988 eval ac_val=\$$ac_var
1990 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1992 $as_echo "$ac_var='\''$ac_val'\''"
1997 if test -s confdefs.h; then
1998 $as_echo "## ----------- ##
2005 test "$ac_signal" != 0 &&
2006 $as_echo "$as_me: caught signal $ac_signal"
2007 $as_echo "$as_me: exit $exit_status"
2009 rm -f core *.core core.conftest.* &&
2010 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2013 for ac_signal in 1 2 13 15; do
2014 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2018 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2019 rm -f -r conftest* confdefs.h
2021 $as_echo "/* confdefs.h */" > confdefs.h
2023 # Predefined preprocessor variables.
2025 cat >>confdefs.h <<_ACEOF
2026 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2029 cat >>confdefs.h <<_ACEOF
2030 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2033 cat >>confdefs.h <<_ACEOF
2034 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2037 cat >>confdefs.h <<_ACEOF
2038 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2041 cat >>confdefs.h <<_ACEOF
2042 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2045 cat >>confdefs.h <<_ACEOF
2046 @%:@define PACKAGE_URL "$PACKAGE_URL"
2050 # Let the site file select an alternate cache file if it wants to.
2051 # Prefer an explicitly selected file to automatically selected ones.
2054 if test -n "$CONFIG_SITE"; then
2055 # We do not want a PATH search for config.site.
2056 case $CONFIG_SITE in @%:@((
2057 -*) ac_site_file1=./$CONFIG_SITE;;
2058 */*) ac_site_file1=$CONFIG_SITE;;
2059 *) ac_site_file1=./$CONFIG_SITE;;
2061 elif test "x$prefix" != xNONE; then
2062 ac_site_file1=$prefix/share/config.site
2063 ac_site_file2=$prefix/etc/config.site
2065 ac_site_file1=$ac_default_prefix/share/config.site
2066 ac_site_file2=$ac_default_prefix/etc/config.site
2068 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2070 test "x$ac_site_file" = xNONE && continue
2071 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2073 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2074 sed 's/^/| /' "$ac_site_file" >&5
2076 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2078 as_fn_error $? "failed to load site script $ac_site_file
2079 See \`config.log' for more details" "$LINENO" 5; }
2083 if test -r "$cache_file"; then
2084 # Some versions of bash will fail to source /dev/null (special files
2085 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2086 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2088 $as_echo "$as_me: loading cache $cache_file" >&6;}
2090 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2091 *) . "./$cache_file";;
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2096 $as_echo "$as_me: creating cache $cache_file" >&6;}
2100 # Check that the precious variables saved in the cache have kept the same
2102 ac_cache_corrupted=false
2103 for ac_var in $ac_precious_vars; do
2104 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2105 eval ac_new_set=\$ac_env_${ac_var}_set
2106 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2107 eval ac_new_val=\$ac_env_${ac_var}_value
2108 case $ac_old_set,$ac_new_set in
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2111 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2112 ac_cache_corrupted=: ;;
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2115 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2116 ac_cache_corrupted=: ;;
2119 if test "x$ac_old_val" != "x$ac_new_val"; then
2120 # differences in whitespace do not lead to failure.
2121 ac_old_val_w=`echo x $ac_old_val`
2122 ac_new_val_w=`echo x $ac_new_val`
2123 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2125 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2126 ac_cache_corrupted=:
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2129 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2130 eval $ac_var=\$ac_old_val
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2133 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2135 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2138 # Pass precious variables to config.status.
2139 if test "$ac_new_set" = set; then
2141 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 *) ac_arg=$ac_var=$ac_new_val ;;
2144 case " $ac_configure_args " in
2145 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2146 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2150 if $ac_cache_corrupted; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2154 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2155 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2157 ## -------------------- ##
2158 ## Main body of script. ##
2159 ## -------------------- ##
2162 ac_cpp='$CPP $CPPFLAGS'
2163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2169 ac_config_headers="$ac_config_headers config.h"
2172 # Checks for programs.
2174 ac_cpp='$CXXCPP $CPPFLAGS'
2175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2178 if test -z "$CXX"; then
2179 if test -n "$CCC"; then
2182 if test -n "$ac_tool_prefix"; then
2183 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2186 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2188 $as_echo_n "checking for $ac_word... " >&6; }
2189 if ${ac_cv_prog_CXX+:} false; then :
2190 $as_echo_n "(cached) " >&6
2192 if test -n "$CXX"; then
2193 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir=.
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 if test -n "$CXX"; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2215 $as_echo "$CXX" >&6; }
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2218 $as_echo "no" >&6; }
2222 test -n "$CXX" && break
2225 if test -z "$CXX"; then
2227 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2229 # Extract the first word of "$ac_prog", so it can be a program name with args.
2230 set dummy $ac_prog; ac_word=$2
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2232 $as_echo_n "checking for $ac_word... " >&6; }
2233 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2234 $as_echo_n "(cached) " >&6
2236 if test -n "$ac_ct_CXX"; then
2237 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir=.
2244 for ac_exec_ext in '' $ac_executable_extensions; do
2245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2246 ac_cv_prog_ac_ct_CXX="$ac_prog"
2247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2257 if test -n "$ac_ct_CXX"; then
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2259 $as_echo "$ac_ct_CXX" >&6; }
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2262 $as_echo "no" >&6; }
2266 test -n "$ac_ct_CXX" && break
2269 if test "x$ac_ct_CXX" = x; then
2272 case $cross_compiling:$ac_tool_warned in
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2276 ac_tool_warned=yes ;;
2284 # Provide some information about the compiler.
2285 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2288 for ac_option in --version -v -V -qversion; do
2289 { { ac_try="$ac_compiler $ac_option >&5"
2291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2292 *) ac_try_echo=$ac_try;;
2294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2295 $as_echo "$ac_try_echo"; } >&5
2296 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2298 if test -s conftest.err; then
2300 ... rest of stderr output deleted ...
2301 10q' conftest.err >conftest.er1
2302 cat conftest.er1 >&5
2304 rm -f conftest.er1 conftest.err
2305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2306 test $ac_status = 0; }
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2320 ac_clean_files_save=$ac_clean_files
2321 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2322 # Try to create an executable without -o first, disregard a.out.
2323 # It will help us diagnose broken compilers, and finding out an intuition
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2326 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2327 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2329 # The possible output files:
2330 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2333 for ac_file in $ac_files
2336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2337 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2342 if { { ac_try="$ac_link_default"
2344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2345 *) ac_try_echo=$ac_try;;
2347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2348 $as_echo "$ac_try_echo"; } >&5
2349 (eval "$ac_link_default") 2>&5
2351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2352 test $ac_status = 0; }; then :
2353 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2354 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2355 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2356 # so that the user can short-circuit this test for compilers unknown to
2358 for ac_file in $ac_files ''
2360 test -f "$ac_file" || continue
2362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2365 # We found the default executable, but exeext='' is most
2369 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2371 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2373 # We set ac_cv_exeext here because the later test for it is not
2374 # safe: cross compilers may not add the suffix if given an `-o'
2375 # argument, so we may need to know it at that point already.
2376 # Even if this section looks crufty: it has the advantage of
2383 test "$ac_cv_exeext" = no && ac_cv_exeext=
2388 if test -z "$ac_file"; then :
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2390 $as_echo "no" >&6; }
2391 $as_echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2396 as_fn_error 77 "C++ compiler cannot create executables
2397 See \`config.log' for more details" "$LINENO" 5; }
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2400 $as_echo "yes" >&6; }
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2403 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2405 $as_echo "$ac_file" >&6; }
2406 ac_exeext=$ac_cv_exeext
2408 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2409 ac_clean_files=$ac_clean_files_save
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2411 $as_echo_n "checking for suffix of executables... " >&6; }
2412 if { { ac_try="$ac_link"
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2418 $as_echo "$ac_try_echo"; } >&5
2419 (eval "$ac_link") 2>&5
2421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2422 test $ac_status = 0; }; then :
2423 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2424 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2425 # work properly (i.e., refer to `conftest.exe'), while it won't with
2427 for ac_file in conftest.exe conftest conftest.*; do
2428 test -f "$ac_file" || continue
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2431 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2440 See \`config.log' for more details" "$LINENO" 5; }
2442 rm -f conftest conftest$ac_cv_exeext
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2444 $as_echo "$ac_cv_exeext" >&6; }
2446 rm -f conftest.$ac_ext
2447 EXEEXT=$ac_cv_exeext
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2451 @%:@include <stdio.h>
2455 FILE *f = fopen ("conftest.out", "w");
2456 return ferror (f) || fclose (f) != 0;
2462 ac_clean_files="$ac_clean_files conftest.out"
2463 # Check that the compiler produces executables we can run. If not, either
2464 # the compiler is broken, or we cross compile.
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2466 $as_echo_n "checking whether we are cross compiling... " >&6; }
2467 if test "$cross_compiling" != yes; then
2468 { { ac_try="$ac_link"
2470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2471 *) ac_try_echo=$ac_try;;
2473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2474 $as_echo "$ac_try_echo"; } >&5
2475 (eval "$ac_link") 2>&5
2477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2478 test $ac_status = 0; }
2479 if { ac_try='./conftest$ac_cv_exeext'
2480 { { case "(($ac_try" in
2481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2482 *) ac_try_echo=$ac_try;;
2484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2485 $as_echo "$ac_try_echo"; } >&5
2486 (eval "$ac_try") 2>&5
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; }; }; then
2492 if test "$cross_compiling" = maybe; then
2495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2497 as_fn_error $? "cannot run C++ compiled programs.
2498 If you meant to cross compile, use \`--host'.
2499 See \`config.log' for more details" "$LINENO" 5; }
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2504 $as_echo "$cross_compiling" >&6; }
2506 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2507 ac_clean_files=$ac_clean_files_save
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2509 $as_echo_n "checking for suffix of object files... " >&6; }
2510 if ${ac_cv_objext+:} false; then :
2511 $as_echo_n "(cached) " >&6
2513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2514 /* end confdefs.h. */
2524 rm -f conftest.o conftest.obj
2525 if { { ac_try="$ac_compile"
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_compile") 2>&5
2534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2535 test $ac_status = 0; }; then :
2536 for ac_file in conftest.o conftest.obj conftest.*; do
2537 test -f "$ac_file" || continue;
2539 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2540 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2545 $as_echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2550 as_fn_error $? "cannot compute suffix of object files: cannot compile
2551 See \`config.log' for more details" "$LINENO" 5; }
2553 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2556 $as_echo "$ac_cv_objext" >&6; }
2557 OBJEXT=$ac_cv_objext
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2560 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2561 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2562 $as_echo_n "(cached) " >&6
2564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2565 /* end confdefs.h. */
2578 if ac_fn_cxx_try_compile "$LINENO"; then :
2583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2584 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2588 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2589 if test $ac_compiler_gnu = yes; then
2594 ac_test_CXXFLAGS=${CXXFLAGS+set}
2595 ac_save_CXXFLAGS=$CXXFLAGS
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2597 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2598 if ${ac_cv_prog_cxx_g+:} false; then :
2599 $as_echo_n "(cached) " >&6
2601 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2602 ac_cxx_werror_flag=yes
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2616 if ac_fn_cxx_try_compile "$LINENO"; then :
2617 ac_cv_prog_cxx_g=yes
2620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2621 /* end confdefs.h. */
2631 if ac_fn_cxx_try_compile "$LINENO"; then :
2634 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2647 if ac_fn_cxx_try_compile "$LINENO"; then :
2648 ac_cv_prog_cxx_g=yes
2650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2658 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2659 if test "$ac_test_CXXFLAGS" = set; then
2660 CXXFLAGS=$ac_save_CXXFLAGS
2661 elif test $ac_cv_prog_cxx_g = yes; then
2662 if test "$GXX" = yes; then
2668 if test "$GXX" = yes; then
2675 ac_cpp='$CPP $CPPFLAGS'
2676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2681 ac_cpp='$CPP $CPPFLAGS'
2682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2685 if test -n "$ac_tool_prefix"; then
2686 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2687 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if ${ac_cv_prog_CC+:} false; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$CC"; then
2694 ac_cv_prog_CC="$CC" # Let the user override the test.
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 if test -n "$CC"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2716 $as_echo "$CC" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2724 if test -z "$ac_cv_prog_CC"; then
2726 # Extract the first word of "gcc", so it can be a program name with args.
2727 set dummy gcc; ac_word=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$ac_ct_CC"; then
2734 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir=.
2741 for ac_exec_ext in '' $ac_executable_extensions; do
2742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743 ac_cv_prog_ac_ct_CC="gcc"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2754 if test -n "$ac_ct_CC"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2756 $as_echo "$ac_ct_CC" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2762 if test "x$ac_ct_CC" = x; then
2765 case $cross_compiling:$ac_tool_warned in
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769 ac_tool_warned=yes ;;
2777 if test -z "$CC"; then
2778 if test -n "$ac_tool_prefix"; then
2779 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2780 set dummy ${ac_tool_prefix}cc; ac_word=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_CC+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$CC"; then
2787 ac_cv_prog_CC="$CC" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796 ac_cv_prog_CC="${ac_tool_prefix}cc"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test -n "$CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809 $as_echo "$CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2818 if test -z "$CC"; then
2819 # Extract the first word of "cc", so it can be a program name with args.
2820 set dummy cc; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_CC+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$CC"; then
2827 ac_cv_prog_CC="$CC" # Let the user override the test.
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir=.
2835 for ac_exec_ext in '' $ac_executable_extensions; do
2836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2837 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2838 ac_prog_rejected=yes
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test $ac_prog_rejected = yes; then
2850 # We found a bogon in the path, so make sure we never use it.
2851 set dummy $ac_cv_prog_CC
2853 if test $@%:@ != 0; then
2854 # We chose a different compiler from the bogus one.
2855 # However, it has the same basename, so the bogon will be chosen
2856 # first if we set CC to just the basename; use the full file name.
2858 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2864 if test -n "$CC"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2866 $as_echo "$CC" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2874 if test -z "$CC"; then
2875 if test -n "$ac_tool_prefix"; then
2876 for ac_prog in cl.exe
2878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2879 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if ${ac_cv_prog_CC+:} false; then :
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$CC"; then
2886 ac_cv_prog_CC="$CC" # Let the user override the test.
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir=.
2893 for ac_exec_ext in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2915 test -n "$CC" && break
2918 if test -z "$CC"; then
2920 for ac_prog in cl.exe
2922 # Extract the first word of "$ac_prog", so it can be a program name with args.
2923 set dummy $ac_prog; ac_word=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$ac_ct_CC"; then
2930 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 ac_cv_prog_ac_ct_CC="$ac_prog"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2950 if test -n "$ac_ct_CC"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2952 $as_echo "$ac_ct_CC" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2959 test -n "$ac_ct_CC" && break
2962 if test "x$ac_ct_CC" = x; then
2965 case $cross_compiling:$ac_tool_warned in
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2969 ac_tool_warned=yes ;;
2978 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 as_fn_error $? "no acceptable C compiler found in \$PATH
2981 See \`config.log' for more details" "$LINENO" 5; }
2983 # Provide some information about the compiler.
2984 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2987 for ac_option in --version -v -V -qversion; do
2988 { { ac_try="$ac_compiler $ac_option >&5"
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994 $as_echo "$ac_try_echo"; } >&5
2995 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2997 if test -s conftest.err; then
2999 ... rest of stderr output deleted ...
3000 10q' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3003 rm -f conftest.er1 conftest.err
3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3009 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3010 if ${ac_cv_c_compiler_gnu+:} false; then :
3011 $as_echo_n "(cached) " >&6
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3027 if ac_fn_c_try_compile "$LINENO"; then :
3032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3037 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3038 if test $ac_compiler_gnu = yes; then
3043 ac_test_CFLAGS=${CFLAGS+set}
3044 ac_save_CFLAGS=$CFLAGS
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3046 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3047 if ${ac_cv_prog_cc_g+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 ac_save_c_werror_flag=$ac_c_werror_flag
3051 ac_c_werror_flag=yes
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3065 if ac_fn_c_try_compile "$LINENO"; then :
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3080 if ac_fn_c_try_compile "$LINENO"; then :
3083 ac_c_werror_flag=$ac_save_c_werror_flag
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3096 if ac_fn_c_try_compile "$LINENO"; then :
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 ac_c_werror_flag=$ac_save_c_werror_flag
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3107 $as_echo "$ac_cv_prog_cc_g" >&6; }
3108 if test "$ac_test_CFLAGS" = set; then
3109 CFLAGS=$ac_save_CFLAGS
3110 elif test $ac_cv_prog_cc_g = yes; then
3111 if test "$GCC" = yes; then
3117 if test "$GCC" = yes; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3124 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3125 if ${ac_cv_prog_cc_c89+:} false; then :
3126 $as_echo_n "(cached) " >&6
3128 ac_cv_prog_cc_c89=no
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131 /* end confdefs.h. */
3134 #include <sys/types.h>
3135 #include <sys/stat.h>
3136 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3137 struct buf { int x; };
3138 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3139 static char *e (p, i)
3145 static char *f (char * (*g) (char **, int), char **p, ...)
3150 s = g (p, va_arg (v,int));
3155 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3156 function prototypes and stuff, but not '\xHH' hex character constants.
3157 These don't provoke an error unfortunately, instead are silently treated
3158 as 'x'. The following induces an error, until -std is added to get
3159 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3160 array size at least. It's necessary to write '\x00'==0 to get something
3161 that's true only with -std. */
3162 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3164 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3165 inside strings and character constants. */
3167 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3169 int test (int i, double x);
3170 struct s1 {int (*f) (int a);};
3171 struct s2 {int (*f) (double a);};
3172 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3178 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3183 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3184 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3186 CC="$ac_save_CC $ac_arg"
3187 if ac_fn_c_try_compile "$LINENO"; then :
3188 ac_cv_prog_cc_c89=$ac_arg
3190 rm -f core conftest.err conftest.$ac_objext
3191 test "x$ac_cv_prog_cc_c89" != "xno" && break
3193 rm -f conftest.$ac_ext
3198 case "x$ac_cv_prog_cc_c89" in
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3201 $as_echo "none needed" >&6; } ;;
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3204 $as_echo "unsupported" >&6; } ;;
3206 CC="$CC $ac_cv_prog_cc_c89"
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3208 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3210 if test "x$ac_cv_prog_cc_c89" != xno; then :
3215 ac_cpp='$CPP $CPPFLAGS'
3216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3221 # Checks for libraries.
3222 # FIXME: Replace `main' with a function in `-lAXE':
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lAXE" >&5
3225 $as_echo_n "checking for main in -lAXE... " >&6; }
3226 if ${ac_cv_lib_AXE_main+:} false; then :
3227 $as_echo_n "(cached) " >&6
3229 ac_check_lib_save_LIBS=$LIBS
3231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232 /* end confdefs.h. */
3243 if ac_fn_c_try_link "$LINENO"; then :
3244 ac_cv_lib_AXE_main=yes
3246 ac_cv_lib_AXE_main=no
3248 rm -f core conftest.err conftest.$ac_objext \
3249 conftest$ac_exeext conftest.$ac_ext
3250 LIBS=$ac_check_lib_save_LIBS
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_AXE_main" >&5
3253 $as_echo "$ac_cv_lib_AXE_main" >&6; }
3254 if test "x$ac_cv_lib_AXE_main" = xyes; then :
3255 cat >>confdefs.h <<_ACEOF
3256 @%:@define HAVE_LIBAXE 1
3264 # Checks for header files.
3266 ac_cpp='$CPP $CPPFLAGS'
3267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3271 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3272 # On Suns, sometimes $CPP names a directory.
3273 if test -n "$CPP" && test -d "$CPP"; then
3276 if test -z "$CPP"; then
3277 if ${ac_cv_prog_CPP+:} false; then :
3278 $as_echo_n "(cached) " >&6
3280 # Double quotes because CPP needs to be expanded
3281 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3284 for ac_c_preproc_warn_flag in '' yes
3286 # Use a header file that comes with gcc, so configuring glibc
3287 # with a fresh cross-compiler works.
3288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3289 # <limits.h> exists even on freestanding compilers.
3290 # On the NeXT, cc -E runs the code through the compiler's parser,
3291 # not just through cpp. "Syntax error" is here to catch this case.
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3295 @%:@ include <limits.h>
3297 @%:@ include <assert.h>
3301 if ac_fn_c_try_cpp "$LINENO"; then :
3304 # Broken: fails on valid input.
3307 rm -f conftest.err conftest.i conftest.$ac_ext
3309 # OK, works on sane cases. Now check whether nonexistent headers
3310 # can be detected and how.
3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3313 @%:@include <ac_nonexistent.h>
3315 if ac_fn_c_try_cpp "$LINENO"; then :
3316 # Broken: success on invalid input.
3319 # Passes both tests.
3323 rm -f conftest.err conftest.i conftest.$ac_ext
3326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3327 rm -f conftest.i conftest.err conftest.$ac_ext
3328 if $ac_preproc_ok; then :
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3341 $as_echo "$CPP" >&6; }
3343 for ac_c_preproc_warn_flag in '' yes
3345 # Use a header file that comes with gcc, so configuring glibc
3346 # with a fresh cross-compiler works.
3347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3348 # <limits.h> exists even on freestanding compilers.
3349 # On the NeXT, cc -E runs the code through the compiler's parser,
3350 # not just through cpp. "Syntax error" is here to catch this case.
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3354 @%:@ include <limits.h>
3356 @%:@ include <assert.h>
3360 if ac_fn_c_try_cpp "$LINENO"; then :
3363 # Broken: fails on valid input.
3366 rm -f conftest.err conftest.i conftest.$ac_ext
3368 # OK, works on sane cases. Now check whether nonexistent headers
3369 # can be detected and how.
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3372 @%:@include <ac_nonexistent.h>
3374 if ac_fn_c_try_cpp "$LINENO"; then :
3375 # Broken: success on invalid input.
3378 # Passes both tests.
3382 rm -f conftest.err conftest.i conftest.$ac_ext
3385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3386 rm -f conftest.i conftest.err conftest.$ac_ext
3387 if $ac_preproc_ok; then :
3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3392 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3393 See \`config.log' for more details" "$LINENO" 5; }
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3404 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3405 if ${ac_cv_path_GREP+:} false; then :
3406 $as_echo_n "(cached) " >&6
3408 if test -z "$GREP"; then
3409 ac_path_GREP_found=false
3410 # Loop through the user's path and test for each of PROGNAME-LIST
3411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3415 test -z "$as_dir" && as_dir=.
3416 for ac_prog in grep ggrep; do
3417 for ac_exec_ext in '' $ac_executable_extensions; do
3418 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3419 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3420 # Check for GNU ac_path_GREP and select it if it is found.
3421 # Check for GNU $ac_path_GREP
3422 case `"$ac_path_GREP" --version 2>&1` in
3424 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3427 $as_echo_n 0123456789 >"conftest.in"
3430 cat "conftest.in" "conftest.in" >"conftest.tmp"
3431 mv "conftest.tmp" "conftest.in"
3432 cp "conftest.in" "conftest.nl"
3433 $as_echo 'GREP' >> "conftest.nl"
3434 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3435 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3436 as_fn_arith $ac_count + 1 && ac_count=$as_val
3437 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3438 # Best one so far, save it but keep looking for a better one
3439 ac_cv_path_GREP="$ac_path_GREP"
3440 ac_path_GREP_max=$ac_count
3442 # 10*(2^10) chars as input seems more than enough
3443 test $ac_count -gt 10 && break
3445 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3448 $ac_path_GREP_found && break 3
3453 if test -z "$ac_cv_path_GREP"; then
3454 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3457 ac_cv_path_GREP=$GREP
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3462 $as_echo "$ac_cv_path_GREP" >&6; }
3463 GREP="$ac_cv_path_GREP"
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3467 $as_echo_n "checking for egrep... " >&6; }
3468 if ${ac_cv_path_EGREP+:} false; then :
3469 $as_echo_n "(cached) " >&6
3471 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3472 then ac_cv_path_EGREP="$GREP -E"
3474 if test -z "$EGREP"; then
3475 ac_path_EGREP_found=false
3476 # Loop through the user's path and test for each of PROGNAME-LIST
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3478 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3481 test -z "$as_dir" && as_dir=.
3482 for ac_prog in egrep; do
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3485 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3486 # Check for GNU ac_path_EGREP and select it if it is found.
3487 # Check for GNU $ac_path_EGREP
3488 case `"$ac_path_EGREP" --version 2>&1` in
3490 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3493 $as_echo_n 0123456789 >"conftest.in"
3496 cat "conftest.in" "conftest.in" >"conftest.tmp"
3497 mv "conftest.tmp" "conftest.in"
3498 cp "conftest.in" "conftest.nl"
3499 $as_echo 'EGREP' >> "conftest.nl"
3500 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3501 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3502 as_fn_arith $ac_count + 1 && ac_count=$as_val
3503 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3504 # Best one so far, save it but keep looking for a better one
3505 ac_cv_path_EGREP="$ac_path_EGREP"
3506 ac_path_EGREP_max=$ac_count
3508 # 10*(2^10) chars as input seems more than enough
3509 test $ac_count -gt 10 && break
3511 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3514 $ac_path_EGREP_found && break 3
3519 if test -z "$ac_cv_path_EGREP"; then
3520 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3523 ac_cv_path_EGREP=$EGREP
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3529 $as_echo "$ac_cv_path_EGREP" >&6; }
3530 EGREP="$ac_cv_path_EGREP"
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3534 $as_echo_n "checking for ANSI C header files... " >&6; }
3535 if ${ac_cv_header_stdc+:} false; then :
3536 $as_echo_n "(cached) " >&6
3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3554 ac_cv_header_stdc=yes
3556 ac_cv_header_stdc=no
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560 if test $ac_cv_header_stdc = yes; then
3561 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3568 $EGREP "memchr" >/dev/null 2>&1; then :
3571 ac_cv_header_stdc=no
3577 if test $ac_cv_header_stdc = yes; then
3578 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3585 $EGREP "free" >/dev/null 2>&1; then :
3588 ac_cv_header_stdc=no
3594 if test $ac_cv_header_stdc = yes; then
3595 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3596 if test "$cross_compiling" = yes; then :
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3603 #if ((' ' & 0x0FF) == 0x020)
3604 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3605 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3607 # define ISLOWER(c) \
3608 (('a' <= (c) && (c) <= 'i') \
3609 || ('j' <= (c) && (c) <= 'r') \
3610 || ('s' <= (c) && (c) <= 'z'))
3611 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3614 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3619 for (i = 0; i < 256; i++)
3620 if (XOR (islower (i), ISLOWER (i))
3621 || toupper (i) != TOUPPER (i))
3626 if ac_fn_c_try_run "$LINENO"; then :
3629 ac_cv_header_stdc=no
3631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3632 conftest.$ac_objext conftest.beam conftest.$ac_ext
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3638 $as_echo "$ac_cv_header_stdc" >&6; }
3639 if test $ac_cv_header_stdc = yes; then
3641 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
3645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3646 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3647 inttypes.h stdint.h unistd.h
3649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3650 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3653 cat >>confdefs.h <<_ACEOF
3654 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3662 for ac_header in arpa/inet.h netdb.h sys/socket.h
3664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3665 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3667 cat >>confdefs.h <<_ACEOF
3668 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3676 # Checks for typedefs, structures, and compiler characteristics.
3677 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3678 if test "x$ac_cv_type_size_t" = xyes; then :
3682 cat >>confdefs.h <<_ACEOF
3683 @%:@define size_t unsigned int
3688 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
3689 if test "x$ac_cv_type_ssize_t" = xyes; then :
3693 cat >>confdefs.h <<_ACEOF
3694 @%:@define ssize_t int
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
3700 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
3701 if ${ac_cv_header_stdbool_h+:} false; then :
3702 $as_echo_n "(cached) " >&6
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3707 #include <stdbool.h>
3709 "error: bool is not defined"
3712 "error: false is not defined"
3715 "error: false is not 0"
3718 "error: true is not defined"
3721 "error: true is not 1"
3723 #ifndef __bool_true_false_are_defined
3724 "error: __bool_true_false_are_defined is not defined"
3727 struct s { _Bool s: 1; _Bool t; } s;
3729 char a[true == 1 ? 1 : -1];
3730 char b[false == 0 ? 1 : -1];
3731 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3732 char d[(bool) 0.5 == true ? 1 : -1];
3733 /* See body of main program for 'e'. */
3734 char f[(_Bool) 0.0 == false ? 1 : -1];
3736 char h[sizeof (_Bool)];
3738 enum { j = false, k = true, l = false * true, m = true * 256 };
3739 /* The following fails for
3740 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
3742 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
3743 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
3744 /* Catch a bug in an HP-UX C compiler. See
3745 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
3746 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
3758 /* Refer to every declared value, to avoid compiler optimizations. */
3759 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
3760 + !m + !n + !o + !p + !q + !pq);
3766 if ac_fn_c_try_compile "$LINENO"; then :
3767 ac_cv_header_stdbool_h=yes
3769 ac_cv_header_stdbool_h=no
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
3774 $as_echo "$ac_cv_header_stdbool_h" >&6; }
3775 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
3776 if test "x$ac_cv_type__Bool" = xyes; then :
3778 cat >>confdefs.h <<_ACEOF
3779 @%:@define HAVE__BOOL 1
3785 if test $ac_cv_header_stdbool_h = yes; then
3787 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
3792 # Checks for library functions.
3793 for ac_func in socket strchr
3795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3798 cat >>confdefs.h <<_ACEOF
3799 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3806 ac_config_files="$ac_config_files doc/Makefile src/Makefile"
3808 cat >confcache <<\_ACEOF
3809 # This file is a shell script that caches the results of configure
3810 # tests run on this system so they can be shared between configure
3811 # scripts and configure runs, see configure's option --config-cache.
3812 # It is not useful on other systems. If it contains results you don't
3813 # want to keep, you may remove or edit it.
3815 # config.status only pays attention to the cache file if you give it
3816 # the --recheck option to rerun configure.
3818 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3819 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3824 # The following way of writing the cache mishandles newlines in values,
3825 # but we know of no workaround that is simple, portable, and efficient.
3826 # So, we kill variables containing newlines.
3827 # Ultrix sh set writes to stderr and can't be redirected directly,
3828 # and sets the high bit in the cache file unless we assign to the vars.
3830 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3831 eval ac_val=\$$ac_var
3835 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3839 _ | IFS | as_nl) ;; #(
3840 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3841 *) { eval $ac_var=; unset $ac_var;} ;;
3847 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3848 *${as_nl}ac_space=\ *)
3849 # `set' does not quote correctly, so add quotes: double-quote
3850 # substitution turns \\\\ into \\, and sed turns \\ into \.
3853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3856 # `set' quotes correctly as required by POSIX, so do not add quotes.
3857 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3866 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3868 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3870 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3871 if test -w "$cache_file"; then
3872 if test "x$cache_file" != "x/dev/null"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3874 $as_echo "$as_me: updating cache $cache_file" >&6;}
3875 if test ! -f "$cache_file" || test -h "$cache_file"; then
3876 cat confcache >"$cache_file"
3878 case $cache_file in #(
3880 mv -f confcache "$cache_file"$$ &&
3881 mv -f "$cache_file"$$ "$cache_file" ;; #(
3883 mv -f confcache "$cache_file" ;;
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3889 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3894 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3895 # Let make expand exec_prefix.
3896 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3898 DEFS=-DHAVE_CONFIG_H
3903 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
3904 # 1. Remove the extension, and $U if already installed.
3905 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3906 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3907 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3908 # will be set to the directory where LIBOBJS objects are built.
3909 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3910 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3912 LIB@&t@OBJS=$ac_libobjs
3914 LTLIBOBJS=$ac_ltlibobjs
3918 : "${CONFIG_STATUS=./config.status}"
3920 ac_clean_files_save=$ac_clean_files
3921 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3923 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3925 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3927 # Generated by $as_me.
3928 # Run this file to recreate the current configuration.
3929 # Compiler output produced by configure, useful for debugging
3930 # configure, is in config.log if it exists.
3936 SHELL=\${CONFIG_SHELL-$SHELL}
3939 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3940 ## -------------------- ##
3941 ## M4sh Initialization. ##
3942 ## -------------------- ##
3944 # Be more Bourne compatible
3945 DUALCASE=1; export DUALCASE # for MKS sh
3946 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3949 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3950 # is contrary to our usage. Disable this feature.
3951 alias -g '${1+"$@"}'='"$@"'
3952 setopt NO_GLOB_SUBST
3954 case `(set -o) 2>/dev/null` in @%:@(
3956 set -o posix ;; @%:@(
3966 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3967 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3968 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3969 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3970 # Prefer a ksh shell builtin over an external printf program on Solaris,
3971 # but without wasting forks for bash or zsh.
3972 if test -z "$BASH_VERSION$ZSH_VERSION" \
3973 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3974 as_echo='print -r --'
3975 as_echo_n='print -rn --'
3976 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3977 as_echo='printf %s\n'
3978 as_echo_n='printf %s'
3980 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3981 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3982 as_echo_n='/usr/ucb/echo -n'
3984 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3985 as_echo_n_body='eval
3989 expr "X$arg" : "X\\(.*\\)$as_nl";
3990 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3992 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3994 export as_echo_n_body
3995 as_echo_n='sh -c $as_echo_n_body as_echo'
3998 as_echo='sh -c $as_echo_body as_echo'
4001 # The user is always right.
4002 if test "${PATH_SEPARATOR+set}" != set; then
4004 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4005 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4012 # We need space, tab and new line, in precisely that order. Quoting is
4013 # there to prevent editors from complaining about space-tab.
4014 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4015 # splitting by setting IFS to empty value.)
4018 # Find who we are. Look in the path if we contain no directory separator.
4021 *[\\/]* ) as_myself=$0 ;;
4022 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026 test -z "$as_dir" && as_dir=.
4027 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4033 # We did not find ourselves, most probably we were run as `sh COMMAND'
4034 # in which case we are not to be found in the path.
4035 if test "x$as_myself" = x; then
4038 if test ! -f "$as_myself"; then
4039 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4043 # Unset variables that we do not need and which cause bugs (e.g. in
4044 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4045 # suppresses any "Segmentation fault" message there. '((' could
4046 # trigger a bug in pdksh 5.2.14.
4047 for as_var in BASH_ENV ENV MAIL MAILPATH
4048 do eval test x\${$as_var+set} = xset \
4049 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4062 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4065 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
4066 @%:@ ----------------------------------------
4067 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4068 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4069 @%:@ script with STATUS, using 1 if that was 0.
4072 as_status=$1; test $as_status -eq 0 && as_status=1
4074 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4075 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4077 $as_echo "$as_me: error: $2" >&2
4078 as_fn_exit $as_status
4082 @%:@ as_fn_set_status STATUS
4083 @%:@ -----------------------
4084 @%:@ Set @S|@? to STATUS, without forking.
4088 } @%:@ as_fn_set_status
4090 @%:@ as_fn_exit STATUS
4091 @%:@ -----------------
4092 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4100 @%:@ as_fn_unset VAR
4101 @%:@ ---------------
4102 @%:@ Portably unset VAR.
4105 { eval $1=; unset $1;}
4107 as_unset=as_fn_unset
4108 @%:@ as_fn_append VAR VALUE
4109 @%:@ ----------------------
4110 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
4111 @%:@ advantage of any shell optimizations that allow amortized linear growth over
4112 @%:@ repeated appends, instead of the typical quadratic growth present in naive
4113 @%:@ implementations.
4114 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4115 eval 'as_fn_append ()
4126 @%:@ as_fn_arith ARG...
4127 @%:@ ------------------
4128 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
4129 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
4130 @%:@ must be portable across @S|@(()) and expr.
4131 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4132 eval 'as_fn_arith ()
4139 as_val=`expr "$@" || test $? -eq 1`
4144 if expr a : '\(a\)' >/dev/null 2>&1 &&
4145 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4151 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4152 as_basename=basename
4157 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4163 as_me=`$as_basename -- "$0" ||
4164 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4165 X"$0" : 'X\(//\)$' \| \
4166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4168 sed '/^.*\/\([^/][^/]*\)\/*$/{
4182 # Avoid depending upon Character Ranges.
4183 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4184 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4185 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4186 as_cr_digits='0123456789'
4187 as_cr_alnum=$as_cr_Letters$as_cr_digits
4189 ECHO_C= ECHO_N= ECHO_T=
4190 case `echo -n x` in @%:@(((((
4192 case `echo 'xy\c'` in
4193 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4195 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4202 rm -f conf$$ conf$$.exe conf$$.file
4203 if test -d conf$$.dir; then
4204 rm -f conf$$.dir/conf$$.file
4207 mkdir conf$$.dir 2>/dev/null
4209 if (echo >conf$$.file) 2>/dev/null; then
4210 if ln -s conf$$.file conf$$ 2>/dev/null; then
4212 # ... but there are two gotchas:
4213 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4214 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4215 # In both cases, we have to default to `cp -p'.
4216 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4218 elif ln conf$$.file conf$$ 2>/dev/null; then
4226 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4227 rmdir conf$$.dir 2>/dev/null
4232 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
4237 -*) as_dir=./$as_dir;;
4239 test -d "$as_dir" || eval $as_mkdir_p || {
4243 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4244 *) as_qdir=$as_dir;;
4246 as_dirs="'$as_qdir' $as_dirs"
4247 as_dir=`$as_dirname -- "$as_dir" ||
4248 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4249 X"$as_dir" : 'X\(//\)[^/]' \| \
4250 X"$as_dir" : 'X\(//\)$' \| \
4251 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4252 $as_echo X"$as_dir" |
4253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4270 test -d "$as_dir" && break
4272 test -z "$as_dirs" || eval "mkdir $as_dirs"
4273 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4276 } @%:@ as_fn_mkdir_p
4277 if mkdir -p . 2>/dev/null; then
4278 as_mkdir_p='mkdir -p "$as_dir"'
4280 test -d ./-p && rmdir ./-p
4284 if test -x / >/dev/null 2>&1; then
4287 if ls -dL / >/dev/null 2>&1; then
4294 if test -d "$1"; then
4300 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
4301 ???[sx]*):;;*)false;;esac;fi
4305 as_executable_p=$as_test_x
4307 # Sed expression to map a string onto a valid CPP name.
4308 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4310 # Sed expression to map a string onto a valid variable name.
4311 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4315 ## ----------------------------------- ##
4316 ## Main body of $CONFIG_STATUS script. ##
4317 ## ----------------------------------- ##
4319 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4322 # Save the log message, to keep $0 and so on meaningful, and to
4323 # report actual input values of CONFIG_FILES etc. instead of their
4324 # values after options handling.
4326 This file was extended by libsockstream $as_me 0.1, which was
4327 generated by GNU Autoconf 2.68. Invocation command line was
4329 CONFIG_FILES = $CONFIG_FILES
4330 CONFIG_HEADERS = $CONFIG_HEADERS
4331 CONFIG_LINKS = $CONFIG_LINKS
4332 CONFIG_COMMANDS = $CONFIG_COMMANDS
4335 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4340 case $ac_config_files in *"
4341 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4344 case $ac_config_headers in *"
4345 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4350 # Files that config.status was made for.
4351 config_files="$ac_config_files"
4352 config_headers="$ac_config_headers"
4356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4358 \`$as_me' instantiates files and other configuration actions
4359 from templates according to the current configuration. Unless the files
4360 and actions are specified as TAGs, all are instantiated by default.
4362 Usage: $0 [OPTION]... [TAG]...
4364 -h, --help print this help, then exit
4365 -V, --version print version number and configuration settings, then exit
4366 --config print configuration, then exit
4367 -q, --quiet, --silent
4368 do not print progress messages
4369 -d, --debug don't remove temporary files
4370 --recheck update $as_me by reconfiguring in the same conditions
4371 --file=FILE[:TEMPLATE]
4372 instantiate the configuration file FILE
4373 --header=FILE[:TEMPLATE]
4374 instantiate the configuration header FILE
4376 Configuration files:
4379 Configuration headers:
4382 Report bugs to <arjen@andromeda.nl>."
4385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4386 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4388 libsockstream config.status 0.1
4389 configured by $0, generated by GNU Autoconf 2.68,
4390 with options \\"\$ac_cs_config\\"
4392 Copyright (C) 2010 Free Software Foundation, Inc.
4393 This config.status script is free software; the Free Software Foundation
4394 gives unlimited permission to copy, distribute and modify it."
4398 test -n "\$AWK" || AWK=awk
4401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4402 # The default lists apply if the user does not specify any file.
4408 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4409 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4413 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4425 # Handling of the options.
4426 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4428 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4429 $as_echo "$ac_cs_version"; exit ;;
4430 --config | --confi | --conf | --con | --co | --c )
4431 $as_echo "$ac_cs_config"; exit ;;
4432 --debug | --debu | --deb | --de | --d | -d )
4434 --file | --fil | --fi | --f )
4437 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4438 '') as_fn_error $? "missing file argument" ;;
4440 as_fn_append CONFIG_FILES " '$ac_optarg'"
4441 ac_need_defaults=false;;
4442 --header | --heade | --head | --hea )
4445 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4447 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4448 ac_need_defaults=false;;
4450 # Conflict between --help and --header
4451 as_fn_error $? "ambiguous option: \`$1'
4452 Try \`$0 --help' for more information.";;
4453 --help | --hel | -h )
4454 $as_echo "$ac_cs_usage"; exit ;;
4455 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4456 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4460 -*) as_fn_error $? "unrecognized option: \`$1'
4461 Try \`$0 --help' for more information." ;;
4463 *) as_fn_append ac_config_targets " $1"
4464 ac_need_defaults=false ;;
4470 ac_configure_extra_args=
4472 if $ac_cs_silent; then
4474 ac_configure_extra_args="$ac_configure_extra_args --silent"
4478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4479 if \$ac_cs_recheck; then
4480 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4482 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4483 CONFIG_SHELL='$SHELL'
4489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4493 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
4494 @%:@@%:@ Running $as_me. @%:@@%:@
4500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4505 # Handling of arguments.
4506 for ac_config_target in $ac_config_targets
4508 case $ac_config_target in
4509 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4510 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4511 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4513 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4518 # If the user did not use the arguments to specify the items to instantiate,
4519 # then the envvar interface is used. Set only those that are not.
4520 # We use the long form for the default assignment because of an extremely
4521 # bizarre bug on SunOS 4.1.3.
4522 if $ac_need_defaults; then
4523 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4524 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4527 # Have a temporary directory for convenience. Make it in the build tree
4528 # simply because there is no reason against having it here, and in addition,
4529 # creating and moving files from /tmp can sometimes cause problems.
4530 # Hook for its removal unless debugging.
4531 # Note that there is a small window in which the directory will not be cleaned:
4532 # after its creation but before its name has been assigned to `$tmp'.
4536 trap 'exit_status=$?
4538 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4540 trap 'as_fn_exit 1' 1 2 13 15
4542 # Create a (secure) tmp directory for tmp files.
4545 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4549 tmp=./conf$$-$RANDOM
4550 (umask 077 && mkdir "$tmp")
4551 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4554 # Set up the scripts for CONFIG_FILES section.
4555 # No need to generate them if there are no CONFIG_FILES.
4556 # This happens for instance with `./config.status config.h'.
4557 if test -n "$CONFIG_FILES"; then
4560 ac_cr=`echo X | tr X '\015'`
4561 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4562 # But we know of no other shell where ac_cr would be empty at this
4563 # point, so we can use a bashism as a fallback.
4564 if test "x$ac_cr" = x; then
4565 eval ac_cr=\$\'\\r\'
4567 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4568 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4574 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4579 echo "cat >conf$$subs.awk <<_ACEOF" &&
4580 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4583 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4584 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4586 for ac_last_try in false false false false false :; do
4587 . ./conf$$subs.sh ||
4588 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4590 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4591 if test $ac_delim_n = $ac_delim_num; then
4593 elif $ac_last_try; then
4594 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4596 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4602 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4606 s/^/S["/; s/!.*/"]=/
4616 s/\(.\{148\}\)..*/\1/
4618 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4623 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4630 s/\(.\{148\}\)..*/\1/
4632 s/["\\]/\\&/g; s/^/"/; s/$/"/
4636 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4641 ' <conf$$subs.awk | sed '
4646 ' >>$CONFIG_STATUS || ac_write_fail=1
4647 rm -f conf$$subs.awk
4648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4650 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4651 for (key in S) S_is_set[key] = 1
4657 nfields = split(line, field, "@")
4659 len = length(field[1])
4660 for (i = 2; i < nfields; i++) {
4662 keylen = length(key)
4663 if (S_is_set[key]) {
4665 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4666 len += length(value) + length(field[++i])
4677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4678 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4679 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4682 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4683 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4686 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4687 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4688 # trailing colons and then remove the whole line if VPATH becomes empty
4689 # (actually we leave an empty line to preserve line numbers).
4690 if test "x$srcdir" = x.; then
4691 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4710 fi # test -n "$CONFIG_FILES"
4712 # Set up the scripts for CONFIG_HEADERS section.
4713 # No need to generate them if there are no CONFIG_HEADERS.
4714 # This happens for instance with `./config.status Makefile'.
4715 if test -n "$CONFIG_HEADERS"; then
4716 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4720 # Transform confdefs.h into an awk script `defines.awk', embedded as
4721 # here-document in config.status, that substitutes the proper values into
4722 # config.h.in to produce config.h.
4724 # Create a delimiter string that does not exist in confdefs.h, to ease
4725 # handling of long lines.
4727 for ac_last_try in false false :; do
4728 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4729 if test -z "$ac_tt"; then
4731 elif $ac_last_try; then
4732 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4734 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4738 # For the awk script, D is an array of macro values keyed by name,
4739 # likewise P contains macro parameters if any. Preserve backslash
4740 # newline sequences.
4742 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4744 s/.\{148\}/&'"$ac_delim"'/g
4747 s/^[ ]*#[ ]*define[ ][ ]*/ /
4754 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4756 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4760 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4761 D["\1"]=" \3\\\\\\n"\\/p
4763 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4768 s/.\{148\}/&'"$ac_delim"'/g
4773 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4776 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4778 ' <confdefs.h | sed '
4779 s/'"$ac_delim"'/"\\\
4780 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4783 for (key in D) D_is_set[key] = 1
4786 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4788 split(line, arg, " ")
4789 if (arg[1] == "#") {
4793 defundef = substr(arg[1], 2)
4796 split(mac1, mac2, "(") #)
4798 prefix = substr(line, 1, index(line, defundef) - 1)
4799 if (D_is_set[macro]) {
4800 # Preserve the white space surrounding the "#".
4801 print prefix "define", macro P[macro] D[macro]
4804 # Replace #undef with comments. This is necessary, for example,
4805 # in the case of _POSIX_SOURCE, which is predefined and required
4806 # on some systems where configure will not decide to define it.
4807 if (defundef == "undef") {
4808 print "/*", prefix defundef, macro, "*/"
4816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4817 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4818 fi # test -n "$CONFIG_HEADERS"
4821 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4826 :[FHLC]) ac_mode=$ac_tag; continue;;
4828 case $ac_mode$ac_tag in
4830 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4831 :[FH]-) ac_tag=-:-;;
4832 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4849 -) ac_f="$ac_tmp/stdin";;
4850 *) # Look for the file first in the build tree, then in the source tree
4851 # (if the path is not absolute). The absolute path cannot be DOS-style,
4852 # because $ac_f cannot contain `:'.
4856 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4858 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4860 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4861 as_fn_append ac_file_inputs " '$ac_f'"
4864 # Let's still pretend it is `configure' which instantiates (i.e., don't
4865 # use $as_me), people would be surprised to read:
4866 # /* config.h. Generated by config.status. */
4867 configure_input='Generated from '`
4868 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4870 if test x"$ac_file" != x-; then
4871 configure_input="$ac_file. $configure_input"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4873 $as_echo "$as_me: creating $ac_file" >&6;}
4875 # Neutralize special characters interpreted by sed in replacement strings.
4876 case $configure_input in #(
4877 *\&* | *\|* | *\\* )
4878 ac_sed_conf_input=`$as_echo "$configure_input" |
4879 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4880 *) ac_sed_conf_input=$configure_input;;
4884 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4890 ac_dir=`$as_dirname -- "$ac_file" ||
4891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4892 X"$ac_file" : 'X\(//\)[^/]' \| \
4893 X"$ac_file" : 'X\(//\)$' \| \
4894 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4895 $as_echo X"$ac_file" |
4896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4913 as_dir="$ac_dir"; as_fn_mkdir_p
4917 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4919 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4920 # A ".." for each directory in $ac_dir_suffix.
4921 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4922 case $ac_top_builddir_sub in
4923 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4924 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4927 ac_abs_top_builddir=$ac_pwd
4928 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4929 # for backward compatibility:
4930 ac_top_builddir=$ac_top_build_prefix
4933 .) # We are building in place.
4935 ac_top_srcdir=$ac_top_builddir_sub
4936 ac_abs_top_srcdir=$ac_pwd ;;
4937 [\\/]* | ?:[\\/]* ) # Absolute name.
4938 ac_srcdir=$srcdir$ac_dir_suffix;
4939 ac_top_srcdir=$srcdir
4940 ac_abs_top_srcdir=$srcdir ;;
4942 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4943 ac_top_srcdir=$ac_top_build_prefix$srcdir
4944 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4946 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4958 # If the template does not know about datarootdir, expand it.
4959 # FIXME: This hack should be removed a few years after 2.60.
4960 ac_datarootdir_hack=; ac_datarootdir_seen=
4971 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4972 *datarootdir*) ac_datarootdir_seen=yes;;
4973 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4975 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4978 ac_datarootdir_hack='
4979 s&@datadir@&$datadir&g
4980 s&@docdir@&$docdir&g
4981 s&@infodir@&$infodir&g
4982 s&@localedir@&$localedir&g
4983 s&@mandir@&$mandir&g
4984 s&\\\${datarootdir}&$datarootdir&g' ;;
4988 # Neutralize VPATH when `$srcdir' = `.'.
4989 # Shell code in configure.ac might set extrasub.
4990 # FIXME: do we really want to maintain this feature?
4991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4992 ac_sed_extra="$ac_vpsub
4995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4998 s|@configure_input@|$ac_sed_conf_input|;t t
4999 s&@top_builddir@&$ac_top_builddir_sub&;t t
5000 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5001 s&@srcdir@&$ac_srcdir&;t t
5002 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5003 s&@top_srcdir@&$ac_top_srcdir&;t t
5004 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5005 s&@builddir@&$ac_builddir&;t t
5006 s&@abs_builddir@&$ac_abs_builddir&;t t
5007 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5008 $ac_datarootdir_hack
5010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5011 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5014 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5015 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5016 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5018 which seems to be undefined. Please make sure it is defined" >&5
5019 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5020 which seems to be undefined. Please make sure it is defined" >&2;}
5022 rm -f "$ac_tmp/stdin"
5024 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5025 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5027 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5033 if test x"$ac_file" != x-; then
5035 $as_echo "/* $configure_input */" \
5036 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5037 } >"$ac_tmp/config.h" \
5038 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5039 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5041 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5044 mv "$ac_tmp/config.h" "$ac_file" \
5045 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5048 $as_echo "/* $configure_input */" \
5049 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5050 || as_fn_error $? "could not create -" "$LINENO" 5
5062 ac_clean_files=$ac_clean_files_save
5064 test $ac_write_fail = 0 ||
5065 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5068 # configure is writing to config.log, and then calls config.status.
5069 # config.status does its own redirection, appending to config.log.
5070 # Unfortunately, on DOS this fails, as config.log is still kept open
5071 # by configure, so config.status won't be able to write to it; its
5072 # output is simply discarded. So we exec the FD to /dev/null,
5073 # effectively closing config.log, so it can be properly (re)opened and
5074 # appended to by config.status. When coming back to configure, we
5075 # need to make the FD available again.
5076 if test "$no_create" != yes; then
5078 ac_config_status_args=
5079 test "$silent" = yes &&
5080 ac_config_status_args="$ac_config_status_args --quiet"
5082 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5084 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5085 # would make configure fail if this is the last instruction.
5086 $ac_cs_success || as_fn_exit 1
5088 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5090 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}