2 # From configure.ac Revision: 47759 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60a.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
27 BIN_SH=xpg4; export BIN_SH # for Tru64
28 DUALCASE=1; export DUALCASE # for MKS sh
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
69 # Find who we are. Look in the path if we contain no directory separator.
71 *[\\/]* ) as_myself=$0 ;;
72 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x; then
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 # Required to use basename.
115 if expr a : '\(a\)' >/dev/null 2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129 # Name of the executable.
130 as_me=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
160 if test $as_have_required = yes && (eval ":
170 as_func_ret_success () {
173 as_func_ret_failure () {
178 if as_func_success; then
182 echo as_func_success failed.
185 if as_func_failure; then
187 echo as_func_failure succeeded.
190 if as_func_ret_success; then
194 echo as_func_ret_success failed.
197 if as_func_ret_failure; then
199 echo as_func_ret_failure succeeded.
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 echo positional parameters were not saved.
209 test \$exitcode = 0) || { (exit 1); exit 1; }
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
250 BIN_SH=xpg4; export BIN_SH # for Tru64
251 DUALCASE=1; export DUALCASE # for MKS sh
256 CONFIG_SHELL=$as_shell
258 if { "$as_shell" 2> /dev/null <<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
268 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
270 BIN_SH=xpg4; export BIN_SH # for Tru64
271 DUALCASE=1; export DUALCASE # for MKS sh
283 as_func_ret_success () {
286 as_func_ret_failure () {
291 if as_func_success; then
295 echo as_func_success failed.
298 if as_func_failure; then
300 echo as_func_failure succeeded.
303 if as_func_ret_success; then
307 echo as_func_ret_success failed.
310 if as_func_ret_failure; then
312 echo as_func_ret_failure succeeded.
315 if ( set x; as_func_ret_success y && test x = "$1" ); then
319 echo positional parameters were not saved.
322 test $exitcode = 0) || { (exit 1); exit 1; }
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
339 if test "x$CONFIG_SHELL" != x; then
340 for as_var in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 if test $as_have_required = no; then
349 echo This script requires a shell more modern than all the
350 echo shells that I found on your system. Please install a
351 echo modern shell, or manually run the script under such a
352 echo shell if you do have one.
353 { (exit 1); exit 1; }
363 (eval "as_func_return () {
372 as_func_ret_success () {
375 as_func_ret_failure () {
380 if as_func_success; then
384 echo as_func_success failed.
387 if as_func_failure; then
389 echo as_func_failure succeeded.
392 if as_func_ret_success; then
396 echo as_func_ret_success failed.
399 if as_func_ret_failure; then
401 echo as_func_ret_failure succeeded.
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 echo positional parameters were not saved.
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system,
414 echo including any error possibly output before this
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x "$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 ECHO_C= ECHO_N= ECHO_T=
473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 if expr a : '\(a\)' >/dev/null 2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 rm -f conf$$ conf$$.exe conf$$.file
488 if test -d conf$$.dir; then
489 rm -f conf$$.dir/conf$$.file
495 if ln -s conf$$.file conf$$ 2>/dev/null; then
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
503 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
514 test -d ./-p && rmdir ./-p
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.file <<_ASEOF
525 if test -x conf$$.file >/dev/null 2>&1; then
526 as_executable_p="test -x"
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 exec 7<&0 </dev/null 6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix=/usr/local
552 ac_config_libobj_dir=.
558 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Identity of this package.
567 ac_unique_file="asterisk"
568 ac_unique_file="main/asterisk.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
614 program_transform_name
846 ac_precious_vars='build_alias
860 # Initialize some variables set by options.
862 ac_init_version=false
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
872 program_transform_name=s,x,x,
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir='${exec_prefix}/bin'
887 sbindir='${exec_prefix}/sbin'
888 libexecdir='${exec_prefix}/libexec'
889 datarootdir='${prefix}/share'
890 datadir='${datarootdir}'
891 sysconfdir='${prefix}/etc'
892 sharedstatedir='${prefix}/com'
893 localstatedir='${prefix}/var'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE}'
897 infodir='${datarootdir}/info'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
910 # If the previous option needs an argument, assign it.
911 if test -n "$ac_prev"; then
912 eval $ac_prev=\$ac_option
918 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
922 # Accept the important Cygnus configure options, so we can diagnose typos.
924 case $ac_dashdash$ac_option in
928 -bindir | --bindir | --bindi | --bind | --bin | --bi)
930 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
933 -build | --build | --buil | --bui | --bu)
934 ac_prev=build_alias ;;
935 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936 build_alias=$ac_optarg ;;
938 -cache-file | --cache-file | --cache-fil | --cache-fi \
939 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940 ac_prev=cache_file ;;
941 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943 cache_file=$ac_optarg ;;
946 cache_file=config.cache ;;
948 -datadir | --datadir | --datadi | --datad)
950 -datadir=* | --datadir=* | --datadi=* | --datad=*)
951 datadir=$ac_optarg ;;
953 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954 | --dataroo | --dataro | --datar)
955 ac_prev=datarootdir ;;
956 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958 datarootdir=$ac_optarg ;;
960 -disable-* | --disable-*)
961 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
964 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
965 { (exit 1); exit 1; }; }
966 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
967 eval enable_$ac_feature=no ;;
969 -docdir | --docdir | --docdi | --doc | --do)
971 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
974 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
976 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
979 -enable-* | --enable-*)
980 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
983 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
984 { (exit 1); exit 1; }; }
985 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
986 eval enable_$ac_feature=\$ac_optarg ;;
988 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
989 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
990 | --exec | --exe | --ex)
991 ac_prev=exec_prefix ;;
992 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
993 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
994 | --exec=* | --exe=* | --ex=*)
995 exec_prefix=$ac_optarg ;;
997 -gas | --gas | --ga | --g)
998 # Obsolete; use --with-gas.
1001 -help | --help | --hel | --he | -h)
1002 ac_init_help=long ;;
1003 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1004 ac_init_help=recursive ;;
1005 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1006 ac_init_help=short ;;
1008 -host | --host | --hos | --ho)
1009 ac_prev=host_alias ;;
1010 -host=* | --host=* | --hos=* | --ho=*)
1011 host_alias=$ac_optarg ;;
1013 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1015 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1017 htmldir=$ac_optarg ;;
1019 -includedir | --includedir | --includedi | --included | --include \
1020 | --includ | --inclu | --incl | --inc)
1021 ac_prev=includedir ;;
1022 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1023 | --includ=* | --inclu=* | --incl=* | --inc=*)
1024 includedir=$ac_optarg ;;
1026 -infodir | --infodir | --infodi | --infod | --info | --inf)
1028 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1029 infodir=$ac_optarg ;;
1031 -libdir | --libdir | --libdi | --libd)
1033 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1034 libdir=$ac_optarg ;;
1036 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1037 | --libexe | --libex | --libe)
1038 ac_prev=libexecdir ;;
1039 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1040 | --libexe=* | --libex=* | --libe=*)
1041 libexecdir=$ac_optarg ;;
1043 -localedir | --localedir | --localedi | --localed | --locale)
1044 ac_prev=localedir ;;
1045 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1046 localedir=$ac_optarg ;;
1048 -localstatedir | --localstatedir | --localstatedi | --localstated \
1049 | --localstate | --localstat | --localsta | --localst | --locals)
1050 ac_prev=localstatedir ;;
1051 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1052 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1053 localstatedir=$ac_optarg ;;
1055 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1057 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1058 mandir=$ac_optarg ;;
1060 -nfp | --nfp | --nf)
1061 # Obsolete; use --without-fp.
1064 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1065 | --no-cr | --no-c | -n)
1068 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1069 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1072 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1073 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1074 | --oldin | --oldi | --old | --ol | --o)
1075 ac_prev=oldincludedir ;;
1076 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1077 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1078 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1079 oldincludedir=$ac_optarg ;;
1081 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1083 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1084 prefix=$ac_optarg ;;
1086 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1087 | --program-pre | --program-pr | --program-p)
1088 ac_prev=program_prefix ;;
1089 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1090 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1091 program_prefix=$ac_optarg ;;
1093 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1094 | --program-suf | --program-su | --program-s)
1095 ac_prev=program_suffix ;;
1096 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1097 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1098 program_suffix=$ac_optarg ;;
1100 -program-transform-name | --program-transform-name \
1101 | --program-transform-nam | --program-transform-na \
1102 | --program-transform-n | --program-transform- \
1103 | --program-transform | --program-transfor \
1104 | --program-transfo | --program-transf \
1105 | --program-trans | --program-tran \
1106 | --progr-tra | --program-tr | --program-t)
1107 ac_prev=program_transform_name ;;
1108 -program-transform-name=* | --program-transform-name=* \
1109 | --program-transform-nam=* | --program-transform-na=* \
1110 | --program-transform-n=* | --program-transform-=* \
1111 | --program-transform=* | --program-transfor=* \
1112 | --program-transfo=* | --program-transf=* \
1113 | --program-trans=* | --program-tran=* \
1114 | --progr-tra=* | --program-tr=* | --program-t=*)
1115 program_transform_name=$ac_optarg ;;
1117 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1119 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1120 pdfdir=$ac_optarg ;;
1122 -psdir | --psdir | --psdi | --psd | --ps)
1124 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1128 | -silent | --silent | --silen | --sile | --sil)
1131 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1133 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1135 sbindir=$ac_optarg ;;
1137 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1138 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1139 | --sharedst | --shareds | --shared | --share | --shar \
1141 ac_prev=sharedstatedir ;;
1142 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1143 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1144 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1146 sharedstatedir=$ac_optarg ;;
1148 -site | --site | --sit)
1150 -site=* | --site=* | --sit=*)
1153 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1155 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1156 srcdir=$ac_optarg ;;
1158 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1159 | --syscon | --sysco | --sysc | --sys | --sy)
1160 ac_prev=sysconfdir ;;
1161 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1162 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1163 sysconfdir=$ac_optarg ;;
1165 -target | --target | --targe | --targ | --tar | --ta | --t)
1166 ac_prev=target_alias ;;
1167 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1168 target_alias=$ac_optarg ;;
1170 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1173 -version | --version | --versio | --versi | --vers | -V)
1174 ac_init_version=: ;;
1177 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1180 { echo "$as_me: error: invalid package name: $ac_package" >&2
1181 { (exit 1); exit 1; }; }
1182 ac_package=`echo $ac_package| sed 's/-/_/g'`
1183 eval with_$ac_package=\$ac_optarg ;;
1185 -without-* | --without-*)
1186 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1189 { echo "$as_me: error: invalid package name: $ac_package" >&2
1190 { (exit 1); exit 1; }; }
1191 ac_package=`echo $ac_package | sed 's/-/_/g'`
1192 eval with_$ac_package=no ;;
1195 # Obsolete; use --with-x.
1198 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1199 | --x-incl | --x-inc | --x-in | --x-i)
1200 ac_prev=x_includes ;;
1201 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1202 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1203 x_includes=$ac_optarg ;;
1205 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1206 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1207 ac_prev=x_libraries ;;
1208 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1209 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1210 x_libraries=$ac_optarg ;;
1212 -*) { echo "$as_me: error: unrecognized option: $ac_option
1213 Try \`$0 --help' for more information." >&2
1214 { (exit 1); exit 1; }; }
1218 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1219 # Reject names that are not valid shell variable names.
1220 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1221 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1222 { (exit 1); exit 1; }; }
1223 eval $ac_envvar=\$ac_optarg
1224 export $ac_envvar ;;
1227 # FIXME: should be removed in autoconf 3.0.
1228 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1229 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1230 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1231 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1237 if test -n "$ac_prev"; then
1238 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1239 { echo "$as_me: error: missing argument to $ac_option" >&2
1240 { (exit 1); exit 1; }; }
1243 # Be sure to have absolute directory names.
1244 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1245 datadir sysconfdir sharedstatedir localstatedir includedir \
1246 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1247 libdir localedir mandir
1249 eval ac_val=\$$ac_var
1251 [\\/$]* | ?:[\\/]* ) continue;;
1252 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1254 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1255 { (exit 1); exit 1; }; }
1258 # There might be people who depend on the old broken behavior: `$host'
1259 # used to hold the argument of --host etc.
1260 # FIXME: To remove some day.
1263 target=$target_alias
1265 # FIXME: To remove some day.
1266 if test "x$host_alias" != x; then
1267 if test "x$build_alias" = x; then
1268 cross_compiling=maybe
1269 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1270 If a cross compiler is detected then cross compile mode will be used." >&2
1271 elif test "x$build_alias" != "x$host_alias"; then
1277 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1279 test "$silent" = yes && exec 6>/dev/null
1282 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1283 ac_ls_di=`ls -di .` &&
1284 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1285 { echo "$as_me: error: Working directory cannot be determined" >&2
1286 { (exit 1); exit 1; }; }
1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288 { echo "$as_me: error: pwd does not report name of working directory" >&2
1289 { (exit 1); exit 1; }; }
1292 # Find the source files, if location was not specified.
1293 if test -z "$srcdir"; then
1294 ac_srcdir_defaulted=yes
1295 # Try the directory containing this script, then the parent directory.
1296 ac_confdir=`$as_dirname -- "$0" ||
1297 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1298 X"$0" : 'X\(//\)[^/]' \| \
1299 X"$0" : 'X\(//\)$' \| \
1300 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1324 ac_srcdir_defaulted=no
1326 if test ! -r "$srcdir/$ac_unique_file"; then
1327 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1328 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1329 { (exit 1); exit 1; }; }
1331 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1333 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1334 { (exit 1); exit 1; }; }
1336 # When building in place, set srcdir=.
1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
1340 # Remove unnecessary trailing slashes from srcdir.
1341 # Double slashes in file names in object file debugging info
1342 # mess up M-x gdb in Emacs.
1344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1346 for ac_var in $ac_precious_vars; do
1347 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1348 eval ac_env_${ac_var}_value=\$${ac_var}
1349 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1350 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1354 # Report the --help message.
1356 if test "$ac_init_help" = "long"; then
1357 # Omit some internal or obsolete options to make the list less imposing.
1358 # This message is too long to be a string in the A/UX 3.1 sh.
1360 \`configure' configures this package to adapt to many kinds of systems.
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE. See below for descriptions of some of the useful variables.
1367 Defaults for the options are specified in brackets.
1370 -h, --help display this help and exit
1371 --help=short display options specific to this package
1372 --help=recursive display the short help of all the included packages
1373 -V, --version display version information and exit
1374 -q, --quiet, --silent do not print \`checking...' messages
1375 --cache-file=FILE cache test results in FILE [disabled]
1376 -C, --config-cache alias for \`--cache-file=config.cache'
1377 -n, --no-create do not create output files
1378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1380 Installation directories:
1381 --prefix=PREFIX install architecture-independent files in PREFIX
1382 [$ac_default_prefix]
1383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1391 For better control, use the options below.
1393 Fine tuning of the installation directories:
1394 --bindir=DIR user executables [EPREFIX/bin]
1395 --sbindir=DIR system admin executables [EPREFIX/sbin]
1396 --libexecdir=DIR program executables [EPREFIX/libexec]
1397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400 --libdir=DIR object code libraries [EPREFIX/lib]
1401 --includedir=DIR C header files [PREFIX/include]
1402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405 --infodir=DIR info documentation [DATAROOTDIR/info]
1406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407 --mandir=DIR man documentation [DATAROOTDIR/man]
1408 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1409 --htmldir=DIR html documentation [DOCDIR]
1410 --dvidir=DIR dvi documentation [DOCDIR]
1411 --pdfdir=DIR pdf documentation [DOCDIR]
1412 --psdir=DIR ps documentation [DOCDIR]
1418 --build=BUILD configure for building on BUILD [guessed]
1419 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1423 if test -n "$ac_init_help"; then
1428 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1429 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1430 --enable-dev-mode Turn on developer mode
1431 --disable-largefile omit support for large files
1434 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1435 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1436 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1437 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1438 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1439 --with-curl=PATH use cURL files in PATH
1440 --with-curses=PATH use curses files in PATH
1441 --with-gnutls=PATH use GNU TLS support (used for iksemel only) files in
1443 --with-gsm=PATH use GSM files in PATH , or 'internal'
1444 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1445 --with-imap=PATH use UW IMAP Toolkit files in PATH
1446 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1447 --with-kde=PATH use KDE files in PATH
1448 --with-misdn=PATH use mISDN User Library files in PATH
1449 --with-nbs=PATH use Network Broadcast Sound files in PATH
1450 --with-ncurses=PATH use ncurses files in PATH
1451 --with-netsnmp=PATH use Net-SNMP files in PATH
1452 --with-newt=PATH use newt files in PATH
1453 --with-odbc=PATH use unixODBC files in PATH
1454 --with-ogg=PATH use OGG files in PATH
1455 --with-osptk=PATH use OSP Toolkit files in PATH
1456 --with-oss=PATH use Open Sound System files in PATH
1457 --with-popt=PATH use popt files in PATH
1458 --with-postgres=PATH use PostgreSQL files in PATH
1459 --with-pri=PATH use ISDN PRI files in PATH
1460 --with-ss7=PATH use ISDN SS7 files in PATH
1461 --with-pwlib=PATH use PWlib files in PATH
1462 --with-h323=PATH use OpenH323 files in PATH
1463 --with-qt=PATH use Qt files in PATH
1464 --with-radius=PATH use Radius Client files in PATH
1465 --with-speex=PATH use Speex files in PATH
1466 --with-sqlite=PATH use SQLite files in PATH
1467 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1468 --with-ssl=PATH use OpenSSL files in PATH
1469 --with-tds=PATH use FreeTDS files in PATH
1470 --with-termcap=PATH use Termcap files in PATH
1471 --with-tinfo=PATH use Term Info files in PATH
1472 --with-tonezone=PATH use tonezone files in PATH
1473 --with-vorbis=PATH use Vorbis files in PATH
1474 --with-vpb=PATH use Voicetronix API files in PATH
1475 --with-z=PATH use zlib files in PATH
1476 --with-zaptel=PATH use Zaptel files in PATH
1478 Some influential environment variables:
1479 CC C compiler command
1480 CFLAGS C compiler flags
1481 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1482 nonstandard directory <lib dir>
1483 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1484 you have headers in a nonstandard directory <include dir>
1485 CXX C++ compiler command
1486 CXXFLAGS C++ compiler flags
1488 CXXCPP C++ preprocessor
1490 Use these variables to override the choices made by `configure' or to help
1491 it to find libraries and programs with nonstandard names/locations.
1497 if test "$ac_init_help" = "recursive"; then
1498 # If there are subdirs, report their specific --help.
1499 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1500 test -d "$ac_dir" || continue
1504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1506 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1507 # A ".." for each directory in $ac_dir_suffix.
1508 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1509 case $ac_top_builddir_sub in
1510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1514 ac_abs_top_builddir=$ac_pwd
1515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1516 # for backward compatibility:
1517 ac_top_builddir=$ac_top_build_prefix
1520 .) # We are building in place.
1522 ac_top_srcdir=$ac_top_builddir_sub
1523 ac_abs_top_srcdir=$ac_pwd ;;
1524 [\\/]* | ?:[\\/]* ) # Absolute name.
1525 ac_srcdir=$srcdir$ac_dir_suffix;
1526 ac_top_srcdir=$srcdir
1527 ac_abs_top_srcdir=$srcdir ;;
1529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1530 ac_top_srcdir=$ac_top_build_prefix$srcdir
1531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1535 cd "$ac_dir" || { ac_status=$?; continue; }
1536 # Check for guested configure.
1537 if test -f "$ac_srcdir/configure.gnu"; then
1539 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1540 elif test -f "$ac_srcdir/configure"; then
1542 $SHELL "$ac_srcdir/configure" --help=recursive
1544 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1546 cd "$ac_pwd" || { ac_status=$?; break; }
1550 test -n "$ac_init_help" && exit $ac_status
1551 if $ac_init_version; then
1554 generated by GNU Autoconf 2.60a
1556 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1557 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1558 This configure script is free software; the Free Software Foundation
1559 gives unlimited permission to copy, distribute and modify it.
1565 cat >config.log <<_ACEOF
1566 This file contains any messages produced by compilers while
1567 running configure, to aid debugging if configure makes a mistake.
1569 It was created by $as_me, which was
1570 generated by GNU Autoconf 2.60a. Invocation command line was
1582 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1583 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1584 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1585 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1586 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1588 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1589 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1591 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1592 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1593 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1594 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1595 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1596 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1597 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1605 test -z "$as_dir" && as_dir=.
1606 echo "PATH: $as_dir"
1622 # Keep a trace of the command line.
1623 # Strip out --no-create and --no-recursion so they do not pile up.
1624 # Strip out --silent because we don't want to record it for future runs.
1625 # Also quote any args containing shell meta-characters.
1626 # Make two passes to allow for proper duplicate-argument suppression.
1630 ac_must_keep_next=false
1636 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1638 | -silent | --silent | --silen | --sile | --sil)
1641 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1644 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1646 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1647 if test $ac_must_keep_next = true; then
1648 ac_must_keep_next=false # Got value, back to normal.
1651 *=* | --config-cache | -C | -disable-* | --disable-* \
1652 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1653 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1654 | -with-* | --with-* | -without-* | --without-* | --x)
1655 case "$ac_configure_args0 " in
1656 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1659 -* ) ac_must_keep_next=true ;;
1662 ac_configure_args="$ac_configure_args '$ac_arg'"
1667 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1668 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1670 # When interrupted or exit'd, cleanup temporary files, and complete
1671 # config.log. We remove comments because anyway the quotes in there
1672 # would cause problems or look ugly.
1673 # WARNING: Use '\'' to represent an apostrophe within the trap.
1674 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1675 trap 'exit_status=$?
1676 # Save into config.log some information that might help in debugging.
1681 ## ---------------- ##
1682 ## Cache variables. ##
1683 ## ---------------- ##
1686 # The following way of writing the cache mishandles newlines in values,
1688 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1689 eval ac_val=\$$ac_var
1693 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1694 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1697 _ | IFS | as_nl) ;; #(
1698 *) $as_unset $ac_var ;;
1703 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1704 *${as_nl}ac_space=\ *)
1706 "s/'\''/'\''\\\\'\'''\''/g;
1707 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1710 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1718 ## ----------------- ##
1719 ## Output variables. ##
1720 ## ----------------- ##
1723 for ac_var in $ac_subst_vars
1725 eval ac_val=\$$ac_var
1727 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1729 echo "$ac_var='\''$ac_val'\''"
1733 if test -n "$ac_subst_files"; then
1735 ## ------------------- ##
1736 ## File substitutions. ##
1737 ## ------------------- ##
1740 for ac_var in $ac_subst_files
1742 eval ac_val=\$$ac_var
1744 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1746 echo "$ac_var='\''$ac_val'\''"
1751 if test -s confdefs.h; then
1761 test "$ac_signal" != 0 &&
1762 echo "$as_me: caught signal $ac_signal"
1763 echo "$as_me: exit $exit_status"
1765 rm -f core *.core core.conftest.* &&
1766 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1769 for ac_signal in 1 2 13 15; do
1770 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1774 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1775 rm -f -r conftest* confdefs.h
1777 # Predefined preprocessor variables.
1779 cat >>confdefs.h <<_ACEOF
1780 #define PACKAGE_NAME "$PACKAGE_NAME"
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_STRING "$PACKAGE_STRING"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1804 # Let the site file select an alternate cache file if it wants to.
1805 # Prefer explicitly selected file to automatically selected ones.
1806 if test -n "$CONFIG_SITE"; then
1807 set x "$CONFIG_SITE"
1808 elif test "x$prefix" != xNONE; then
1809 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1811 set x "$ac_default_prefix/share/config.site" \
1812 "$ac_default_prefix/etc/config.site"
1817 if test -r "$ac_site_file"; then
1818 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1819 echo "$as_me: loading site script $ac_site_file" >&6;}
1820 sed 's/^/| /' "$ac_site_file" >&5
1825 if test -r "$cache_file"; then
1826 # Some versions of bash will fail to source /dev/null (special
1827 # files actually), so we avoid doing that.
1828 if test -f "$cache_file"; then
1829 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1830 echo "$as_me: loading cache $cache_file" >&6;}
1832 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1833 *) . "./$cache_file";;
1837 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1838 echo "$as_me: creating cache $cache_file" >&6;}
1842 # Check that the precious variables saved in the cache have kept the same
1844 ac_cache_corrupted=false
1845 for ac_var in $ac_precious_vars; do
1846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1847 eval ac_new_set=\$ac_env_${ac_var}_set
1848 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1849 eval ac_new_val=\$ac_env_${ac_var}_value
1850 case $ac_old_set,$ac_new_set in
1852 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1853 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1854 ac_cache_corrupted=: ;;
1856 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1857 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1858 ac_cache_corrupted=: ;;
1861 if test "x$ac_old_val" != "x$ac_new_val"; then
1862 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1863 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1864 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1865 echo "$as_me: former value: $ac_old_val" >&2;}
1866 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1867 echo "$as_me: current value: $ac_new_val" >&2;}
1868 ac_cache_corrupted=:
1871 # Pass precious variables to config.status.
1872 if test "$ac_new_set" = set; then
1874 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1875 *) ac_arg=$ac_var=$ac_new_val ;;
1877 case " $ac_configure_args " in
1878 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1879 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1883 if $ac_cache_corrupted; then
1884 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1885 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1886 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1887 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1888 { (exit 1); exit 1; }; }
1908 ac_cpp='$CPP $CPPFLAGS'
1909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1915 # cross-compile macros
1917 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1918 if test -f "$ac_dir/install-sh"; then
1920 ac_install_sh="$ac_aux_dir/install-sh -c"
1922 elif test -f "$ac_dir/install.sh"; then
1924 ac_install_sh="$ac_aux_dir/install.sh -c"
1926 elif test -f "$ac_dir/shtool"; then
1928 ac_install_sh="$ac_aux_dir/shtool install -c"
1932 if test -z "$ac_aux_dir"; then
1933 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1934 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1935 { (exit 1); exit 1; }; }
1938 # These three variables are undocumented and unsupported,
1939 # and are intended to be withdrawn in a future Autoconf release.
1940 # They can cause serious problems if a builder's source tree is in a directory
1941 # whose full name contains unusual characters.
1942 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1943 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1944 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1947 # Make sure we can run config.sub.
1948 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1949 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1950 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1951 { (exit 1); exit 1; }; }
1953 { echo "$as_me:$LINENO: checking build system type" >&5
1954 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1955 if test "${ac_cv_build+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 ac_build_alias=$build_alias
1959 test "x$ac_build_alias" = x &&
1960 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1961 test "x$ac_build_alias" = x &&
1962 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1963 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1964 { (exit 1); exit 1; }; }
1965 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1966 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1967 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1968 { (exit 1); exit 1; }; }
1971 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1972 echo "${ECHO_T}$ac_cv_build" >&6; }
1973 case $ac_cv_build in
1975 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1976 echo "$as_me: error: invalid value of canonical build" >&2;}
1977 { (exit 1); exit 1; }; };;
1980 ac_save_IFS=$IFS; IFS='-'
1986 # Remember, the first character of IFS is used to create $*,
1987 # except with old shells:
1990 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1993 { echo "$as_me:$LINENO: checking host system type" >&5
1994 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1995 if test "${ac_cv_host+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 if test "x$host_alias" = x; then
1999 ac_cv_host=$ac_cv_build
2001 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2002 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2003 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2004 { (exit 1); exit 1; }; }
2008 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2009 echo "${ECHO_T}$ac_cv_host" >&6; }
2012 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2013 echo "$as_me: error: invalid value of canonical host" >&2;}
2014 { (exit 1); exit 1; }; };;
2017 ac_save_IFS=$IFS; IFS='-'
2023 # Remember, the first character of IFS is used to create $*,
2024 # except with old shells:
2027 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2031 # check existence of the package
2034 # specify output header file
2035 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2041 case "${host_os}" in
2043 ac_default_prefix=/usr/local
2044 CPPFLAGS=-I/usr/local/include
2045 LDFLAGS=-L/usr/local/lib
2048 ac_default_prefix=/usr
2049 if test ${sysconfdir} = '${prefix}/etc'; then
2052 if test ${mandir} = '${prefix}/man'; then
2053 mandir=/usr/share/man
2058 if test ${localstatedir} = '${prefix}/var'; then
2062 BUILD_PLATFORM=${build}
2063 BUILD_CPU=${build_cpu}
2064 BUILD_VENDOR=${build_vendor}
2065 BUILD_OS=${build_os}
2072 HOST_PLATFORM=${host}
2073 HOST_CPU=${host_cpu}
2074 HOST_VENDOR=${host_vendor}
2082 case "${host_os}" in
2103 if test -n "$ac_tool_prefix"; then
2104 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
2105 set dummy ${ac_tool_prefix}uname; ac_word=$2
2106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2108 if test "${ac_cv_path_UNAME+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 UNAME=$ac_cv_path_UNAME
2135 if test -n "$UNAME"; then
2136 { echo "$as_me:$LINENO: result: $UNAME" >&5
2137 echo "${ECHO_T}$UNAME" >&6; }
2139 { echo "$as_me:$LINENO: result: no" >&5
2140 echo "${ECHO_T}no" >&6; }
2145 if test -z "$ac_cv_path_UNAME"; then
2147 # Extract the first word of "uname", so it can be a program name with args.
2148 set dummy uname; ac_word=$2
2149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2151 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 case $ac_pt_UNAME in
2156 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
2159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 test -z "$as_dir" && as_dir=.
2164 for ac_exec_ext in '' $ac_executable_extensions; do
2165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2166 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
2167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
2178 if test -n "$ac_pt_UNAME"; then
2179 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
2180 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
2182 { echo "$as_me:$LINENO: result: no" >&5
2183 echo "${ECHO_T}no" >&6; }
2186 if test "x$ac_pt_UNAME" = x; then
2189 case $cross_compiling:$ac_tool_warned in
2191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2192 whose name does not start with the host triplet. If you think this
2193 configuration is useful to you, please write to autoconf@gnu.org." >&5
2194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2195 whose name does not start with the host triplet. If you think this
2196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2197 ac_tool_warned=yes ;;
2202 UNAME="$ac_cv_path_UNAME"
2205 if test ! x"${UNAME}" = xNo; then
2206 PBX_OSREV=$(${UNAME} -r)
2210 # This needs to be before any macros that use the C compiler
2212 cat >>confdefs.h <<\_ACEOF
2213 #define _GNU_SOURCE 1
2224 # cross-compile checks
2225 if test "${cross_compiling}" = "yes";
2227 if test -n "$ac_tool_prefix"; then
2228 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2229 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2232 if test "${ac_cv_prog_CC+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC="$CC" # Let the user override the test.
2238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir=.
2243 for ac_exec_ext in '' $ac_executable_extensions; do
2244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2245 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 if test -n "$CC"; then
2257 { echo "$as_me:$LINENO: result: $CC" >&5
2258 echo "${ECHO_T}$CC" >&6; }
2260 { echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6; }
2266 if test -z "$ac_cv_prog_CC"; then
2268 # Extract the first word of "gcc", so it can be a program name with args.
2269 set dummy gcc; ac_word=$2
2270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_prog_ac_ct_CC="gcc"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2298 echo "${ECHO_T}$ac_ct_CC" >&6; }
2300 { echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6; }
2304 if test "x$ac_ct_CC" = x; then
2307 case $cross_compiling:$ac_tool_warned in
2309 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2310 whose name does not start with the host triplet. If you think this
2311 configuration is useful to you, please write to autoconf@gnu.org." >&5
2312 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2313 whose name does not start with the host triplet. If you think this
2314 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2315 ac_tool_warned=yes ;;
2323 if test -n "$ac_tool_prefix"; then
2324 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2325 set dummy ${ac_tool_prefix}g++; ac_word=$2
2326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2328 if test "${ac_cv_prog_CXX+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 if test -n "$CXX"; then
2332 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir=.
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2341 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 if test -n "$CXX"; then
2353 { echo "$as_me:$LINENO: result: $CXX" >&5
2354 echo "${ECHO_T}$CXX" >&6; }
2356 { echo "$as_me:$LINENO: result: no" >&5
2357 echo "${ECHO_T}no" >&6; }
2362 if test -z "$ac_cv_prog_CXX"; then
2364 # Extract the first word of "g++", so it can be a program name with args.
2365 set dummy g++; ac_word=$2
2366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2368 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2369 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 if test -n "$ac_ct_CXX"; then
2372 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir=.
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2381 ac_cv_prog_ac_ct_CXX="g++"
2382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2392 if test -n "$ac_ct_CXX"; then
2393 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2394 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2396 { echo "$as_me:$LINENO: result: no" >&5
2397 echo "${ECHO_T}no" >&6; }
2400 if test "x$ac_ct_CXX" = x; then
2403 case $cross_compiling:$ac_tool_warned in
2405 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2406 whose name does not start with the host triplet. If you think this
2407 configuration is useful to you, please write to autoconf@gnu.org." >&5
2408 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2409 whose name does not start with the host triplet. If you think this
2410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2411 ac_tool_warned=yes ;;
2416 CXX="$ac_cv_prog_CXX"
2419 if test -n "$ac_tool_prefix"; then
2420 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2421 set dummy ${ac_tool_prefix}ld; 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_LD+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$LD"; then
2428 ac_cv_prog_LD="$LD" # 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_LD="${ac_tool_prefix}ld"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 if test -n "$LD"; then
2449 { echo "$as_me:$LINENO: result: $LD" >&5
2450 echo "${ECHO_T}$LD" >&6; }
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
2458 if test -z "$ac_cv_prog_LD"; then
2460 # Extract the first word of "ld", so it can be a program name with args.
2461 set dummy ld; ac_word=$2
2462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2464 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 if test -n "$ac_ct_LD"; then
2468 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 ac_cv_prog_ac_ct_LD="ld"
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2488 if test -n "$ac_ct_LD"; then
2489 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2490 echo "${ECHO_T}$ac_ct_LD" >&6; }
2492 { echo "$as_me:$LINENO: result: no" >&5
2493 echo "${ECHO_T}no" >&6; }
2496 if test "x$ac_ct_LD" = x; then
2499 case $cross_compiling:$ac_tool_warned in
2501 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2502 whose name does not start with the host triplet. If you think this
2503 configuration is useful to you, please write to autoconf@gnu.org." >&5
2504 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2507 ac_tool_warned=yes ;;
2515 if test -n "$ac_tool_prefix"; then
2516 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2517 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2520 if test "${ac_cv_prog_RANLIB+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 if test -n "$RANLIB"; then
2524 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 RANLIB=$ac_cv_prog_RANLIB
2544 if test -n "$RANLIB"; then
2545 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2546 echo "${ECHO_T}$RANLIB" >&6; }
2548 { echo "$as_me:$LINENO: result: no" >&5
2549 echo "${ECHO_T}no" >&6; }
2554 if test -z "$ac_cv_prog_RANLIB"; then
2555 ac_ct_RANLIB=$RANLIB
2556 # Extract the first word of "ranlib", so it can be a program name with args.
2557 set dummy ranlib; ac_word=$2
2558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2560 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 if test -n "$ac_ct_RANLIB"; then
2564 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 test -z "$as_dir" && as_dir=.
2571 for ac_exec_ext in '' $ac_executable_extensions; do
2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2573 ac_cv_prog_ac_ct_RANLIB="ranlib"
2574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2584 if test -n "$ac_ct_RANLIB"; then
2585 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2586 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2588 { echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6; }
2592 if test "x$ac_ct_RANLIB" = x; then
2595 case $cross_compiling:$ac_tool_warned in
2597 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2598 whose name does not start with the host triplet. If you think this
2599 configuration is useful to you, please write to autoconf@gnu.org." >&5
2600 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2601 whose name does not start with the host triplet. If you think this
2602 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2603 ac_tool_warned=yes ;;
2605 RANLIB=$ac_ct_RANLIB
2608 RANLIB="$ac_cv_prog_RANLIB"
2611 if test -n "$ac_tool_prefix"; then
2612 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2613 set dummy ${ac_tool_prefix}ar; ac_word=$2
2614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2616 if test "${ac_cv_prog_AR+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2619 if test -n "$AR"; then
2620 ac_cv_prog_AR="$AR" # Let the user override the test.
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir=.
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2629 ac_cv_prog_AR="${ac_tool_prefix}ar"
2630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2640 if test -n "$AR"; then
2641 { echo "$as_me:$LINENO: result: $AR" >&5
2642 echo "${ECHO_T}$AR" >&6; }
2644 { echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6; }
2650 if test -z "$ac_cv_prog_AR"; then
2652 # Extract the first word of "ar", so it can be a program name with args.
2653 set dummy ar; ac_word=$2
2654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2656 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2657 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 if test -n "$ac_ct_AR"; then
2660 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir=.
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2669 ac_cv_prog_ac_ct_AR="ar"
2670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2680 if test -n "$ac_ct_AR"; then
2681 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2682 echo "${ECHO_T}$ac_ct_AR" >&6; }
2684 { echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6; }
2688 if test "x$ac_ct_AR" = x; then
2691 case $cross_compiling:$ac_tool_warned in
2693 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2694 whose name does not start with the host triplet. If you think this
2695 configuration is useful to you, please write to autoconf@gnu.org." >&5
2696 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2697 whose name does not start with the host triplet. If you think this
2698 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2699 ac_tool_warned=yes ;;
2709 # Checks for programs.
2711 ac_cpp='$CPP $CPPFLAGS'
2712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2715 if test -n "$ac_tool_prefix"; then
2716 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2717 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2720 if test "${ac_cv_prog_CC+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 if test -n "$CC"; then
2724 ac_cv_prog_CC="$CC" # Let the user override the test.
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir=.
2731 for ac_exec_ext in '' $ac_executable_extensions; do
2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test -n "$CC"; then
2745 { echo "$as_me:$LINENO: result: $CC" >&5
2746 echo "${ECHO_T}$CC" >&6; }
2748 { echo "$as_me:$LINENO: result: no" >&5
2749 echo "${ECHO_T}no" >&6; }
2754 if test -z "$ac_cv_prog_CC"; then
2756 # Extract the first word of "gcc", so it can be a program name with args.
2757 set dummy gcc; ac_word=$2
2758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2760 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2761 echo $ECHO_N "(cached) $ECHO_C" >&6
2763 if test -n "$ac_ct_CC"; then
2764 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 test -z "$as_dir" && as_dir=.
2771 for ac_exec_ext in '' $ac_executable_extensions; do
2772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2773 ac_cv_prog_ac_ct_CC="gcc"
2774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2784 if test -n "$ac_ct_CC"; then
2785 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2786 echo "${ECHO_T}$ac_ct_CC" >&6; }
2788 { echo "$as_me:$LINENO: result: no" >&5
2789 echo "${ECHO_T}no" >&6; }
2792 if test "x$ac_ct_CC" = x; then
2795 case $cross_compiling:$ac_tool_warned in
2797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2798 whose name does not start with the host triplet. If you think this
2799 configuration is useful to you, please write to autoconf@gnu.org." >&5
2800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2801 whose name does not start with the host triplet. If you think this
2802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2803 ac_tool_warned=yes ;;
2811 if test -z "$CC"; then
2812 if test -n "$ac_tool_prefix"; then
2813 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2814 set dummy ${ac_tool_prefix}cc; ac_word=$2
2815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2817 if test "${ac_cv_prog_CC+set}" = set; then
2818 echo $ECHO_N "(cached) $ECHO_C" >&6
2820 if test -n "$CC"; then
2821 ac_cv_prog_CC="$CC" # Let the user override the test.
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir=.
2828 for ac_exec_ext in '' $ac_executable_extensions; do
2829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2830 ac_cv_prog_CC="${ac_tool_prefix}cc"
2831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 if test -n "$CC"; then
2842 { echo "$as_me:$LINENO: result: $CC" >&5
2843 echo "${ECHO_T}$CC" >&6; }
2845 { echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6; }
2852 if test -z "$CC"; then
2853 # Extract the first word of "cc", so it can be a program name with args.
2854 set dummy cc; ac_word=$2
2855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2857 if test "${ac_cv_prog_CC+set}" = set; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2860 if test -n "$CC"; then
2861 ac_cv_prog_CC="$CC" # Let the user override the test.
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir=.
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2871 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2872 ac_prog_rejected=yes
2876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 if test $ac_prog_rejected = yes; then
2884 # We found a bogon in the path, so make sure we never use it.
2885 set dummy $ac_cv_prog_CC
2887 if test $# != 0; then
2888 # We chose a different compiler from the bogus one.
2889 # However, it has the same basename, so the bogon will be chosen
2890 # first if we set CC to just the basename; use the full file name.
2892 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2898 if test -n "$CC"; then
2899 { echo "$as_me:$LINENO: result: $CC" >&5
2900 echo "${ECHO_T}$CC" >&6; }
2902 { echo "$as_me:$LINENO: result: no" >&5
2903 echo "${ECHO_T}no" >&6; }
2908 if test -z "$CC"; then
2909 if test -n "$ac_tool_prefix"; then
2910 for ac_prog in cl.exe
2912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2916 if test "${ac_cv_prog_CC+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 if test -n "$CC"; then
2920 ac_cv_prog_CC="$CC" # Let the user override the test.
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir=.
2927 for ac_exec_ext in '' $ac_executable_extensions; do
2928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2929 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 if test -n "$CC"; then
2941 { echo "$as_me:$LINENO: result: $CC" >&5
2942 echo "${ECHO_T}$CC" >&6; }
2944 { echo "$as_me:$LINENO: result: no" >&5
2945 echo "${ECHO_T}no" >&6; }
2949 test -n "$CC" && break
2952 if test -z "$CC"; then
2954 for ac_prog in cl.exe
2956 # Extract the first word of "$ac_prog", so it can be a program name with args.
2957 set dummy $ac_prog; ac_word=$2
2958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2960 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 if test -n "$ac_ct_CC"; then
2964 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2973 ac_cv_prog_ac_ct_CC="$ac_prog"
2974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2984 if test -n "$ac_ct_CC"; then
2985 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2986 echo "${ECHO_T}$ac_ct_CC" >&6; }
2988 { echo "$as_me:$LINENO: result: no" >&5
2989 echo "${ECHO_T}no" >&6; }
2993 test -n "$ac_ct_CC" && break
2996 if test "x$ac_ct_CC" = x; then
2999 case $cross_compiling:$ac_tool_warned in
3001 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3002 whose name does not start with the host triplet. If you think this
3003 configuration is useful to you, please write to autoconf@gnu.org." >&5
3004 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3005 whose name does not start with the host triplet. If you think this
3006 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3007 ac_tool_warned=yes ;;
3016 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3017 See \`config.log' for more details." >&5
3018 echo "$as_me: error: no acceptable C compiler found in \$PATH
3019 See \`config.log' for more details." >&2;}
3020 { (exit 1); exit 1; }; }
3022 # Provide some information about the compiler.
3023 echo "$as_me:$LINENO: checking for C compiler version" >&5
3024 ac_compiler=`set X $ac_compile; echo $2`
3025 { (ac_try="$ac_compiler --version >&5"
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031 (eval "$ac_compiler --version >&5") 2>&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }
3035 { (ac_try="$ac_compiler -v >&5"
3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3041 (eval "$ac_compiler -v >&5") 2>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }
3045 { (ac_try="$ac_compiler -V >&5"
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051 (eval "$ac_compiler -V >&5") 2>&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }
3056 cat >conftest.$ac_ext <<_ACEOF
3059 cat confdefs.h >>conftest.$ac_ext
3060 cat >>conftest.$ac_ext <<_ACEOF
3061 /* end confdefs.h. */
3071 ac_clean_files_save=$ac_clean_files
3072 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3073 # Try to create an executable without -o first, disregard a.out.
3074 # It will help us diagnose broken compilers, and finding out an intuition
3076 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3077 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3078 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3080 # List of possible output files, starting from the most likely.
3081 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3082 # only as a last resort. b.out is created by i960 compilers.
3083 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3085 # The IRIX 6 linker writes into existing files which may not be
3086 # executable, retaining their permissions. Remove them first so a
3087 # subsequent execution test works.
3089 for ac_file in $ac_files
3092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3093 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3098 if { (ac_try="$ac_link_default"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_link_default") 2>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }; then
3108 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3109 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3111 # so that the user can short-circuit this test for compilers unknown to
3113 for ac_file in $ac_files ''
3115 test -f "$ac_file" || continue
3117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3120 # We found the default executable, but exeext='' is most
3124 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3126 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3128 # We set ac_cv_exeext here because the later test for it is not
3129 # safe: cross compilers may not add the suffix if given an `-o'
3130 # argument, so we may need to know it at that point already.
3131 # Even if this section looks crufty: it has the advantage of
3138 test "$ac_cv_exeext" = no && ac_cv_exeext=
3144 { echo "$as_me:$LINENO: result: $ac_file" >&5
3145 echo "${ECHO_T}$ac_file" >&6; }
3146 if test -z "$ac_file"; then
3147 echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3150 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3151 See \`config.log' for more details." >&5
3152 echo "$as_me: error: C compiler cannot create executables
3153 See \`config.log' for more details." >&2;}
3154 { (exit 77); exit 77; }; }
3157 ac_exeext=$ac_cv_exeext
3159 # Check that the compiler produces executables we can run. If not, either
3160 # the compiler is broken, or we cross compile.
3161 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3164 # If not cross compiling, check that we can run a simple program.
3165 if test "$cross_compiling" != yes; then
3166 if { ac_try='./$ac_file'
3167 { (case "(($ac_try" in
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3172 (eval "$ac_try") 2>&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; }; then
3178 if test "$cross_compiling" = maybe; then
3181 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3182 If you meant to cross compile, use \`--host'.
3183 See \`config.log' for more details." >&5
3184 echo "$as_me: error: cannot run C compiled programs.
3185 If you meant to cross compile, use \`--host'.
3186 See \`config.log' for more details." >&2;}
3187 { (exit 1); exit 1; }; }
3191 { echo "$as_me:$LINENO: result: yes" >&5
3192 echo "${ECHO_T}yes" >&6; }
3194 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3195 ac_clean_files=$ac_clean_files_save
3196 # Check that the compiler produces executables we can run. If not, either
3197 # the compiler is broken, or we cross compile.
3198 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3199 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3200 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3201 echo "${ECHO_T}$cross_compiling" >&6; }
3203 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3204 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3205 if { (ac_try="$ac_link"
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3211 (eval "$ac_link") 2>&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }; then
3215 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3216 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3217 # work properly (i.e., refer to `conftest.exe'), while it won't with
3219 for ac_file in conftest.exe conftest conftest.*; do
3220 test -f "$ac_file" || continue
3222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3223 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3229 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3230 See \`config.log' for more details." >&5
3231 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3232 See \`config.log' for more details." >&2;}
3233 { (exit 1); exit 1; }; }
3236 rm -f conftest$ac_cv_exeext
3237 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3238 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3240 rm -f conftest.$ac_ext
3241 EXEEXT=$ac_cv_exeext
3243 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3244 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3245 if test "${ac_cv_objext+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 cat >conftest.$ac_ext <<_ACEOF
3251 cat confdefs.h >>conftest.$ac_ext
3252 cat >>conftest.$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3263 rm -f conftest.o conftest.obj
3264 if { (ac_try="$ac_compile"
3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3270 (eval "$ac_compile") 2>&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; then
3274 for ac_file in conftest.o conftest.obj conftest.*; do
3275 test -f "$ac_file" || continue;
3277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3278 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3286 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3287 See \`config.log' for more details." >&5
3288 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3289 See \`config.log' for more details." >&2;}
3290 { (exit 1); exit 1; }; }
3293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3295 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3296 echo "${ECHO_T}$ac_cv_objext" >&6; }
3297 OBJEXT=$ac_cv_objext
3299 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3300 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3301 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 cat >conftest.$ac_ext <<_ACEOF
3307 cat confdefs.h >>conftest.$ac_ext
3308 cat >>conftest.$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3322 rm -f conftest.$ac_objext
3323 if { (ac_try="$ac_compile"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compile") 2>conftest.er1
3331 grep -v '^ *+' conftest.er1 >conftest.err
3333 cat conftest.err >&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } &&
3336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3337 { (case "(($ac_try" in
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3342 (eval "$ac_try") 2>&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; } &&
3346 { ac_try='test -s conftest.$ac_objext'
3347 { (case "(($ac_try" in
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3352 (eval "$ac_try") 2>&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; }; then
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3368 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3369 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3370 GCC=`test $ac_compiler_gnu = yes && echo yes`
3371 ac_test_CFLAGS=${CFLAGS+set}
3372 ac_save_CFLAGS=$CFLAGS
3373 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3374 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3375 if test "${ac_cv_prog_cc_g+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 ac_save_c_werror_flag=$ac_c_werror_flag
3379 ac_c_werror_flag=yes
3382 cat >conftest.$ac_ext <<_ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3397 rm -f conftest.$ac_objext
3398 if { (ac_try="$ac_compile"
3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3404 (eval "$ac_compile") 2>conftest.er1
3406 grep -v '^ *+' conftest.er1 >conftest.err
3408 cat conftest.err >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } &&
3411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3412 { (case "(($ac_try" in
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_try") 2>&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; } &&
3421 { ac_try='test -s conftest.$ac_objext'
3422 { (case "(($ac_try" in
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3427 (eval "$ac_try") 2>&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3452 rm -f conftest.$ac_objext
3453 if { (ac_try="$ac_compile"
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3459 (eval "$ac_compile") 2>conftest.er1
3461 grep -v '^ *+' conftest.er1 >conftest.err
3463 cat conftest.err >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } &&
3466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3467 { (case "(($ac_try" in
3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3472 (eval "$ac_try") 2>&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; } &&
3476 { ac_try='test -s conftest.$ac_objext'
3477 { (case "(($ac_try" in
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3482 (eval "$ac_try") 2>&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); }; }; then
3488 echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3491 ac_c_werror_flag=$ac_save_c_werror_flag
3493 cat >conftest.$ac_ext <<_ACEOF
3496 cat confdefs.h >>conftest.$ac_ext
3497 cat >>conftest.$ac_ext <<_ACEOF
3498 /* end confdefs.h. */
3508 rm -f conftest.$ac_objext
3509 if { (ac_try="$ac_compile"
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3515 (eval "$ac_compile") 2>conftest.er1
3517 grep -v '^ *+' conftest.er1 >conftest.err
3519 cat conftest.err >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } &&
3522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3523 { (case "(($ac_try" in
3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525 *) ac_try_echo=$ac_try;;
3527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3528 (eval "$ac_try") 2>&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; } &&
3532 { ac_try='test -s conftest.$ac_objext'
3533 { (case "(($ac_try" in
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3538 (eval "$ac_try") 2>&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); }; }; then
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 ac_c_werror_flag=$ac_save_c_werror_flag
3559 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3560 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3561 if test "$ac_test_CFLAGS" = set; then
3562 CFLAGS=$ac_save_CFLAGS
3563 elif test $ac_cv_prog_cc_g = yes; then
3564 if test "$GCC" = yes; then
3570 if test "$GCC" = yes; then
3576 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3577 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3578 if test "${ac_cv_prog_cc_c89+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 ac_cv_prog_cc_c89=no
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3591 #include <sys/types.h>
3592 #include <sys/stat.h>
3593 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3594 struct buf { int x; };
3595 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3596 static char *e (p, i)
3602 static char *f (char * (*g) (char **, int), char **p, ...)
3607 s = g (p, va_arg (v,int));
3612 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3613 function prototypes and stuff, but not '\xHH' hex character constants.
3614 These don't provoke an error unfortunately, instead are silently treated
3615 as 'x'. The following induces an error, until -std is added to get
3616 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3617 array size at least. It's necessary to write '\x00'==0 to get something
3618 that's true only with -std. */
3619 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3621 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3622 inside strings and character constants. */
3624 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3626 int test (int i, double x);
3627 struct s1 {int (*f) (int a);};
3628 struct s2 {int (*f) (double a);};
3629 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3635 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3640 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3641 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3643 CC="$ac_save_CC $ac_arg"
3644 rm -f conftest.$ac_objext
3645 if { (ac_try="$ac_compile"
3647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648 *) ac_try_echo=$ac_try;;
3650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3651 (eval "$ac_compile") 2>conftest.er1
3653 grep -v '^ *+' conftest.er1 >conftest.err
3655 cat conftest.err >&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); } &&
3658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3659 { (case "(($ac_try" in
3660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664 (eval "$ac_try") 2>&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); }; } &&
3668 { ac_try='test -s conftest.$ac_objext'
3669 { (case "(($ac_try" in
3670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3671 *) ac_try_echo=$ac_try;;
3673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3674 (eval "$ac_try") 2>&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then
3678 ac_cv_prog_cc_c89=$ac_arg
3680 echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5
3686 rm -f core conftest.err conftest.$ac_objext
3687 test "x$ac_cv_prog_cc_c89" != "xno" && break
3689 rm -f conftest.$ac_ext
3694 case "x$ac_cv_prog_cc_c89" in
3696 { echo "$as_me:$LINENO: result: none needed" >&5
3697 echo "${ECHO_T}none needed" >&6; } ;;
3699 { echo "$as_me:$LINENO: result: unsupported" >&5
3700 echo "${ECHO_T}unsupported" >&6; } ;;
3702 CC="$CC $ac_cv_prog_cc_c89"
3703 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3704 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3709 ac_cpp='$CPP $CPPFLAGS'
3710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715 ac_cpp='$CXXCPP $CPPFLAGS'
3716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3719 if test -z "$CXX"; then
3720 if test -n "$CCC"; then
3723 if test -n "$ac_tool_prefix"; then
3724 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3730 if test "${ac_cv_prog_CXX+set}" = set; then
3731 echo $ECHO_N "(cached) $ECHO_C" >&6
3733 if test -n "$CXX"; then
3734 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3743 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 if test -n "$CXX"; then
3755 { echo "$as_me:$LINENO: result: $CXX" >&5
3756 echo "${ECHO_T}$CXX" >&6; }
3758 { echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6; }
3763 test -n "$CXX" && break
3766 if test -z "$CXX"; then
3768 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3770 # Extract the first word of "$ac_prog", so it can be a program name with args.
3771 set dummy $ac_prog; ac_word=$2
3772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3774 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 if test -n "$ac_ct_CXX"; then
3778 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3787 ac_cv_prog_ac_ct_CXX="$ac_prog"
3788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3798 if test -n "$ac_ct_CXX"; then
3799 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3800 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3802 { echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6; }
3807 test -n "$ac_ct_CXX" && break
3810 if test "x$ac_ct_CXX" = x; then
3813 case $cross_compiling:$ac_tool_warned in
3815 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3816 whose name does not start with the host triplet. If you think this
3817 configuration is useful to you, please write to autoconf@gnu.org." >&5
3818 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3819 whose name does not start with the host triplet. If you think this
3820 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3821 ac_tool_warned=yes ;;
3829 # Provide some information about the compiler.
3830 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3831 ac_compiler=`set X $ac_compile; echo $2`
3832 { (ac_try="$ac_compiler --version >&5"
3834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3835 *) ac_try_echo=$ac_try;;
3837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3838 (eval "$ac_compiler --version >&5") 2>&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); }
3842 { (ac_try="$ac_compiler -v >&5"
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3848 (eval "$ac_compiler -v >&5") 2>&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); }
3852 { (ac_try="$ac_compiler -V >&5"
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858 (eval "$ac_compiler -V >&5") 2>&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }
3863 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3864 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3865 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 cat >conftest.$ac_ext <<_ACEOF
3871 cat confdefs.h >>conftest.$ac_ext
3872 cat >>conftest.$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3886 rm -f conftest.$ac_objext
3887 if { (ac_try="$ac_compile"
3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3893 (eval "$ac_compile") 2>conftest.er1
3895 grep -v '^ *+' conftest.er1 >conftest.err
3897 cat conftest.err >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); } &&
3900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3901 { (case "(($ac_try" in
3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3906 (eval "$ac_try") 2>&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); }; } &&
3910 { ac_try='test -s conftest.$ac_objext'
3911 { (case "(($ac_try" in
3912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913 *) ac_try_echo=$ac_try;;
3915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3916 (eval "$ac_try") 2>&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); }; }; then
3922 echo "$as_me: failed program was:" >&5
3923 sed 's/^/| /' conftest.$ac_ext >&5
3928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3929 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3932 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3933 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3934 GXX=`test $ac_compiler_gnu = yes && echo yes`
3935 ac_test_CXXFLAGS=${CXXFLAGS+set}
3936 ac_save_CXXFLAGS=$CXXFLAGS
3937 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3938 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3939 if test "${ac_cv_prog_cxx_g+set}" = set; then
3940 echo $ECHO_N "(cached) $ECHO_C" >&6
3942 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3943 ac_cxx_werror_flag=yes
3946 cat >conftest.$ac_ext <<_ACEOF
3949 cat confdefs.h >>conftest.$ac_ext
3950 cat >>conftest.$ac_ext <<_ACEOF
3951 /* end confdefs.h. */
3961 rm -f conftest.$ac_objext
3962 if { (ac_try="$ac_compile"
3964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965 *) ac_try_echo=$ac_try;;
3967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3968 (eval "$ac_compile") 2>conftest.er1
3970 grep -v '^ *+' conftest.er1 >conftest.err
3972 cat conftest.err >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); } &&
3975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3976 { (case "(($ac_try" in
3977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978 *) ac_try_echo=$ac_try;;
3980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3981 (eval "$ac_try") 2>&5
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); }; } &&
3985 { ac_try='test -s conftest.$ac_objext'
3986 { (case "(($ac_try" in
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3991 (eval "$ac_try") 2>&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); }; }; then
3995 ac_cv_prog_cxx_g=yes
3997 echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.$ac_ext >&5
4001 cat >conftest.$ac_ext <<_ACEOF
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4016 rm -f conftest.$ac_objext
4017 if { (ac_try="$ac_compile"
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023 (eval "$ac_compile") 2>conftest.er1
4025 grep -v '^ *+' conftest.er1 >conftest.err
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4031 { (case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_try") 2>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; } &&
4040 { ac_try='test -s conftest.$ac_objext'
4041 { (case "(($ac_try" in
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_try") 2>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; }; then
4052 echo "$as_me: failed program was:" >&5
4053 sed 's/^/| /' conftest.$ac_ext >&5
4055 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4057 cat >conftest.$ac_ext <<_ACEOF
4060 cat confdefs.h >>conftest.$ac_ext
4061 cat >>conftest.$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4072 rm -f conftest.$ac_objext
4073 if { (ac_try="$ac_compile"
4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076 *) ac_try_echo=$ac_try;;
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_compile") 2>conftest.er1
4081 grep -v '^ *+' conftest.er1 >conftest.err
4083 cat conftest.err >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } &&
4086 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4087 { (case "(($ac_try" in
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4092 (eval "$ac_try") 2>&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try='test -s conftest.$ac_objext'
4097 { (case "(($ac_try" in
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102 (eval "$ac_try") 2>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; }; then
4106 ac_cv_prog_cxx_g=yes
4108 echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.$ac_ext >&5
4114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4121 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4123 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4124 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4125 if test "$ac_test_CXXFLAGS" = set; then
4126 CXXFLAGS=$ac_save_CXXFLAGS
4127 elif test $ac_cv_prog_cxx_g = yes; then
4128 if test "$GXX" = yes; then
4134 if test "$GXX" = yes; then
4141 ac_cpp='$CPP $CPPFLAGS'
4142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4147 ac_cpp='$CPP $CPPFLAGS'
4148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4151 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4152 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4153 # On Suns, sometimes $CPP names a directory.
4154 if test -n "$CPP" && test -d "$CPP"; then
4157 if test -z "$CPP"; then
4158 if test "${ac_cv_prog_CPP+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 # Double quotes because CPP needs to be expanded
4162 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4165 for ac_c_preproc_warn_flag in '' yes
4167 # Use a header file that comes with gcc, so configuring glibc
4168 # with a fresh cross-compiler works.
4169 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4170 # <limits.h> exists even on freestanding compilers.
4171 # On the NeXT, cc -E runs the code through the compiler's parser,
4172 # not just through cpp. "Syntax error" is here to catch this case.
4173 cat >conftest.$ac_ext <<_ACEOF
4176 cat confdefs.h >>conftest.$ac_ext
4177 cat >>conftest.$ac_ext <<_ACEOF
4178 /* end confdefs.h. */
4180 # include <limits.h>
4182 # include <assert.h>
4186 if { (ac_try="$ac_cpp conftest.$ac_ext"
4188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4189 *) ac_try_echo=$ac_try;;
4191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4192 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4194 grep -v '^ *+' conftest.er1 >conftest.err
4196 cat conftest.err >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); } >/dev/null; then
4199 if test -s conftest.err; then
4200 ac_cpp_err=$ac_c_preproc_warn_flag
4201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4208 if test -z "$ac_cpp_err"; then
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.$ac_ext >&5
4214 # Broken: fails on valid input.
4218 rm -f conftest.err conftest.$ac_ext
4220 # OK, works on sane cases. Now check whether nonexistent headers
4221 # can be detected and how.
4222 cat >conftest.$ac_ext <<_ACEOF
4225 cat confdefs.h >>conftest.$ac_ext
4226 cat >>conftest.$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4228 #include <ac_nonexistent.h>
4230 if { (ac_try="$ac_cpp conftest.$ac_ext"
4232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4233 *) ac_try_echo=$ac_try;;
4235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4238 grep -v '^ *+' conftest.er1 >conftest.err
4240 cat conftest.err >&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); } >/dev/null; then
4243 if test -s conftest.err; then
4244 ac_cpp_err=$ac_c_preproc_warn_flag
4245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4252 if test -z "$ac_cpp_err"; then
4253 # Broken: success on invalid input.
4256 echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.$ac_ext >&5
4259 # Passes both tests.
4264 rm -f conftest.err conftest.$ac_ext
4267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4268 rm -f conftest.err conftest.$ac_ext
4269 if $ac_preproc_ok; then
4281 { echo "$as_me:$LINENO: result: $CPP" >&5
4282 echo "${ECHO_T}$CPP" >&6; }
4284 for ac_c_preproc_warn_flag in '' yes
4286 # Use a header file that comes with gcc, so configuring glibc
4287 # with a fresh cross-compiler works.
4288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4289 # <limits.h> exists even on freestanding compilers.
4290 # On the NeXT, cc -E runs the code through the compiler's parser,
4291 # not just through cpp. "Syntax error" is here to catch this case.
4292 cat >conftest.$ac_ext <<_ACEOF
4295 cat confdefs.h >>conftest.$ac_ext
4296 cat >>conftest.$ac_ext <<_ACEOF
4297 /* end confdefs.h. */
4299 # include <limits.h>
4301 # include <assert.h>
4305 if { (ac_try="$ac_cpp conftest.$ac_ext"
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4313 grep -v '^ *+' conftest.er1 >conftest.err
4315 cat conftest.err >&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); } >/dev/null; then
4318 if test -s conftest.err; then
4319 ac_cpp_err=$ac_c_preproc_warn_flag
4320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4327 if test -z "$ac_cpp_err"; then
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 # Broken: fails on valid input.
4337 rm -f conftest.err conftest.$ac_ext
4339 # OK, works on sane cases. Now check whether nonexistent headers
4340 # can be detected and how.
4341 cat >conftest.$ac_ext <<_ACEOF
4344 cat confdefs.h >>conftest.$ac_ext
4345 cat >>conftest.$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4347 #include <ac_nonexistent.h>
4349 if { (ac_try="$ac_cpp conftest.$ac_ext"
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4357 grep -v '^ *+' conftest.er1 >conftest.err
4359 cat conftest.err >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } >/dev/null; then
4362 if test -s conftest.err; then
4363 ac_cpp_err=$ac_c_preproc_warn_flag
4364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4371 if test -z "$ac_cpp_err"; then
4372 # Broken: success on invalid input.
4375 echo "$as_me: failed program was:" >&5
4376 sed 's/^/| /' conftest.$ac_ext >&5
4378 # Passes both tests.
4383 rm -f conftest.err conftest.$ac_ext
4386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4387 rm -f conftest.err conftest.$ac_ext
4388 if $ac_preproc_ok; then
4391 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4392 See \`config.log' for more details." >&5
4393 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4394 See \`config.log' for more details." >&2;}
4395 { (exit 1); exit 1; }; }
4399 ac_cpp='$CPP $CPPFLAGS'
4400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4405 ac_cpp='$CXXCPP $CPPFLAGS'
4406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4409 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4410 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4411 if test -z "$CXXCPP"; then
4412 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 # Double quotes because CXXCPP needs to be expanded
4416 for CXXCPP in "$CXX -E" "/lib/cpp"
4419 for ac_cxx_preproc_warn_flag in '' yes
4421 # Use a header file that comes with gcc, so configuring glibc
4422 # with a fresh cross-compiler works.
4423 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4424 # <limits.h> exists even on freestanding compilers.
4425 # On the NeXT, cc -E runs the code through the compiler's parser,
4426 # not just through cpp. "Syntax error" is here to catch this case.
4427 cat >conftest.$ac_ext <<_ACEOF
4430 cat confdefs.h >>conftest.$ac_ext
4431 cat >>conftest.$ac_ext <<_ACEOF
4432 /* end confdefs.h. */
4434 # include <limits.h>
4436 # include <assert.h>
4440 if { (ac_try="$ac_cpp conftest.$ac_ext"
4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4446 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4448 grep -v '^ *+' conftest.er1 >conftest.err
4450 cat conftest.err >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } >/dev/null; then
4453 if test -s conftest.err; then
4454 ac_cpp_err=$ac_cxx_preproc_warn_flag
4455 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4462 if test -z "$ac_cpp_err"; then
4465 echo "$as_me: failed program was:" >&5
4466 sed 's/^/| /' conftest.$ac_ext >&5
4468 # Broken: fails on valid input.
4472 rm -f conftest.err conftest.$ac_ext
4474 # OK, works on sane cases. Now check whether nonexistent headers
4475 # can be detected and how.
4476 cat >conftest.$ac_ext <<_ACEOF
4479 cat confdefs.h >>conftest.$ac_ext
4480 cat >>conftest.$ac_ext <<_ACEOF
4481 /* end confdefs.h. */
4482 #include <ac_nonexistent.h>
4484 if { (ac_try="$ac_cpp conftest.$ac_ext"
4486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4492 grep -v '^ *+' conftest.er1 >conftest.err
4494 cat conftest.err >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); } >/dev/null; then
4497 if test -s conftest.err; then
4498 ac_cpp_err=$ac_cxx_preproc_warn_flag
4499 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4506 if test -z "$ac_cpp_err"; then
4507 # Broken: success on invalid input.
4510 echo "$as_me: failed program was:" >&5
4511 sed 's/^/| /' conftest.$ac_ext >&5
4513 # Passes both tests.
4518 rm -f conftest.err conftest.$ac_ext
4521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4522 rm -f conftest.err conftest.$ac_ext
4523 if $ac_preproc_ok; then
4528 ac_cv_prog_CXXCPP=$CXXCPP
4531 CXXCPP=$ac_cv_prog_CXXCPP
4533 ac_cv_prog_CXXCPP=$CXXCPP
4535 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
4536 echo "${ECHO_T}$CXXCPP" >&6; }
4538 for ac_cxx_preproc_warn_flag in '' yes
4540 # Use a header file that comes with gcc, so configuring glibc
4541 # with a fresh cross-compiler works.
4542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4543 # <limits.h> exists even on freestanding compilers.
4544 # On the NeXT, cc -E runs the code through the compiler's parser,
4545 # not just through cpp. "Syntax error" is here to catch this case.
4546 cat >conftest.$ac_ext <<_ACEOF
4549 cat confdefs.h >>conftest.$ac_ext
4550 cat >>conftest.$ac_ext <<_ACEOF
4551 /* end confdefs.h. */
4553 # include <limits.h>
4555 # include <assert.h>
4559 if { (ac_try="$ac_cpp conftest.$ac_ext"
4561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4567 grep -v '^ *+' conftest.er1 >conftest.err
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } >/dev/null; then
4572 if test -s conftest.err; then
4573 ac_cpp_err=$ac_cxx_preproc_warn_flag
4574 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4581 if test -z "$ac_cpp_err"; then
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 # Broken: fails on valid input.
4591 rm -f conftest.err conftest.$ac_ext
4593 # OK, works on sane cases. Now check whether nonexistent headers
4594 # can be detected and how.
4595 cat >conftest.$ac_ext <<_ACEOF
4598 cat confdefs.h >>conftest.$ac_ext
4599 cat >>conftest.$ac_ext <<_ACEOF
4600 /* end confdefs.h. */
4601 #include <ac_nonexistent.h>
4603 if { (ac_try="$ac_cpp conftest.$ac_ext"
4605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4606 *) ac_try_echo=$ac_try;;
4608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4611 grep -v '^ *+' conftest.er1 >conftest.err
4613 cat conftest.err >&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); } >/dev/null; then
4616 if test -s conftest.err; then
4617 ac_cpp_err=$ac_cxx_preproc_warn_flag
4618 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4625 if test -z "$ac_cpp_err"; then
4626 # Broken: success on invalid input.
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.$ac_ext >&5
4632 # Passes both tests.
4637 rm -f conftest.err conftest.$ac_ext
4640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4641 rm -f conftest.err conftest.$ac_ext
4642 if $ac_preproc_ok; then
4645 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4646 See \`config.log' for more details." >&5
4647 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4648 See \`config.log' for more details." >&2;}
4649 { (exit 1); exit 1; }; }
4653 ac_cpp='$CPP $CPPFLAGS'
4654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4658 # This macro is just copied into our local acinclude.m4 from libtool.m4 so that
4659 # the developers regenerating the configure script don't have to install libtool.
4660 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4661 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4662 if test "${ac_cv_path_SED+set}" = set; then
4663 echo $ECHO_N "(cached) $ECHO_C" >&6
4665 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4666 for ac_i in 1 2 3 4 5 6 7; do
4667 ac_script="$ac_script$as_nl$ac_script"
4669 echo "$ac_script" | sed 99q >conftest.sed
4670 $as_unset ac_script || ac_script=
4671 # Extract the first word of "sed gsed" to use in msg output
4672 if test -z "$SED"; then
4673 set dummy sed gsed; ac_prog_name=$2
4674 if test "${ac_cv_path_SED+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4677 ac_path_SED_found=false
4678 # Loop through the user's path and test for each of PROGNAME-LIST
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683 test -z "$as_dir" && as_dir=.
4684 for ac_prog in sed gsed; do
4685 for ac_exec_ext in '' $ac_executable_extensions; do
4686 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4687 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
4688 # Check for GNU ac_path_SED and select it if it is found.
4689 # Check for GNU $ac_path_SED
4690 case `"$ac_path_SED" --version 2>&1` in
4692 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4695 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4698 cat "conftest.in" "conftest.in" >"conftest.tmp"
4699 mv "conftest.tmp" "conftest.in"
4700 cp "conftest.in" "conftest.nl"
4701 echo '' >> "conftest.nl"