2 # From configure.ac Revision: 37027 .
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
808 ac_precious_vars='build_alias
822 # Initialize some variables set by options.
824 ac_init_version=false
825 # The variables have the same names as the options, with
826 # dashes changed to underlines.
834 program_transform_name=s,x,x,
842 # Installation directory options.
843 # These are left unexpanded so users can "make install exec_prefix=/foo"
844 # and all the variables that are supposed to be based on exec_prefix
845 # by default will actually change.
846 # Use braces instead of parens because sh, perl, etc. also accept them.
847 # (The list follows the same order as the GNU Coding Standards.)
848 bindir='${exec_prefix}/bin'
849 sbindir='${exec_prefix}/sbin'
850 libexecdir='${exec_prefix}/libexec'
851 datarootdir='${prefix}/share'
852 datadir='${datarootdir}'
853 sysconfdir='${prefix}/etc'
854 sharedstatedir='${prefix}/com'
855 localstatedir='${prefix}/var'
856 includedir='${prefix}/include'
857 oldincludedir='/usr/include'
858 docdir='${datarootdir}/doc/${PACKAGE}'
859 infodir='${datarootdir}/info'
864 libdir='${exec_prefix}/lib'
865 localedir='${datarootdir}/locale'
866 mandir='${datarootdir}/man'
872 # If the previous option needs an argument, assign it.
873 if test -n "$ac_prev"; then
874 eval $ac_prev=\$ac_option
880 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 # Accept the important Cygnus configure options, so we can diagnose typos.
886 case $ac_dashdash$ac_option in
890 -bindir | --bindir | --bindi | --bind | --bin | --bi)
892 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
895 -build | --build | --buil | --bui | --bu)
896 ac_prev=build_alias ;;
897 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
898 build_alias=$ac_optarg ;;
900 -cache-file | --cache-file | --cache-fil | --cache-fi \
901 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
902 ac_prev=cache_file ;;
903 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
904 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
905 cache_file=$ac_optarg ;;
908 cache_file=config.cache ;;
910 -datadir | --datadir | --datadi | --datad)
912 -datadir=* | --datadir=* | --datadi=* | --datad=*)
913 datadir=$ac_optarg ;;
915 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
916 | --dataroo | --dataro | --datar)
917 ac_prev=datarootdir ;;
918 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
919 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
920 datarootdir=$ac_optarg ;;
922 -disable-* | --disable-*)
923 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
926 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
927 { (exit 1); exit 1; }; }
928 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
929 eval enable_$ac_feature=no ;;
931 -docdir | --docdir | --docdi | --doc | --do)
933 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
936 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
938 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
941 -enable-* | --enable-*)
942 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
943 # Reject names that are not valid shell variable names.
944 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
945 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
946 { (exit 1); exit 1; }; }
947 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
948 eval enable_$ac_feature=\$ac_optarg ;;
950 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
951 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
952 | --exec | --exe | --ex)
953 ac_prev=exec_prefix ;;
954 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
955 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
956 | --exec=* | --exe=* | --ex=*)
957 exec_prefix=$ac_optarg ;;
959 -gas | --gas | --ga | --g)
960 # Obsolete; use --with-gas.
963 -help | --help | --hel | --he | -h)
965 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
966 ac_init_help=recursive ;;
967 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
968 ac_init_help=short ;;
970 -host | --host | --hos | --ho)
971 ac_prev=host_alias ;;
972 -host=* | --host=* | --hos=* | --ho=*)
973 host_alias=$ac_optarg ;;
975 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
977 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
979 htmldir=$ac_optarg ;;
981 -includedir | --includedir | --includedi | --included | --include \
982 | --includ | --inclu | --incl | --inc)
983 ac_prev=includedir ;;
984 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
985 | --includ=* | --inclu=* | --incl=* | --inc=*)
986 includedir=$ac_optarg ;;
988 -infodir | --infodir | --infodi | --infod | --info | --inf)
990 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
991 infodir=$ac_optarg ;;
993 -libdir | --libdir | --libdi | --libd)
995 -libdir=* | --libdir=* | --libdi=* | --libd=*)
998 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
999 | --libexe | --libex | --libe)
1000 ac_prev=libexecdir ;;
1001 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1002 | --libexe=* | --libex=* | --libe=*)
1003 libexecdir=$ac_optarg ;;
1005 -localedir | --localedir | --localedi | --localed | --locale)
1006 ac_prev=localedir ;;
1007 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1008 localedir=$ac_optarg ;;
1010 -localstatedir | --localstatedir | --localstatedi | --localstated \
1011 | --localstate | --localstat | --localsta | --localst | --locals)
1012 ac_prev=localstatedir ;;
1013 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1014 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1015 localstatedir=$ac_optarg ;;
1017 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1019 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1020 mandir=$ac_optarg ;;
1022 -nfp | --nfp | --nf)
1023 # Obsolete; use --without-fp.
1026 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1027 | --no-cr | --no-c | -n)
1030 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1031 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1034 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1035 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1036 | --oldin | --oldi | --old | --ol | --o)
1037 ac_prev=oldincludedir ;;
1038 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1039 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1040 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1041 oldincludedir=$ac_optarg ;;
1043 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1045 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1046 prefix=$ac_optarg ;;
1048 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1049 | --program-pre | --program-pr | --program-p)
1050 ac_prev=program_prefix ;;
1051 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1052 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1053 program_prefix=$ac_optarg ;;
1055 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1056 | --program-suf | --program-su | --program-s)
1057 ac_prev=program_suffix ;;
1058 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1059 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1060 program_suffix=$ac_optarg ;;
1062 -program-transform-name | --program-transform-name \
1063 | --program-transform-nam | --program-transform-na \
1064 | --program-transform-n | --program-transform- \
1065 | --program-transform | --program-transfor \
1066 | --program-transfo | --program-transf \
1067 | --program-trans | --program-tran \
1068 | --progr-tra | --program-tr | --program-t)
1069 ac_prev=program_transform_name ;;
1070 -program-transform-name=* | --program-transform-name=* \
1071 | --program-transform-nam=* | --program-transform-na=* \
1072 | --program-transform-n=* | --program-transform-=* \
1073 | --program-transform=* | --program-transfor=* \
1074 | --program-transfo=* | --program-transf=* \
1075 | --program-trans=* | --program-tran=* \
1076 | --progr-tra=* | --program-tr=* | --program-t=*)
1077 program_transform_name=$ac_optarg ;;
1079 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1081 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1082 pdfdir=$ac_optarg ;;
1084 -psdir | --psdir | --psdi | --psd | --ps)
1086 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090 | -silent | --silent | --silen | --sile | --sil)
1093 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1097 sbindir=$ac_optarg ;;
1099 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1100 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1101 | --sharedst | --shareds | --shared | --share | --shar \
1103 ac_prev=sharedstatedir ;;
1104 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1105 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1106 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1108 sharedstatedir=$ac_optarg ;;
1110 -site | --site | --sit)
1112 -site=* | --site=* | --sit=*)
1115 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1117 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1118 srcdir=$ac_optarg ;;
1120 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1121 | --syscon | --sysco | --sysc | --sys | --sy)
1122 ac_prev=sysconfdir ;;
1123 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1124 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1125 sysconfdir=$ac_optarg ;;
1127 -target | --target | --targe | --targ | --tar | --ta | --t)
1128 ac_prev=target_alias ;;
1129 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1130 target_alias=$ac_optarg ;;
1132 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1135 -version | --version | --versio | --versi | --vers | -V)
1136 ac_init_version=: ;;
1139 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1142 { echo "$as_me: error: invalid package name: $ac_package" >&2
1143 { (exit 1); exit 1; }; }
1144 ac_package=`echo $ac_package| sed 's/-/_/g'`
1145 eval with_$ac_package=\$ac_optarg ;;
1147 -without-* | --without-*)
1148 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1151 { echo "$as_me: error: invalid package name: $ac_package" >&2
1152 { (exit 1); exit 1; }; }
1153 ac_package=`echo $ac_package | sed 's/-/_/g'`
1154 eval with_$ac_package=no ;;
1157 # Obsolete; use --with-x.
1160 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1161 | --x-incl | --x-inc | --x-in | --x-i)
1162 ac_prev=x_includes ;;
1163 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1164 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1165 x_includes=$ac_optarg ;;
1167 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1168 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1169 ac_prev=x_libraries ;;
1170 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1171 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1172 x_libraries=$ac_optarg ;;
1174 -*) { echo "$as_me: error: unrecognized option: $ac_option
1175 Try \`$0 --help' for more information." >&2
1176 { (exit 1); exit 1; }; }
1180 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1183 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1184 { (exit 1); exit 1; }; }
1185 eval $ac_envvar=\$ac_optarg
1186 export $ac_envvar ;;
1189 # FIXME: should be removed in autoconf 3.0.
1190 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1199 if test -n "$ac_prev"; then
1200 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1201 { echo "$as_me: error: missing argument to $ac_option" >&2
1202 { (exit 1); exit 1; }; }
1205 # Be sure to have absolute directory names.
1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val=\$$ac_var
1213 [\\/$]* | ?:[\\/]* ) continue;;
1214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1217 { (exit 1); exit 1; }; }
1220 # There might be people who depend on the old broken behavior: `$host'
1221 # used to hold the argument of --host etc.
1222 # FIXME: To remove some day.
1225 target=$target_alias
1227 # FIXME: To remove some day.
1228 if test "x$host_alias" != x; then
1229 if test "x$build_alias" = x; then
1230 cross_compiling=maybe
1231 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1232 If a cross compiler is detected then cross compile mode will be used." >&2
1233 elif test "x$build_alias" != "x$host_alias"; then
1239 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241 test "$silent" = yes && exec 6>/dev/null
1244 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1245 ac_ls_di=`ls -di .` &&
1246 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1247 { echo "$as_me: error: Working directory cannot be determined" >&2
1248 { (exit 1); exit 1; }; }
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 { echo "$as_me: error: pwd does not report name of working directory" >&2
1251 { (exit 1); exit 1; }; }
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256 ac_srcdir_defaulted=yes
1257 # Try the directory containing this script, then the parent directory.
1258 ac_confdir=`$as_dirname -- "$0" ||
1259 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260 X"$0" : 'X\(//\)[^/]' \| \
1261 X"$0" : 'X\(//\)$' \| \
1262 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1286 ac_srcdir_defaulted=no
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1290 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1291 { (exit 1); exit 1; }; }
1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1296 { (exit 1); exit 1; }; }
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 for ac_var in $ac_precious_vars; do
1309 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_${ac_var}_value=\$${ac_var}
1311 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1322 \`configure' configures this package to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1380 --build=BUILD configure for building on BUILD [guessed]
1381 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1382 --target=TARGET configure for building compilers for TARGET [HOST]
1386 if test -n "$ac_init_help"; then
1391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1392 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1393 --enable-dev-mode Turn on developer mode
1394 --disable-largefile omit support for large files
1397 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1398 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1399 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1400 --with-curses=PATH use curses files in PATH
1401 --with-gsm=PATH use GSM files in PATH , or 'internal'
1402 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1403 --with-imap=PATH use UW IMAP Toolkit files in PATH
1404 --with-kde=PATH use KDE files in PATH
1405 --with-nbs=PATH use Network Broadcast Sound files in PATH
1406 --with-ncurses=PATH use ncurses files in PATH
1407 --with-netsnmp=PATH use Net-SNMP files in PATH
1408 --with-newt=PATH use newt files in PATH
1409 --with-odbc=PATH use unixODBC files in PATH
1410 --with-ogg=PATH use OGG files in PATH
1411 --with-osptk=PATH use OSP Toolkit files in PATH
1412 --with-oss=PATH use Open Sound System files in PATH
1413 --with-popt=PATH use popt files in PATH
1414 --with-postgres=PATH use PostgreSQL files in PATH
1415 --with-pri=PATH use ISDN PRI files in PATH
1416 --with-pwlib=PATH use PWlib files in PATH
1417 --with-qt=PATH use Qt files in PATH
1418 --with-radius=PATH use Radius Client files in PATH
1419 --with-speex=PATH use Speex files in PATH
1420 --with-sqlite=PATH use SQLite files in PATH
1421 --with-ssl=PATH use OpenSSL files in PATH
1422 --with-tds=PATH use FreeTDS files in PATH
1423 --with-termcap=PATH use Termcap files in PATH
1424 --with-tinfo=PATH use Term Info files in PATH
1425 --with-tonezone=PATH use tonezone files in PATH
1426 --with-vorbis=PATH use Vorbis files in PATH
1427 --with-vpb=PATH use Voicetronix API files in PATH
1428 --with-z=PATH use zlib files in PATH
1429 --with-zaptel=PATH use Zaptel files in PATH
1431 Some influential environment variables:
1432 CC C compiler command
1433 CFLAGS C compiler flags
1434 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1435 nonstandard directory <lib dir>
1436 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1437 you have headers in a nonstandard directory <include dir>
1438 CXX C++ compiler command
1439 CXXFLAGS C++ compiler flags
1441 CXXCPP C++ preprocessor
1443 Use these variables to override the choices made by `configure' or to help
1444 it to find libraries and programs with nonstandard names/locations.
1450 if test "$ac_init_help" = "recursive"; then
1451 # If there are subdirs, report their specific --help.
1452 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1453 test -d "$ac_dir" || continue
1457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1460 # A ".." for each directory in $ac_dir_suffix.
1461 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1462 case $ac_top_builddir_sub in
1463 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1467 ac_abs_top_builddir=$ac_pwd
1468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1469 # for backward compatibility:
1470 ac_top_builddir=$ac_top_build_prefix
1473 .) # We are building in place.
1475 ac_top_srcdir=$ac_top_builddir_sub
1476 ac_abs_top_srcdir=$ac_pwd ;;
1477 [\\/]* | ?:[\\/]* ) # Absolute name.
1478 ac_srcdir=$srcdir$ac_dir_suffix;
1479 ac_top_srcdir=$srcdir
1480 ac_abs_top_srcdir=$srcdir ;;
1482 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1483 ac_top_srcdir=$ac_top_build_prefix$srcdir
1484 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1488 cd "$ac_dir" || { ac_status=$?; continue; }
1489 # Check for guested configure.
1490 if test -f "$ac_srcdir/configure.gnu"; then
1492 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1493 elif test -f "$ac_srcdir/configure"; then
1495 $SHELL "$ac_srcdir/configure" --help=recursive
1497 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1499 cd "$ac_pwd" || { ac_status=$?; break; }
1503 test -n "$ac_init_help" && exit $ac_status
1504 if $ac_init_version; then
1507 generated by GNU Autoconf 2.59e
1509 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1510 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1511 This configure script is free software; the Free Software Foundation
1512 gives unlimited permission to copy, distribute and modify it.
1518 cat >config.log <<_ACEOF
1519 This file contains any messages produced by compilers while
1520 running configure, to aid debugging if configure makes a mistake.
1522 It was created by $as_me, which was
1523 generated by GNU Autoconf 2.59e. Invocation command line was
1535 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1536 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1537 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1538 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1539 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1541 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1542 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1544 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1545 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1546 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1547 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1548 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1549 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1550 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir=.
1559 echo "PATH: $as_dir"
1575 # Keep a trace of the command line.
1576 # Strip out --no-create and --no-recursion so they do not pile up.
1577 # Strip out --silent because we don't want to record it for future runs.
1578 # Also quote any args containing shell meta-characters.
1579 # Make two passes to allow for proper duplicate-argument suppression.
1583 ac_must_keep_next=false
1589 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1591 | -silent | --silent | --silen | --sile | --sil)
1594 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1597 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1599 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1600 if test $ac_must_keep_next = true; then
1601 ac_must_keep_next=false # Got value, back to normal.
1604 *=* | --config-cache | -C | -disable-* | --disable-* \
1605 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1606 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1607 | -with-* | --with-* | -without-* | --without-* | --x)
1608 case "$ac_configure_args0 " in
1609 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1612 -* ) ac_must_keep_next=true ;;
1615 ac_configure_args="$ac_configure_args '$ac_arg'"
1620 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1621 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1623 # When interrupted or exit'd, cleanup temporary files, and complete
1624 # config.log. We remove comments because anyway the quotes in there
1625 # would cause problems or look ugly.
1626 # WARNING: Use '\'' to represent an apostrophe within the trap.
1627 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1628 trap 'exit_status=$?
1629 # Save into config.log some information that might help in debugging.
1634 ## ---------------- ##
1635 ## Cache variables. ##
1636 ## ---------------- ##
1639 # The following way of writing the cache mishandles newlines in values,
1641 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1642 eval ac_val=\$$ac_var
1646 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1647 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1650 _ | IFS | as_nl) ;; #(
1651 *) $as_unset $ac_var ;;
1656 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1657 *${as_nl}ac_space=\ *)
1659 "s/'\''/'\''\\\\'\'''\''/g;
1660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1663 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1671 ## ----------------- ##
1672 ## Output variables. ##
1673 ## ----------------- ##
1676 for ac_var in $ac_subst_vars
1678 eval ac_val=\$$ac_var
1680 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 echo "$ac_var='\''$ac_val'\''"
1686 if test -n "$ac_subst_files"; then
1688 ## ------------------- ##
1689 ## File substitutions. ##
1690 ## ------------------- ##
1693 for ac_var in $ac_subst_files
1695 eval ac_val=\$$ac_var
1697 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1699 echo "$ac_var='\''$ac_val'\''"
1704 if test -s confdefs.h; then
1714 test "$ac_signal" != 0 &&
1715 echo "$as_me: caught signal $ac_signal"
1716 echo "$as_me: exit $exit_status"
1718 rm -f core *.core core.conftest.* &&
1719 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1722 for ac_signal in 1 2 13 15; do
1723 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1727 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1728 rm -f -r conftest* confdefs.h
1730 # Predefined preprocessor variables.
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_NAME "$PACKAGE_NAME"
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1742 cat >>confdefs.h <<_ACEOF
1743 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1747 cat >>confdefs.h <<_ACEOF
1748 #define PACKAGE_STRING "$PACKAGE_STRING"
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1757 # Let the site file select an alternate cache file if it wants to.
1758 # Prefer explicitly selected file to automatically selected ones.
1759 if test -n "$CONFIG_SITE"; then
1760 set x "$CONFIG_SITE"
1761 elif test "x$prefix" != xNONE; then
1762 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1764 set x "$ac_default_prefix/share/config.site" \
1765 "$ac_default_prefix/etc/config.site"
1770 if test -r "$ac_site_file"; then
1771 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1772 echo "$as_me: loading site script $ac_site_file" >&6;}
1773 sed 's/^/| /' "$ac_site_file" >&5
1778 if test -r "$cache_file"; then
1779 # Some versions of bash will fail to source /dev/null (special
1780 # files actually), so we avoid doing that.
1781 if test -f "$cache_file"; then
1782 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1783 echo "$as_me: loading cache $cache_file" >&6;}
1785 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1786 *) . "./$cache_file";;
1790 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1791 echo "$as_me: creating cache $cache_file" >&6;}
1795 # Check that the precious variables saved in the cache have kept the same
1797 ac_cache_corrupted=false
1798 for ac_var in $ac_precious_vars; do
1799 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1800 eval ac_new_set=\$ac_env_${ac_var}_set
1801 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1802 eval ac_new_val=\$ac_env_${ac_var}_value
1803 case $ac_old_set,$ac_new_set in
1805 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1806 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1807 ac_cache_corrupted=: ;;
1809 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1810 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1811 ac_cache_corrupted=: ;;
1814 if test "x$ac_old_val" != "x$ac_new_val"; then
1815 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1816 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1817 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1818 echo "$as_me: former value: $ac_old_val" >&2;}
1819 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1820 echo "$as_me: current value: $ac_new_val" >&2;}
1821 ac_cache_corrupted=:
1824 # Pass precious variables to config.status.
1825 if test "$ac_new_set" = set; then
1827 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1828 *) ac_arg=$ac_var=$ac_new_val ;;
1830 case " $ac_configure_args " in
1831 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1832 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1836 if $ac_cache_corrupted; then
1837 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1838 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1839 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1840 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1841 { (exit 1); exit 1; }; }
1861 ac_cpp='$CPP $CPPFLAGS'
1862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1868 # cross-compile macros
1870 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1871 if test -f "$ac_dir/install-sh"; then
1873 ac_install_sh="$ac_aux_dir/install-sh -c"
1875 elif test -f "$ac_dir/install.sh"; then
1877 ac_install_sh="$ac_aux_dir/install.sh -c"
1879 elif test -f "$ac_dir/shtool"; then
1881 ac_install_sh="$ac_aux_dir/shtool install -c"
1885 if test -z "$ac_aux_dir"; then
1886 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1887 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1888 { (exit 1); exit 1; }; }
1891 # These three variables are undocumented and unsupported,
1892 # and are intended to be withdrawn in a future Autoconf release.
1893 # They can cause serious problems if a builder's source tree is in a directory
1894 # whose full name contains unusual characters.
1895 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1896 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1897 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1900 # Make sure we can run config.sub.
1901 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1902 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1903 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1904 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: checking build system type" >&5
1907 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1908 if test "${ac_cv_build+set}" = set; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 ac_build_alias=$build_alias
1912 test "x$ac_build_alias" = x &&
1913 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1914 test "x$ac_build_alias" = x &&
1915 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1916 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1917 { (exit 1); exit 1; }; }
1918 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1919 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1920 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1921 { (exit 1); exit 1; }; }
1924 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1925 echo "${ECHO_T}$ac_cv_build" >&6; }
1926 case $ac_cv_build in
1928 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1929 echo "$as_me: error: invalid value of canonical build" >&2;}
1930 { (exit 1); exit 1; }; };;
1933 ac_save_IFS=$IFS; IFS='-'
1939 # Remember, the first character of IFS is used to create $*,
1940 # except with old shells:
1943 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1946 { echo "$as_me:$LINENO: checking host system type" >&5
1947 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1948 if test "${ac_cv_host+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 if test "x$host_alias" = x; then
1952 ac_cv_host=$ac_cv_build
1954 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1955 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1956 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1957 { (exit 1); exit 1; }; }
1961 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1962 echo "${ECHO_T}$ac_cv_host" >&6; }
1965 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1966 echo "$as_me: error: invalid value of canonical host" >&2;}
1967 { (exit 1); exit 1; }; };;
1970 ac_save_IFS=$IFS; IFS='-'
1976 # Remember, the first character of IFS is used to create $*,
1977 # except with old shells:
1980 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1983 { echo "$as_me:$LINENO: checking target system type" >&5
1984 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1985 if test "${ac_cv_target+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 if test "x$target_alias" = x; then
1989 ac_cv_target=$ac_cv_host
1991 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1992 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1993 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1994 { (exit 1); exit 1; }; }
1998 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1999 echo "${ECHO_T}$ac_cv_target" >&6; }
2000 case $ac_cv_target in
2002 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2003 echo "$as_me: error: invalid value of canonical target" >&2;}
2004 { (exit 1); exit 1; }; };;
2006 target=$ac_cv_target
2007 ac_save_IFS=$IFS; IFS='-'
2013 # Remember, the first character of IFS is used to create $*,
2014 # except with old shells:
2017 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2020 # The aliases save the names the user supplied, while $host etc.
2021 # will get canonicalized.
2022 test -n "$target_alias" &&
2023 test "$program_prefix$program_suffix$program_transform_name" = \
2025 program_prefix=${target_alias}-
2027 # check existence of the package
2030 # specify output header file
2031 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2039 ac_default_prefix=/usr/local
2042 ac_default_prefix=/usr
2043 if test ${sysconfdir} = '${prefix}/etc'; then
2046 if test ${mandir} = '${prefix}/man'; then
2047 mandir=/usr/share/man
2052 if test ${localstatedir} = '${prefix}/var'; then
2058 cat >>confdefs.h <<_ACEOF
2059 #define PBX_PLATFORM "${host}"
2063 cat >>confdefs.h <<_ACEOF
2064 #define PBX_CPU "${host_cpu}"
2068 cat >>confdefs.h <<_ACEOF
2069 #define PBX_VENDOR "${host_vendor}"
2073 cat >>confdefs.h <<_ACEOF
2074 #define PBX_OS "${host_os}"
2078 # export some useful defines
2079 PBX_PLATFORM=${host}
2081 PBX_VENDOR=${host_vendor}
2089 if test -n "$ac_tool_prefix"; then
2090 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
2091 set dummy ${ac_tool_prefix}uname; ac_word=$2
2092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2094 if test "${ac_cv_path_UNAME+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2109 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 UNAME=$ac_cv_path_UNAME
2121 if test -n "$UNAME"; then
2122 { echo "$as_me:$LINENO: result: $UNAME" >&5
2123 echo "${ECHO_T}$UNAME" >&6; }
2125 { echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6; }
2131 if test -z "$ac_cv_path_UNAME"; then
2133 # Extract the first word of "uname", so it can be a program name with args.
2134 set dummy uname; ac_word=$2
2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2137 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 case $ac_pt_UNAME in
2142 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2152 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
2164 if test -n "$ac_pt_UNAME"; then
2165 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
2166 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
2168 { echo "$as_me:$LINENO: result: no" >&5
2169 echo "${ECHO_T}no" >&6; }
2172 if test "x$ac_pt_UNAME" = x; then
2175 case $cross_compiling:$ac_tool_warned in
2177 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2178 whose name does not start with the host triplet. If you think this
2179 configuration is useful to you, please write to autoconf@gnu.org." >&5
2180 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2181 whose name does not start with the host triplet. If you think this
2182 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2183 ac_tool_warned=yes ;;
2188 UNAME="$ac_cv_path_UNAME"
2191 if test ! x"${UNAME}" = xNo; then
2192 PBX_OSREV=$(${UNAME} -r)
2198 cygwin*|mingw*|windows*|winnt)
2200 cat >>confdefs.h <<\_ACEOF
2205 # this is ugly - KPF
2211 cat >>confdefs.h <<\_ACEOF
2219 cat >>confdefs.h <<\_ACEOF
2227 cat >>confdefs.h <<\_ACEOF
2231 PBX_OSTYPE="FreeBSD"
2232 # XXX temporary hack to let FreeBSD use the default paths
2233 # for local stuff. We need a better solution.
2234 if test x"${CPPFLAGS}" = x; then
2235 CPPFLAGS="-I/usr/local/include"
2237 if test x"${LDFLAGS}" = x; then
2238 LDFLAGS="-L/usr/local/lib"
2243 cat >>confdefs.h <<\_ACEOF
2247 PBX_OSTYPE="OpenBSD"
2251 cat >>confdefs.h <<\_ACEOF
2259 cat >>confdefs.h <<\_ACEOF
2267 cat >>confdefs.h <<\_ACEOF
2276 # This needs to be before any macros that use the C compiler
2278 cat >>confdefs.h <<\_ACEOF
2279 #define _GNU_SOURCE 1
2290 # cross-compile checks
2291 if test x"${build}" != x"${host}";
2293 if test -n "$ac_tool_prefix"; then
2294 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2295 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2298 if test "${ac_cv_prog_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$CC"; then
2302 ac_cv_prog_CC="$CC" # Let the user override the test.
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir=.
2309 for ac_exec_ext in '' $ac_executable_extensions; do
2310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2311 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 if test -n "$CC"; then
2323 { echo "$as_me:$LINENO: result: $CC" >&5
2324 echo "${ECHO_T}$CC" >&6; }
2326 { echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6; }
2332 if test -z "$ac_cv_prog_CC"; then
2334 # Extract the first word of "gcc", so it can be a program name with args.
2335 set dummy gcc; ac_word=$2
2336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2338 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 if test -n "$ac_ct_CC"; then
2342 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir=.
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2351 ac_cv_prog_ac_ct_CC="gcc"
2352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2362 if test -n "$ac_ct_CC"; then
2363 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2364 echo "${ECHO_T}$ac_ct_CC" >&6; }
2366 { echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6; }
2370 if test "x$ac_ct_CC" = x; then
2373 case $cross_compiling:$ac_tool_warned in
2375 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2376 whose name does not start with the host triplet. If you think this
2377 configuration is useful to you, please write to autoconf@gnu.org." >&5
2378 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2379 whose name does not start with the host triplet. If you think this
2380 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2381 ac_tool_warned=yes ;;
2389 if test -n "$ac_tool_prefix"; then
2390 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2391 set dummy ${ac_tool_prefix}g++; ac_word=$2
2392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2394 if test "${ac_cv_prog_CXX+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 if test -n "$CXX"; then
2398 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2407 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 if test -n "$CXX"; then
2419 { echo "$as_me:$LINENO: result: $CXX" >&5
2420 echo "${ECHO_T}$CXX" >&6; }
2422 { echo "$as_me:$LINENO: result: no" >&5
2423 echo "${ECHO_T}no" >&6; }
2428 if test -z "$ac_cv_prog_CXX"; then
2430 # Extract the first word of "g++", so it can be a program name with args.
2431 set dummy g++; ac_word=$2
2432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 if test -n "$ac_ct_CXX"; then
2438 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 ac_cv_prog_ac_ct_CXX="g++"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2458 if test -n "$ac_ct_CXX"; then
2459 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2460 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2462 { echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6; }
2466 if test "x$ac_ct_CXX" = x; then
2469 case $cross_compiling:$ac_tool_warned in
2471 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2472 whose name does not start with the host triplet. If you think this
2473 configuration is useful to you, please write to autoconf@gnu.org." >&5
2474 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2475 whose name does not start with the host triplet. If you think this
2476 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2477 ac_tool_warned=yes ;;
2482 CXX="$ac_cv_prog_CXX"
2485 if test -n "$ac_tool_prefix"; then
2486 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2487 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2490 if test "${ac_cv_prog_RANLIB+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 if test -n "$RANLIB"; then
2494 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 RANLIB=$ac_cv_prog_RANLIB
2514 if test -n "$RANLIB"; then
2515 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2516 echo "${ECHO_T}$RANLIB" >&6; }
2518 { echo "$as_me:$LINENO: result: no" >&5
2519 echo "${ECHO_T}no" >&6; }
2524 if test -z "$ac_cv_prog_RANLIB"; then
2525 ac_ct_RANLIB=$RANLIB
2526 # Extract the first word of "ranlib", so it can be a program name with args.
2527 set dummy ranlib; ac_word=$2
2528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2530 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 if test -n "$ac_ct_RANLIB"; then
2534 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2543 ac_cv_prog_ac_ct_RANLIB="ranlib"
2544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2554 if test -n "$ac_ct_RANLIB"; then
2555 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2556 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2558 { echo "$as_me:$LINENO: result: no" >&5
2559 echo "${ECHO_T}no" >&6; }
2562 if test "x$ac_ct_RANLIB" = x; then
2565 case $cross_compiling:$ac_tool_warned in
2567 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2568 whose name does not start with the host triplet. If you think this
2569 configuration is useful to you, please write to autoconf@gnu.org." >&5
2570 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2571 whose name does not start with the host triplet. If you think this
2572 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2573 ac_tool_warned=yes ;;
2575 RANLIB=$ac_ct_RANLIB
2578 RANLIB="$ac_cv_prog_RANLIB"
2581 if test -n "$ac_tool_prefix"; then
2582 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2583 set dummy ${ac_tool_prefix}ar; ac_word=$2
2584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2586 if test "${ac_cv_prog_AR+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2589 if test -n "$AR"; then
2590 ac_cv_prog_AR="$AR" # Let the user override the test.
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 test -z "$as_dir" && as_dir=.
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2599 ac_cv_prog_AR="${ac_tool_prefix}ar"
2600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 if test -n "$AR"; then
2611 { echo "$as_me:$LINENO: result: $AR" >&5
2612 echo "${ECHO_T}$AR" >&6; }
2614 { echo "$as_me:$LINENO: result: no" >&5
2615 echo "${ECHO_T}no" >&6; }
2620 if test -z "$ac_cv_prog_AR"; then
2622 # Extract the first word of "ar", so it can be a program name with args.
2623 set dummy ar; ac_word=$2
2624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2626 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 if test -n "$ac_ct_AR"; then
2630 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2639 ac_cv_prog_ac_ct_AR="ar"
2640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2650 if test -n "$ac_ct_AR"; then
2651 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2652 echo "${ECHO_T}$ac_ct_AR" >&6; }
2654 { echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6; }
2658 if test "x$ac_ct_AR" = x; then
2661 case $cross_compiling:$ac_tool_warned in
2663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2664 whose name does not start with the host triplet. If you think this
2665 configuration is useful to you, please write to autoconf@gnu.org." >&5
2666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2667 whose name does not start with the host triplet. If you think this
2668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2669 ac_tool_warned=yes ;;
2678 if test x"${PBX_OSTYPE}" = xWin32;
2680 if test -n "$ac_tool_prefix"; then
2681 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2682 set dummy ${ac_tool_prefix}nm; ac_word=$2
2683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2685 if test "${ac_cv_prog_NM+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 if test -n "$NM"; then
2689 ac_cv_prog_NM="$NM" # Let the user override the test.
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2698 ac_cv_prog_NM="${ac_tool_prefix}nm"
2699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 if test -n "$NM"; then
2710 { echo "$as_me:$LINENO: result: $NM" >&5
2711 echo "${ECHO_T}$NM" >&6; }
2713 { echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6; }
2719 if test -z "$ac_cv_prog_NM"; then
2721 # Extract the first word of "nm", so it can be a program name with args.
2722 set dummy nm; ac_word=$2
2723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2725 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
2726 echo $ECHO_N "(cached) $ECHO_C" >&6
2728 if test -n "$ac_ct_NM"; then
2729 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_ac_ct_NM="nm"
2739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2749 if test -n "$ac_ct_NM"; then
2750 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
2751 echo "${ECHO_T}$ac_ct_NM" >&6; }
2753 { echo "$as_me:$LINENO: result: no" >&5
2754 echo "${ECHO_T}no" >&6; }
2757 if test "x$ac_ct_NM" = x; then
2760 case $cross_compiling:$ac_tool_warned in
2762 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2763 whose name does not start with the host triplet. If you think this
2764 configuration is useful to you, please write to autoconf@gnu.org." >&5
2765 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2766 whose name does not start with the host triplet. If you think this
2767 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2768 ac_tool_warned=yes ;;
2776 if test -n "$ac_tool_prefix"; then
2777 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
2778 set dummy ${ac_tool_prefix}windres; ac_word=$2
2779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2781 if test "${ac_cv_prog_WINDRES+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 if test -n "$WINDRES"; then
2785 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir=.
2792 for ac_exec_ext in '' $ac_executable_extensions; do
2793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2794 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
2795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 WINDRES=$ac_cv_prog_WINDRES
2805 if test -n "$WINDRES"; then
2806 { echo "$as_me:$LINENO: result: $WINDRES" >&5
2807 echo "${ECHO_T}$WINDRES" >&6; }
2809 { echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6; }
2815 if test -z "$ac_cv_prog_WINDRES"; then
2816 ac_ct_WINDRES=$WINDRES
2817 # Extract the first word of "windres", so it can be a program name with args.
2818 set dummy windres; ac_word=$2
2819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2821 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2824 if test -n "$ac_ct_WINDRES"; then
2825 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir=.
2832 for ac_exec_ext in '' $ac_executable_extensions; do
2833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2834 ac_cv_prog_ac_ct_WINDRES="windres"
2835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
2845 if test -n "$ac_ct_WINDRES"; then
2846 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
2847 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
2849 { echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6; }
2853 if test "x$ac_ct_WINDRES" = x; then
2856 case $cross_compiling:$ac_tool_warned in
2858 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2859 whose name does not start with the host triplet. If you think this
2860 configuration is useful to you, please write to autoconf@gnu.org." >&5
2861 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2862 whose name does not start with the host triplet. If you think this
2863 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2864 ac_tool_warned=yes ;;
2866 WINDRES=$ac_ct_WINDRES
2869 WINDRES="$ac_cv_prog_WINDRES"
2872 if test -n "$ac_tool_prefix"; then
2873 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
2874 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
2875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2877 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 if test -n "$DLLWRAP"; then
2881 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2890 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
2891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 DLLWRAP=$ac_cv_prog_DLLWRAP
2901 if test -n "$DLLWRAP"; then
2902 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
2903 echo "${ECHO_T}$DLLWRAP" >&6; }
2905 { echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6; }
2911 if test -z "$ac_cv_prog_DLLWRAP"; then
2912 ac_ct_DLLWRAP=$DLLWRAP
2913 # Extract the first word of "dllwrap", so it can be a program name with args.
2914 set dummy dllwrap; ac_word=$2
2915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2917 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
2918 echo $ECHO_N "(cached) $ECHO_C" >&6
2920 if test -n "$ac_ct_DLLWRAP"; then
2921 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2930 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
2931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
2941 if test -n "$ac_ct_DLLWRAP"; then
2942 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
2943 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
2945 { echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6; }
2949 if test "x$ac_ct_DLLWRAP" = x; then
2952 case $cross_compiling:$ac_tool_warned in
2954 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2955 whose name does not start with the host triplet. If you think this
2956 configuration is useful to you, please write to autoconf@gnu.org." >&5
2957 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2958 whose name does not start with the host triplet. If you think this
2959 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2960 ac_tool_warned=yes ;;
2962 DLLWRAP=$ac_ct_DLLWRAP
2965 DLLWRAP="$ac_cv_prog_DLLWRAP"
2972 # Checks for programs.
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2978 if test -n "$ac_tool_prefix"; then
2979 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2980 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2983 if test "${ac_cv_prog_CC+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC="$CC" # Let the user override the test.
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2996 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 if test -n "$CC"; then
3008 { echo "$as_me:$LINENO: result: $CC" >&5
3009 echo "${ECHO_T}$CC" >&6; }
3011 { echo "$as_me:$LINENO: result: no" >&5
3012 echo "${ECHO_T}no" >&6; }
3017 if test -z "$ac_cv_prog_CC"; then
3019 # Extract the first word of "gcc", so it can be a program name with args.
3020 set dummy gcc; ac_word=$2
3021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3026 if test -n "$ac_ct_CC"; then
3027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_ac_ct_CC="gcc"
3037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3047 if test -n "$ac_ct_CC"; then
3048 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3049 echo "${ECHO_T}$ac_ct_CC" >&6; }
3051 { echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6; }
3055 if test "x$ac_ct_CC" = x; then
3058 case $cross_compiling:$ac_tool_warned in
3060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3061 whose name does not start with the host triplet. If you think this
3062 configuration is useful to you, please write to autoconf@gnu.org." >&5
3063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3064 whose name does not start with the host triplet. If you think this
3065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3066 ac_tool_warned=yes ;;
3074 if test -z "$CC"; then
3075 if test -n "$ac_tool_prefix"; then
3076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3077 set dummy ${ac_tool_prefix}cc; ac_word=$2
3078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3080 if test "${ac_cv_prog_CC+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 if test -n "$CC"; then
3084 ac_cv_prog_CC="$CC" # Let the user override the test.
3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 test -z "$as_dir" && as_dir=.
3091 for ac_exec_ext in '' $ac_executable_extensions; do
3092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3093 ac_cv_prog_CC="${ac_tool_prefix}cc"
3094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 if test -n "$CC"; then
3105 { echo "$as_me:$LINENO: result: $CC" >&5
3106 echo "${ECHO_T}$CC" >&6; }
3108 { echo "$as_me:$LINENO: result: no" >&5
3109 echo "${ECHO_T}no" >&6; }
3115 if test -z "$CC"; then
3116 # Extract the first word of "cc", so it can be a program name with args.
3117 set dummy cc; ac_word=$2
3118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3120 if test "${ac_cv_prog_CC+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 if test -n "$CC"; then
3124 ac_cv_prog_CC="$CC" # Let the user override the test.
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir=.
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3134 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3135 ac_prog_rejected=yes
3139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 if test $ac_prog_rejected = yes; then
3147 # We found a bogon in the path, so make sure we never use it.
3148 set dummy $ac_cv_prog_CC
3150 if test $# != 0; then
3151 # We chose a different compiler from the bogus one.
3152 # However, it has the same basename, so the bogon will be chosen
3153 # first if we set CC to just the basename; use the full file name.
3155 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3161 if test -n "$CC"; then
3162 { echo "$as_me:$LINENO: result: $CC" >&5
3163 echo "${ECHO_T}$CC" >&6; }
3165 { echo "$as_me:$LINENO: result: no" >&5
3166 echo "${ECHO_T}no" >&6; }
3171 if test -z "$CC"; then
3172 if test -n "$ac_tool_prefix"; then
3173 for ac_prog in cl.exe
3175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3179 if test "${ac_cv_prog_CC+set}" = set; then
3180 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 if test -n "$CC"; then
3183 ac_cv_prog_CC="$CC" # Let the user override the test.
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test -n "$CC"; then
3204 { echo "$as_me:$LINENO: result: $CC" >&5
3205 echo "${ECHO_T}$CC" >&6; }
3207 { echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6; }
3212 test -n "$CC" && break
3215 if test -z "$CC"; then
3217 for ac_prog in cl.exe
3219 # Extract the first word of "$ac_prog", so it can be a program name with args.
3220 set dummy $ac_prog; ac_word=$2
3221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6
3226 if test -n "$ac_ct_CC"; then
3227 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir=.
3234 for ac_exec_ext in '' $ac_executable_extensions; do
3235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3236 ac_cv_prog_ac_ct_CC="$ac_prog"
3237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3247 if test -n "$ac_ct_CC"; then
3248 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3249 echo "${ECHO_T}$ac_ct_CC" >&6; }
3251 { echo "$as_me:$LINENO: result: no" >&5
3252 echo "${ECHO_T}no" >&6; }
3256 test -n "$ac_ct_CC" && break
3259 if test "x$ac_ct_CC" = x; then
3262 case $cross_compiling:$ac_tool_warned in
3264 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3265 whose name does not start with the host triplet. If you think this
3266 configuration is useful to you, please write to autoconf@gnu.org." >&5
3267 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3268 whose name does not start with the host triplet. If you think this
3269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3270 ac_tool_warned=yes ;;
3279 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3280 See \`config.log' for more details." >&5
3281 echo "$as_me: error: no acceptable C compiler found in \$PATH
3282 See \`config.log' for more details." >&2;}
3283 { (exit 1); exit 1; }; }
3285 # Provide some information about the compiler.
3286 echo "$as_me:$LINENO: checking for C compiler version" >&5
3287 ac_compiler=`set X $ac_compile; echo $2`
3288 { (ac_try="$ac_compiler --version >&5"
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_compiler --version >&5") 2>&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }
3298 { (ac_try="$ac_compiler -v >&5"
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_compiler -v >&5") 2>&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }
3308 { (ac_try="$ac_compiler -V >&5"
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_compiler -V >&5") 2>&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); }
3319 cat >conftest.$ac_ext <<_ACEOF
3322 cat confdefs.h >>conftest.$ac_ext
3323 cat >>conftest.$ac_ext <<_ACEOF
3324 /* end confdefs.h. */
3334 ac_clean_files_save=$ac_clean_files
3335 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3336 # Try to create an executable without -o first, disregard a.out.
3337 # It will help us diagnose broken compilers, and finding out an intuition
3339 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3340 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3341 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3343 # List of possible output files, starting from the most likely.
3344 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3345 # only as a last resort. b.out is created by i960 compilers.
3346 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3348 # The IRIX 6 linker writes into existing files which may not be
3349 # executable, retaining their permissions. Remove them first so a
3350 # subsequent execution test works.
3352 for ac_file in $ac_files
3355 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3356 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3361 if { (ac_try="$ac_link_default"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3367 (eval "$ac_link_default") 2>&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }; then
3371 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3372 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3373 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3374 # so that the user can short-circuit this test for compilers unknown to
3376 for ac_file in $ac_files
3378 test -f "$ac_file" || continue
3380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3383 # We found the default executable, but exeext='' is most
3387 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3389 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3391 # We set ac_cv_exeext here because the later test for it is not
3392 # safe: cross compilers may not add the suffix if given an `-o'
3393 # argument, so we may need to know it at that point already.
3394 # Even if this section looks crufty: it has the advantage of
3401 test "$ac_cv_exeext" = no && ac_cv_exeext=
3404 echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3407 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3408 See \`config.log' for more details." >&5
3409 echo "$as_me: error: C compiler cannot create executables
3410 See \`config.log' for more details." >&2;}
3411 { (exit 77); exit 77; }; }
3414 ac_exeext=$ac_cv_exeext
3415 { echo "$as_me:$LINENO: result: $ac_file" >&5
3416 echo "${ECHO_T}$ac_file" >&6; }
3418 # Check that the compiler produces executables we can run. If not, either
3419 # the compiler is broken, or we cross compile.
3420 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3421 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3422 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3423 # If not cross compiling, check that we can run a simple program.
3424 if test "$cross_compiling" != yes; then
3425 if { ac_try='./$ac_file'
3426 { (case "(($ac_try" in
3427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428 *) ac_try_echo=$ac_try;;
3430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3431 (eval "$ac_try") 2>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3437 if test "$cross_compiling" = maybe; then
3440 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3441 If you meant to cross compile, use \`--host'.
3442 See \`config.log' for more details." >&5
3443 echo "$as_me: error: cannot run C compiled programs.
3444 If you meant to cross compile, use \`--host'.
3445 See \`config.log' for more details." >&2;}
3446 { (exit 1); exit 1; }; }
3450 { echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6; }
3453 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3454 ac_clean_files=$ac_clean_files_save
3455 # Check that the compiler produces executables we can run. If not, either
3456 # the compiler is broken, or we cross compile.
3457 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3458 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3459 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3460 echo "${ECHO_T}$cross_compiling" >&6; }
3462 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3463 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3464 if { (ac_try="$ac_link"
3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3470 (eval "$ac_link") 2>&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; then
3474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3475 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3476 # work properly (i.e., refer to `conftest.exe'), while it won't with
3478 for ac_file in conftest.exe conftest conftest.*; do
3479 test -f "$ac_file" || continue
3481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3488 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3489 See \`config.log' for more details." >&5
3490 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3491 See \`config.log' for more details." >&2;}
3492 { (exit 1); exit 1; }; }
3495 rm -f conftest$ac_cv_exeext
3496 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3497 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3499 rm -f conftest.$ac_ext
3500 EXEEXT=$ac_cv_exeext
3502 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3503 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3504 if test "${ac_cv_objext+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 cat >conftest.$ac_ext <<_ACEOF
3510 cat confdefs.h >>conftest.$ac_ext
3511 cat >>conftest.$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3522 rm -f conftest.o conftest.obj
3523 if { (ac_try="$ac_compile"
3525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526 *) ac_try_echo=$ac_try;;
3528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3529 (eval "$ac_compile") 2>&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; then
3533 for ac_file in conftest.o conftest.obj conftest.*; do
3534 test -f "$ac_file" || continue;
3536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3537 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3542 echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.$ac_ext >&5
3545 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3546 See \`config.log' for more details." >&5
3547 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3548 See \`config.log' for more details." >&2;}
3549 { (exit 1); exit 1; }; }
3552 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3554 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3555 echo "${ECHO_T}$ac_cv_objext" >&6; }
3556 OBJEXT=$ac_cv_objext
3558 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3559 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3560 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 cat >conftest.$ac_ext <<_ACEOF
3566 cat confdefs.h >>conftest.$ac_ext
3567 cat >>conftest.$ac_ext <<_ACEOF
3568 /* end confdefs.h. */
3581 rm -f conftest.$ac_objext
3582 if { (ac_try="$ac_compile"
3584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3585 *) ac_try_echo=$ac_try;;
3587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3588 (eval "$ac_compile") 2>conftest.er1
3590 grep -v '^ *+' conftest.er1 >conftest.err
3592 cat conftest.err >&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); } &&
3595 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3596 { (case "(($ac_try" in
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3601 (eval "$ac_try") 2>&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; } &&
3605 { ac_try='test -s conftest.$ac_objext'
3606 { (case "(($ac_try" in
3607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;;
3610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3611 (eval "$ac_try") 2>&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }; }; then
3617 echo "$as_me: failed program was:" >&5
3618 sed 's/^/| /' conftest.$ac_ext >&5
3623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3624 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3627 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3628 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3629 GCC=`test $ac_compiler_gnu = yes && echo yes`
3630 ac_test_CFLAGS=${CFLAGS+set}
3631 ac_save_CFLAGS=$CFLAGS
3632 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3633 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3634 if test "${ac_cv_prog_cc_g+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3637 ac_save_c_werror_flag=$ac_c_werror_flag
3638 ac_c_werror_flag=yes
3641 cat >conftest.$ac_ext <<_ACEOF
3644 cat confdefs.h >>conftest.$ac_ext
3645 cat >>conftest.$ac_ext <<_ACEOF
3646 /* end confdefs.h. */
3656 rm -f conftest.$ac_objext
3657 if { (ac_try="$ac_compile"
3659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3660 *) ac_try_echo=$ac_try;;
3662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3663 (eval "$ac_compile") 2>conftest.er1
3665 grep -v '^ *+' conftest.er1 >conftest.err
3667 cat conftest.err >&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); } &&
3670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3671 { (case "(($ac_try" in
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3676 (eval "$ac_try") 2>&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); }; } &&
3680 { ac_try='test -s conftest.$ac_objext'
3681 { (case "(($ac_try" in
3682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;;
3685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3686 (eval "$ac_try") 2>&5
3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); }; }; then
3692 echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3696 cat >conftest.$ac_ext <<_ACEOF
3699 cat confdefs.h >>conftest.$ac_ext
3700 cat >>conftest.$ac_ext <<_ACEOF
3701 /* end confdefs.h. */
3711 rm -f conftest.$ac_objext
3712 if { (ac_try="$ac_compile"
3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3718 (eval "$ac_compile") 2>conftest.er1
3720 grep -v '^ *+' conftest.er1 >conftest.err
3722 cat conftest.err >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } &&
3725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3726 { (case "(($ac_try" in
3727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3728 *) ac_try_echo=$ac_try;;
3730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3731 (eval "$ac_try") 2>&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; } &&
3735 { ac_try='test -s conftest.$ac_objext'
3736 { (case "(($ac_try" in
3737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738 *) ac_try_echo=$ac_try;;
3740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3741 (eval "$ac_try") 2>&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then
3747 echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3750 ac_c_werror_flag=$ac_save_c_werror_flag
3752 cat >conftest.$ac_ext <<_ACEOF
3755 cat confdefs.h >>conftest.$ac_ext
3756 cat >>conftest.$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3767 rm -f conftest.$ac_objext
3768 if { (ac_try="$ac_compile"
3770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771 *) ac_try_echo=$ac_try;;
3773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3774 (eval "$ac_compile") 2>conftest.er1
3776 grep -v '^ *+' conftest.er1 >conftest.err
3778 cat conftest.err >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } &&
3781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3782 { (case "(($ac_try" in
3783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3787 (eval "$ac_try") 2>&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }; } &&
3791 { ac_try='test -s conftest.$ac_objext'
3792 { (case "(($ac_try" in
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_try") 2>&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; }; then
3803 echo "$as_me: failed program was:" >&5
3804 sed 's/^/| /' conftest.$ac_ext >&5
3809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3816 ac_c_werror_flag=$ac_save_c_werror_flag
3818 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3819 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3820 if test "$ac_test_CFLAGS" = set; then
3821 CFLAGS=$ac_save_CFLAGS
3822 elif test $ac_cv_prog_cc_g = yes; then
3823 if test "$GCC" = yes; then
3829 if test "$GCC" = yes; then
3835 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3836 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3837 if test "${ac_cv_prog_cc_c89+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 ac_cv_prog_cc_c89=no
3842 cat >conftest.$ac_ext <<_ACEOF
3845 cat confdefs.h >>conftest.$ac_ext
3846 cat >>conftest.$ac_ext <<_ACEOF
3847 /* end confdefs.h. */
3850 #include <sys/types.h>
3851 #include <sys/stat.h>
3852 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3853 struct buf { int x; };
3854 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3855 static char *e (p, i)
3861 static char *f (char * (*g) (char **, int), char **p, ...)
3866 s = g (p, va_arg (v,int));
3871 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3872 function prototypes and stuff, but not '\xHH' hex character constants.
3873 These don't provoke an error unfortunately, instead are silently treated
3874 as 'x'. The following induces an error, until -std is added to get
3875 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3876 array size at least. It's necessary to write '\x00'==0 to get something
3877 that's true only with -std. */
3878 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3880 int test (int i, double x);
3881 struct s1 {int (*f) (int a);};
3882 struct s2 {int (*f) (double a);};
3883 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3889 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3894 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3895 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3897 CC="$ac_save_CC $ac_arg"
3898 rm -f conftest.$ac_objext
3899 if { (ac_try="$ac_compile"
3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3905 (eval "$ac_compile") 2>conftest.er1
3907 grep -v '^ *+' conftest.er1 >conftest.err
3909 cat conftest.err >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); } &&
3912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3913 { (case "(($ac_try" in
3914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915 *) ac_try_echo=$ac_try;;
3917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3918 (eval "$ac_try") 2>&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; } &&
3922 { ac_try='test -s conftest.$ac_objext'
3923 { (case "(($ac_try" in
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3928 (eval "$ac_try") 2>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; }; then
3932 ac_cv_prog_cc_c89=$ac_arg
3934 echo "$as_me: failed program was:" >&5
3935 sed 's/^/| /' conftest.$ac_ext >&5
3940 rm -f conftest.err conftest.$ac_objext
3941 test "x$ac_cv_prog_cc_c89" != "xno" && break
3943 rm -f conftest.$ac_ext
3948 case "x$ac_cv_prog_cc_c89" in
3950 { echo "$as_me:$LINENO: result: none needed" >&5
3951 echo "${ECHO_T}none needed" >&6; } ;;
3953 { echo "$as_me:$LINENO: result: unsupported" >&5
3954 echo "${ECHO_T}unsupported" >&6; } ;;
3956 CC="$CC $ac_cv_prog_cc_c89"
3957 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3958 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3963 ac_cpp='$CPP $CPPFLAGS'
3964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3969 ac_cpp='$CXXCPP $CPPFLAGS'
3970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3973 if test -z "$CXX"; then
3974 if test -n "$CCC"; then
3977 if test -n "$ac_tool_prefix"; then
3978 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3984 if test "${ac_cv_prog_CXX+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 if test -n "$CXX"; then
3988 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3997 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 if test -n "$CXX"; then
4009 { echo "$as_me:$LINENO: result: $CXX" >&5
4010 echo "${ECHO_T}$CXX" >&6; }
4012 { echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6; }
4017 test -n "$CXX" && break
4020 if test -z "$CXX"; then
4022 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4024 # Extract the first word of "$ac_prog", so it can be a program name with args.
4025 set dummy $ac_prog; ac_word=$2
4026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4028 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 if test -n "$ac_ct_CXX"; then
4032 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4041 ac_cv_prog_ac_ct_CXX="$ac_prog"
4042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4052 if test -n "$ac_ct_CXX"; then
4053 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4054 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4056 { echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6; }
4061 test -n "$ac_ct_CXX" && break
4064 if test "x$ac_ct_CXX" = x; then
4067 case $cross_compiling:$ac_tool_warned in
4069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4070 whose name does not start with the host triplet. If you think this
4071 configuration is useful to you, please write to autoconf@gnu.org." >&5
4072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4073 whose name does not start with the host triplet. If you think this
4074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4075 ac_tool_warned=yes ;;
4083 # Provide some information about the compiler.
4084 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4085 ac_compiler=`set X $ac_compile; echo $2`
4086 { (ac_try="$ac_compiler --version >&5"
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4092 (eval "$ac_compiler --version >&5") 2>&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }
4096 { (ac_try="$ac_compiler -v >&5"
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102 (eval "$ac_compiler -v >&5") 2>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }
4106 { (ac_try="$ac_compiler -V >&5"
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4112 (eval "$ac_compiler -V >&5") 2>&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); }
4117 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4118 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4119 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 cat >conftest.$ac_ext <<_ACEOF
4125 cat confdefs.h >>conftest.$ac_ext
4126 cat >>conftest.$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4140 rm -f conftest.$ac_objext
4141 if { (ac_try="$ac_compile"
4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4147 (eval "$ac_compile") 2>conftest.er1
4149 grep -v '^ *+' conftest.er1 >conftest.err
4151 cat conftest.err >&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } &&
4154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4155 { (case "(($ac_try" in
4156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160 (eval "$ac_try") 2>&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; } &&
4164 { ac_try='test -s conftest.$ac_objext'
4165 { (case "(($ac_try" in
4166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_try") 2>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; }; then
4176 echo "$as_me: failed program was:" >&5
4177 sed 's/^/| /' conftest.$ac_ext >&5
4182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4183 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4186 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4187 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4188 GXX=`test $ac_compiler_gnu = yes && echo yes`
4189 ac_test_CXXFLAGS=${CXXFLAGS+set}
4190 ac_save_CXXFLAGS=$CXXFLAGS
4191 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4192 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4193 if test "${ac_cv_prog_cxx_g+set}" = set; then
4194 echo $ECHO_N "(cached) $ECHO_C" >&6
4196 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4197 ac_cxx_werror_flag=yes
4200 cat >conftest.$ac_ext <<_ACEOF
4203 cat confdefs.h >>conftest.$ac_ext
4204 cat >>conftest.$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4215 rm -f conftest.$ac_objext
4216 if { (ac_try="$ac_compile"
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222 (eval "$ac_compile") 2>conftest.er1
4224 grep -v '^ *+' conftest.er1 >conftest.err
4226 cat conftest.err >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); } &&
4229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4230 { (case "(($ac_try" in
4231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4235 (eval "$ac_try") 2>&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); }; } &&
4239 { ac_try='test -s conftest.$ac_objext'
4240 { (case "(($ac_try" in
4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_try") 2>&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; }; then
4249 ac_cv_prog_cxx_g=yes
4251 echo "$as_me: failed program was:" >&5
4252 sed 's/^/| /' conftest.$ac_ext >&5
4255 cat >conftest.$ac_ext <<_ACEOF
4258 cat confdefs.h >>conftest.$ac_ext
4259 cat >>conftest.$ac_ext <<_ACEOF
4260 /* end confdefs.h. */
4270 rm -f conftest.$ac_objext
4271 if { (ac_try="$ac_compile"
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4277 (eval "$ac_compile") 2>conftest.er1
4279 grep -v '^ *+' conftest.er1 >conftest.err
4281 cat conftest.err >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } &&
4284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4285 { (case "(($ac_try" in
4286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4290 (eval "$ac_try") 2>&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); }; } &&
4294 { ac_try='test -s conftest.$ac_objext'
4295 { (case "(($ac_try" in
4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4300 (eval "$ac_try") 2>&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); }; }; then
4306 echo "$as_me: failed program was:" >&5
4307 sed 's/^/| /' conftest.$ac_ext >&5
4309 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4311 cat >conftest.$ac_ext <<_ACEOF
4314 cat confdefs.h >>conftest.$ac_ext
4315 cat >>conftest.$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4326 rm -f conftest.$ac_objext
4327 if { (ac_try="$ac_compile"
4329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4330 *) ac_try_echo=$ac_try;;
4332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4333 (eval "$ac_compile") 2>conftest.er1
4335 grep -v '^ *+' conftest.er1 >conftest.err
4337 cat conftest.err >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } &&
4340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4341 { (case "(($ac_try" in
4342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4343 *) ac_try_echo=$ac_try;;
4345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4346 (eval "$ac_try") 2>&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); }; } &&
4350 { ac_try='test -s conftest.$ac_objext'
4351 { (case "(($ac_try" in
4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;;
4355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4356 (eval "$ac_try") 2>&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4360 ac_cv_prog_cxx_g=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.$ac_ext >&5
4368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4375 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4377 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4378 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4379 if test "$ac_test_CXXFLAGS" = set; then
4380 CXXFLAGS=$ac_save_CXXFLAGS
4381 elif test $ac_cv_prog_cxx_g = yes; then
4382 if test "$GXX" = yes; then
4388 if test "$GXX" = yes; then
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
4401 ac_cpp='$CPP $CPPFLAGS'
4402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4405 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4406 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4407 # On Suns, sometimes $CPP names a directory.
4408 if test -n "$CPP" && test -d "$CPP"; then
4411 if test -z "$CPP"; then
4412 if test "${ac_cv_prog_CPP+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 # Double quotes because CPP needs to be expanded
4416 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4419 for ac_c_preproc_warn_flag in '' yes
4421 # Use a header file that comes with gcc, so configuring glibc
4422 # with a fresh cross-compiler works.
4423 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4424 # <limits.h> exists even on freestanding compilers.
4425 # On the NeXT, cc -E runs the code through the compiler's parser,
4426 # not just through cpp. "Syntax error" is here to catch this case.
4427 cat >conftest.$ac_ext <<_ACEOF
4430 cat confdefs.h >>conftest.$ac_ext
4431 cat >>conftest.$ac_ext <<_ACEOF
4432 /* end confdefs.h. */
4434 # include <limits.h>
4436 # include <assert.h>
4440 if { (ac_try="$ac_cpp conftest.$ac_ext"
4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4446 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4448 grep -v '^ *+' conftest.er1 >conftest.err
4450 cat conftest.err >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } >/dev/null; then
4453 if test -s conftest.err; then
4454 ac_cpp_err=$ac_c_preproc_warn_flag
4455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4462 if test -z "$ac_cpp_err"; then
4465 echo "$as_me: failed program was:" >&5
4466 sed 's/^/| /' conftest.$ac_ext >&5
4468 # Broken: fails on valid input.
4472 rm -f conftest.err conftest.$ac_ext
4474 # OK, works on sane cases. Now check whether nonexistent headers
4475 # can be detected and how.
4476 cat >conftest.$ac_ext <<_ACEOF
4479 cat confdefs.h >>conftest.$ac_ext
4480 cat >>conftest.$ac_ext <<_ACEOF
4481 /* end confdefs.h. */
4482 #include <ac_nonexistent.h>
4484 if { (ac_try="$ac_cpp conftest.$ac_ext"
4486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4492 grep -v '^ *+' conftest.er1 >conftest.err
4494 cat conftest.err >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); } >/dev/null; then
4497 if test -s conftest.err; then
4498 ac_cpp_err=$ac_c_preproc_warn_flag
4499 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4506 if test -z "$ac_cpp_err"; then
4507 # Broken: success on invalid input.
4510 echo "$as_me: failed program was:" >&5
4511 sed 's/^/| /' conftest.$ac_ext >&5
4513 # Passes both tests.
4518 rm -f conftest.err conftest.$ac_ext
4521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4522 rm -f conftest.err conftest.$ac_ext
4523 if $ac_preproc_ok; then
4535 { echo "$as_me:$LINENO: result: $CPP" >&5
4536 echo "${ECHO_T}$CPP" >&6; }
4538 for ac_c_preproc_warn_flag in '' yes
4540 # Use a header file that comes with gcc, so configuring glibc
4541 # with a fresh cross-compiler works.
4542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4543 # <limits.h> exists even on freestanding compilers.
4544 # On the NeXT, cc -E runs the code through the compiler's parser,
4545 # not just through cpp. "Syntax error" is here to catch this case.
4546 cat >conftest.$ac_ext <<_ACEOF
4549 cat confdefs.h >>conftest.$ac_ext
4550 cat >>conftest.$ac_ext <<_ACEOF
4551 /* end confdefs.h. */
4553 # include <limits.h>
4555 # include <assert.h>
4559 if { (ac_try="$ac_cpp conftest.$ac_ext"
4561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4567 grep -v '^ *+' conftest.er1 >conftest.err
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } >/dev/null; then
4572 if test -s conftest.err; then
4573 ac_cpp_err=$ac_c_preproc_warn_flag
4574 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4581 if test -z "$ac_cpp_err"; then
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 # Broken: fails on valid input.
4591 rm -f conftest.err conftest.$ac_ext
4593 # OK, works on sane cases. Now check whether nonexistent headers
4594 # can be detected and how.
4595 cat >conftest.$ac_ext <<_ACEOF
4598 cat confdefs.h >>conftest.$ac_ext
4599 cat >>conftest.$ac_ext <<_ACEOF
4600 /* end confdefs.h. */
4601 #include <ac_nonexistent.h>
4603 if { (ac_try="$ac_cpp conftest.$ac_ext"
4605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4606 *) ac_try_echo=$ac_try;;
4608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4611 grep -v '^ *+' conftest.er1 >conftest.err
4613 cat conftest.err >&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); } >/dev/null; then
4616 if test -s conftest.err; then
4617 ac_cpp_err=$ac_c_preproc_warn_flag
4618 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4625 if test -z "$ac_cpp_err"; then
4626 # Broken: success on invalid input.
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.$ac_ext >&5
4632 # Passes both tests.
4637 rm -f conftest.err conftest.$ac_ext
4640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4641 rm -f conftest.err conftest.$ac_ext
4642 if $ac_preproc_ok; then
4645 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4646 See \`config.log' for more details." >&5
4647 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4648 See \`config.log' for more details." >&2;}
4649 { (exit 1); exit 1; }; }
4653 ac_cpp='$CPP $CPPFLAGS'
4654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4659 ac_cpp='$CXXCPP $CPPFLAGS'
4660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4663 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4664 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4665 if test -z "$CXXCPP"; then
4666 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 # Double quotes because CXXCPP needs to be expanded
4670 for CXXCPP in "$CXX -E" "/lib/cpp"
4673 for ac_cxx_preproc_warn_flag in '' yes
4675 # Use a header file that comes with gcc, so configuring glibc
4676 # with a fresh cross-compiler works.
4677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4678 # <limits.h> exists even on freestanding compilers.
4679 # On the NeXT, cc -E runs the code through the compiler's parser,
4680 # not just through cpp. "Syntax error" is here to catch this case.
4681 cat >conftest.$ac_ext <<_ACEOF
4684 cat confdefs.h >>conftest.$ac_ext
4685 cat >>conftest.$ac_ext <<_ACEOF
4686 /* end confdefs.h. */
4688 # include <limits.h>
4690 # include <assert.h>
4694 if { (ac_try="$ac_cpp conftest.$ac_ext"
4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4697 *) ac_try_echo=$ac_try;;
4699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1