2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24 BIN_SH=xpg4; export BIN_SH # for Tru64
25 DUALCASE=1; export DUALCASE # for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev/null; then
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 BIN_SH=xpg4; export BIN_SH # for Tru64
248 DUALCASE=1; export DUALCASE # for MKS sh
253 CONFIG_SHELL=$as_shell
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 BIN_SH=xpg4; export BIN_SH # for Tru64
268 DUALCASE=1; export DUALCASE # for MKS sh
280 as_func_ret_success () {
283 as_func_ret_failure () {
288 if as_func_success; then
292 echo as_func_success failed.
295 if as_func_failure; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure; then
309 echo as_func_ret_failure succeeded.
312 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) || { (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 ECHO_C= ECHO_N= ECHO_T=
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
511 test -d ./-p && rmdir ./-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.file <<_ASEOF
522 if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 # Check that we are running under the correct shell.
539 SHELL=${CONFIG_SHELL-/bin/sh}
543 # Remove one level of quotation (which was required for Make).
544 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
549 if test "X$1" = X--no-reexec; then
550 # Discard the --no-reexec flag, and continue.
552 elif test "X$1" = X--fallback-echo; then
553 # Avoid inline document here, it may be left over
555 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
556 # Yippee, $echo works!
559 # Restart under the correct shell.
560 exec $SHELL "$0" --no-reexec ${1+"$@"}
563 if test "X$1" = X--fallback-echo; then
564 # used as fallback echo
572 # The HP-UX ksh and POSIX shell print the target directory to stdout
574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
576 if test -z "$ECHO"; then
577 if test "X${echo_test_string+set}" != Xset; then
578 # find a string as large as possible, as long as the shell can cope with it
579 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
580 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
581 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
582 echo_test_string=`eval $cmd` &&
583 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
590 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
591 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
592 test "X$echo_testing_string" = "X$echo_test_string"; then
595 # The Solaris, AIX, and Digital Unix default echo programs unquote
596 # backslashes. This makes it impossible to quote backslashes using
597 # echo "$something" | sed 's/\\/\\\\/g'
599 # So, first we look for a working echo in the user's PATH.
601 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
602 for dir in $PATH /usr/ucb; do
604 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
605 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
614 if test "X$echo" = Xecho; then
615 # We didn't find a better echo, so look for alternatives.
616 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
617 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
618 test "X$echo_testing_string" = "X$echo_test_string"; then
619 # This shell has a builtin print -r that does the trick.
621 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
622 test "X$CONFIG_SHELL" != X/bin/ksh; then
623 # If we have ksh, try running configure again with it.
624 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
625 export ORIGINAL_CONFIG_SHELL
626 CONFIG_SHELL=/bin/ksh
628 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
632 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
633 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
637 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
643 SHELL="$CONFIG_SHELL"
645 echo="$CONFIG_SHELL $0 --fallback-echo"
646 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
647 test "X$echo_testing_string" = 'X\t' &&
648 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
650 echo="$CONFIG_SHELL $0 --fallback-echo"
652 # maybe with a smaller string...
655 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
656 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
663 if test "$prev" != 'sed 50q "$0"'; then
664 echo_test_string=`eval $prev`
665 export echo_test_string
666 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
668 # Oops. We lost completely, so just stick with echo.
677 # Copy echo and quote the copy suitably for passing to libtool from
678 # the Makefile, instead of quoting the original, which is used later.
680 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
681 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
687 tagnames=${tagnames+${tagnames},}CXX
689 tagnames=${tagnames+${tagnames},}F77
691 exec 7<&0 </dev/null 6>&1
694 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
695 # so uname gets run too.
696 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
701 ac_default_prefix=/usr/local
703 ac_config_libobj_dir=.
709 SHELL=${CONFIG_SHELL-/bin/sh}
711 # Identity of this package.
718 # Factoring default headers for most tests.
719 ac_includes_default="\
722 # include <sys/types.h>
725 # include <sys/stat.h>
736 # if !STDC_HEADERS && HAVE_MEMORY_H
742 # include <strings.h>
745 # include <inttypes.h>
763 program_transform_name
804 INSTALL_STRIP_PROGRAM
864 ac_precious_vars='build_alias
880 # Initialize some variables set by options.
882 ac_init_version=false
883 # The variables have the same names as the options, with
884 # dashes changed to underlines.
892 program_transform_name=s,x,x,
900 # Installation directory options.
901 # These are left unexpanded so users can "make install exec_prefix=/foo"
902 # and all the variables that are supposed to be based on exec_prefix
903 # by default will actually change.
904 # Use braces instead of parens because sh, perl, etc. also accept them.
905 # (The list follows the same order as the GNU Coding Standards.)
906 bindir='${exec_prefix}/bin'
907 sbindir='${exec_prefix}/sbin'
908 libexecdir='${exec_prefix}/libexec'
909 datarootdir='${prefix}/share'
910 datadir='${datarootdir}'
911 sysconfdir='${prefix}/etc'
912 sharedstatedir='${prefix}/com'
913 localstatedir='${prefix}/var'
914 includedir='${prefix}/include'
915 oldincludedir='/usr/include'
916 docdir='${datarootdir}/doc/${PACKAGE}'
917 infodir='${datarootdir}/info'
922 libdir='${exec_prefix}/lib'
923 localedir='${datarootdir}/locale'
924 mandir='${datarootdir}/man'
930 # If the previous option needs an argument, assign it.
931 if test -n "$ac_prev"; then
932 eval $ac_prev=\$ac_option
938 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
942 # Accept the important Cygnus configure options, so we can diagnose typos.
944 case $ac_dashdash$ac_option in
948 -bindir | --bindir | --bindi | --bind | --bin | --bi)
950 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
953 -build | --build | --buil | --bui | --bu)
954 ac_prev=build_alias ;;
955 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
956 build_alias=$ac_optarg ;;
958 -cache-file | --cache-file | --cache-fil | --cache-fi \
959 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
960 ac_prev=cache_file ;;
961 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
962 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
963 cache_file=$ac_optarg ;;
966 cache_file=config.cache ;;
968 -datadir | --datadir | --datadi | --datad)
970 -datadir=* | --datadir=* | --datadi=* | --datad=*)
971 datadir=$ac_optarg ;;
973 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
974 | --dataroo | --dataro | --datar)
975 ac_prev=datarootdir ;;
976 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
977 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
978 datarootdir=$ac_optarg ;;
980 -disable-* | --disable-*)
981 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
984 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
985 { (exit 1); exit 1; }; }
986 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
987 eval enable_$ac_feature=no ;;
989 -docdir | --docdir | --docdi | --doc | --do)
991 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
994 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
996 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
999 -enable-* | --enable-*)
1000 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1003 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1004 { (exit 1); exit 1; }; }
1005 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1006 eval enable_$ac_feature=\$ac_optarg ;;
1008 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010 | --exec | --exe | --ex)
1011 ac_prev=exec_prefix ;;
1012 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014 | --exec=* | --exe=* | --ex=*)
1015 exec_prefix=$ac_optarg ;;
1017 -gas | --gas | --ga | --g)
1018 # Obsolete; use --with-gas.
1021 -help | --help | --hel | --he | -h)
1022 ac_init_help=long ;;
1023 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024 ac_init_help=recursive ;;
1025 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026 ac_init_help=short ;;
1028 -host | --host | --hos | --ho)
1029 ac_prev=host_alias ;;
1030 -host=* | --host=* | --hos=* | --ho=*)
1031 host_alias=$ac_optarg ;;
1033 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1035 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1037 htmldir=$ac_optarg ;;
1039 -includedir | --includedir | --includedi | --included | --include \
1040 | --includ | --inclu | --incl | --inc)
1041 ac_prev=includedir ;;
1042 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043 | --includ=* | --inclu=* | --incl=* | --inc=*)
1044 includedir=$ac_optarg ;;
1046 -infodir | --infodir | --infodi | --infod | --info | --inf)
1048 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049 infodir=$ac_optarg ;;
1051 -libdir | --libdir | --libdi | --libd)
1053 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054 libdir=$ac_optarg ;;
1056 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057 | --libexe | --libex | --libe)
1058 ac_prev=libexecdir ;;
1059 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060 | --libexe=* | --libex=* | --libe=*)
1061 libexecdir=$ac_optarg ;;
1063 -localedir | --localedir | --localedi | --localed | --locale)
1064 ac_prev=localedir ;;
1065 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066 localedir=$ac_optarg ;;
1068 -localstatedir | --localstatedir | --localstatedi | --localstated \
1069 | --localstate | --localstat | --localsta | --localst | --locals)
1070 ac_prev=localstatedir ;;
1071 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073 localstatedir=$ac_optarg ;;
1075 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1077 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078 mandir=$ac_optarg ;;
1080 -nfp | --nfp | --nf)
1081 # Obsolete; use --without-fp.
1084 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085 | --no-cr | --no-c | -n)
1088 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1092 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094 | --oldin | --oldi | --old | --ol | --o)
1095 ac_prev=oldincludedir ;;
1096 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099 oldincludedir=$ac_optarg ;;
1101 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1103 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104 prefix=$ac_optarg ;;
1106 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107 | --program-pre | --program-pr | --program-p)
1108 ac_prev=program_prefix ;;
1109 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111 program_prefix=$ac_optarg ;;
1113 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114 | --program-suf | --program-su | --program-s)
1115 ac_prev=program_suffix ;;
1116 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118 program_suffix=$ac_optarg ;;
1120 -program-transform-name | --program-transform-name \
1121 | --program-transform-nam | --program-transform-na \
1122 | --program-transform-n | --program-transform- \
1123 | --program-transform | --program-transfor \
1124 | --program-transfo | --program-transf \
1125 | --program-trans | --program-tran \
1126 | --progr-tra | --program-tr | --program-t)
1127 ac_prev=program_transform_name ;;
1128 -program-transform-name=* | --program-transform-name=* \
1129 | --program-transform-nam=* | --program-transform-na=* \
1130 | --program-transform-n=* | --program-transform-=* \
1131 | --program-transform=* | --program-transfor=* \
1132 | --program-transfo=* | --program-transf=* \
1133 | --program-trans=* | --program-tran=* \
1134 | --progr-tra=* | --program-tr=* | --program-t=*)
1135 program_transform_name=$ac_optarg ;;
1137 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1139 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140 pdfdir=$ac_optarg ;;
1142 -psdir | --psdir | --psdi | --psd | --ps)
1144 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148 | -silent | --silent | --silen | --sile | --sil)
1151 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1153 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1155 sbindir=$ac_optarg ;;
1157 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159 | --sharedst | --shareds | --shared | --share | --shar \
1161 ac_prev=sharedstatedir ;;
1162 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1166 sharedstatedir=$ac_optarg ;;
1168 -site | --site | --sit)
1170 -site=* | --site=* | --sit=*)
1173 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1175 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176 srcdir=$ac_optarg ;;
1178 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179 | --syscon | --sysco | --sysc | --sys | --sy)
1180 ac_prev=sysconfdir ;;
1181 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183 sysconfdir=$ac_optarg ;;
1185 -target | --target | --targe | --targ | --tar | --ta | --t)
1186 ac_prev=target_alias ;;
1187 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188 target_alias=$ac_optarg ;;
1190 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193 -version | --version | --versio | --versi | --vers | -V)
1194 ac_init_version=: ;;
1197 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1200 { echo "$as_me: error: invalid package name: $ac_package" >&2
1201 { (exit 1); exit 1; }; }
1202 ac_package=`echo $ac_package| sed 's/-/_/g'`
1203 eval with_$ac_package=\$ac_optarg ;;
1205 -without-* | --without-*)
1206 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1209 { echo "$as_me: error: invalid package name: $ac_package" >&2
1210 { (exit 1); exit 1; }; }
1211 ac_package=`echo $ac_package | sed 's/-/_/g'`
1212 eval with_$ac_package=no ;;
1215 # Obsolete; use --with-x.
1218 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1219 | --x-incl | --x-inc | --x-in | --x-i)
1220 ac_prev=x_includes ;;
1221 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1222 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1223 x_includes=$ac_optarg ;;
1225 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1226 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1227 ac_prev=x_libraries ;;
1228 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1229 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1230 x_libraries=$ac_optarg ;;
1232 -*) { echo "$as_me: error: unrecognized option: $ac_option
1233 Try \`$0 --help' for more information." >&2
1234 { (exit 1); exit 1; }; }
1238 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1241 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1242 { (exit 1); exit 1; }; }
1243 eval $ac_envvar=\$ac_optarg
1244 export $ac_envvar ;;
1247 # FIXME: should be removed in autoconf 3.0.
1248 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1249 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1250 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1251 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1257 if test -n "$ac_prev"; then
1258 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1259 { echo "$as_me: error: missing argument to $ac_option" >&2
1260 { (exit 1); exit 1; }; }
1263 # Be sure to have absolute directory names.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val=\$$ac_var
1271 [\\/$]* | ?:[\\/]* ) continue;;
1272 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1274 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1275 { (exit 1); exit 1; }; }
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x; then
1287 if test "x$build_alias" = x; then
1288 cross_compiling=maybe
1289 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used." >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299 test "$silent" = yes && exec 6>/dev/null
1302 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di=`ls -di .` &&
1304 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1305 { echo "$as_me: error: Working directory cannot be determined" >&2
1306 { (exit 1); exit 1; }; }
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 { echo "$as_me: error: pwd does not report name of working directory" >&2
1309 { (exit 1); exit 1; }; }
1312 # Find the source files, if location was not specified.
1313 if test -z "$srcdir"; then
1314 ac_srcdir_defaulted=yes
1315 # Try the directory containing this script, then the parent directory.
1316 ac_confdir=`$as_dirname -- "$0" ||
1317 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1318 X"$0" : 'X\(//\)[^/]' \| \
1319 X"$0" : 'X\(//\)$' \| \
1320 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1344 ac_srcdir_defaulted=no
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1348 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1349 { (exit 1); exit 1; }; }
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1354 { (exit 1); exit 1; }; }
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1374 # Report the --help message.
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1380 \`configure' configures this package to adapt to many kinds of systems.
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1387 Defaults for the options are specified in brackets.
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1411 For better control, use the options below.
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1438 --program-prefix=PREFIX prepend PREFIX to installed program names
1439 --program-suffix=SUFFIX append SUFFIX to installed program names
1440 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1443 --build=BUILD configure for building on BUILD [guessed]
1444 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1448 if test -n "$ac_init_help"; then
1453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1455 --disable-dependency-tracking speeds up one-time build
1456 --enable-dependency-tracking do not reject slow dependency extractors
1457 --enable-shared[=PKGS] build shared libraries [default=yes]
1458 --enable-static[=PKGS] build static libraries [default=yes]
1459 --enable-fast-install[=PKGS]
1460 optimize for fast installation [default=yes]
1461 --disable-libtool-lock avoid locking (might break parallel builds)
1464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1466 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1467 --with-pic try to use only PIC/non-PIC objects [default=use
1469 --with-tags[=TAGS] include additional configurations [automatic]
1471 Some influential environment variables:
1472 CC C compiler command
1473 CFLAGS C compiler flags
1474 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1475 nonstandard directory <lib dir>
1476 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1477 you have headers in a nonstandard directory <include dir>
1479 CXX C++ compiler command
1480 CXXFLAGS C++ compiler flags
1481 CXXCPP C++ preprocessor
1482 F77 Fortran 77 compiler command
1483 FFLAGS Fortran 77 compiler flags
1485 Use these variables to override the choices made by `configure' or to help
1486 it to find libraries and programs with nonstandard names/locations.
1492 if test "$ac_init_help" = "recursive"; then
1493 # If there are subdirs, report their specific --help.
1494 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1495 test -d "$ac_dir" || continue
1499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1502 # A ".." for each directory in $ac_dir_suffix.
1503 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1504 case $ac_top_builddir_sub in
1505 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1506 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1509 ac_abs_top_builddir=$ac_pwd
1510 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1511 # for backward compatibility:
1512 ac_top_builddir=$ac_top_build_prefix
1515 .) # We are building in place.
1517 ac_top_srcdir=$ac_top_builddir_sub
1518 ac_abs_top_srcdir=$ac_pwd ;;
1519 [\\/]* | ?:[\\/]* ) # Absolute name.
1520 ac_srcdir=$srcdir$ac_dir_suffix;
1521 ac_top_srcdir=$srcdir
1522 ac_abs_top_srcdir=$srcdir ;;
1524 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1525 ac_top_srcdir=$ac_top_build_prefix$srcdir
1526 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1530 cd "$ac_dir" || { ac_status=$?; continue; }
1531 # Check for guested configure.
1532 if test -f "$ac_srcdir/configure.gnu"; then
1534 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1535 elif test -f "$ac_srcdir/configure"; then
1537 $SHELL "$ac_srcdir/configure" --help=recursive
1539 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1541 cd "$ac_pwd" || { ac_status=$?; break; }
1545 test -n "$ac_init_help" && exit $ac_status
1546 if $ac_init_version; then
1549 generated by GNU Autoconf 2.60
1551 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1552 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1553 This configure script is free software; the Free Software Foundation
1554 gives unlimited permission to copy, distribute and modify it.
1558 cat >config.log <<_ACEOF
1559 This file contains any messages produced by compilers while
1560 running configure, to aid debugging if configure makes a mistake.
1562 It was created by $as_me, which was
1563 generated by GNU Autoconf 2.60. Invocation command line was
1575 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1576 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1577 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1578 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1579 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1581 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1582 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1584 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1585 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1586 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1587 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1588 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1589 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1590 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1598 test -z "$as_dir" && as_dir=.
1599 echo "PATH: $as_dir"
1615 # Keep a trace of the command line.
1616 # Strip out --no-create and --no-recursion so they do not pile up.
1617 # Strip out --silent because we don't want to record it for future runs.
1618 # Also quote any args containing shell meta-characters.
1619 # Make two passes to allow for proper duplicate-argument suppression.
1623 ac_must_keep_next=false
1629 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1631 | -silent | --silent | --silen | --sile | --sil)
1634 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1637 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1639 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1640 if test $ac_must_keep_next = true; then
1641 ac_must_keep_next=false # Got value, back to normal.
1644 *=* | --config-cache | -C | -disable-* | --disable-* \
1645 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1646 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1647 | -with-* | --with-* | -without-* | --without-* | --x)
1648 case "$ac_configure_args0 " in
1649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1652 -* ) ac_must_keep_next=true ;;
1655 ac_configure_args="$ac_configure_args '$ac_arg'"
1660 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1661 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1663 # When interrupted or exit'd, cleanup temporary files, and complete
1664 # config.log. We remove comments because anyway the quotes in there
1665 # would cause problems or look ugly.
1666 # WARNING: Use '\'' to represent an apostrophe within the trap.
1667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1668 trap 'exit_status=$?
1669 # Save into config.log some information that might help in debugging.
1674 ## ---------------- ##
1675 ## Cache variables. ##
1676 ## ---------------- ##
1679 # The following way of writing the cache mishandles newlines in values,
1681 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1682 eval ac_val=\$$ac_var
1686 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1687 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1690 _ | IFS | as_nl) ;; #(
1691 *) $as_unset $ac_var ;;
1696 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1697 *${as_nl}ac_space=\ *)
1699 "s/'\''/'\''\\\\'\'''\''/g;
1700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1703 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1711 ## ----------------- ##
1712 ## Output variables. ##
1713 ## ----------------- ##
1716 for ac_var in $ac_subst_vars
1718 eval ac_val=\$$ac_var
1720 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1722 echo "$ac_var='\''$ac_val'\''"
1726 if test -n "$ac_subst_files"; then
1728 ## ------------------- ##
1729 ## File substitutions. ##
1730 ## ------------------- ##
1733 for ac_var in $ac_subst_files
1735 eval ac_val=\$$ac_var
1737 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1739 echo "$ac_var='\''$ac_val'\''"
1744 if test -s confdefs.h; then
1754 test "$ac_signal" != 0 &&
1755 echo "$as_me: caught signal $ac_signal"
1756 echo "$as_me: exit $exit_status"
1758 rm -f core *.core core.conftest.* &&
1759 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1762 for ac_signal in 1 2 13 15; do
1763 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1767 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1768 rm -f -r conftest* confdefs.h
1770 # Predefined preprocessor variables.
1772 cat >>confdefs.h <<_ACEOF
1773 #define PACKAGE_NAME "$PACKAGE_NAME"
1777 cat >>confdefs.h <<_ACEOF
1778 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1782 cat >>confdefs.h <<_ACEOF
1783 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1787 cat >>confdefs.h <<_ACEOF
1788 #define PACKAGE_STRING "$PACKAGE_STRING"
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1797 # Let the site file select an alternate cache file if it wants to.
1798 # Prefer explicitly selected file to automatically selected ones.
1799 if test -n "$CONFIG_SITE"; then
1800 set x "$CONFIG_SITE"
1801 elif test "x$prefix" != xNONE; then
1802 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1804 set x "$ac_default_prefix/share/config.site" \
1805 "$ac_default_prefix/etc/config.site"
1810 if test -r "$ac_site_file"; then
1811 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1812 echo "$as_me: loading site script $ac_site_file" >&6;}
1813 sed 's/^/| /' "$ac_site_file" >&5
1818 if test -r "$cache_file"; then
1819 # Some versions of bash will fail to source /dev/null (special
1820 # files actually), so we avoid doing that.
1821 if test -f "$cache_file"; then
1822 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1823 echo "$as_me: loading cache $cache_file" >&6;}
1825 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1826 *) . "./$cache_file";;
1830 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1831 echo "$as_me: creating cache $cache_file" >&6;}
1835 # Check that the precious variables saved in the cache have kept the same
1837 ac_cache_corrupted=false
1838 for ac_var in $ac_precious_vars; do
1839 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1840 eval ac_new_set=\$ac_env_${ac_var}_set
1841 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1842 eval ac_new_val=\$ac_env_${ac_var}_value
1843 case $ac_old_set,$ac_new_set in
1845 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1846 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1847 ac_cache_corrupted=: ;;
1849 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1850 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1851 ac_cache_corrupted=: ;;
1854 if test "x$ac_old_val" != "x$ac_new_val"; then
1855 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1856 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1857 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1858 echo "$as_me: former value: $ac_old_val" >&2;}
1859 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1860 echo "$as_me: current value: $ac_new_val" >&2;}
1861 ac_cache_corrupted=:
1864 # Pass precious variables to config.status.
1865 if test "$ac_new_set" = set; then
1867 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1868 *) ac_arg=$ac_var=$ac_new_val ;;
1870 case " $ac_configure_args " in
1871 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1872 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1876 if $ac_cache_corrupted; then
1877 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1878 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1879 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1880 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1881 { (exit 1); exit 1; }; }
1901 ac_cpp='$CPP $CPPFLAGS'
1902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1907 am__api_version="1.9"
1909 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1910 if test -f "$ac_dir/install-sh"; then
1912 ac_install_sh="$ac_aux_dir/install-sh -c"
1914 elif test -f "$ac_dir/install.sh"; then
1916 ac_install_sh="$ac_aux_dir/install.sh -c"
1918 elif test -f "$ac_dir/shtool"; then
1920 ac_install_sh="$ac_aux_dir/shtool install -c"
1924 if test -z "$ac_aux_dir"; then
1925 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1926 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1927 { (exit 1); exit 1; }; }
1930 # These three variables are undocumented and unsupported,
1931 # and are intended to be withdrawn in a future Autoconf release.
1932 # They can cause serious problems if a builder's source tree is in a directory
1933 # whose full name contains unusual characters.
1934 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1935 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1936 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1939 # Find a good install program. We prefer a C program (faster),
1940 # so one script is as good as another. But avoid the broken or
1941 # incompatible versions:
1942 # SysV /etc/install, /usr/sbin/install
1943 # SunOS /usr/etc/install
1944 # IRIX /sbin/install
1946 # AmigaOS /C/install, which installs bootblocks on floppy discs
1947 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1948 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1949 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1950 # OS/2's system install, which has a completely different semantic
1951 # ./install, which can be erroneously created by make from ./install.sh.
1952 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1953 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1954 if test -z "$INSTALL"; then
1955 if test "${ac_cv_path_install+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir=.
1963 # Account for people who put trailing slashes in PATH elements.
1965 ./ | .// | /cC/* | \
1966 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1967 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1970 # OSF1 and SCO ODT 3.0 have their own names for install.
1971 # Don't use installbsd from OSF since it installs stuff as root
1973 for ac_prog in ginstall scoinst install; do
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1976 if test $ac_prog = install &&
1977 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1978 # AIX install. It has an incompatible calling convention.
1980 elif test $ac_prog = install &&
1981 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1982 # program-specific install script used by HP pwplus--don't use.
1985 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1998 if test "${ac_cv_path_install+set}" = set; then
1999 INSTALL=$ac_cv_path_install
2001 # As a last resort, use the slow shell script. Don't cache a
2002 # value for INSTALL within a source directory, because that will
2003 # break other packages using the cache if that directory is
2004 # removed, or if the value is a relative name.
2005 INSTALL=$ac_install_sh
2008 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2009 echo "${ECHO_T}$INSTALL" >&6; }
2011 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2012 # It thinks the first close brace ends the variable substitution.
2013 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2015 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2017 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2019 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2020 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2023 echo timestamp > conftest.file
2024 # Do `set' in a subshell so we don't clobber the current shell's
2025 # arguments. Must try -L first in case configure is actually a
2026 # symlink; some systems play weird games with the mod time of symlinks
2027 # (eg FreeBSD returns the mod time of the symlink's containing
2030 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2031 if test "$*" = "X"; then
2033 set X `ls -t $srcdir/configure conftest.file`
2036 if test "$*" != "X $srcdir/configure conftest.file" \
2037 && test "$*" != "X conftest.file $srcdir/configure"; then
2039 # If neither matched, then we have a broken ls. This can happen
2040 # if, for instance, CONFIG_SHELL is bash and it inherits a
2041 # broken ls alias from the environment. This has actually
2042 # happened. Such a system could not be considered "sane".
2043 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2044 alias in your environment" >&5
2045 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2046 alias in your environment" >&2;}
2047 { (exit 1); exit 1; }; }
2050 test "$2" = conftest.file
2056 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2057 Check your system clock" >&5
2058 echo "$as_me: error: newly created file is older than distributed files!
2059 Check your system clock" >&2;}
2060 { (exit 1); exit 1; }; }
2062 { echo "$as_me:$LINENO: result: yes" >&5
2063 echo "${ECHO_T}yes" >&6; }
2064 test "$program_prefix" != NONE &&
2065 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2066 # Use a double $ so make ignores it.
2067 test "$program_suffix" != NONE &&
2068 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2069 # Double any \ or $. echo might interpret backslashes.
2070 # By default was `s,x,x', remove it if useless.
2071 cat <<\_ACEOF >conftest.sed
2072 s/[\\$]/&&/g;s/;s,x,x,$//
2074 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2077 # expand $ac_aux_dir to an absolute path
2078 am_aux_dir=`cd $ac_aux_dir && pwd`
2080 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2081 # Use eval to expand $SHELL
2082 if eval "$MISSING --run true"; then
2083 am_missing_run="$MISSING --run "
2086 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2087 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2090 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2091 # We used to keeping the `.' as first argument, in order to
2092 # allow $(mkdir_p) to be used without argument. As in
2093 # $(mkdir_p) $(somedir)
2094 # where $(somedir) is conditionally defined. However this is wrong
2096 # 1. if the package is installed by a user who cannot write `.'
2097 # make install will fail,
2098 # 2. the above comment should most certainly read
2099 # $(mkdir_p) $(DESTDIR)$(somedir)
2100 # so it does not work when $(somedir) is undefined and
2101 # $(DESTDIR) is not.
2102 # To support the latter case, we have to write
2103 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2104 # so the `.' trick is pointless.
2105 mkdir_p='mkdir -p --'
2107 # On NextStep and OpenStep, the `mkdir' command does not
2108 # recognize any option. It will interpret all options as
2109 # directories to create, and then abort because `.' already
2111 for d in ./-p ./--version;
2113 test -d $d && rmdir $d
2115 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2116 if test -f "$ac_aux_dir/mkinstalldirs"; then
2117 mkdir_p='$(mkinstalldirs)'
2119 mkdir_p='$(install_sh) -d'
2123 for ac_prog in gawk mawk nawk awk
2125 # Extract the first word of "$ac_prog", so it can be a program name with args.
2126 set dummy $ac_prog; ac_word=$2
2127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2129 if test "${ac_cv_prog_AWK+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 if test -n "$AWK"; then
2133 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2142 ac_cv_prog_AWK="$ac_prog"
2143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 if test -n "$AWK"; then
2154 { echo "$as_me:$LINENO: result: $AWK" >&5
2155 echo "${ECHO_T}$AWK" >&6; }
2157 { echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6; }
2162 test -n "$AWK" && break
2165 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2166 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2167 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2168 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 cat >conftest.make <<\_ACEOF
2174 @echo '@@@%%%=$(MAKE)=@@@%%%'
2176 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2177 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2179 eval ac_cv_prog_make_${ac_make}_set=yes;;
2181 eval ac_cv_prog_make_${ac_make}_set=no;;
2185 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2186 { echo "$as_me:$LINENO: result: yes" >&5
2187 echo "${ECHO_T}yes" >&6; }
2190 { echo "$as_me:$LINENO: result: no" >&5
2191 echo "${ECHO_T}no" >&6; }
2192 SET_MAKE="MAKE=${MAKE-make}"
2195 rm -rf .tst 2>/dev/null
2196 mkdir .tst 2>/dev/null
2197 if test -d .tst; then
2202 rmdir .tst 2>/dev/null
2204 # test to see if srcdir already configured
2205 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2206 test -f $srcdir/config.status; then
2207 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2208 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2209 { (exit 1); exit 1; }; }
2212 # test whether we have cygpath
2213 if test -z "$CYGPATH_W"; then
2214 if (cygpath --version) >/dev/null 2>/dev/null; then
2215 CYGPATH_W='cygpath -w'
2222 # Define the identity of the package.
2224 VERSION=2.4.1-SNAP-0910052249
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE "$PACKAGE"
2232 cat >>confdefs.h <<_ACEOF
2233 #define VERSION "$VERSION"
2236 # Some tools Automake needs.
2238 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2241 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2244 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2247 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2250 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2252 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2254 # Installed binaries are usually stripped using `strip' when the user
2255 # run `make install-strip'. However `strip' might not be the right
2256 # tool to use in cross-compilation environments, therefore Automake
2257 # will honor the `STRIP' environment variable to overrule this program.
2258 if test "$cross_compiling" != no; then
2259 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2261 set dummy ${ac_tool_prefix}strip; ac_word=$2
2262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2264 if test "${ac_cv_prog_STRIP+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 if test -n "$STRIP"; then
2268 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 STRIP=$ac_cv_prog_STRIP
2288 if test -n "$STRIP"; then
2289 { echo "$as_me:$LINENO: result: $STRIP" >&5
2290 echo "${ECHO_T}$STRIP" >&6; }
2292 { echo "$as_me:$LINENO: result: no" >&5
2293 echo "${ECHO_T}no" >&6; }
2298 if test -z "$ac_cv_prog_STRIP"; then
2300 # Extract the first word of "strip", so it can be a program name with args.
2301 set dummy strip; ac_word=$2
2302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2304 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2305 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 if test -n "$ac_ct_STRIP"; then
2308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 test -z "$as_dir" && as_dir=.
2315 for ac_exec_ext in '' $ac_executable_extensions; do
2316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2317 ac_cv_prog_ac_ct_STRIP="strip"
2318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2328 if test -n "$ac_ct_STRIP"; then
2329 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2330 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2332 { echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6; }
2336 if test "x$ac_ct_STRIP" = x; then
2339 case $cross_compiling:$ac_tool_warned in
2341 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2342 whose name does not start with the host triplet. If you think this
2343 configuration is useful to you, please write to autoconf@gnu.org." >&5
2344 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2345 whose name does not start with the host triplet. If you think this
2346 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2347 ac_tool_warned=yes ;;
2352 STRIP="$ac_cv_prog_STRIP"
2356 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2358 # We need awk for the "check" target. The system "awk" is bad on
2360 # Always define AMTAR for backward compatibility.
2362 AMTAR=${AMTAR-"${am_missing_run}tar"}
2364 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2371 ac_config_headers="$ac_config_headers fcgi_config.h"
2375 ac_cpp='$CPP $CPPFLAGS'
2376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2379 if test -n "$ac_tool_prefix"; then
2380 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2381 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2384 if test "${ac_cv_prog_CC+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 if test -n "$CC"; then
2388 ac_cv_prog_CC="$CC" # Let the user override the test.
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir=.
2395 for ac_exec_ext in '' $ac_executable_extensions; do
2396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2397 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 if test -n "$CC"; then
2409 { echo "$as_me:$LINENO: result: $CC" >&5
2410 echo "${ECHO_T}$CC" >&6; }
2412 { echo "$as_me:$LINENO: result: no" >&5
2413 echo "${ECHO_T}no" >&6; }
2418 if test -z "$ac_cv_prog_CC"; then
2420 # Extract the first word of "gcc", so it can be a program name with args.
2421 set dummy gcc; ac_word=$2
2422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$ac_ct_CC"; then
2428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir=.
2435 for ac_exec_ext in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2437 ac_cv_prog_ac_ct_CC="gcc"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2448 if test -n "$ac_ct_CC"; then
2449 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2450 echo "${ECHO_T}$ac_ct_CC" >&6; }
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
2456 if test "x$ac_ct_CC" = x; then
2459 case $cross_compiling:$ac_tool_warned in
2461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2462 whose name does not start with the host triplet. If you think this
2463 configuration is useful to you, please write to autoconf@gnu.org." >&5
2464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2465 whose name does not start with the host triplet. If you think this
2466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2467 ac_tool_warned=yes ;;
2475 if test -z "$CC"; then
2476 if test -n "$ac_tool_prefix"; then
2477 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2478 set dummy ${ac_tool_prefix}cc; ac_word=$2
2479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2481 if test "${ac_cv_prog_CC+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 if test -n "$CC"; then
2485 ac_cv_prog_CC="$CC" # Let the user override the test.
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir=.
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_CC="${ac_tool_prefix}cc"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 if test -n "$CC"; then
2506 { echo "$as_me:$LINENO: result: $CC" >&5
2507 echo "${ECHO_T}$CC" >&6; }
2509 { echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6; }
2516 if test -z "$CC"; then
2517 # Extract the first word of "cc", so it can be a program name with args.
2518 set dummy cc; ac_word=$2
2519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2521 if test "${ac_cv_prog_CC+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 if test -n "$CC"; then
2525 ac_cv_prog_CC="$CC" # Let the user override the test.
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2536 ac_prog_rejected=yes
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 if test $ac_prog_rejected = yes; then
2548 # We found a bogon in the path, so make sure we never use it.
2549 set dummy $ac_cv_prog_CC
2551 if test $# != 0; then
2552 # We chose a different compiler from the bogus one.
2553 # However, it has the same basename, so the bogon will be chosen
2554 # first if we set CC to just the basename; use the full file name.
2556 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2562 if test -n "$CC"; then
2563 { echo "$as_me:$LINENO: result: $CC" >&5
2564 echo "${ECHO_T}$CC" >&6; }
2566 { echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6; }
2572 if test -z "$CC"; then
2573 if test -n "$ac_tool_prefix"; then
2574 for ac_prog in cl.exe
2576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2580 if test "${ac_cv_prog_CC+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 if test -n "$CC"; then
2584 ac_cv_prog_CC="$CC" # Let the user override the test.
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 if test -n "$CC"; then
2605 { echo "$as_me:$LINENO: result: $CC" >&5
2606 echo "${ECHO_T}$CC" >&6; }
2608 { echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6; }
2613 test -n "$CC" && break
2616 if test -z "$CC"; then
2618 for ac_prog in cl.exe
2620 # Extract the first word of "$ac_prog", so it can be a program name with args.
2621 set dummy $ac_prog; ac_word=$2
2622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 if test -n "$ac_ct_CC"; then
2628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_ac_ct_CC="$ac_prog"
2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2648 if test -n "$ac_ct_CC"; then
2649 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2650 echo "${ECHO_T}$ac_ct_CC" >&6; }
2652 { echo "$as_me:$LINENO: result: no" >&5
2653 echo "${ECHO_T}no" >&6; }
2657 test -n "$ac_ct_CC" && break
2660 if test "x$ac_ct_CC" = x; then
2663 case $cross_compiling:$ac_tool_warned in
2665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2666 whose name does not start with the host triplet. If you think this
2667 configuration is useful to you, please write to autoconf@gnu.org." >&5
2668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2669 whose name does not start with the host triplet. If you think this
2670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2671 ac_tool_warned=yes ;;
2680 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2681 See \`config.log' for more details." >&5
2682 echo "$as_me: error: no acceptable C compiler found in \$PATH
2683 See \`config.log' for more details." >&2;}
2684 { (exit 1); exit 1; }; }
2686 # Provide some information about the compiler.
2687 echo "$as_me:$LINENO: checking for C compiler version" >&5
2688 ac_compiler=`set X $ac_compile; echo $2`
2689 { (ac_try="$ac_compiler --version >&5"
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2695 (eval "$ac_compiler --version >&5") 2>&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }
2699 { (ac_try="$ac_compiler -v >&5"
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2705 (eval "$ac_compiler -v >&5") 2>&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }
2709 { (ac_try="$ac_compiler -V >&5"
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compiler -V >&5") 2>&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }
2720 cat >conftest.$ac_ext <<_ACEOF
2723 cat confdefs.h >>conftest.$ac_ext
2724 cat >>conftest.$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2735 ac_clean_files_save=$ac_clean_files
2736 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2737 # Try to create an executable without -o first, disregard a.out.
2738 # It will help us diagnose broken compilers, and finding out an intuition
2740 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2741 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2742 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2744 # List of possible output files, starting from the most likely.
2745 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2746 # only as a last resort. b.out is created by i960 compilers.
2747 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2749 # The IRIX 6 linker writes into existing files which may not be
2750 # executable, retaining their permissions. Remove them first so a
2751 # subsequent execution test works.
2753 for ac_file in $ac_files
2756 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2757 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2762 if { (ac_try="$ac_link_default"
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2768 (eval "$ac_link_default") 2>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; then
2772 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2773 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2774 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2775 # so that the user can short-circuit this test for compilers unknown to
2777 for ac_file in $ac_files
2779 test -f "$ac_file" || continue
2781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2784 # We found the default executable, but exeext='' is most
2788 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2790 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2792 # We set ac_cv_exeext here because the later test for it is not
2793 # safe: cross compilers may not add the suffix if given an `-o'
2794 # argument, so we may need to know it at that point already.
2795 # Even if this section looks crufty: it has the advantage of
2802 test "$ac_cv_exeext" = no && ac_cv_exeext=
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2808 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2809 See \`config.log' for more details." >&5
2810 echo "$as_me: error: C compiler cannot create executables
2811 See \`config.log' for more details." >&2;}
2812 { (exit 77); exit 77; }; }
2815 ac_exeext=$ac_cv_exeext
2816 { echo "$as_me:$LINENO: result: $ac_file" >&5
2817 echo "${ECHO_T}$ac_file" >&6; }
2819 # Check that the compiler produces executables we can run. If not, either
2820 # the compiler is broken, or we cross compile.
2821 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2822 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2823 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2824 # If not cross compiling, check that we can run a simple program.
2825 if test "$cross_compiling" != yes; then
2826 if { ac_try='./$ac_file'
2827 { (case "(($ac_try" in
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2832 (eval "$ac_try") 2>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; }; then
2838 if test "$cross_compiling" = maybe; then
2841 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2842 If you meant to cross compile, use \`--host'.
2843 See \`config.log' for more details." >&5
2844 echo "$as_me: error: cannot run C compiled programs.
2845 If you meant to cross compile, use \`--host'.
2846 See \`config.log' for more details." >&2;}
2847 { (exit 1); exit 1; }; }
2851 { echo "$as_me:$LINENO: result: yes" >&5
2852 echo "${ECHO_T}yes" >&6; }
2854 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2855 ac_clean_files=$ac_clean_files_save
2856 # Check that the compiler produces executables we can run. If not, either
2857 # the compiler is broken, or we cross compile.
2858 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2859 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2860 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2861 echo "${ECHO_T}$cross_compiling" >&6; }
2863 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2864 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2865 if { (ac_try="$ac_link"
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2871 (eval "$ac_link") 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; then
2875 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2876 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2877 # work properly (i.e., refer to `conftest.exe'), while it won't with
2879 for ac_file in conftest.exe conftest conftest.*; do
2880 test -f "$ac_file" || continue
2882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2883 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2889 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2890 See \`config.log' for more details." >&5
2891 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2892 See \`config.log' for more details." >&2;}
2893 { (exit 1); exit 1; }; }
2896 rm -f conftest$ac_cv_exeext
2897 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2898 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2900 rm -f conftest.$ac_ext
2901 EXEEXT=$ac_cv_exeext
2903 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2904 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2905 if test "${ac_cv_objext+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 cat >conftest.$ac_ext <<_ACEOF
2911 cat confdefs.h >>conftest.$ac_ext
2912 cat >>conftest.$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2923 rm -f conftest.o conftest.obj
2924 if { (ac_try="$ac_compile"
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_compile") 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; then
2934 for ac_file in conftest.o conftest.obj conftest.*; do
2935 test -f "$ac_file" || continue;
2937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2947 See \`config.log' for more details." >&5
2948 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2949 See \`config.log' for more details." >&2;}
2950 { (exit 1); exit 1; }; }
2953 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2955 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2956 echo "${ECHO_T}$ac_cv_objext" >&6; }
2957 OBJEXT=$ac_cv_objext
2959 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2960 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2961 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 cat >conftest.$ac_ext <<_ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2982 rm -f conftest.$ac_objext
2983 if { (ac_try="$ac_compile"
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_compile") 2>conftest.er1
2991 grep -v '^ *+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } &&
2996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2997 { (case "(($ac_try" in
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3002 (eval "$ac_try") 2>&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; } &&
3006 { ac_try='test -s conftest.$ac_objext'
3007 { (case "(($ac_try" in
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3012 (eval "$ac_try") 2>&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; }; then
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3028 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3029 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3030 GCC=`test $ac_compiler_gnu = yes && echo yes`
3031 ac_test_CFLAGS=${CFLAGS+set}
3032 ac_save_CFLAGS=$CFLAGS
3033 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3034 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3035 if test "${ac_cv_prog_cc_g+set}" = set; then
3036 echo $ECHO_N "(cached) $ECHO_C" >&6
3038 ac_save_c_werror_flag=$ac_c_werror_flag
3039 ac_c_werror_flag=yes
3042 cat >conftest.$ac_ext <<_ACEOF
3045 cat confdefs.h >>conftest.$ac_ext
3046 cat >>conftest.$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3057 rm -f conftest.$ac_objext
3058 if { (ac_try="$ac_compile"
3060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3061 *) ac_try_echo=$ac_try;;
3063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3064 (eval "$ac_compile") 2>conftest.er1
3066 grep -v '^ *+' conftest.er1 >conftest.err
3068 cat conftest.err >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); } &&
3071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3072 { (case "(($ac_try" in
3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3077 (eval "$ac_try") 2>&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); }; } &&
3081 { ac_try='test -s conftest.$ac_objext'
3082 { (case "(($ac_try" in
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_try") 2>&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; }; then
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3097 cat >conftest.$ac_ext <<_ACEOF
3100 cat confdefs.h >>conftest.$ac_ext
3101 cat >>conftest.$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3112 rm -f conftest.$ac_objext
3113 if { (ac_try="$ac_compile"
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3119 (eval "$ac_compile") 2>conftest.er1
3121 grep -v '^ *+' conftest.er1 >conftest.err
3123 cat conftest.err >&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); } &&
3126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3127 { (case "(($ac_try" in
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_try") 2>&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }; } &&
3136 { ac_try='test -s conftest.$ac_objext'
3137 { (case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_try") 2>&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; }; then
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_c_werror_flag=$ac_save_c_werror_flag
3153 cat >conftest.$ac_ext <<_ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3168 rm -f conftest.$ac_objext
3169 if { (ac_try="$ac_compile"
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3175 (eval "$ac_compile") 2>conftest.er1
3177 grep -v '^ *+' conftest.er1 >conftest.err
3179 cat conftest.err >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); } &&
3182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3183 { (case "(($ac_try" in
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3188 (eval "$ac_try") 2>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); }; } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_try") 2>&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; }; then
3204 echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3217 ac_c_werror_flag=$ac_save_c_werror_flag
3219 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3220 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3221 if test "$ac_test_CFLAGS" = set; then
3222 CFLAGS=$ac_save_CFLAGS
3223 elif test $ac_cv_prog_cc_g = yes; then
3224 if test "$GCC" = yes; then
3230 if test "$GCC" = yes; then
3236 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3237 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3238 if test "${ac_cv_prog_cc_c89+set}" = set; then
3239 echo $ECHO_N "(cached) $ECHO_C" >&6
3241 ac_cv_prog_cc_c89=no
3243 cat >conftest.$ac_ext <<_ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3251 #include <sys/types.h>
3252 #include <sys/stat.h>
3253 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3254 struct buf { int x; };
3255 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3256 static char *e (p, i)
3262 static char *f (char * (*g) (char **, int), char **p, ...)
3267 s = g (p, va_arg (v,int));
3272 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3273 function prototypes and stuff, but not '\xHH' hex character constants.
3274 These don't provoke an error unfortunately, instead are silently treated
3275 as 'x'. The following induces an error, until -std is added to get
3276 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3277 array size at least. It's necessary to write '\x00'==0 to get something
3278 that's true only with -std. */
3279 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3281 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3282 inside strings and character constants. */
3284 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3286 int test (int i, double x);
3287 struct s1 {int (*f) (int a);};
3288 struct s2 {int (*f) (double a);};
3289 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3295 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3300 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3301 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3303 CC="$ac_save_CC $ac_arg"
3304 rm -f conftest.$ac_objext
3305 if { (ac_try="$ac_compile"
3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;;
3310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3311 (eval "$ac_compile") 2>conftest.er1
3313 grep -v '^ *+' conftest.er1 >conftest.err
3315 cat conftest.err >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } &&
3318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3319 { (case "(($ac_try" in
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3324 (eval "$ac_try") 2>&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; } &&
3328 { ac_try='test -s conftest.$ac_objext'
3329 { (case "(($ac_try" in
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3334 (eval "$ac_try") 2>&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; }; then
3338 ac_cv_prog_cc_c89=$ac_arg
3340 echo "$as_me: failed program was:" >&5
3341 sed 's/^/| /' conftest.$ac_ext >&5
3346 rm -f core conftest.err conftest.$ac_objext
3347 test "x$ac_cv_prog_cc_c89" != "xno" && break
3349 rm -f conftest.$ac_ext
3354 case "x$ac_cv_prog_cc_c89" in
3356 { echo "$as_me:$LINENO: result: none needed" >&5
3357 echo "${ECHO_T}none needed" >&6; } ;;
3359 { echo "$as_me:$LINENO: result: unsupported" >&5
3360 echo "${ECHO_T}unsupported" >&6; } ;;
3362 CC="$CC $ac_cv_prog_cc_c89"
3363 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3364 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373 DEPDIR="${am__leading_dot}deps"
3375 ac_config_commands="$ac_config_commands depfiles"
3378 am_make=${MAKE-make}
3379 cat > confinc << 'END'
3384 # If we don't find an include directive, just comment out the code.
3385 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3386 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3390 # First try GNU make style include.
3391 echo "include confinc" > confmf
3392 # We grep out `Entering directory' and `Leaving directory'
3393 # messages which can occur if `w' ends up in MAKEFLAGS.
3394 # In particular we don't look at `^make:' because GNU make might
3395 # be invoked under some other name (usually "gmake"), in which
3396 # case it prints its new name instead of `make'.
3397 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3402 # Now try BSD make style include.
3403 if test "$am__include" = "#"; then
3404 echo '.include "confinc"' > confmf
3405 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3406 am__include=.include
3413 { echo "$as_me:$LINENO: result: $_am_result" >&5
3414 echo "${ECHO_T}$_am_result" >&6; }
3415 rm -f confinc confmf
3417 # Check whether --enable-dependency-tracking was given.
3418 if test "${enable_dependency_tracking+set}" = set; then
3419 enableval=$enable_dependency_tracking;
3422 if test "x$enable_dependency_tracking" != xno; then
3423 am_depcomp="$ac_aux_dir/depcomp"
3428 if test "x$enable_dependency_tracking" != xno; then
3439 depcc="$CC" am_compiler_list=
3441 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3442 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3443 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3447 # We make a subdir and do the tests there. Otherwise we can end up
3448 # making bogus files that we don't know about and never remove. For
3449 # instance it was reported that on HP-UX the gcc test will end up
3450 # making a dummy file named `D' -- because `-MD' means `put the output
3453 # Copy depcomp to subdir because otherwise we won't find it if we're
3454 # using a relative directory.
3455 cp "$am_depcomp" conftest.dir
3457 # We will build objects and dependencies in a subdirectory because
3458 # it helps to detect inapplicable dependency modes. For instance
3459 # both Tru64's cc and ICC support -MD to output dependencies as a
3460 # side effect of compilation, but ICC will put the dependencies in
3461 # the current directory while Tru64 will put them in the object
3465 am_cv_CC_dependencies_compiler_type=none
3466 if test "$am_compiler_list" = ""; then
3467 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3469 for depmode in $am_compiler_list; do
3470 # Setup a source with many dependencies, because some compilers
3471 # like to wrap large dependency lists on column 80 (with \), and
3472 # we should not choose a depcomp mode which is confused by this.
3474 # We need to recreate these files for each test, as the compiler may
3475 # overwrite some of them when testing with obscure command lines.
3476 # This happens at least with the AIX C compiler.
3478 for i in 1 2 3 4 5 6; do
3479 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3480 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3481 # Solaris 8's {/usr,}/bin/sh.
3482 touch sub/conftst$i.h
3484 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3488 # after this tag, mechanisms are not by side-effect, so they'll
3489 # only be used when explicitly requested
3490 if test "x$enable_dependency_tracking" = xyes; then
3498 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3499 # mode. It turns out that the SunPro C++ compiler does not properly
3500 # handle `-M -o', and we need to detect this.
3501 if depmode=$depmode \
3502 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3503 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3504 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3505 >/dev/null 2>conftest.err &&
3506 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3507 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3508 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3509 # icc doesn't choke on unknown options, it will just issue warnings
3510 # or remarks (even with -Werror). So we grep stderr for any message
3511 # that says an option was ignored or not supported.
3512 # When given -MP, icc 7.0 and 7.1 complain thusly:
3513 # icc: Command line warning: ignoring option '-M'; no argument required
3514 # The diagnosis changed in icc 8.0:
3515 # icc: Command line remark: option '-MP' not supported
3516 if (grep 'ignoring option' conftest.err ||
3517 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3518 am_cv_CC_dependencies_compiler_type=$depmode
3527 am_cv_CC_dependencies_compiler_type=none
3531 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3532 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3533 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3538 test "x$enable_dependency_tracking" != xno \
3539 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3541 am__fastdepCC_FALSE='#'
3543 am__fastdepCC_TRUE='#'
3544 am__fastdepCC_FALSE=
3549 ac_cpp='$CPP $CPPFLAGS'
3550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3553 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3554 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3555 # On Suns, sometimes $CPP names a directory.
3556 if test -n "$CPP" && test -d "$CPP"; then
3559 if test -z "$CPP"; then
3560 if test "${ac_cv_prog_CPP+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 # Double quotes because CPP needs to be expanded
3564 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3567 for ac_c_preproc_warn_flag in '' yes
3569 # Use a header file that comes with gcc, so configuring glibc
3570 # with a fresh cross-compiler works.
3571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3572 # <limits.h> exists even on freestanding compilers.
3573 # On the NeXT, cc -E runs the code through the compiler's parser,
3574 # not just through cpp. "Syntax error" is here to catch this case.
3575 cat >conftest.$ac_ext <<_ACEOF
3578 cat confdefs.h >>conftest.$ac_ext
3579 cat >>conftest.$ac_ext <<_ACEOF
3580 /* end confdefs.h. */
3582 # include <limits.h>
3584 # include <assert.h>
3588 if { (ac_try="$ac_cpp conftest.$ac_ext"
3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3596 grep -v '^ *+' conftest.er1 >conftest.err
3598 cat conftest.err >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } >/dev/null; then
3601 if test -s conftest.err; then
3602 ac_cpp_err=$ac_c_preproc_warn_flag
3603 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3610 if test -z "$ac_cpp_err"; then
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 # Broken: fails on valid input.
3620 rm -f conftest.err conftest.$ac_ext
3622 # OK, works on sane cases. Now check whether nonexistent headers
3623 # can be detected and how.
3624 cat >conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 #include <ac_nonexistent.h>
3632 if { (ac_try="$ac_cpp conftest.$ac_ext"
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3640 grep -v '^ *+' conftest.er1 >conftest.err
3642 cat conftest.err >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); } >/dev/null; then
3645 if test -s conftest.err; then
3646 ac_cpp_err=$ac_c_preproc_warn_flag
3647 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3654 if test -z "$ac_cpp_err"; then
3655 # Broken: success on invalid input.
3658 echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3661 # Passes both tests.
3666 rm -f conftest.err conftest.$ac_ext
3669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3670 rm -f conftest.err conftest.$ac_ext
3671 if $ac_preproc_ok; then
3683 { echo "$as_me:$LINENO: result: $CPP" >&5
3684 echo "${ECHO_T}$CPP" >&6; }
3686 for ac_c_preproc_warn_flag in '' yes
3688 # Use a header file that comes with gcc, so configuring glibc
3689 # with a fresh cross-compiler works.
3690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3691 # <limits.h> exists even on freestanding compilers.
3692 # On the NeXT, cc -E runs the code through the compiler's parser,
3693 # not just through cpp. "Syntax error" is here to catch this case.
3694 cat >conftest.$ac_ext <<_ACEOF
3697 cat confdefs.h >>conftest.$ac_ext
3698 cat >>conftest.$ac_ext <<_ACEOF
3699 /* end confdefs.h. */
3701 # include <limits.h>
3703 # include <assert.h>
3707 if { (ac_try="$ac_cpp conftest.$ac_ext"
3709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3715 grep -v '^ *+' conftest.er1 >conftest.err
3717 cat conftest.err >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } >/dev/null; then
3720 if test -s conftest.err; then
3721 ac_cpp_err=$ac_c_preproc_warn_flag
3722 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3729 if test -z "$ac_cpp_err"; then
3732 echo "$as_me: failed program was:" >&5
3733 sed 's/^/| /' conftest.$ac_ext >&5
3735 # Broken: fails on valid input.
3739 rm -f conftest.err conftest.$ac_ext
3741 # OK, works on sane cases. Now check whether nonexistent headers
3742 # can be detected and how.
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 #include <ac_nonexistent.h>
3751 if { (ac_try="$ac_cpp conftest.$ac_ext"
3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3759 grep -v '^ *+' conftest.er1 >conftest.err
3761 cat conftest.err >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } >/dev/null; then
3764 if test -s conftest.err; then
3765 ac_cpp_err=$ac_c_preproc_warn_flag
3766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3773 if test -z "$ac_cpp_err"; then
3774 # Broken: success on invalid input.
3777 echo "$as_me: failed program was:" >&5
3778 sed 's/^/| /' conftest.$ac_ext >&5
3780 # Passes both tests.
3785 rm -f conftest.err conftest.$ac_ext
3788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3789 rm -f conftest.err conftest.$ac_ext
3790 if $ac_preproc_ok; then
3793 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3794 See \`config.log' for more details." >&5
3795 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3796 See \`config.log' for more details." >&2;}
3797 { (exit 1); exit 1; }; }
3801 ac_cpp='$CPP $CPPFLAGS'
3802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3806 # Find a good install program. We prefer a C program (faster),
3807 # so one script is as good as another. But avoid the broken or
3808 # incompatible versions:
3809 # SysV /etc/install, /usr/sbin/install
3810 # SunOS /usr/etc/install
3811 # IRIX /sbin/install
3813 # AmigaOS /C/install, which installs bootblocks on floppy discs
3814 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3815 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3816 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3817 # OS/2's system install, which has a completely different semantic
3818 # ./install, which can be erroneously created by make from ./install.sh.
3819 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3820 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3821 if test -z "$INSTALL"; then
3822 if test "${ac_cv_path_install+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir=.
3830 # Account for people who put trailing slashes in PATH elements.
3832 ./ | .// | /cC/* | \
3833 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3834 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3837 # OSF1 and SCO ODT 3.0 have their own names for install.
3838 # Don't use installbsd from OSF since it installs stuff as root
3840 for ac_prog in ginstall scoinst install; do
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
3843 if test $ac_prog = install &&
3844 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3845 # AIX install. It has an incompatible calling convention.
3847 elif test $ac_prog = install &&
3848 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3849 # program-specific install script used by HP pwplus--don't use.
3852 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3865 if test "${ac_cv_path_install+set}" = set; then
3866 INSTALL=$ac_cv_path_install
3868 # As a last resort, use the slow shell script. Don't cache a
3869 # value for INSTALL within a source directory, because that will
3870 # break other packages using the cache if that directory is
3871 # removed, or if the value is a relative name.
3872 INSTALL=$ac_install_sh
3875 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3876 echo "${ECHO_T}$INSTALL" >&6; }
3878 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3879 # It thinks the first close brace ends the variable substitution.
3880 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3882 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3884 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3886 # Check whether --enable-shared was given.
3887 if test "${enable_shared+set}" = set; then
3888 enableval=$enable_shared; p=${PACKAGE-default}
3890 yes) enable_shared=yes ;;
3891 no) enable_shared=no ;;
3894 # Look at the argument we got. We use all the common list separators.
3895 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3896 for pkg in $enableval; do
3898 if test "X$pkg" = "X$p"; then
3910 # Check whether --enable-static was given.
3911 if test "${enable_static+set}" = set; then
3912 enableval=$enable_static; p=${PACKAGE-default}
3914 yes) enable_static=yes ;;
3915 no) enable_static=no ;;
3918 # Look at the argument we got. We use all the common list separators.
3919 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3920 for pkg in $enableval; do
3922 if test "X$pkg" = "X$p"; then
3934 # Check whether --enable-fast-install was given.
3935 if test "${enable_fast_install+set}" = set; then
3936 enableval=$enable_fast_install; p=${PACKAGE-default}
3938 yes) enable_fast_install=yes ;;
3939 no) enable_fast_install=no ;;
3941 enable_fast_install=no
3942 # Look at the argument we got. We use all the common list separators.
3943 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3944 for pkg in $enableval; do
3946 if test "X$pkg" = "X$p"; then
3947 enable_fast_install=yes
3954 enable_fast_install=yes
3958 # Make sure we can run config.sub.
3959 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3960 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3961 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3962 { (exit 1); exit 1; }; }
3964 { echo "$as_me:$LINENO: checking build system type" >&5
3965 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3966 if test "${ac_cv_build+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 ac_build_alias=$build_alias
3970 test "x$ac_build_alias" = x &&
3971 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3972 test "x$ac_build_alias" = x &&
3973 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3974 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3975 { (exit 1); exit 1; }; }
3976 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3977 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3978 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3979 { (exit 1); exit 1; }; }
3982 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3983 echo "${ECHO_T}$ac_cv_build" >&6; }
3984 case $ac_cv_build in
3986 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3987 echo "$as_me: error: invalid value of canonical build" >&2;}
3988 { (exit 1); exit 1; }; };;
3991 ac_save_IFS=$IFS; IFS='-'
3997 # Remember, the first character of IFS is used to create $*,
3998 # except with old shells:
4001 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4004 { echo "$as_me:$LINENO: checking host system type" >&5
4005 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4006 if test "${ac_cv_host+set}" = set; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 if test "x$host_alias" = x; then
4010 ac_cv_host=$ac_cv_build
4012 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4013 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4014 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4015 { (exit 1); exit 1; }; }
4019 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4020 echo "${ECHO_T}$ac_cv_host" >&6; }
4023 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4024 echo "$as_me: error: invalid value of canonical host" >&2;}
4025 { (exit 1); exit 1; }; };;
4028 ac_save_IFS=$IFS; IFS='-'
4034 # Remember, the first character of IFS is used to create $*,
4035 # except with old shells:
4038 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4041 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4042 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4043 if test "${lt_cv_path_SED+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 # Loop through the user's path and test for sed and gsed.
4047 # Then use that list of sed's as ones to test for truncation.
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 test -z "$as_dir" && as_dir=.
4053 for lt_ac_prog in sed gsed; do
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4056 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4063 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4064 # along with /bin/sed that truncates output.
4065 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4066 test ! -f $lt_ac_sed && continue
4067 cat /dev/null > conftest.in
4069 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4070 # Check for GNU sed and select it if it is found.
4071 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4072 lt_cv_path_SED=$lt_ac_sed
4076 cat conftest.in conftest.in >conftest.tmp
4077 mv conftest.tmp conftest.in
4078 cp conftest.in conftest.nl
4080 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4081 cmp -s conftest.out conftest.nl || break
4082 # 10000 chars as input seems more than enough
4083 test $lt_ac_count -gt 10 && break
4084 lt_ac_count=`expr $lt_ac_count + 1`
4085 if test $lt_ac_count -gt $lt_ac_max; then
4086 lt_ac_max=$lt_ac_count
4087 lt_cv_path_SED=$lt_ac_sed
4095 { echo "$as_me:$LINENO: result: $SED" >&5
4096 echo "${ECHO_T}$SED" >&6; }
4098 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4099 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4100 if test "${ac_cv_path_GREP+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 # Extract the first word of "grep ggrep" to use in msg output
4104 if test -z "$GREP"; then
4105 set dummy grep ggrep; ac_prog_name=$2
4106 if test "${ac_cv_path_GREP+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 ac_path_GREP_found=false
4110 # Loop through the user's path and test for each of PROGNAME-LIST
4111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4115 test -z "$as_dir" && as_dir=.
4116 for ac_prog in grep ggrep; do
4117 for ac_exec_ext in '' $ac_executable_extensions; do
4118 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4119 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4120 # Check for GNU ac_path_GREP and select it if it is found.
4121 # Check for GNU $ac_path_GREP
4122 case `"$ac_path_GREP" --version 2>&1` in
4124 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4127 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4130 cat "conftest.in" "conftest.in" >"conftest.tmp"
4131 mv "conftest.tmp" "conftest.in"
4132 cp "conftest.in" "conftest.nl"
4133 echo 'GREP' >> "conftest.nl"
4134 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4135 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4136 ac_count=`expr $ac_count + 1`
4137 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4138 # Best one so far, save it but keep looking for a better one
4139 ac_cv_path_GREP="$ac_path_GREP"
4140 ac_path_GREP_max=$ac_count
4142 # 10*(2^10) chars as input seems more than enough
4143 test $ac_count -gt 10 && break
4145 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4149 $ac_path_GREP_found && break 3
4159 GREP="$ac_cv_path_GREP"
4160 if test -z "$GREP"; then
4161 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4162 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4163 { (exit 1); exit 1; }; }
4167 ac_cv_path_GREP=$GREP
4172 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4173 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4174 GREP="$ac_cv_path_GREP"
4177 { echo "$as_me:$LINENO: checking for egrep" >&5
4178 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4179 if test "${ac_cv_path_EGREP+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4183 then ac_cv_path_EGREP="$GREP -E"
4185 # Extract the first word of "egrep" to use in msg output
4186 if test -z "$EGREP"; then
4187 set dummy egrep; ac_prog_name=$2
4188 if test "${ac_cv_path_EGREP+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4191 ac_path_EGREP_found=false
4192 # Loop through the user's path and test for each of PROGNAME-LIST
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4197 test -z "$as_dir" && as_dir=.
4198 for ac_prog in egrep; do
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4201 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4202 # Check for GNU ac_path_EGREP and select it if it is found.
4203 # Check for GNU $ac_path_EGREP
4204 case `"$ac_path_EGREP" --version 2>&1` in
4206 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4209 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4212 cat "conftest.in" "conftest.in" >"conftest.tmp"
4213 mv "conftest.tmp" "conftest.in"
4214 cp "conftest.in" "conftest.nl"
4215 echo 'EGREP' >> "conftest.nl"
4216 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4217 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4218 ac_count=`expr $ac_count + 1`
4219 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4220 # Best one so far, save it but keep looking for a better one
4221 ac_cv_path_EGREP="$ac_path_EGREP"
4222 ac_path_EGREP_max=$ac_count
4224 # 10*(2^10) chars as input seems more than enough
4225 test $ac_count -gt 10 && break
4227 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4231 $ac_path_EGREP_found && break 3
4241 EGREP="$ac_cv_path_EGREP"
4242 if test -z "$EGREP"; then
4243 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4244 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4245 { (exit 1); exit 1; }; }
4249 ac_cv_path_EGREP=$EGREP
4255 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4256 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4257 EGREP="$ac_cv_path_EGREP"
4261 # Check whether --with-gnu-ld was given.
4262 if test "${with_gnu_ld+set}" = set; then
4263 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4269 if test "$GCC" = yes; then
4270 # Check if gcc -print-prog-name=ld gives a path.
4271 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4272 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4275 # gcc leaves a trailing carriage return which upsets mingw
4276 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4278 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4281 # Accept absolute paths.
4283 re_direlt='/[^/][^/]*/\.\./'
4284 # Canonicalize the pathname of ld
4285 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4286 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4287 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4289 test -z "$LD" && LD="$ac_prog"
4292 # If it fails, then pretend we aren't using GCC.
4296 # If it is relative, then search for the first ld in PATH.
4300 elif test "$with_gnu_ld" = yes; then
4301 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4302 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4304 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4305 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4307 if test "${lt_cv_path_LD+set}" = set; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 if test -z "$LD"; then
4311 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4312 for ac_dir in $PATH; do
4314 test -z "$ac_dir" && ac_dir=.
4315 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4316 lt_cv_path_LD="$ac_dir/$ac_prog"
4317 # Check to see if the program is GNU ld. I'd rather use --version,
4318 # but apparently some variants of GNU ld only accept -v.
4319 # Break only if it was the GNU/non-GNU ld that we prefer.
4320 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4321 *GNU* | *'with BFD'*)
4322 test "$with_gnu_ld" != no && break
4325 test "$with_gnu_ld" != yes && break
4332 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4337 if test -n "$LD"; then
4338 { echo "$as_me:$LINENO: result: $LD" >&5
4339 echo "${ECHO_T}$LD" >&6; }
4341 { echo "$as_me:$LINENO: result: no" >&5
4342 echo "${ECHO_T}no" >&6; }
4344 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4345 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4346 { (exit 1); exit 1; }; }
4347 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4348 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4349 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4350 echo $ECHO_N "(cached) $ECHO_C" >&6
4352 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4353 case `$LD -v 2>&1 </dev/null` in
4354 *GNU* | *'with BFD'*)
4355 lt_cv_prog_gnu_ld=yes
4358 lt_cv_prog_gnu_ld=no
4362 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4363 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4364 with_gnu_ld=$lt_cv_prog_gnu_ld
4367 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4368 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4369 if test "${lt_cv_ld_reload_flag+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 lt_cv_ld_reload_flag='-r'
4374 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4375 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4376 reload_flag=$lt_cv_ld_reload_flag
4377 case $reload_flag in
4379 *) reload_flag=" $reload_flag" ;;
4381 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4384 if test "$GCC" = yes; then
4385 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4387 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4392 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4393 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4394 if test "${lt_cv_path_NM+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 if test -n "$NM"; then
4398 # Let the user override the test.
4401 lt_nm_to_check="${ac_tool_prefix}nm"
4402 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4403 lt_nm_to_check="$lt_nm_to_check nm"
4405 for lt_tmp_nm in $lt_nm_to_check; do
4406 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4407 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4409 test -z "$ac_dir" && ac_dir=.
4410 tmp_nm="$ac_dir/$lt_tmp_nm"
4411 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4412 # Check to see if the nm accepts a BSD-compat flag.
4413 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4414 # nm: unknown option "B" ignored
4415 # Tru64's nm complains that /dev/null is an invalid object file
4416 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4417 */dev/null* | *'Invalid file or object type'*)
4418 lt_cv_path_NM="$tmp_nm -B"
4422 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4424 lt_cv_path_NM="$tmp_nm -p"
4428 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4429 continue # so that we can try to find one that supports BSD flags
4438 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4441 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4442 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4445 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4446 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4448 if test "$LN_S" = "ln -s"; then
4449 { echo "$as_me:$LINENO: result: yes" >&5
4450 echo "${ECHO_T}yes" >&6; }
4452 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4453 echo "${ECHO_T}no, using $LN_S" >&6; }
4456 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4457 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4458 if test "${lt_cv_deplibs_check_method+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 lt_cv_file_magic_cmd='$MAGIC_CMD'
4462 lt_cv_file_magic_test_file=
4463 lt_cv_deplibs_check_method='unknown'
4464 # Need to set the preceding variable on all platforms that support
4465 # interlibrary dependencies.
4466 # 'none' -- dependencies not supported.
4467 # `unknown' -- same as none, but documents that we really don't know.
4468 # 'pass_all' -- all dependencies passed with no checks.
4469 # 'test_compile' -- check by making test program.
4470 # 'file_magic [[regex]]' -- check by looking for files in library path
4471 # which responds to the $file_magic_cmd with a given extended regex.
4472 # If you have `file' or equivalent on your system and you're not sure
4473 # whether `pass_all' will *always* work, you probably want this one.
4477 lt_cv_deplibs_check_method=pass_all
4481 lt_cv_deplibs_check_method=pass_all
4485 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4486 lt_cv_file_magic_cmd='/usr/bin/file -L'
4487 lt_cv_file_magic_test_file=/shlib/libc.so
4491 # func_win32_libid is a shell function defined in ltmain.sh
4492 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4493 lt_cv_file_magic_cmd='func_win32_libid'
4497 # Base MSYS/MinGW do not provide the 'file' command needed by
4498 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4499 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4500 lt_cv_file_magic_cmd='$OBJDUMP -f'
4503 darwin* | rhapsody*)
4504 lt_cv_deplibs_check_method=pass_all
4507 freebsd* | kfreebsd*-gnu | dragonfly*)
4508 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4511 # Not sure whether the presence of OpenBSD here was a mistake.
4512 # Let's accept both of them until this is cleared up.
4513 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4514 lt_cv_file_magic_cmd=/usr/bin/file
4515 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4519 lt_cv_deplibs_check_method=pass_all
4524 lt_cv_deplibs_check_method=pass_all
4527 hpux10.20* | hpux11*)
4528 lt_cv_file_magic_cmd=/usr/bin/file
4531 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4532 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4535 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4536 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4539 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4540 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4546 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4547 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4550 irix5* | irix6* | nonstopux*)
4552 *-32|*"-32 ") libmagic=32-bit;;
4553 *-n32|*"-n32 ") libmagic=N32;;
4554 *-64|*"-64 ") libmagic=64-bit;;
4555 *) libmagic=never-match;;
4557 lt_cv_deplibs_check_method=pass_all
4560 # This must be Linux ELF.
4562 lt_cv_deplibs_check_method=pass_all
4566 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4567 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4569 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4574 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4575 lt_cv_file_magic_cmd=/usr/bin/file
4576 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4580 lt_cv_deplibs_check_method=unknown
4584 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4585 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4587 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4591 osf3* | osf4* | osf5*)
4592 lt_cv_deplibs_check_method=pass_all
4596 lt_cv_deplibs_check_method=pass_all
4600 case $host_vendor in
4602 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4603 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4606 lt_cv_deplibs_check_method=pass_all
4609 lt_cv_file_magic_cmd='/bin/file'
4610 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4613 lt_cv_file_magic_cmd='/bin/file'
4614 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4615 lt_cv_file_magic_test_file=/lib/libc.so
4618 lt_cv_deplibs_check_method=pass_all
4621 lt_cv_deplibs_check_method=pass_all
4626 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4627 lt_cv_deplibs_check_method=pass_all
4632 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4633 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4634 file_magic_cmd=$lt_cv_file_magic_cmd
4635 deplibs_check_method=$lt_cv_deplibs_check_method
4636 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4641 # If no C compiler was specified, use CC.
4644 # If no C compiler flags were specified, use CFLAGS.
4645 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4647 # Allow CC to be a program name with arguments.
4651 # Check whether --enable-libtool-lock was given.
4652 if test "${enable_libtool_lock+set}" = set; then
4653 enableval=$enable_libtool_lock;
4656 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4658 # Some flags need to be propagated to the compiler or linker for good
4662 # Find out which ABI we are using.
4663 echo 'int i;' > conftest.$ac_ext
4664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4665 (eval $ac_compile) 2>&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; then
4669 case `/usr/bin/file conftest.$ac_objext` in
4681 # Find out which ABI we are using.
4682 echo '#line 4682 "configure"' > conftest.$ac_ext
4683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4684 (eval $ac_compile) 2>&5
4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); }; then
4688 if test "$lt_cv_prog_gnu_ld" = yes; then
4689 case `/usr/bin/file conftest.$ac_objext` in
4691 LD="${LD-ld} -melf32bsmip"
4694 LD="${LD-ld} -melf32bmipn32"
4697 LD="${LD-ld} -melf64bmip"
4701 case `/usr/bin/file conftest.$ac_objext` in
4717 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4718 # Find out which ABI we are using.
4719 echo 'int i;' > conftest.$ac_ext
4720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4721 (eval $ac_compile) 2>&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; then
4725 case `/usr/bin/file conftest.o` in
4729 LD="${LD-ld} -m elf_i386"
4731 ppc64-*linux*|powerpc64-*linux*)
4732 LD="${LD-ld} -m elf32ppclinux"
4735 LD="${LD-ld} -m elf_s390"
4738 LD="${LD-ld} -m elf32_sparc"
4745 LD="${LD-ld} -m elf_x86_64"
4747 ppc*-*linux*|powerpc*-*linux*)
4748 LD="${LD-ld} -m elf64ppc"
4751 LD="${LD-ld} -m elf64_s390"
4754 LD="${LD-ld} -m elf64_sparc"
4764 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4765 SAVE_CFLAGS="$CFLAGS"
4766 CFLAGS="$CFLAGS -belf"
4767 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4768 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4769 if test "${lt_cv_cc_needs_belf+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 ac_cpp='$CPP $CPPFLAGS'
4774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4778 cat >conftest.$ac_ext <<_ACEOF
4781 cat confdefs.h >>conftest.$ac_ext
4782 cat >>conftest.$ac_ext <<_ACEOF
4783 /* end confdefs.h. */
4793 rm -f conftest.$ac_objext conftest$ac_exeext
4794 if { (ac_try="$ac_link"
4796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4797 *) ac_try_echo=$ac_try;;
4799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4800 (eval "$ac_link") 2>conftest.er1
4802 grep -v '^ *+' conftest.er1 >conftest.err
4804 cat conftest.err >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } &&
4807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4808 { (case "(($ac_try" in
4809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4810 *) ac_try_echo=$ac_try;;
4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4813 (eval "$ac_try") 2>&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; } &&
4817 { ac_try='test -s conftest$ac_exeext'
4818 { (case "(($ac_try" in
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4823 (eval "$ac_try") 2>&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); }; }; then
4827 lt_cv_cc_needs_belf=yes
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 lt_cv_cc_needs_belf=no
4835 rm -f core conftest.err conftest.$ac_objext \
4836 conftest$ac_exeext conftest.$ac_ext
4838 ac_cpp='$CPP $CPPFLAGS'
4839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4844 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4845 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4846 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4847 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4848 CFLAGS="$SAVE_CFLAGS"
4852 # Find out which ABI we are using.
4853 echo 'int i;' > conftest.$ac_ext
4854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4855 (eval $ac_compile) 2>&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; then
4859 case `/usr/bin/file conftest.o` in
4861 case $lt_cv_prog_gnu_ld in
4862 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4863 *) LD="${LD-ld} -64" ;;
4874 need_locks="$enable_libtool_lock"
4878 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4879 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4880 if test "${ac_cv_header_stdc+set}" = set; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 cat >conftest.$ac_ext <<_ACEOF
4886 cat confdefs.h >>conftest.$ac_ext
4887 cat >>conftest.$ac_ext <<_ACEOF
4888 /* end confdefs.h. */
4902 rm -f conftest.$ac_objext
4903 if { (ac_try="$ac_compile"
4905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4909 (eval "$ac_compile") 2>conftest.er1
4911 grep -v '^ *+' conftest.er1 >conftest.err
4913 cat conftest.err >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } &&
4916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4917 { (case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4922 (eval "$ac_try") 2>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; } &&
4926 { ac_try='test -s conftest.$ac_objext'
4927 { (case "(($ac_try" in
4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4932 (eval "$ac_try") 2>&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4936 ac_cv_header_stdc=yes
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.$ac_ext >&5
4941 ac_cv_header_stdc=no
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 if test $ac_cv_header_stdc = yes; then
4947 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4948 cat >conftest.$ac_ext <<_ACEOF
4951 cat confdefs.h >>conftest.$ac_ext
4952 cat >>conftest.$ac_ext <<_ACEOF
4953 /* end confdefs.h. */
4957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4958 $EGREP "memchr" >/dev/null 2>&1; then
4961 ac_cv_header_stdc=no
4967 if test $ac_cv_header_stdc = yes; then
4968 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4969 cat >conftest.$ac_ext <<_ACEOF
4972 cat confdefs.h >>conftest.$ac_ext
4973 cat >>conftest.$ac_ext <<_ACEOF
4974 /* end confdefs.h. */