2 # From configure.ac Revision: 35812 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59e.
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 which exist, to save several forks.
237 if test -f "$as_shell" &&
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="asterisk.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
573 # include <sys/types.h>
576 # include <sys/stat.h>
587 # if !STDC_HEADERS && HAVE_MEMORY_H
593 # include <strings.h>
596 # include <inttypes.h>
614 program_transform_name
802 ac_precious_vars='build_alias
816 # Initialize some variables set by options.
818 ac_init_version=false
819 # The variables have the same names as the options, with
820 # dashes changed to underlines.
828 program_transform_name=s,x,x,
836 # Installation directory options.
837 # These are left unexpanded so users can "make install exec_prefix=/foo"
838 # and all the variables that are supposed to be based on exec_prefix
839 # by default will actually change.
840 # Use braces instead of parens because sh, perl, etc. also accept them.
841 # (The list follows the same order as the GNU Coding Standards.)
842 bindir='${exec_prefix}/bin'
843 sbindir='${exec_prefix}/sbin'
844 libexecdir='${exec_prefix}/libexec'
845 datarootdir='${prefix}/share'
846 datadir='${datarootdir}'
847 sysconfdir='${prefix}/etc'
848 sharedstatedir='${prefix}/com'
849 localstatedir='${prefix}/var'
850 includedir='${prefix}/include'
851 oldincludedir='/usr/include'
852 docdir='${datarootdir}/doc/${PACKAGE}'
853 infodir='${datarootdir}/info'
858 libdir='${exec_prefix}/lib'
859 localedir='${datarootdir}/locale'
860 mandir='${datarootdir}/man'
866 # If the previous option needs an argument, assign it.
867 if test -n "$ac_prev"; then
868 eval $ac_prev=\$ac_option
874 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
878 # Accept the important Cygnus configure options, so we can diagnose typos.
880 case $ac_dashdash$ac_option in
884 -bindir | --bindir | --bindi | --bind | --bin | --bi)
886 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
889 -build | --build | --buil | --bui | --bu)
890 ac_prev=build_alias ;;
891 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
892 build_alias=$ac_optarg ;;
894 -cache-file | --cache-file | --cache-fil | --cache-fi \
895 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
896 ac_prev=cache_file ;;
897 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
898 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
899 cache_file=$ac_optarg ;;
902 cache_file=config.cache ;;
904 -datadir | --datadir | --datadi | --datad)
906 -datadir=* | --datadir=* | --datadi=* | --datad=*)
907 datadir=$ac_optarg ;;
909 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
910 | --dataroo | --dataro | --datar)
911 ac_prev=datarootdir ;;
912 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
913 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
914 datarootdir=$ac_optarg ;;
916 -disable-* | --disable-*)
917 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
920 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
921 { (exit 1); exit 1; }; }
922 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
923 eval enable_$ac_feature=no ;;
925 -docdir | --docdir | --docdi | --doc | --do)
927 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
930 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
932 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
935 -enable-* | --enable-*)
936 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
939 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
940 { (exit 1); exit 1; }; }
941 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
942 eval enable_$ac_feature=\$ac_optarg ;;
944 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
945 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
946 | --exec | --exe | --ex)
947 ac_prev=exec_prefix ;;
948 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
949 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
950 | --exec=* | --exe=* | --ex=*)
951 exec_prefix=$ac_optarg ;;
953 -gas | --gas | --ga | --g)
954 # Obsolete; use --with-gas.
957 -help | --help | --hel | --he | -h)
959 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
960 ac_init_help=recursive ;;
961 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
962 ac_init_help=short ;;
964 -host | --host | --hos | --ho)
965 ac_prev=host_alias ;;
966 -host=* | --host=* | --hos=* | --ho=*)
967 host_alias=$ac_optarg ;;
969 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
971 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
973 htmldir=$ac_optarg ;;
975 -includedir | --includedir | --includedi | --included | --include \
976 | --includ | --inclu | --incl | --inc)
977 ac_prev=includedir ;;
978 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
979 | --includ=* | --inclu=* | --incl=* | --inc=*)
980 includedir=$ac_optarg ;;
982 -infodir | --infodir | --infodi | --infod | --info | --inf)
984 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
985 infodir=$ac_optarg ;;
987 -libdir | --libdir | --libdi | --libd)
989 -libdir=* | --libdir=* | --libdi=* | --libd=*)
992 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
993 | --libexe | --libex | --libe)
994 ac_prev=libexecdir ;;
995 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
996 | --libexe=* | --libex=* | --libe=*)
997 libexecdir=$ac_optarg ;;
999 -localedir | --localedir | --localedi | --localed | --locale)
1000 ac_prev=localedir ;;
1001 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1002 localedir=$ac_optarg ;;
1004 -localstatedir | --localstatedir | --localstatedi | --localstated \
1005 | --localstate | --localstat | --localsta | --localst | --locals)
1006 ac_prev=localstatedir ;;
1007 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1008 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1009 localstatedir=$ac_optarg ;;
1011 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1013 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1014 mandir=$ac_optarg ;;
1016 -nfp | --nfp | --nf)
1017 # Obsolete; use --without-fp.
1020 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1021 | --no-cr | --no-c | -n)
1024 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1025 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1028 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1029 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1030 | --oldin | --oldi | --old | --ol | --o)
1031 ac_prev=oldincludedir ;;
1032 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1033 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1034 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1035 oldincludedir=$ac_optarg ;;
1037 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1039 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1040 prefix=$ac_optarg ;;
1042 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1043 | --program-pre | --program-pr | --program-p)
1044 ac_prev=program_prefix ;;
1045 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1046 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1047 program_prefix=$ac_optarg ;;
1049 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1050 | --program-suf | --program-su | --program-s)
1051 ac_prev=program_suffix ;;
1052 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1053 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1054 program_suffix=$ac_optarg ;;
1056 -program-transform-name | --program-transform-name \
1057 | --program-transform-nam | --program-transform-na \
1058 | --program-transform-n | --program-transform- \
1059 | --program-transform | --program-transfor \
1060 | --program-transfo | --program-transf \
1061 | --program-trans | --program-tran \
1062 | --progr-tra | --program-tr | --program-t)
1063 ac_prev=program_transform_name ;;
1064 -program-transform-name=* | --program-transform-name=* \
1065 | --program-transform-nam=* | --program-transform-na=* \
1066 | --program-transform-n=* | --program-transform-=* \
1067 | --program-transform=* | --program-transfor=* \
1068 | --program-transfo=* | --program-transf=* \
1069 | --program-trans=* | --program-tran=* \
1070 | --progr-tra=* | --program-tr=* | --program-t=*)
1071 program_transform_name=$ac_optarg ;;
1073 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1075 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1076 pdfdir=$ac_optarg ;;
1078 -psdir | --psdir | --psdi | --psd | --ps)
1080 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1084 | -silent | --silent | --silen | --sile | --sil)
1087 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1089 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1091 sbindir=$ac_optarg ;;
1093 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1094 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1095 | --sharedst | --shareds | --shared | --share | --shar \
1097 ac_prev=sharedstatedir ;;
1098 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1099 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1100 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1102 sharedstatedir=$ac_optarg ;;
1104 -site | --site | --sit)
1106 -site=* | --site=* | --sit=*)
1109 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1111 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1112 srcdir=$ac_optarg ;;
1114 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1115 | --syscon | --sysco | --sysc | --sys | --sy)
1116 ac_prev=sysconfdir ;;
1117 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1118 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1119 sysconfdir=$ac_optarg ;;
1121 -target | --target | --targe | --targ | --tar | --ta | --t)
1122 ac_prev=target_alias ;;
1123 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1124 target_alias=$ac_optarg ;;
1126 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1129 -version | --version | --versio | --versi | --vers | -V)
1130 ac_init_version=: ;;
1133 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1134 # Reject names that are not valid shell variable names.
1135 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1136 { echo "$as_me: error: invalid package name: $ac_package" >&2
1137 { (exit 1); exit 1; }; }
1138 ac_package=`echo $ac_package| sed 's/-/_/g'`
1139 eval with_$ac_package=\$ac_optarg ;;
1141 -without-* | --without-*)
1142 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1145 { echo "$as_me: error: invalid package name: $ac_package" >&2
1146 { (exit 1); exit 1; }; }
1147 ac_package=`echo $ac_package | sed 's/-/_/g'`
1148 eval with_$ac_package=no ;;
1151 # Obsolete; use --with-x.
1154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1155 | --x-incl | --x-inc | --x-in | --x-i)
1156 ac_prev=x_includes ;;
1157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1159 x_includes=$ac_optarg ;;
1161 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1163 ac_prev=x_libraries ;;
1164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1166 x_libraries=$ac_optarg ;;
1168 -*) { echo "$as_me: error: unrecognized option: $ac_option
1169 Try \`$0 --help' for more information." >&2
1170 { (exit 1); exit 1; }; }
1174 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1177 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1178 { (exit 1); exit 1; }; }
1179 eval $ac_envvar=\$ac_optarg
1180 export $ac_envvar ;;
1183 # FIXME: should be removed in autoconf 3.0.
1184 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1187 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1193 if test -n "$ac_prev"; then
1194 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1195 { echo "$as_me: error: missing argument to $ac_option" >&2
1196 { (exit 1); exit 1; }; }
1199 # Be sure to have absolute directory names.
1200 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201 datadir sysconfdir sharedstatedir localstatedir includedir \
1202 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203 libdir localedir mandir
1205 eval ac_val=\$$ac_var
1207 [\\/$]* | ?:[\\/]* ) continue;;
1208 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1210 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1211 { (exit 1); exit 1; }; }
1214 # There might be people who depend on the old broken behavior: `$host'
1215 # used to hold the argument of --host etc.
1216 # FIXME: To remove some day.
1219 target=$target_alias
1221 # FIXME: To remove some day.
1222 if test "x$host_alias" != x; then
1223 if test "x$build_alias" = x; then
1224 cross_compiling=maybe
1225 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1226 If a cross compiler is detected then cross compile mode will be used." >&2
1227 elif test "x$build_alias" != "x$host_alias"; then
1233 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1235 test "$silent" = yes && exec 6>/dev/null
1238 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1239 ac_ls_di=`ls -di .` &&
1240 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1241 { echo "$as_me: error: Working directory cannot be determined" >&2
1242 { (exit 1); exit 1; }; }
1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1244 { echo "$as_me: error: pwd does not report name of working directory" >&2
1245 { (exit 1); exit 1; }; }
1248 # Find the source files, if location was not specified.
1249 if test -z "$srcdir"; then
1250 ac_srcdir_defaulted=yes
1251 # Try the directory containing this script, then the parent directory.
1252 ac_confdir=`$as_dirname -- "$0" ||
1253 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1254 X"$0" : 'X\(//\)[^/]' \| \
1255 X"$0" : 'X\(//\)$' \| \
1256 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1280 ac_srcdir_defaulted=no
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1283 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1284 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1285 { (exit 1); exit 1; }; }
1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1290 { (exit 1); exit 1; }; }
1292 # When building in place, set srcdir=.
1293 if test "$ac_abs_confdir" = "$ac_pwd"; then
1296 # Remove unnecessary trailing slashes from srcdir.
1297 # Double slashes in file names in object file debugging info
1298 # mess up M-x gdb in Emacs.
1300 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1302 for ac_var in $ac_precious_vars; do
1303 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1304 eval ac_env_${ac_var}_value=\$${ac_var}
1305 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1306 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310 # Report the --help message.
1312 if test "$ac_init_help" = "long"; then
1313 # Omit some internal or obsolete options to make the list less imposing.
1314 # This message is too long to be a string in the A/UX 3.1 sh.
1316 \`configure' configures this package to adapt to many kinds of systems.
1318 Usage: $0 [OPTION]... [VAR=VALUE]...
1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1321 VAR=VALUE. See below for descriptions of some of the useful variables.
1323 Defaults for the options are specified in brackets.
1326 -h, --help display this help and exit
1327 --help=short display options specific to this package
1328 --help=recursive display the short help of all the included packages
1329 -V, --version display version information and exit
1330 -q, --quiet, --silent do not print \`checking...' messages
1331 --cache-file=FILE cache test results in FILE [disabled]
1332 -C, --config-cache alias for \`--cache-file=config.cache'
1333 -n, --no-create do not create output files
1334 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1336 Installation directories:
1337 --prefix=PREFIX install architecture-independent files in PREFIX
1338 [$ac_default_prefix]
1339 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1342 By default, \`make install' will install all the files in
1343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1345 for instance \`--prefix=\$HOME'.
1347 For better control, use the options below.
1349 Fine tuning of the installation directories:
1350 --bindir=DIR user executables [EPREFIX/bin]
1351 --sbindir=DIR system admin executables [EPREFIX/sbin]
1352 --libexecdir=DIR program executables [EPREFIX/libexec]
1353 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1354 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1355 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1356 --libdir=DIR object code libraries [EPREFIX/lib]
1357 --includedir=DIR C header files [PREFIX/include]
1358 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1359 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1360 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1361 --infodir=DIR info documentation [DATAROOTDIR/info]
1362 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1363 --mandir=DIR man documentation [DATAROOTDIR/man]
1364 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1365 --htmldir=DIR html documentation [DOCDIR]
1366 --dvidir=DIR dvi documentation [DOCDIR]
1367 --pdfdir=DIR pdf documentation [DOCDIR]
1368 --psdir=DIR ps documentation [DOCDIR]
1374 --build=BUILD configure for building on BUILD [guessed]
1375 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1376 --target=TARGET configure for building compilers for TARGET [HOST]
1380 if test -n "$ac_init_help"; then
1385 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1386 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1387 --enable-dev-mode Turn on developer mode
1388 --disable-largefile omit support for large files
1391 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1392 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1393 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1394 --with-curses=PATH use curses files in PATH
1395 --with-gsm=PATH use libgsm files in PATH, or 'internal'
1396 --with-kde=PATH use KDE files in PATH
1397 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1398 --with-nbs=PATH use Network Broadcast Sound files in PATH
1399 --with-ncurses=PATH use ncurses files in PATH
1400 --with-netsnmp=PATH use Net-SNMP in PATH
1401 --with-newt=PATH use newt files in PATH
1402 --with-odbc=PATH use unixODBC files in PATH
1403 --with-ogg=PATH use OGG files in PATH
1404 --with-osptk=PATH use OSP Toolkit files in PATH
1405 --with-ossaudio=PATH use Open Sound System files in PATH
1406 --with-pq=PATH use PostgreSQL files in PATH
1407 --with-popt=PATH use popt files in PATH
1408 --with-pri=PATH use ISDN PRI files in PATH
1409 --with-pwlib=PATH use PWLib files in PATH
1410 --with-qt=PATH use Qt files in PATH
1411 --with-radiusclient-ng=PATH
1412 use Radius Client files in PATH
1413 --with-speex=PATH use Speex files in PATH
1414 --with-sqlite=PATH use SQLite files in PATH
1415 --with-ssl=PATH use OpenSSL files in PATH
1416 --with-tds=PATH use FreeTDS files in PATH
1417 --with-termcap=PATH use Termcap files in PATH
1418 --with-tinfo=PATH use Term Info files in PATH
1419 --with-tonezone=PATH use tonezone files in PATH
1420 --with-vorbis=PATH use Vorbis files in PATH
1421 --with-vpb=PATH use vpb files in PATH
1422 --with-z=PATH use zlib files in PATH
1423 --with-zaptel=PATH use Zaptel files in PATH
1425 Some influential environment variables:
1426 CC C compiler command
1427 CFLAGS C compiler flags
1428 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1429 nonstandard directory <lib dir>
1430 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1431 you have headers in a nonstandard directory <include dir>
1432 CXX C++ compiler command
1433 CXXFLAGS C++ compiler flags
1435 CXXCPP C++ preprocessor
1437 Use these variables to override the choices made by `configure' or to help
1438 it to find libraries and programs with nonstandard names/locations.
1444 if test "$ac_init_help" = "recursive"; then
1445 # If there are subdirs, report their specific --help.
1446 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1447 test -d "$ac_dir" || continue
1451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1454 # A ".." for each directory in $ac_dir_suffix.
1455 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1456 case $ac_top_builddir_sub in
1457 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1461 ac_abs_top_builddir=$ac_pwd
1462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1463 # for backward compatibility:
1464 ac_top_builddir=$ac_top_build_prefix
1467 .) # We are building in place.
1469 ac_top_srcdir=$ac_top_builddir_sub
1470 ac_abs_top_srcdir=$ac_pwd ;;
1471 [\\/]* | ?:[\\/]* ) # Absolute name.
1472 ac_srcdir=$srcdir$ac_dir_suffix;
1473 ac_top_srcdir=$srcdir
1474 ac_abs_top_srcdir=$srcdir ;;
1476 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1477 ac_top_srcdir=$ac_top_build_prefix$srcdir
1478 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1482 cd "$ac_dir" || { ac_status=$?; continue; }
1483 # Check for guested configure.
1484 if test -f "$ac_srcdir/configure.gnu"; then
1486 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1487 elif test -f "$ac_srcdir/configure"; then
1489 $SHELL "$ac_srcdir/configure" --help=recursive
1491 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1493 cd "$ac_pwd" || { ac_status=$?; break; }
1497 test -n "$ac_init_help" && exit $ac_status
1498 if $ac_init_version; then
1501 generated by GNU Autoconf 2.59e
1503 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1504 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1512 cat >config.log <<_ACEOF
1513 This file contains any messages produced by compilers while
1514 running configure, to aid debugging if configure makes a mistake.
1516 It was created by $as_me, which was
1517 generated by GNU Autoconf 2.59e. Invocation command line was
1529 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1530 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1531 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1532 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1533 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1535 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1536 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1538 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1539 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1540 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1541 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1542 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1543 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1544 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir=.
1553 echo "PATH: $as_dir"
1569 # Keep a trace of the command line.
1570 # Strip out --no-create and --no-recursion so they do not pile up.
1571 # Strip out --silent because we don't want to record it for future runs.
1572 # Also quote any args containing shell meta-characters.
1573 # Make two passes to allow for proper duplicate-argument suppression.
1577 ac_must_keep_next=false
1583 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1585 | -silent | --silent | --silen | --sile | --sil)
1588 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1591 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1593 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1594 if test $ac_must_keep_next = true; then
1595 ac_must_keep_next=false # Got value, back to normal.
1598 *=* | --config-cache | -C | -disable-* | --disable-* \
1599 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1600 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1601 | -with-* | --with-* | -without-* | --without-* | --x)
1602 case "$ac_configure_args0 " in
1603 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1606 -* ) ac_must_keep_next=true ;;
1609 ac_configure_args="$ac_configure_args '$ac_arg'"
1614 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1615 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1617 # When interrupted or exit'd, cleanup temporary files, and complete
1618 # config.log. We remove comments because anyway the quotes in there
1619 # would cause problems or look ugly.
1620 # WARNING: Use '\'' to represent an apostrophe within the trap.
1621 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1622 trap 'exit_status=$?
1623 # Save into config.log some information that might help in debugging.
1628 ## ---------------- ##
1629 ## Cache variables. ##
1630 ## ---------------- ##
1633 # The following way of writing the cache mishandles newlines in values,
1635 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1636 eval ac_val=\$$ac_var
1640 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1641 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1644 _ | IFS | as_nl) ;; #(
1645 *) $as_unset $ac_var ;;
1650 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1651 *${as_nl}ac_space=\ *)
1653 "s/'\''/'\''\\\\'\'''\''/g;
1654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1665 ## ----------------- ##
1666 ## Output variables. ##
1667 ## ----------------- ##
1670 for ac_var in $ac_subst_vars
1672 eval ac_val=\$$ac_var
1674 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1676 echo "$ac_var='\''$ac_val'\''"
1680 if test -n "$ac_subst_files"; then
1682 ## ------------------- ##
1683 ## File substitutions. ##
1684 ## ------------------- ##
1687 for ac_var in $ac_subst_files
1689 eval ac_val=\$$ac_var
1691 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1693 echo "$ac_var='\''$ac_val'\''"
1698 if test -s confdefs.h; then
1708 test "$ac_signal" != 0 &&
1709 echo "$as_me: caught signal $ac_signal"
1710 echo "$as_me: exit $exit_status"
1712 rm -f core *.core core.conftest.* &&
1713 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1716 for ac_signal in 1 2 13 15; do
1717 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1721 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1722 rm -f -r conftest* confdefs.h
1724 # Predefined preprocessor variables.
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_NAME "$PACKAGE_NAME"
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_STRING "$PACKAGE_STRING"
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1751 # Let the site file select an alternate cache file if it wants to.
1752 # Prefer explicitly selected file to automatically selected ones.
1753 if test -n "$CONFIG_SITE"; then
1754 set x "$CONFIG_SITE"
1755 elif test "x$prefix" != xNONE; then
1756 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1758 set x "$ac_default_prefix/share/config.site" \
1759 "$ac_default_prefix/etc/config.site"
1764 if test -r "$ac_site_file"; then
1765 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1766 echo "$as_me: loading site script $ac_site_file" >&6;}
1767 sed 's/^/| /' "$ac_site_file" >&5
1772 if test -r "$cache_file"; then
1773 # Some versions of bash will fail to source /dev/null (special
1774 # files actually), so we avoid doing that.
1775 if test -f "$cache_file"; then
1776 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1777 echo "$as_me: loading cache $cache_file" >&6;}
1779 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1780 *) . "./$cache_file";;
1784 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1785 echo "$as_me: creating cache $cache_file" >&6;}
1789 # Check that the precious variables saved in the cache have kept the same
1791 ac_cache_corrupted=false
1792 for ac_var in $ac_precious_vars; do
1793 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1794 eval ac_new_set=\$ac_env_${ac_var}_set
1795 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1796 eval ac_new_val=\$ac_env_${ac_var}_value
1797 case $ac_old_set,$ac_new_set in
1799 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1800 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1801 ac_cache_corrupted=: ;;
1803 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1804 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1805 ac_cache_corrupted=: ;;
1808 if test "x$ac_old_val" != "x$ac_new_val"; then
1809 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1810 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1811 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1812 echo "$as_me: former value: $ac_old_val" >&2;}
1813 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1814 echo "$as_me: current value: $ac_new_val" >&2;}
1815 ac_cache_corrupted=:
1818 # Pass precious variables to config.status.
1819 if test "$ac_new_set" = set; then
1821 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1822 *) ac_arg=$ac_var=$ac_new_val ;;
1824 case " $ac_configure_args " in
1825 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1826 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1830 if $ac_cache_corrupted; then
1831 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1832 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1833 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1834 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1835 { (exit 1); exit 1; }; }
1855 ac_cpp='$CPP $CPPFLAGS'
1856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1862 # cross-compile macros
1864 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1865 if test -f "$ac_dir/install-sh"; then
1867 ac_install_sh="$ac_aux_dir/install-sh -c"
1869 elif test -f "$ac_dir/install.sh"; then
1871 ac_install_sh="$ac_aux_dir/install.sh -c"
1873 elif test -f "$ac_dir/shtool"; then
1875 ac_install_sh="$ac_aux_dir/shtool install -c"
1879 if test -z "$ac_aux_dir"; then
1880 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1881 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1882 { (exit 1); exit 1; }; }
1885 # These three variables are undocumented and unsupported,
1886 # and are intended to be withdrawn in a future Autoconf release.
1887 # They can cause serious problems if a builder's source tree is in a directory
1888 # whose full name contains unusual characters.
1889 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1890 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1891 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1894 # Make sure we can run config.sub.
1895 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1896 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1897 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1898 { (exit 1); exit 1; }; }
1900 { echo "$as_me:$LINENO: checking build system type" >&5
1901 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1902 if test "${ac_cv_build+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 ac_build_alias=$build_alias
1906 test "x$ac_build_alias" = x &&
1907 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1908 test "x$ac_build_alias" = x &&
1909 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1910 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1911 { (exit 1); exit 1; }; }
1912 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1913 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1914 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1915 { (exit 1); exit 1; }; }
1918 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1919 echo "${ECHO_T}$ac_cv_build" >&6; }
1920 case $ac_cv_build in
1922 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1923 echo "$as_me: error: invalid value of canonical build" >&2;}
1924 { (exit 1); exit 1; }; };;
1927 ac_save_IFS=$IFS; IFS='-'
1933 # Remember, the first character of IFS is used to create $*,
1934 # except with old shells:
1937 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1940 { echo "$as_me:$LINENO: checking host system type" >&5
1941 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1942 if test "${ac_cv_host+set}" = set; then
1943 echo $ECHO_N "(cached) $ECHO_C" >&6
1945 if test "x$host_alias" = x; then
1946 ac_cv_host=$ac_cv_build
1948 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1949 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1950 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1951 { (exit 1); exit 1; }; }
1955 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1956 echo "${ECHO_T}$ac_cv_host" >&6; }
1959 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1960 echo "$as_me: error: invalid value of canonical host" >&2;}
1961 { (exit 1); exit 1; }; };;
1964 ac_save_IFS=$IFS; IFS='-'
1970 # Remember, the first character of IFS is used to create $*,
1971 # except with old shells:
1974 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1977 { echo "$as_me:$LINENO: checking target system type" >&5
1978 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1979 if test "${ac_cv_target+set}" = set; then
1980 echo $ECHO_N "(cached) $ECHO_C" >&6
1982 if test "x$target_alias" = x; then
1983 ac_cv_target=$ac_cv_host
1985 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1986 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1987 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1988 { (exit 1); exit 1; }; }
1992 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1993 echo "${ECHO_T}$ac_cv_target" >&6; }
1994 case $ac_cv_target in
1996 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1997 echo "$as_me: error: invalid value of canonical target" >&2;}
1998 { (exit 1); exit 1; }; };;
2000 target=$ac_cv_target
2001 ac_save_IFS=$IFS; IFS='-'
2007 # Remember, the first character of IFS is used to create $*,
2008 # except with old shells:
2011 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2014 # The aliases save the names the user supplied, while $host etc.
2015 # will get canonicalized.
2016 test -n "$target_alias" &&
2017 test "$program_prefix$program_suffix$program_transform_name" = \
2019 program_prefix=${target_alias}-
2021 # check existence of the package
2024 # specify output header file
2025 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2033 ac_default_prefix=/usr/local
2036 ac_default_prefix=/usr
2037 if test ${sysconfdir} = '${prefix}/etc'; then
2040 if test ${mandir} = '${prefix}/man'; then
2041 mandir=/usr/share/man
2046 if test ${localstatedir} = '${prefix}/var'; then
2052 cat >>confdefs.h <<_ACEOF
2053 #define PBX_PLATFORM "${host}"
2057 cat >>confdefs.h <<_ACEOF
2058 #define PBX_CPU "${host_cpu}"
2062 cat >>confdefs.h <<_ACEOF
2063 #define PBX_VENDOR "${host_vendor}"
2067 cat >>confdefs.h <<_ACEOF
2068 #define PBX_OS "${host_os}"
2072 # export some useful defines
2073 PBX_PLATFORM=${host}
2075 PBX_VENDOR=${host_vendor}
2083 if test -n "$ac_tool_prefix"; then
2084 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
2085 set dummy ${ac_tool_prefix}uname; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_path_UNAME+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2114 UNAME=$ac_cv_path_UNAME
2115 if test -n "$UNAME"; then
2116 { echo "$as_me:$LINENO: result: $UNAME" >&5
2117 echo "${ECHO_T}$UNAME" >&6; }
2119 { echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6; }
2125 if test -z "$ac_cv_path_UNAME"; then
2127 # Extract the first word of "uname", so it can be a program name with args.
2128 set dummy uname; ac_word=$2
2129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2131 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 case $ac_pt_UNAME in
2136 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir=.
2144 for ac_exec_ext in '' $ac_executable_extensions; do
2145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2146 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2157 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
2158 if test -n "$ac_pt_UNAME"; then
2159 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
2160 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
2162 { echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6; }
2166 if test "x$ac_pt_UNAME" = x; then
2169 case $cross_compiling:$ac_tool_warned in
2171 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2172 whose name does not start with the host triplet. If you think this
2173 configuration is useful to you, please write to autoconf@gnu.org." >&5
2174 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2175 whose name does not start with the host triplet. If you think this
2176 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2177 ac_tool_warned=yes ;;
2182 UNAME="$ac_cv_path_UNAME"
2185 if test ! x"${UNAME}" = xNo; then
2186 PBX_OSREV=$(${UNAME} -r)
2192 cygwin*|mingw*|windows*|winnt)
2194 cat >>confdefs.h <<\_ACEOF
2199 # this is ugly - KPF
2205 cat >>confdefs.h <<\_ACEOF
2213 cat >>confdefs.h <<\_ACEOF
2221 cat >>confdefs.h <<\_ACEOF
2225 PBX_OSTYPE="FreeBSD"
2226 # XXX temporary hack to let FreeBSD use the default paths
2227 # for local stuff. We need a better solution.
2228 if test x"${CPPFLAGS}" = x; then
2229 CPPFLAGS="-I /usr/local/include"
2231 if test x"${LDFLAGS}" = x; then
2232 LDFLAGS="-L /usr/local/lib"
2237 cat >>confdefs.h <<\_ACEOF
2241 PBX_OSTYPE="OpenBSD"
2245 cat >>confdefs.h <<\_ACEOF
2253 cat >>confdefs.h <<\_ACEOF
2261 cat >>confdefs.h <<\_ACEOF
2270 # This needs to be before any macros that use the C compiler
2272 cat >>confdefs.h <<\_ACEOF
2273 #define _GNU_SOURCE 1
2284 # cross-compile checks
2285 if test x"${build}" != x"${host}";
2287 if test -n "$ac_tool_prefix"; then
2288 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2289 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 if test "${ac_cv_prog_CC+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 if test -n "$CC"; then
2296 ac_cv_prog_CC="$CC" # Let the user override the test.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CC"; then
2317 { echo "$as_me:$LINENO: result: $CC" >&5
2318 echo "${ECHO_T}$CC" >&6; }
2320 { echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6; }
2326 if test -z "$ac_cv_prog_CC"; then
2328 # Extract the first word of "gcc", so it can be a program name with args.
2329 set dummy gcc; ac_word=$2
2330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 if test -n "$ac_ct_CC"; then
2336 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir=.
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2345 ac_cv_prog_ac_ct_CC="gcc"
2346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2356 if test -n "$ac_ct_CC"; then
2357 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2358 echo "${ECHO_T}$ac_ct_CC" >&6; }
2360 { echo "$as_me:$LINENO: result: no" >&5
2361 echo "${ECHO_T}no" >&6; }
2364 if test "x$ac_ct_CC" = x; then
2367 case $cross_compiling:$ac_tool_warned in
2369 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2370 whose name does not start with the host triplet. If you think this
2371 configuration is useful to you, please write to autoconf@gnu.org." >&5
2372 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2373 whose name does not start with the host triplet. If you think this
2374 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2375 ac_tool_warned=yes ;;
2383 if test -n "$ac_tool_prefix"; then
2384 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2385 set dummy ${ac_tool_prefix}g++; ac_word=$2
2386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2388 if test "${ac_cv_prog_CXX+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 if test -n "$CXX"; then
2392 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 test -z "$as_dir" && as_dir=.
2399 for ac_exec_ext in '' $ac_executable_extensions; do
2400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2401 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 if test -n "$CXX"; then
2413 { echo "$as_me:$LINENO: result: $CXX" >&5
2414 echo "${ECHO_T}$CXX" >&6; }
2416 { echo "$as_me:$LINENO: result: no" >&5
2417 echo "${ECHO_T}no" >&6; }
2422 if test -z "$ac_cv_prog_CXX"; then
2424 # Extract the first word of "g++", so it can be a program name with args.
2425 set dummy g++; ac_word=$2
2426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2428 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 if test -n "$ac_ct_CXX"; then
2432 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 ac_cv_prog_ac_ct_CXX="g++"
2442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2452 if test -n "$ac_ct_CXX"; then
2453 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2454 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2456 { echo "$as_me:$LINENO: result: no" >&5
2457 echo "${ECHO_T}no" >&6; }
2460 if test "x$ac_ct_CXX" = x; then
2463 case $cross_compiling:$ac_tool_warned in
2465 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2466 whose name does not start with the host triplet. If you think this
2467 configuration is useful to you, please write to autoconf@gnu.org." >&5
2468 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2469 whose name does not start with the host triplet. If you think this
2470 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2471 ac_tool_warned=yes ;;
2476 CXX="$ac_cv_prog_CXX"
2479 if test -n "$ac_tool_prefix"; then
2480 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2481 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2484 if test "${ac_cv_prog_RANLIB+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 if test -n "$RANLIB"; then
2488 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2497 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 RANLIB=$ac_cv_prog_RANLIB
2508 if test -n "$RANLIB"; then
2509 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2510 echo "${ECHO_T}$RANLIB" >&6; }
2512 { echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6; }
2518 if test -z "$ac_cv_prog_RANLIB"; then
2519 ac_ct_RANLIB=$RANLIB
2520 # Extract the first word of "ranlib", so it can be a program name with args.
2521 set dummy ranlib; ac_word=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$ac_ct_RANLIB"; then
2528 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir=.
2535 for ac_exec_ext in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_ac_ct_RANLIB="ranlib"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2548 if test -n "$ac_ct_RANLIB"; then
2549 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2550 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2552 { echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6; }
2556 if test "x$ac_ct_RANLIB" = x; then
2559 case $cross_compiling:$ac_tool_warned in
2561 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2562 whose name does not start with the host triplet. If you think this
2563 configuration is useful to you, please write to autoconf@gnu.org." >&5
2564 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2565 whose name does not start with the host triplet. If you think this
2566 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2567 ac_tool_warned=yes ;;
2569 RANLIB=$ac_ct_RANLIB
2572 RANLIB="$ac_cv_prog_RANLIB"
2575 if test -n "$ac_tool_prefix"; then
2576 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2577 set dummy ${ac_tool_prefix}ar; ac_word=$2
2578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2580 if test "${ac_cv_prog_AR+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 if test -n "$AR"; then
2584 ac_cv_prog_AR="$AR" # Let the user override the test.
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 ac_cv_prog_AR="${ac_tool_prefix}ar"
2594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 if test -n "$AR"; then
2605 { echo "$as_me:$LINENO: result: $AR" >&5
2606 echo "${ECHO_T}$AR" >&6; }
2608 { echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6; }
2614 if test -z "$ac_cv_prog_AR"; then
2616 # Extract the first word of "ar", so it can be a program name with args.
2617 set dummy ar; ac_word=$2
2618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2620 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 if test -n "$ac_ct_AR"; then
2624 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir=.
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2633 ac_cv_prog_ac_ct_AR="ar"
2634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2644 if test -n "$ac_ct_AR"; then
2645 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2646 echo "${ECHO_T}$ac_ct_AR" >&6; }
2648 { echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6; }
2652 if test "x$ac_ct_AR" = x; then
2655 case $cross_compiling:$ac_tool_warned in
2657 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2658 whose name does not start with the host triplet. If you think this
2659 configuration is useful to you, please write to autoconf@gnu.org." >&5
2660 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2661 whose name does not start with the host triplet. If you think this
2662 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2663 ac_tool_warned=yes ;;
2672 if test x"${PBX_OSTYPE}" = xWin32;
2674 if test -n "$ac_tool_prefix"; then
2675 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2676 set dummy ${ac_tool_prefix}nm; ac_word=$2
2677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2679 if test "${ac_cv_prog_NM+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 if test -n "$NM"; then
2683 ac_cv_prog_NM="$NM" # Let the user override the test.
2685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir=.
2690 for ac_exec_ext in '' $ac_executable_extensions; do
2691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2692 ac_cv_prog_NM="${ac_tool_prefix}nm"
2693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test -n "$NM"; then
2704 { echo "$as_me:$LINENO: result: $NM" >&5
2705 echo "${ECHO_T}$NM" >&6; }
2707 { echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6; }
2713 if test -z "$ac_cv_prog_NM"; then
2715 # Extract the first word of "nm", so it can be a program name with args.
2716 set dummy nm; ac_word=$2
2717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2719 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 if test -n "$ac_ct_NM"; then
2723 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir=.
2730 for ac_exec_ext in '' $ac_executable_extensions; do
2731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2732 ac_cv_prog_ac_ct_NM="nm"
2733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2743 if test -n "$ac_ct_NM"; then
2744 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
2745 echo "${ECHO_T}$ac_ct_NM" >&6; }
2747 { echo "$as_me:$LINENO: result: no" >&5
2748 echo "${ECHO_T}no" >&6; }
2751 if test "x$ac_ct_NM" = x; then
2754 case $cross_compiling:$ac_tool_warned in
2756 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2757 whose name does not start with the host triplet. If you think this
2758 configuration is useful to you, please write to autoconf@gnu.org." >&5
2759 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2760 whose name does not start with the host triplet. If you think this
2761 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2762 ac_tool_warned=yes ;;
2770 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
2772 set dummy ${ac_tool_prefix}windres; ac_word=$2
2773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2775 if test "${ac_cv_prog_WINDRES+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 if test -n "$WINDRES"; then
2779 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir=.
2786 for ac_exec_ext in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
2789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 WINDRES=$ac_cv_prog_WINDRES
2799 if test -n "$WINDRES"; then
2800 { echo "$as_me:$LINENO: result: $WINDRES" >&5
2801 echo "${ECHO_T}$WINDRES" >&6; }
2803 { echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6; }
2809 if test -z "$ac_cv_prog_WINDRES"; then
2810 ac_ct_WINDRES=$WINDRES
2811 # Extract the first word of "windres", so it can be a program name with args.
2812 set dummy windres; ac_word=$2
2813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2815 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 if test -n "$ac_ct_WINDRES"; then
2819 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir=.
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2828 ac_cv_prog_ac_ct_WINDRES="windres"
2829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
2839 if test -n "$ac_ct_WINDRES"; then
2840 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
2841 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
2843 { echo "$as_me:$LINENO: result: no" >&5
2844 echo "${ECHO_T}no" >&6; }
2847 if test "x$ac_ct_WINDRES" = x; then
2850 case $cross_compiling:$ac_tool_warned in
2852 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2853 whose name does not start with the host triplet. If you think this
2854 configuration is useful to you, please write to autoconf@gnu.org." >&5
2855 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2856 whose name does not start with the host triplet. If you think this
2857 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2858 ac_tool_warned=yes ;;
2860 WINDRES=$ac_ct_WINDRES
2863 WINDRES="$ac_cv_prog_WINDRES"
2866 if test -n "$ac_tool_prefix"; then
2867 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
2868 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
2869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2871 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
2872 echo $ECHO_N "(cached) $ECHO_C" >&6
2874 if test -n "$DLLWRAP"; then
2875 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir=.
2882 for ac_exec_ext in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
2885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 DLLWRAP=$ac_cv_prog_DLLWRAP
2895 if test -n "$DLLWRAP"; then
2896 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
2897 echo "${ECHO_T}$DLLWRAP" >&6; }
2899 { echo "$as_me:$LINENO: result: no" >&5
2900 echo "${ECHO_T}no" >&6; }
2905 if test -z "$ac_cv_prog_DLLWRAP"; then
2906 ac_ct_DLLWRAP=$DLLWRAP
2907 # Extract the first word of "dllwrap", so it can be a program name with args.
2908 set dummy dllwrap; ac_word=$2
2909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2911 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 if test -n "$ac_ct_DLLWRAP"; then
2915 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir=.
2922 for ac_exec_ext in '' $ac_executable_extensions; do
2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2924 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
2925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
2935 if test -n "$ac_ct_DLLWRAP"; then
2936 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
2937 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
2939 { echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6; }
2943 if test "x$ac_ct_DLLWRAP" = x; then
2946 case $cross_compiling:$ac_tool_warned in
2948 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2949 whose name does not start with the host triplet. If you think this
2950 configuration is useful to you, please write to autoconf@gnu.org." >&5
2951 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2952 whose name does not start with the host triplet. If you think this
2953 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2954 ac_tool_warned=yes ;;
2956 DLLWRAP=$ac_ct_DLLWRAP
2959 DLLWRAP="$ac_cv_prog_DLLWRAP"
2966 # Checks for programs.
2968 ac_cpp='$CPP $CPPFLAGS'
2969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2972 if test -n "$ac_tool_prefix"; then
2973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2977 if test "${ac_cv_prog_CC+set}" = set; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2980 if test -n "$CC"; then
2981 ac_cv_prog_CC="$CC" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 if test -n "$CC"; then
3002 { echo "$as_me:$LINENO: result: $CC" >&5
3003 echo "${ECHO_T}$CC" >&6; }
3005 { echo "$as_me:$LINENO: result: no" >&5
3006 echo "${ECHO_T}no" >&6; }
3011 if test -z "$ac_cv_prog_CC"; then
3013 # Extract the first word of "gcc", so it can be a program name with args.
3014 set dummy gcc; ac_word=$2
3015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 if test -n "$ac_ct_CC"; then
3021 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_ac_ct_CC="gcc"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3041 if test -n "$ac_ct_CC"; then
3042 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3043 echo "${ECHO_T}$ac_ct_CC" >&6; }
3045 { echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6; }
3049 if test "x$ac_ct_CC" = x; then
3052 case $cross_compiling:$ac_tool_warned in
3054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3055 whose name does not start with the host triplet. If you think this
3056 configuration is useful to you, please write to autoconf@gnu.org." >&5
3057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3058 whose name does not start with the host triplet. If you think this
3059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3060 ac_tool_warned=yes ;;
3068 if test -z "$CC"; then
3069 if test -n "$ac_tool_prefix"; then
3070 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3071 set dummy ${ac_tool_prefix}cc; ac_word=$2
3072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3074 if test "${ac_cv_prog_CC+set}" = set; then
3075 echo $ECHO_N "(cached) $ECHO_C" >&6
3077 if test -n "$CC"; then
3078 ac_cv_prog_CC="$CC" # Let the user override the test.
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3087 ac_cv_prog_CC="${ac_tool_prefix}cc"
3088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 if test -n "$CC"; then
3099 { echo "$as_me:$LINENO: result: $CC" >&5
3100 echo "${ECHO_T}$CC" >&6; }
3102 { echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6; }
3109 if test -z "$CC"; then
3110 # Extract the first word of "cc", so it can be a program name with args.
3111 set dummy cc; ac_word=$2
3112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3114 if test "${ac_cv_prog_CC+set}" = set; then
3115 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 if test -n "$CC"; then
3118 ac_cv_prog_CC="$CC" # Let the user override the test.
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3128 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3129 ac_prog_rejected=yes
3133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test $ac_prog_rejected = yes; then
3141 # We found a bogon in the path, so make sure we never use it.
3142 set dummy $ac_cv_prog_CC
3144 if test $# != 0; then
3145 # We chose a different compiler from the bogus one.
3146 # However, it has the same basename, so the bogon will be chosen
3147 # first if we set CC to just the basename; use the full file name.
3149 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3155 if test -n "$CC"; then
3156 { echo "$as_me:$LINENO: result: $CC" >&5
3157 echo "${ECHO_T}$CC" >&6; }
3159 { echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6; }
3165 if test -z "$CC"; then
3166 if test -n "$ac_tool_prefix"; then
3167 for ac_prog in cl.exe
3169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3173 if test "${ac_cv_prog_CC+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 if test -n "$CC"; then
3177 ac_cv_prog_CC="$CC" # Let the user override the test.
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir=.
3184 for ac_exec_ext in '' $ac_executable_extensions; do
3185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3186 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$CC"; then
3198 { echo "$as_me:$LINENO: result: $CC" >&5
3199 echo "${ECHO_T}$CC" >&6; }
3201 { echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6; }
3206 test -n "$CC" && break
3209 if test -z "$CC"; then
3211 for ac_prog in cl.exe
3213 # Extract the first word of "$ac_prog", so it can be a program name with args.
3214 set dummy $ac_prog; ac_word=$2
3215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 if test -n "$ac_ct_CC"; then
3221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir=.
3228 for ac_exec_ext in '' $ac_executable_extensions; do
3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3230 ac_cv_prog_ac_ct_CC="$ac_prog"
3231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3241 if test -n "$ac_ct_CC"; then
3242 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3243 echo "${ECHO_T}$ac_ct_CC" >&6; }
3245 { echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6; }
3250 test -n "$ac_ct_CC" && break
3253 if test "x$ac_ct_CC" = x; then
3256 case $cross_compiling:$ac_tool_warned in
3258 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3259 whose name does not start with the host triplet. If you think this
3260 configuration is useful to you, please write to autoconf@gnu.org." >&5
3261 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3262 whose name does not start with the host triplet. If you think this
3263 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3264 ac_tool_warned=yes ;;
3273 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3274 See \`config.log' for more details." >&5
3275 echo "$as_me: error: no acceptable C compiler found in \$PATH
3276 See \`config.log' for more details." >&2;}
3277 { (exit 1); exit 1; }; }
3279 # Provide some information about the compiler.
3280 echo "$as_me:$LINENO: checking for C compiler version" >&5
3281 ac_compiler=`set X $ac_compile; echo $2`
3282 { (ac_try="$ac_compiler --version >&5"
3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285 *) ac_try_echo=$ac_try;;
3287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3288 (eval "$ac_compiler --version >&5") 2>&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); }
3292 { (ac_try="$ac_compiler -v >&5"
3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3298 (eval "$ac_compiler -v >&5") 2>&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }
3302 { (ac_try="$ac_compiler -V >&5"
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308 (eval "$ac_compiler -V >&5") 2>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }
3313 cat >conftest.$ac_ext <<_ACEOF
3316 cat confdefs.h >>conftest.$ac_ext
3317 cat >>conftest.$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3328 ac_clean_files_save=$ac_clean_files
3329 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3330 # Try to create an executable without -o first, disregard a.out.
3331 # It will help us diagnose broken compilers, and finding out an intuition
3333 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3334 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3335 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3337 # List of possible output files, starting from the most likely.
3338 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3339 # only as a last resort. b.out is created by i960 compilers.
3340 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3342 # The IRIX 6 linker writes into existing files which may not be
3343 # executable, retaining their permissions. Remove them first so a
3344 # subsequent execution test works.
3346 for ac_file in $ac_files
3349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3350 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3355 if { (ac_try="$ac_link_default"
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361 (eval "$ac_link_default") 2>&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; then
3365 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3366 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3367 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3368 # so that the user can short-circuit this test for compilers unknown to
3370 for ac_file in $ac_files
3372 test -f "$ac_file" || continue
3374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3377 # We found the default executable, but exeext='' is most
3381 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3383 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3385 # We set ac_cv_exeext here because the later test for it is not
3386 # safe: cross compilers may not add the suffix if given an `-o'
3387 # argument, so we may need to know it at that point already.
3388 # Even if this section looks crufty: it has the advantage of
3395 test "$ac_cv_exeext" = no && ac_cv_exeext=
3398 echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.$ac_ext >&5
3401 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3402 See \`config.log' for more details." >&5
3403 echo "$as_me: error: C compiler cannot create executables
3404 See \`config.log' for more details." >&2;}
3405 { (exit 77); exit 77; }; }
3408 ac_exeext=$ac_cv_exeext
3409 { echo "$as_me:$LINENO: result: $ac_file" >&5
3410 echo "${ECHO_T}$ac_file" >&6; }
3412 # Check that the compiler produces executables we can run. If not, either
3413 # the compiler is broken, or we cross compile.
3414 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3415 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3416 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3417 # If not cross compiling, check that we can run a simple program.
3418 if test "$cross_compiling" != yes; then
3419 if { ac_try='./$ac_file'
3420 { (case "(($ac_try" in
3421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422 *) ac_try_echo=$ac_try;;
3424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3425 (eval "$ac_try") 2>&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; }; then
3431 if test "$cross_compiling" = maybe; then
3434 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3435 If you meant to cross compile, use \`--host'.
3436 See \`config.log' for more details." >&5
3437 echo "$as_me: error: cannot run C compiled programs.
3438 If you meant to cross compile, use \`--host'.
3439 See \`config.log' for more details." >&2;}
3440 { (exit 1); exit 1; }; }
3444 { echo "$as_me:$LINENO: result: yes" >&5
3445 echo "${ECHO_T}yes" >&6; }
3447 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3448 ac_clean_files=$ac_clean_files_save
3449 # Check that the compiler produces executables we can run. If not, either
3450 # the compiler is broken, or we cross compile.
3451 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3452 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3453 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3454 echo "${ECHO_T}$cross_compiling" >&6; }
3456 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3457 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3458 if { (ac_try="$ac_link"
3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3464 (eval "$ac_link") 2>&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); }; then
3468 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3469 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3470 # work properly (i.e., refer to `conftest.exe'), while it won't with
3472 for ac_file in conftest.exe conftest conftest.*; do
3473 test -f "$ac_file" || continue
3475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3476 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3482 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3483 See \`config.log' for more details." >&5
3484 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3485 See \`config.log' for more details." >&2;}
3486 { (exit 1); exit 1; }; }
3489 rm -f conftest$ac_cv_exeext
3490 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3491 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3493 rm -f conftest.$ac_ext
3494 EXEEXT=$ac_cv_exeext
3496 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3497 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3498 if test "${ac_cv_objext+set}" = set; then
3499 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 cat >conftest.$ac_ext <<_ACEOF
3504 cat confdefs.h >>conftest.$ac_ext
3505 cat >>conftest.$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3516 rm -f conftest.o conftest.obj
3517 if { (ac_try="$ac_compile"
3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520 *) ac_try_echo=$ac_try;;
3522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3523 (eval "$ac_compile") 2>&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; then
3527 for ac_file in conftest.o conftest.obj conftest.*; do
3528 test -f "$ac_file" || continue;
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3531 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3536 echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3539 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3540 See \`config.log' for more details." >&5
3541 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3542 See \`config.log' for more details." >&2;}
3543 { (exit 1); exit 1; }; }
3546 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3548 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3549 echo "${ECHO_T}$ac_cv_objext" >&6; }
3550 OBJEXT=$ac_cv_objext
3552 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3553 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3554 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 cat >conftest.$ac_ext <<_ACEOF
3560 cat confdefs.h >>conftest.$ac_ext
3561 cat >>conftest.$ac_ext <<_ACEOF
3562 /* end confdefs.h. */
3575 rm -f conftest.$ac_objext
3576 if { (ac_try="$ac_compile"
3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579 *) ac_try_echo=$ac_try;;
3581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3582 (eval "$ac_compile") 2>conftest.er1
3584 grep -v '^ *+' conftest.er1 >conftest.err
3586 cat conftest.err >&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); } &&
3589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3590 { (case "(($ac_try" in
3591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3592 *) ac_try_echo=$ac_try;;
3594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3595 (eval "$ac_try") 2>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; } &&
3599 { ac_try='test -s conftest.$ac_objext'
3600 { (case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3605 (eval "$ac_try") 2>&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); }; }; then
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3618 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3621 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3622 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3623 GCC=`test $ac_compiler_gnu = yes && echo yes`
3624 ac_test_CFLAGS=${CFLAGS+set}
3625 ac_save_CFLAGS=$CFLAGS
3626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3628 if test "${ac_cv_prog_cc_g+set}" = set; then
3629 echo $ECHO_N "(cached) $ECHO_C" >&6
3631 ac_save_c_werror_flag=$ac_c_werror_flag
3632 ac_c_werror_flag=yes
3635 cat >conftest.$ac_ext <<_ACEOF
3638 cat confdefs.h >>conftest.$ac_ext
3639 cat >>conftest.$ac_ext <<_ACEOF
3640 /* end confdefs.h. */
3650 rm -f conftest.$ac_objext
3651 if { (ac_try="$ac_compile"
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_compile") 2>conftest.er1
3659 grep -v '^ *+' conftest.er1 >conftest.err
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } &&
3664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3665 { (case "(($ac_try" in
3666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667 *) ac_try_echo=$ac_try;;
3669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3670 (eval "$ac_try") 2>&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; } &&
3674 { ac_try='test -s conftest.$ac_objext'
3675 { (case "(($ac_try" in
3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3680 (eval "$ac_try") 2>&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); }; }; then
3686 echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3690 cat >conftest.$ac_ext <<_ACEOF
3693 cat confdefs.h >>conftest.$ac_ext
3694 cat >>conftest.$ac_ext <<_ACEOF
3695 /* end confdefs.h. */
3705 rm -f conftest.$ac_objext
3706 if { (ac_try="$ac_compile"
3708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709 *) ac_try_echo=$ac_try;;
3711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3712 (eval "$ac_compile") 2>conftest.er1
3714 grep -v '^ *+' conftest.er1 >conftest.err
3716 cat conftest.err >&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); } &&
3719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3720 { (case "(($ac_try" in
3721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3722 *) ac_try_echo=$ac_try;;
3724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3725 (eval "$ac_try") 2>&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try='test -s conftest.$ac_objext'
3730 { (case "(($ac_try" in
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_try") 2>&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; }; then
3741 echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3744 ac_c_werror_flag=$ac_save_c_werror_flag
3746 cat >conftest.$ac_ext <<_ACEOF
3749 cat confdefs.h >>conftest.$ac_ext
3750 cat >>conftest.$ac_ext <<_ACEOF
3751 /* end confdefs.h. */
3761 rm -f conftest.$ac_objext
3762 if { (ac_try="$ac_compile"
3764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3768 (eval "$ac_compile") 2>conftest.er1
3770 grep -v '^ *+' conftest.er1 >conftest.err
3772 cat conftest.err >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); } &&
3775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3776 { (case "(($ac_try" in
3777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3778 *) ac_try_echo=$ac_try;;
3780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3781 (eval "$ac_try") 2>&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }; } &&
3785 { ac_try='test -s conftest.$ac_objext'
3786 { (case "(($ac_try" in
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3791 (eval "$ac_try") 2>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); }; }; then
3797 echo "$as_me: failed program was:" >&5
3798 sed 's/^/| /' conftest.$ac_ext >&5
3803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3810 ac_c_werror_flag=$ac_save_c_werror_flag
3812 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3813 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3814 if test "$ac_test_CFLAGS" = set; then
3815 CFLAGS=$ac_save_CFLAGS
3816 elif test $ac_cv_prog_cc_g = yes; then
3817 if test "$GCC" = yes; then
3823 if test "$GCC" = yes; then
3829 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3830 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3831 if test "${ac_cv_prog_cc_c89+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 ac_cv_prog_cc_c89=no
3836 cat >conftest.$ac_ext <<_ACEOF
3839 cat confdefs.h >>conftest.$ac_ext
3840 cat >>conftest.$ac_ext <<_ACEOF
3841 /* end confdefs.h. */
3844 #include <sys/types.h>
3845 #include <sys/stat.h>
3846 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3847 struct buf { int x; };
3848 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3849 static char *e (p, i)
3855 static char *f (char * (*g) (char **, int), char **p, ...)
3860 s = g (p, va_arg (v,int));
3865 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3866 function prototypes and stuff, but not '\xHH' hex character constants.
3867 These don't provoke an error unfortunately, instead are silently treated
3868 as 'x'. The following induces an error, until -std is added to get
3869 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3870 array size at least. It's necessary to write '\x00'==0 to get something
3871 that's true only with -std. */
3872 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3874 int test (int i, double x);
3875 struct s1 {int (*f) (int a);};
3876 struct s2 {int (*f) (double a);};
3877 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3883 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3888 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3889 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3891 CC="$ac_save_CC $ac_arg"
3892 rm -f conftest.$ac_objext
3893 if { (ac_try="$ac_compile"
3895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896 *) ac_try_echo=$ac_try;;
3898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3899 (eval "$ac_compile") 2>conftest.er1
3901 grep -v '^ *+' conftest.er1 >conftest.err
3903 cat conftest.err >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); } &&
3906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3907 { (case "(($ac_try" in
3908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3912 (eval "$ac_try") 2>&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); }; } &&
3916 { ac_try='test -s conftest.$ac_objext'
3917 { (case "(($ac_try" in
3918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3922 (eval "$ac_try") 2>&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; }; then
3926 ac_cv_prog_cc_c89=$ac_arg
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.$ac_ext >&5
3934 rm -f conftest.err conftest.$ac_objext
3935 test "x$ac_cv_prog_cc_c89" != "xno" && break
3937 rm -f conftest.$ac_ext
3942 case "x$ac_cv_prog_cc_c89" in
3944 { echo "$as_me:$LINENO: result: none needed" >&5
3945 echo "${ECHO_T}none needed" >&6; } ;;
3947 { echo "$as_me:$LINENO: result: unsupported" >&5
3948 echo "${ECHO_T}unsupported" >&6; } ;;
3950 CC="$CC $ac_cv_prog_cc_c89"
3951 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3952 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3963 ac_cpp='$CXXCPP $CPPFLAGS'
3964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3967 if test -z "$CXX"; then
3968 if test -n "$CCC"; then
3971 if test -n "$ac_tool_prefix"; then
3972 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3978 if test "${ac_cv_prog_CXX+set}" = set; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 if test -n "$CXX"; then
3982 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3991 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 if test -n "$CXX"; then
4003 { echo "$as_me:$LINENO: result: $CXX" >&5
4004 echo "${ECHO_T}$CXX" >&6; }
4006 { echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6; }
4011 test -n "$CXX" && break
4014 if test -z "$CXX"; then
4016 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4018 # Extract the first word of "$ac_prog", so it can be a program name with args.
4019 set dummy $ac_prog; ac_word=$2
4020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4022 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 if test -n "$ac_ct_CXX"; then
4026 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4035 ac_cv_prog_ac_ct_CXX="$ac_prog"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4046 if test -n "$ac_ct_CXX"; then
4047 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4048 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4050 { echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6; }
4055 test -n "$ac_ct_CXX" && break
4058 if test "x$ac_ct_CXX" = x; then
4061 case $cross_compiling:$ac_tool_warned in
4063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4064 whose name does not start with the host triplet. If you think this
4065 configuration is useful to you, please write to autoconf@gnu.org." >&5
4066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4067 whose name does not start with the host triplet. If you think this
4068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4069 ac_tool_warned=yes ;;
4077 # Provide some information about the compiler.
4078 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4079 ac_compiler=`set X $ac_compile; echo $2`
4080 { (ac_try="$ac_compiler --version >&5"
4082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4083 *) ac_try_echo=$ac_try;;
4085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4086 (eval "$ac_compiler --version >&5") 2>&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); }
4090 { (ac_try="$ac_compiler -v >&5"
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4096 (eval "$ac_compiler -v >&5") 2>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }
4100 { (ac_try="$ac_compiler -V >&5"
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4106 (eval "$ac_compiler -V >&5") 2>&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); }
4111 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4112 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4113 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 cat >conftest.$ac_ext <<_ACEOF
4119 cat confdefs.h >>conftest.$ac_ext
4120 cat >>conftest.$ac_ext <<_ACEOF
4121 /* end confdefs.h. */
4134 rm -f conftest.$ac_objext
4135 if { (ac_try="$ac_compile"
4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4141 (eval "$ac_compile") 2>conftest.er1
4143 grep -v '^ *+' conftest.er1 >conftest.err
4145 cat conftest.err >&5
4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147 (exit $ac_status); } &&
4148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4149 { (case "(($ac_try" in
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4154 (eval "$ac_try") 2>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); }; } &&
4158 { ac_try='test -s conftest.$ac_objext'
4159 { (case "(($ac_try" in
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164 (eval "$ac_try") 2>&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; }; then
4170 echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4180 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4181 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4182 GXX=`test $ac_compiler_gnu = yes && echo yes`
4183 ac_test_CXXFLAGS=${CXXFLAGS+set}
4184 ac_save_CXXFLAGS=$CXXFLAGS
4185 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4186 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4187 if test "${ac_cv_prog_cxx_g+set}" = set; then
4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4191 ac_cxx_werror_flag=yes
4194 cat >conftest.$ac_ext <<_ACEOF
4197 cat confdefs.h >>conftest.$ac_ext
4198 cat >>conftest.$ac_ext <<_ACEOF
4199 /* end confdefs.h. */
4209 rm -f conftest.$ac_objext
4210 if { (ac_try="$ac_compile"
4212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4213 *) ac_try_echo=$ac_try;;
4215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4216 (eval "$ac_compile") 2>conftest.er1
4218 grep -v '^ *+' conftest.er1 >conftest.err
4220 cat conftest.err >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } &&
4223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4224 { (case "(($ac_try" in
4225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4229 (eval "$ac_try") 2>&5
4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); }; } &&
4233 { ac_try='test -s conftest.$ac_objext'
4234 { (case "(($ac_try" in
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4239 (eval "$ac_try") 2>&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); }; }; then
4243 ac_cv_prog_cxx_g=yes
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.$ac_ext >&5
4249 cat >conftest.$ac_ext <<_ACEOF
4252 cat confdefs.h >>conftest.$ac_ext
4253 cat >>conftest.$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4264 rm -f conftest.$ac_objext
4265 if { (ac_try="$ac_compile"
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271 (eval "$ac_compile") 2>conftest.er1
4273 grep -v '^ *+' conftest.er1 >conftest.err
4275 cat conftest.err >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } &&
4278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4279 { (case "(($ac_try" in
4280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4281 *) ac_try_echo=$ac_try;;
4283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4284 (eval "$ac_try") 2>&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); }; } &&
4288 { ac_try='test -s conftest.$ac_objext'
4289 { (case "(($ac_try" in
4290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4291 *) ac_try_echo=$ac_try;;
4293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4294 (eval "$ac_try") 2>&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); }; }; then
4300 echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.$ac_ext >&5
4303 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4305 cat >conftest.$ac_ext <<_ACEOF
4308 cat confdefs.h >>conftest.$ac_ext
4309 cat >>conftest.$ac_ext <<_ACEOF
4310 /* end confdefs.h. */
4320 rm -f conftest.$ac_objext
4321 if { (ac_try="$ac_compile"
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4327 (eval "$ac_compile") 2>conftest.er1
4329 grep -v '^ *+' conftest.er1 >conftest.err
4331 cat conftest.err >&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); } &&
4334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4335 { (case "(($ac_try" in
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4340 (eval "$ac_try") 2>&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; } &&
4344 { ac_try='test -s conftest.$ac_objext'
4345 { (case "(($ac_try" in
4346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347 *) ac_try_echo=$ac_try;;
4349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4350 (eval "$ac_try") 2>&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; }; then
4354 ac_cv_prog_cxx_g=yes
4356 echo "$as_me: failed program was:" >&5
4357 sed 's/^/| /' conftest.$ac_ext >&5
4362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4369 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4371 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4372 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4373 if test "$ac_test_CXXFLAGS" = set; then
4374 CXXFLAGS=$ac_save_CXXFLAGS
4375 elif test $ac_cv_prog_cxx_g = yes; then
4376 if test "$GXX" = yes; then
4382 if test "$GXX" = yes; then
4389 ac_cpp='$CPP $CPPFLAGS'
4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4395 ac_cpp='$CPP $CPPFLAGS'
4396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4399 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4400 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4401 # On Suns, sometimes $CPP names a directory.
4402 if test -n "$CPP" && test -d "$CPP"; then
4405 if test -z "$CPP"; then
4406 if test "${ac_cv_prog_CPP+set}" = set; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 # Double quotes because CPP needs to be expanded
4410 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4413 for ac_c_preproc_warn_flag in '' yes
4415 # Use a header file that comes with gcc, so configuring glibc
4416 # with a fresh cross-compiler works.
4417 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4418 # <limits.h> exists even on freestanding compilers.
4419 # On the NeXT, cc -E runs the code through the compiler's parser,
4420 # not just through cpp. "Syntax error" is here to catch this case.
4421 cat >conftest.$ac_ext <<_ACEOF
4424 cat confdefs.h >>conftest.$ac_ext
4425 cat >>conftest.$ac_ext <<_ACEOF
4426 /* end confdefs.h. */
4428 # include <limits.h>
4430 # include <assert.h>
4434 if { (ac_try="$ac_cpp conftest.$ac_ext"
4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4442 grep -v '^ *+' conftest.er1 >conftest.err
4444 cat conftest.err >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } >/dev/null; then
4447 if test -s conftest.err; then
4448 ac_cpp_err=$ac_c_preproc_warn_flag
4449 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4456 if test -z "$ac_cpp_err"; then
4459 echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4462 # Broken: fails on valid input.
4466 rm -f conftest.err conftest.$ac_ext
4468 # OK, works on sane cases. Now check whether nonexistent headers
4469 # can be detected and how.
4470 cat >conftest.$ac_ext <<_ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 #include <ac_nonexistent.h>
4478 if { (ac_try="$ac_cpp conftest.$ac_ext"
4480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4481 *) ac_try_echo=$ac_try;;
4483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4486 grep -v '^ *+' conftest.er1 >conftest.err
4488 cat conftest.err >&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } >/dev/null; then
4491 if test -s conftest.err; then
4492 ac_cpp_err=$ac_c_preproc_warn_flag
4493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4500 if test -z "$ac_cpp_err"; then
4501 # Broken: success on invalid input.
4504 echo "$as_me: failed program was:" >&5
4505 sed 's/^/| /' conftest.$ac_ext >&5
4507 # Passes both tests.
4512 rm -f conftest.err conftest.$ac_ext
4515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4516 rm -f conftest.err conftest.$ac_ext
4517 if $ac_preproc_ok; then
4529 { echo "$as_me:$LINENO: result: $CPP" >&5
4530 echo "${ECHO_T}$CPP" >&6; }
4532 for ac_c_preproc_warn_flag in '' yes
4534 # Use a header file that comes with gcc, so configuring glibc
4535 # with a fresh cross-compiler works.
4536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4537 # <limits.h> exists even on freestanding compilers.
4538 # On the NeXT, cc -E runs the code through the compiler's parser,
4539 # not just through cpp. "Syntax error" is here to catch this case.
4540 cat >conftest.$ac_ext <<_ACEOF
4543 cat confdefs.h >>conftest.$ac_ext
4544 cat >>conftest.$ac_ext <<_ACEOF
4545 /* end confdefs.h. */
4547 # include <limits.h>
4549 # include <assert.h>
4553 if { (ac_try="$ac_cpp conftest.$ac_ext"
4555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4561 grep -v '^ *+' conftest.er1 >conftest.err
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } >/dev/null; then
4566 if test -s conftest.err; then
4567 ac_cpp_err=$ac_c_preproc_warn_flag
4568 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4575 if test -z "$ac_cpp_err"; then
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.$ac_ext >&5
4581 # Broken: fails on valid input.
4585 rm -f conftest.err conftest.$ac_ext
4587 # OK, works on sane cases. Now check whether nonexistent headers
4588 # can be detected and how.
4589 cat >conftest.$ac_ext <<_ACEOF
4592 cat confdefs.h >>conftest.$ac_ext
4593 cat >>conftest.$ac_ext <<_ACEOF
4594 /* end confdefs.h. */
4595 #include <ac_nonexistent.h>
4597 if { (ac_try="$ac_cpp conftest.$ac_ext"
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4605 grep -v '^ *+' conftest.er1 >conftest.err
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } >/dev/null; then
4610 if test -s conftest.err; then
4611 ac_cpp_err=$ac_c_preproc_warn_flag
4612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4619 if test -z "$ac_cpp_err"; then
4620 # Broken: success on invalid input.
4623 echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4626 # Passes both tests.
4631 rm -f conftest.err conftest.$ac_ext
4634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4635 rm -f conftest.err conftest.$ac_ext
4636 if $ac_preproc_ok; then
4639 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4640 See \`config.log' for more details." >&5
4641 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4642 See \`config.log' for more details." >&2;}
4643 { (exit 1); exit 1; }; }
4647 ac_cpp='$CPP $CPPFLAGS'
4648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4653 ac_cpp='$CXXCPP $CPPFLAGS'
4654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4657 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4658 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4659 if test -z "$CXXCPP"; then
4660 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4661 echo $ECHO_N "(cached) $ECHO_C" >&6
4663 # Double quotes because CXXCPP needs to be expanded
4664 for CXXCPP in "$CXX -E" "/lib/cpp"
4667 for ac_cxx_preproc_warn_flag in '' yes
4669 # Use a header file that comes with gcc, so configuring glibc
4670 # with a fresh cross-compiler works.
4671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4672 # <limits.h> exists even on freestanding compilers.
4673 # On the NeXT, cc -E runs the code through the compiler's parser,
4674 # not just through cpp. "Syntax error" is here to catch this case.
4675 cat >conftest.$ac_ext <<_ACEOF
4678 cat confdefs.h >>conftest.$ac_ext
4679 cat >>conftest.$ac_ext <<_ACEOF
4680 /* end confdefs.h. */
4682 # include <limits.h>
4684 # include <assert.h>
4688 if { (ac_try="$ac_cpp conftest.$ac_ext"
4690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4691 *) ac_try_echo=$ac_try;;
4693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4696 grep -v '^ *+' conftest.er1 >conftest.err
4698 cat conftest.err >&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5