2 # From configure.ac Revision: 37086 .
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
807 ac_precious_vars='build_alias
821 # Initialize some variables set by options.
823 ac_init_version=false
824 # The variables have the same names as the options, with
825 # dashes changed to underlines.
833 program_transform_name=s,x,x,
841 # Installation directory options.
842 # These are left unexpanded so users can "make install exec_prefix=/foo"
843 # and all the variables that are supposed to be based on exec_prefix
844 # by default will actually change.
845 # Use braces instead of parens because sh, perl, etc. also accept them.
846 # (The list follows the same order as the GNU Coding Standards.)
847 bindir='${exec_prefix}/bin'
848 sbindir='${exec_prefix}/sbin'
849 libexecdir='${exec_prefix}/libexec'
850 datarootdir='${prefix}/share'
851 datadir='${datarootdir}'
852 sysconfdir='${prefix}/etc'
853 sharedstatedir='${prefix}/com'
854 localstatedir='${prefix}/var'
855 includedir='${prefix}/include'
856 oldincludedir='/usr/include'
857 docdir='${datarootdir}/doc/${PACKAGE}'
858 infodir='${datarootdir}/info'
863 libdir='${exec_prefix}/lib'
864 localedir='${datarootdir}/locale'
865 mandir='${datarootdir}/man'
871 # If the previous option needs an argument, assign it.
872 if test -n "$ac_prev"; then
873 eval $ac_prev=\$ac_option
879 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
883 # Accept the important Cygnus configure options, so we can diagnose typos.
885 case $ac_dashdash$ac_option in
889 -bindir | --bindir | --bindi | --bind | --bin | --bi)
891 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
894 -build | --build | --buil | --bui | --bu)
895 ac_prev=build_alias ;;
896 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
897 build_alias=$ac_optarg ;;
899 -cache-file | --cache-file | --cache-fil | --cache-fi \
900 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
901 ac_prev=cache_file ;;
902 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
903 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
904 cache_file=$ac_optarg ;;
907 cache_file=config.cache ;;
909 -datadir | --datadir | --datadi | --datad)
911 -datadir=* | --datadir=* | --datadi=* | --datad=*)
912 datadir=$ac_optarg ;;
914 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
915 | --dataroo | --dataro | --datar)
916 ac_prev=datarootdir ;;
917 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
918 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
919 datarootdir=$ac_optarg ;;
921 -disable-* | --disable-*)
922 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
925 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
926 { (exit 1); exit 1; }; }
927 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
928 eval enable_$ac_feature=no ;;
930 -docdir | --docdir | --docdi | --doc | --do)
932 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
935 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
937 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
940 -enable-* | --enable-*)
941 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
944 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
945 { (exit 1); exit 1; }; }
946 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
947 eval enable_$ac_feature=\$ac_optarg ;;
949 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
950 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
951 | --exec | --exe | --ex)
952 ac_prev=exec_prefix ;;
953 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
954 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
955 | --exec=* | --exe=* | --ex=*)
956 exec_prefix=$ac_optarg ;;
958 -gas | --gas | --ga | --g)
959 # Obsolete; use --with-gas.
962 -help | --help | --hel | --he | -h)
964 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
965 ac_init_help=recursive ;;
966 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
967 ac_init_help=short ;;
969 -host | --host | --hos | --ho)
970 ac_prev=host_alias ;;
971 -host=* | --host=* | --hos=* | --ho=*)
972 host_alias=$ac_optarg ;;
974 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
976 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
978 htmldir=$ac_optarg ;;
980 -includedir | --includedir | --includedi | --included | --include \
981 | --includ | --inclu | --incl | --inc)
982 ac_prev=includedir ;;
983 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
984 | --includ=* | --inclu=* | --incl=* | --inc=*)
985 includedir=$ac_optarg ;;
987 -infodir | --infodir | --infodi | --infod | --info | --inf)
989 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
990 infodir=$ac_optarg ;;
992 -libdir | --libdir | --libdi | --libd)
994 -libdir=* | --libdir=* | --libdi=* | --libd=*)
997 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
998 | --libexe | --libex | --libe)
999 ac_prev=libexecdir ;;
1000 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1001 | --libexe=* | --libex=* | --libe=*)
1002 libexecdir=$ac_optarg ;;
1004 -localedir | --localedir | --localedi | --localed | --locale)
1005 ac_prev=localedir ;;
1006 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1007 localedir=$ac_optarg ;;
1009 -localstatedir | --localstatedir | --localstatedi | --localstated \
1010 | --localstate | --localstat | --localsta | --localst | --locals)
1011 ac_prev=localstatedir ;;
1012 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1013 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1014 localstatedir=$ac_optarg ;;
1016 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1018 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1019 mandir=$ac_optarg ;;
1021 -nfp | --nfp | --nf)
1022 # Obsolete; use --without-fp.
1025 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1026 | --no-cr | --no-c | -n)
1029 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1030 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1033 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1034 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1035 | --oldin | --oldi | --old | --ol | --o)
1036 ac_prev=oldincludedir ;;
1037 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1038 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1039 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1040 oldincludedir=$ac_optarg ;;
1042 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1044 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1045 prefix=$ac_optarg ;;
1047 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1048 | --program-pre | --program-pr | --program-p)
1049 ac_prev=program_prefix ;;
1050 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1051 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1052 program_prefix=$ac_optarg ;;
1054 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1055 | --program-suf | --program-su | --program-s)
1056 ac_prev=program_suffix ;;
1057 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1058 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1059 program_suffix=$ac_optarg ;;
1061 -program-transform-name | --program-transform-name \
1062 | --program-transform-nam | --program-transform-na \
1063 | --program-transform-n | --program-transform- \
1064 | --program-transform | --program-transfor \
1065 | --program-transfo | --program-transf \
1066 | --program-trans | --program-tran \
1067 | --progr-tra | --program-tr | --program-t)
1068 ac_prev=program_transform_name ;;
1069 -program-transform-name=* | --program-transform-name=* \
1070 | --program-transform-nam=* | --program-transform-na=* \
1071 | --program-transform-n=* | --program-transform-=* \
1072 | --program-transform=* | --program-transfor=* \
1073 | --program-transfo=* | --program-transf=* \
1074 | --program-trans=* | --program-tran=* \
1075 | --progr-tra=* | --program-tr=* | --program-t=*)
1076 program_transform_name=$ac_optarg ;;
1078 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1080 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1081 pdfdir=$ac_optarg ;;
1083 -psdir | --psdir | --psdi | --psd | --ps)
1085 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1089 | -silent | --silent | --silen | --sile | --sil)
1092 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1094 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1096 sbindir=$ac_optarg ;;
1098 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1099 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1100 | --sharedst | --shareds | --shared | --share | --shar \
1102 ac_prev=sharedstatedir ;;
1103 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1104 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1105 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1107 sharedstatedir=$ac_optarg ;;
1109 -site | --site | --sit)
1111 -site=* | --site=* | --sit=*)
1114 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1116 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1117 srcdir=$ac_optarg ;;
1119 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1120 | --syscon | --sysco | --sysc | --sys | --sy)
1121 ac_prev=sysconfdir ;;
1122 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1123 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1124 sysconfdir=$ac_optarg ;;
1126 -target | --target | --targe | --targ | --tar | --ta | --t)
1127 ac_prev=target_alias ;;
1128 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1129 target_alias=$ac_optarg ;;
1131 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1134 -version | --version | --versio | --versi | --vers | -V)
1135 ac_init_version=: ;;
1138 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1141 { echo "$as_me: error: invalid package name: $ac_package" >&2
1142 { (exit 1); exit 1; }; }
1143 ac_package=`echo $ac_package| sed 's/-/_/g'`
1144 eval with_$ac_package=\$ac_optarg ;;
1146 -without-* | --without-*)
1147 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1150 { echo "$as_me: error: invalid package name: $ac_package" >&2
1151 { (exit 1); exit 1; }; }
1152 ac_package=`echo $ac_package | sed 's/-/_/g'`
1153 eval with_$ac_package=no ;;
1156 # Obsolete; use --with-x.
1159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160 | --x-incl | --x-inc | --x-in | --x-i)
1161 ac_prev=x_includes ;;
1162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164 x_includes=$ac_optarg ;;
1166 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168 ac_prev=x_libraries ;;
1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171 x_libraries=$ac_optarg ;;
1173 -*) { echo "$as_me: error: unrecognized option: $ac_option
1174 Try \`$0 --help' for more information." >&2
1175 { (exit 1); exit 1; }; }
1179 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1183 { (exit 1); exit 1; }; }
1184 eval $ac_envvar=\$ac_optarg
1185 export $ac_envvar ;;
1188 # FIXME: should be removed in autoconf 3.0.
1189 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1198 if test -n "$ac_prev"; then
1199 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1200 { echo "$as_me: error: missing argument to $ac_option" >&2
1201 { (exit 1); exit 1; }; }
1204 # Be sure to have absolute directory names.
1205 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206 datadir sysconfdir sharedstatedir localstatedir includedir \
1207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208 libdir localedir mandir
1210 eval ac_val=\$$ac_var
1212 [\\/$]* | ?:[\\/]* ) continue;;
1213 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1216 { (exit 1); exit 1; }; }
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x; then
1228 if test "x$build_alias" = x; then
1229 cross_compiling=maybe
1230 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1231 If a cross compiler is detected then cross compile mode will be used." >&2
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1240 test "$silent" = yes && exec 6>/dev/null
1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di=`ls -di .` &&
1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1246 { echo "$as_me: error: Working directory cannot be determined" >&2
1247 { (exit 1); exit 1; }; }
1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1249 { echo "$as_me: error: pwd does not report name of working directory" >&2
1250 { (exit 1); exit 1; }; }
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir=`$as_dirname -- "$0" ||
1258 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$0" : 'X\(//\)[^/]' \| \
1260 X"$0" : 'X\(//\)$' \| \
1261 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1285 ac_srcdir_defaulted=no
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1289 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1290 { (exit 1); exit 1; }; }
1292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1295 { (exit 1); exit 1; }; }
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 for ac_var in $ac_precious_vars; do
1308 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_env_${ac_var}_value=\$${ac_var}
1310 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1315 # Report the --help message.
1317 if test "$ac_init_help" = "long"; then
1318 # Omit some internal or obsolete options to make the list less imposing.
1319 # This message is too long to be a string in the A/UX 3.1 sh.
1321 \`configure' configures this package to adapt to many kinds of systems.
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE. See below for descriptions of some of the useful variables.
1328 Defaults for the options are specified in brackets.
1331 -h, --help display this help and exit
1332 --help=short display options specific to this package
1333 --help=recursive display the short help of all the included packages
1334 -V, --version display version information and exit
1335 -q, --quiet, --silent do not print \`checking...' messages
1336 --cache-file=FILE cache test results in FILE [disabled]
1337 -C, --config-cache alias for \`--cache-file=config.cache'
1338 -n, --no-create do not create output files
1339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1341 Installation directories:
1342 --prefix=PREFIX install architecture-independent files in PREFIX
1343 [$ac_default_prefix]
1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1352 For better control, use the options below.
1354 Fine tuning of the installation directories:
1355 --bindir=DIR user executables [EPREFIX/bin]
1356 --sbindir=DIR system admin executables [EPREFIX/sbin]
1357 --libexecdir=DIR program executables [EPREFIX/libexec]
1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1361 --libdir=DIR object code libraries [EPREFIX/lib]
1362 --includedir=DIR C header files [PREFIX/include]
1363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1366 --infodir=DIR info documentation [DATAROOTDIR/info]
1367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1368 --mandir=DIR man documentation [DATAROOTDIR/man]
1369 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1370 --htmldir=DIR html documentation [DOCDIR]
1371 --dvidir=DIR dvi documentation [DOCDIR]
1372 --pdfdir=DIR pdf documentation [DOCDIR]
1373 --psdir=DIR ps documentation [DOCDIR]
1379 --build=BUILD configure for building on BUILD [guessed]
1380 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1381 --target=TARGET configure for building compilers for TARGET [HOST]
1385 if test -n "$ac_init_help"; then
1390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1392 --enable-dev-mode Turn on developer mode
1393 --disable-largefile omit support for large files
1396 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1397 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1398 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1399 --with-curses=PATH use curses files in PATH
1400 --with-gsm=PATH use GSM files in PATH , or 'internal'
1401 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1402 --with-imap=PATH use UW IMAP Toolkit files in PATH
1403 --with-kde=PATH use KDE files in PATH
1404 --with-nbs=PATH use Network Broadcast Sound files in PATH
1405 --with-ncurses=PATH use ncurses files in PATH
1406 --with-netsnmp=PATH use Net-SNMP files in PATH
1407 --with-newt=PATH use newt files in PATH
1408 --with-odbc=PATH use unixODBC files in PATH
1409 --with-ogg=PATH use OGG files in PATH
1410 --with-osptk=PATH use OSP Toolkit files in PATH
1411 --with-oss=PATH use Open Sound System files in PATH
1412 --with-popt=PATH use popt files in PATH
1413 --with-postgres=PATH use PostgreSQL files in PATH
1414 --with-pri=PATH use ISDN PRI files in PATH
1415 --with-pwlib=PATH use PWlib files in PATH
1416 --with-qt=PATH use Qt files in PATH
1417 --with-radius=PATH use Radius Client files in PATH
1418 --with-speex=PATH use Speex files in PATH
1419 --with-sqlite=PATH use SQLite files in PATH
1420 --with-ssl=PATH use OpenSSL files in PATH
1421 --with-tds=PATH use FreeTDS files in PATH
1422 --with-termcap=PATH use Termcap files in PATH
1423 --with-tinfo=PATH use Term Info files in PATH
1424 --with-tonezone=PATH use tonezone files in PATH
1425 --with-vorbis=PATH use Vorbis files in PATH
1426 --with-vpb=PATH use Voicetronix API files in PATH
1427 --with-z=PATH use zlib files in PATH
1428 --with-zaptel=PATH use Zaptel files in PATH
1430 Some influential environment variables:
1431 CC C compiler command
1432 CFLAGS C compiler flags
1433 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1434 nonstandard directory <lib dir>
1435 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1436 you have headers in a nonstandard directory <include dir>
1437 CXX C++ compiler command
1438 CXXFLAGS C++ compiler flags
1440 CXXCPP C++ preprocessor
1442 Use these variables to override the choices made by `configure' or to help
1443 it to find libraries and programs with nonstandard names/locations.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1452 test -d "$ac_dir" || continue
1456 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1459 # A ".." for each directory in $ac_dir_suffix.
1460 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1461 case $ac_top_builddir_sub in
1462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1466 ac_abs_top_builddir=$ac_pwd
1467 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1468 # for backward compatibility:
1469 ac_top_builddir=$ac_top_build_prefix
1472 .) # We are building in place.
1474 ac_top_srcdir=$ac_top_builddir_sub
1475 ac_abs_top_srcdir=$ac_pwd ;;
1476 [\\/]* | ?:[\\/]* ) # Absolute name.
1477 ac_srcdir=$srcdir$ac_dir_suffix;
1478 ac_top_srcdir=$srcdir
1479 ac_abs_top_srcdir=$srcdir ;;
1481 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1482 ac_top_srcdir=$ac_top_build_prefix$srcdir
1483 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1485 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1487 cd "$ac_dir" || { ac_status=$?; continue; }
1488 # Check for guested configure.
1489 if test -f "$ac_srcdir/configure.gnu"; then
1491 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1492 elif test -f "$ac_srcdir/configure"; then
1494 $SHELL "$ac_srcdir/configure" --help=recursive
1496 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1498 cd "$ac_pwd" || { ac_status=$?; break; }
1502 test -n "$ac_init_help" && exit $ac_status
1503 if $ac_init_version; then
1506 generated by GNU Autoconf 2.59e
1508 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1509 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1510 This configure script is free software; the Free Software Foundation
1511 gives unlimited permission to copy, distribute and modify it.
1517 cat >config.log <<_ACEOF
1518 This file contains any messages produced by compilers while
1519 running configure, to aid debugging if configure makes a mistake.
1521 It was created by $as_me, which was
1522 generated by GNU Autoconf 2.59e. Invocation command line was
1534 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1535 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1536 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1537 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1538 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1540 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1541 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1543 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1544 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1545 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1546 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1547 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1548 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1549 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir=.
1558 echo "PATH: $as_dir"
1574 # Keep a trace of the command line.
1575 # Strip out --no-create and --no-recursion so they do not pile up.
1576 # Strip out --silent because we don't want to record it for future runs.
1577 # Also quote any args containing shell meta-characters.
1578 # Make two passes to allow for proper duplicate-argument suppression.
1582 ac_must_keep_next=false
1588 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1590 | -silent | --silent | --silen | --sile | --sil)
1593 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1596 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1598 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1599 if test $ac_must_keep_next = true; then
1600 ac_must_keep_next=false # Got value, back to normal.
1603 *=* | --config-cache | -C | -disable-* | --disable-* \
1604 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1605 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1606 | -with-* | --with-* | -without-* | --without-* | --x)
1607 case "$ac_configure_args0 " in
1608 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1611 -* ) ac_must_keep_next=true ;;
1614 ac_configure_args="$ac_configure_args '$ac_arg'"
1619 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1620 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1622 # When interrupted or exit'd, cleanup temporary files, and complete
1623 # config.log. We remove comments because anyway the quotes in there
1624 # would cause problems or look ugly.
1625 # WARNING: Use '\'' to represent an apostrophe within the trap.
1626 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1627 trap 'exit_status=$?
1628 # Save into config.log some information that might help in debugging.
1633 ## ---------------- ##
1634 ## Cache variables. ##
1635 ## ---------------- ##
1638 # The following way of writing the cache mishandles newlines in values,
1640 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1641 eval ac_val=\$$ac_var
1645 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1646 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1649 _ | IFS | as_nl) ;; #(
1650 *) $as_unset $ac_var ;;
1655 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1656 *${as_nl}ac_space=\ *)
1658 "s/'\''/'\''\\\\'\'''\''/g;
1659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1670 ## ----------------- ##
1671 ## Output variables. ##
1672 ## ----------------- ##
1675 for ac_var in $ac_subst_vars
1677 eval ac_val=\$$ac_var
1679 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 echo "$ac_var='\''$ac_val'\''"
1685 if test -n "$ac_subst_files"; then
1687 ## ------------------- ##
1688 ## File substitutions. ##
1689 ## ------------------- ##
1692 for ac_var in $ac_subst_files
1694 eval ac_val=\$$ac_var
1696 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1698 echo "$ac_var='\''$ac_val'\''"
1703 if test -s confdefs.h; then
1713 test "$ac_signal" != 0 &&
1714 echo "$as_me: caught signal $ac_signal"
1715 echo "$as_me: exit $exit_status"
1717 rm -f core *.core core.conftest.* &&
1718 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1721 for ac_signal in 1 2 13 15; do
1722 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1726 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1727 rm -f -r conftest* confdefs.h
1729 # Predefined preprocessor variables.
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_NAME "$PACKAGE_NAME"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_STRING "$PACKAGE_STRING"
1751 cat >>confdefs.h <<_ACEOF
1752 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1756 # Let the site file select an alternate cache file if it wants to.
1757 # Prefer explicitly selected file to automatically selected ones.
1758 if test -n "$CONFIG_SITE"; then
1759 set x "$CONFIG_SITE"
1760 elif test "x$prefix" != xNONE; then
1761 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1763 set x "$ac_default_prefix/share/config.site" \
1764 "$ac_default_prefix/etc/config.site"
1769 if test -r "$ac_site_file"; then
1770 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1771 echo "$as_me: loading site script $ac_site_file" >&6;}
1772 sed 's/^/| /' "$ac_site_file" >&5
1777 if test -r "$cache_file"; then
1778 # Some versions of bash will fail to source /dev/null (special
1779 # files actually), so we avoid doing that.
1780 if test -f "$cache_file"; then
1781 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1782 echo "$as_me: loading cache $cache_file" >&6;}
1784 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1785 *) . "./$cache_file";;
1789 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1790 echo "$as_me: creating cache $cache_file" >&6;}
1794 # Check that the precious variables saved in the cache have kept the same
1796 ac_cache_corrupted=false
1797 for ac_var in $ac_precious_vars; do
1798 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1799 eval ac_new_set=\$ac_env_${ac_var}_set
1800 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1801 eval ac_new_val=\$ac_env_${ac_var}_value
1802 case $ac_old_set,$ac_new_set in
1804 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1805 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1806 ac_cache_corrupted=: ;;
1808 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1809 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1810 ac_cache_corrupted=: ;;
1813 if test "x$ac_old_val" != "x$ac_new_val"; then
1814 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1815 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1816 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1817 echo "$as_me: former value: $ac_old_val" >&2;}
1818 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1819 echo "$as_me: current value: $ac_new_val" >&2;}
1820 ac_cache_corrupted=:
1823 # Pass precious variables to config.status.
1824 if test "$ac_new_set" = set; then
1826 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1827 *) ac_arg=$ac_var=$ac_new_val ;;
1829 case " $ac_configure_args " in
1830 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1831 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1835 if $ac_cache_corrupted; then
1836 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1837 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1838 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1839 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1840 { (exit 1); exit 1; }; }
1860 ac_cpp='$CPP $CPPFLAGS'
1861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1867 # cross-compile macros
1869 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1870 if test -f "$ac_dir/install-sh"; then
1872 ac_install_sh="$ac_aux_dir/install-sh -c"
1874 elif test -f "$ac_dir/install.sh"; then
1876 ac_install_sh="$ac_aux_dir/install.sh -c"
1878 elif test -f "$ac_dir/shtool"; then
1880 ac_install_sh="$ac_aux_dir/shtool install -c"
1884 if test -z "$ac_aux_dir"; then
1885 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1886 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1887 { (exit 1); exit 1; }; }
1890 # These three variables are undocumented and unsupported,
1891 # and are intended to be withdrawn in a future Autoconf release.
1892 # They can cause serious problems if a builder's source tree is in a directory
1893 # whose full name contains unusual characters.
1894 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1895 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1896 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1899 # Make sure we can run config.sub.
1900 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1901 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1902 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1903 { (exit 1); exit 1; }; }
1905 { echo "$as_me:$LINENO: checking build system type" >&5
1906 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1907 if test "${ac_cv_build+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 ac_build_alias=$build_alias
1911 test "x$ac_build_alias" = x &&
1912 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1913 test "x$ac_build_alias" = x &&
1914 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1915 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1916 { (exit 1); exit 1; }; }
1917 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1918 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1919 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1920 { (exit 1); exit 1; }; }
1923 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1924 echo "${ECHO_T}$ac_cv_build" >&6; }
1925 case $ac_cv_build in
1927 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1928 echo "$as_me: error: invalid value of canonical build" >&2;}
1929 { (exit 1); exit 1; }; };;
1932 ac_save_IFS=$IFS; IFS='-'
1938 # Remember, the first character of IFS is used to create $*,
1939 # except with old shells:
1942 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1945 { echo "$as_me:$LINENO: checking host system type" >&5
1946 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1947 if test "${ac_cv_host+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1950 if test "x$host_alias" = x; then
1951 ac_cv_host=$ac_cv_build
1953 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1954 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1955 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1956 { (exit 1); exit 1; }; }
1960 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1961 echo "${ECHO_T}$ac_cv_host" >&6; }
1964 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1965 echo "$as_me: error: invalid value of canonical host" >&2;}
1966 { (exit 1); exit 1; }; };;
1969 ac_save_IFS=$IFS; IFS='-'
1975 # Remember, the first character of IFS is used to create $*,
1976 # except with old shells:
1979 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1982 { echo "$as_me:$LINENO: checking target system type" >&5
1983 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1984 if test "${ac_cv_target+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 if test "x$target_alias" = x; then
1988 ac_cv_target=$ac_cv_host
1990 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1991 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1992 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1993 { (exit 1); exit 1; }; }
1997 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1998 echo "${ECHO_T}$ac_cv_target" >&6; }
1999 case $ac_cv_target in
2001 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2002 echo "$as_me: error: invalid value of canonical target" >&2;}
2003 { (exit 1); exit 1; }; };;
2005 target=$ac_cv_target
2006 ac_save_IFS=$IFS; IFS='-'
2012 # Remember, the first character of IFS is used to create $*,
2013 # except with old shells:
2016 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2019 # The aliases save the names the user supplied, while $host etc.
2020 # will get canonicalized.
2021 test -n "$target_alias" &&
2022 test "$program_prefix$program_suffix$program_transform_name" = \
2024 program_prefix=${target_alias}-
2026 # check existence of the package
2029 # specify output header file
2030 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2038 ac_default_prefix=/usr/local
2041 ac_default_prefix=/usr
2042 if test ${sysconfdir} = '${prefix}/etc'; then
2045 if test ${mandir} = '${prefix}/man'; then
2046 mandir=/usr/share/man
2051 if test ${localstatedir} = '${prefix}/var'; then
2057 cat >>confdefs.h <<_ACEOF
2058 #define PBX_PLATFORM "${host}"
2062 cat >>confdefs.h <<_ACEOF
2063 #define PBX_CPU "${host_cpu}"
2067 cat >>confdefs.h <<_ACEOF
2068 #define PBX_VENDOR "${host_vendor}"
2072 cat >>confdefs.h <<_ACEOF
2073 #define PBX_OS "${host_os}"
2077 # export some useful defines
2078 PBX_PLATFORM=${host}
2080 PBX_VENDOR=${host_vendor}
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
2090 set dummy ${ac_tool_prefix}uname; ac_word=$2
2091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2093 if test "${ac_cv_path_UNAME+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 UNAME=$ac_cv_path_UNAME
2120 if test -n "$UNAME"; then
2121 { echo "$as_me:$LINENO: result: $UNAME" >&5
2122 echo "${ECHO_T}$UNAME" >&6; }
2124 { echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6; }
2130 if test -z "$ac_cv_path_UNAME"; then
2132 # Extract the first word of "uname", so it can be a program name with args.
2133 set dummy uname; ac_word=$2
2134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2136 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
2137 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 case $ac_pt_UNAME in
2141 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2151 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2162 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
2163 if test -n "$ac_pt_UNAME"; then
2164 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
2165 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
2167 { echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6; }
2171 if test "x$ac_pt_UNAME" = x; then
2174 case $cross_compiling:$ac_tool_warned in
2176 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2177 whose name does not start with the host triplet. If you think this
2178 configuration is useful to you, please write to autoconf@gnu.org." >&5
2179 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2180 whose name does not start with the host triplet. If you think this
2181 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2182 ac_tool_warned=yes ;;
2187 UNAME="$ac_cv_path_UNAME"
2190 if test ! x"${UNAME}" = xNo; then
2191 PBX_OSREV=$(${UNAME} -r)
2197 cygwin*|mingw*|windows*|winnt)
2199 cat >>confdefs.h <<\_ACEOF
2204 # this is ugly - KPF
2210 cat >>confdefs.h <<\_ACEOF
2218 cat >>confdefs.h <<\_ACEOF
2226 cat >>confdefs.h <<\_ACEOF
2230 PBX_OSTYPE="FreeBSD"
2231 # XXX temporary hack to let FreeBSD use the default paths
2232 # for local stuff. We need a better solution.
2233 if test x"${CPPFLAGS}" = x; then
2234 CPPFLAGS="-I/usr/local/include"
2236 if test x"${LDFLAGS}" = x; then
2237 LDFLAGS="-L/usr/local/lib"
2242 cat >>confdefs.h <<\_ACEOF
2246 PBX_OSTYPE="OpenBSD"
2250 cat >>confdefs.h <<\_ACEOF
2258 cat >>confdefs.h <<\_ACEOF
2266 cat >>confdefs.h <<\_ACEOF
2275 # This needs to be before any macros that use the C compiler
2277 cat >>confdefs.h <<\_ACEOF
2278 #define _GNU_SOURCE 1
2289 # cross-compile checks
2290 if test x"${build}" != x"${host}";
2292 if test -n "$ac_tool_prefix"; then
2293 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2294 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2297 if test "${ac_cv_prog_CC+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 if test -n "$CC"; then
2301 ac_cv_prog_CC="$CC" # Let the user override the test.
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir=.
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2310 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 if test -n "$CC"; then
2322 { echo "$as_me:$LINENO: result: $CC" >&5
2323 echo "${ECHO_T}$CC" >&6; }
2325 { echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6; }
2331 if test -z "$ac_cv_prog_CC"; then
2333 # Extract the first word of "gcc", so it can be a program name with args.
2334 set dummy gcc; ac_word=$2
2335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 if test -n "$ac_ct_CC"; then
2341 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2350 ac_cv_prog_ac_ct_CC="gcc"
2351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2361 if test -n "$ac_ct_CC"; then
2362 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2363 echo "${ECHO_T}$ac_ct_CC" >&6; }
2365 { echo "$as_me:$LINENO: result: no" >&5
2366 echo "${ECHO_T}no" >&6; }
2369 if test "x$ac_ct_CC" = x; then
2372 case $cross_compiling:$ac_tool_warned in
2374 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2375 whose name does not start with the host triplet. If you think this
2376 configuration is useful to you, please write to autoconf@gnu.org." >&5
2377 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2378 whose name does not start with the host triplet. If you think this
2379 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2380 ac_tool_warned=yes ;;
2388 if test -n "$ac_tool_prefix"; then
2389 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2390 set dummy ${ac_tool_prefix}g++; ac_word=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_CXX+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 if test -n "$CXX"; then
2397 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir=.
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 if test -n "$CXX"; then
2418 { echo "$as_me:$LINENO: result: $CXX" >&5
2419 echo "${ECHO_T}$CXX" >&6; }
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2427 if test -z "$ac_cv_prog_CXX"; then
2429 # Extract the first word of "g++", so it can be a program name with args.
2430 set dummy g++; ac_word=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 if test -n "$ac_ct_CXX"; then
2437 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 test -z "$as_dir" && as_dir=.
2444 for ac_exec_ext in '' $ac_executable_extensions; do
2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2446 ac_cv_prog_ac_ct_CXX="g++"
2447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2457 if test -n "$ac_ct_CXX"; then
2458 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2459 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2461 { echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6; }
2465 if test "x$ac_ct_CXX" = x; then
2468 case $cross_compiling:$ac_tool_warned in
2470 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2471 whose name does not start with the host triplet. If you think this
2472 configuration is useful to you, please write to autoconf@gnu.org." >&5
2473 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2474 whose name does not start with the host triplet. If you think this
2475 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2476 ac_tool_warned=yes ;;
2481 CXX="$ac_cv_prog_CXX"
2484 if test -n "$ac_tool_prefix"; then
2485 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2486 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2489 if test "${ac_cv_prog_RANLIB+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 if test -n "$RANLIB"; then
2493 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 test -z "$as_dir" && as_dir=.
2500 for ac_exec_ext in '' $ac_executable_extensions; do
2501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2502 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2512 RANLIB=$ac_cv_prog_RANLIB
2513 if test -n "$RANLIB"; then
2514 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2515 echo "${ECHO_T}$RANLIB" >&6; }
2517 { echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6; }
2523 if test -z "$ac_cv_prog_RANLIB"; then
2524 ac_ct_RANLIB=$RANLIB
2525 # Extract the first word of "ranlib", so it can be a program name with args.
2526 set dummy ranlib; ac_word=$2
2527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2529 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 if test -n "$ac_ct_RANLIB"; then
2533 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_ac_ct_RANLIB="ranlib"
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2553 if test -n "$ac_ct_RANLIB"; then
2554 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2555 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2557 { echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6; }
2561 if test "x$ac_ct_RANLIB" = x; then
2564 case $cross_compiling:$ac_tool_warned in
2566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2567 whose name does not start with the host triplet. If you think this
2568 configuration is useful to you, please write to autoconf@gnu.org." >&5
2569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2570 whose name does not start with the host triplet. If you think this
2571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2572 ac_tool_warned=yes ;;
2574 RANLIB=$ac_ct_RANLIB
2577 RANLIB="$ac_cv_prog_RANLIB"
2580 if test -n "$ac_tool_prefix"; then
2581 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2582 set dummy ${ac_tool_prefix}ar; ac_word=$2
2583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2585 if test "${ac_cv_prog_AR+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 if test -n "$AR"; then
2589 ac_cv_prog_AR="$AR" # Let the user override the test.
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir=.
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2598 ac_cv_prog_AR="${ac_tool_prefix}ar"
2599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2609 if test -n "$AR"; then
2610 { echo "$as_me:$LINENO: result: $AR" >&5
2611 echo "${ECHO_T}$AR" >&6; }
2613 { echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6; }
2619 if test -z "$ac_cv_prog_AR"; then
2621 # Extract the first word of "ar", so it can be a program name with args.
2622 set dummy ar; ac_word=$2
2623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2625 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2628 if test -n "$ac_ct_AR"; then
2629 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir=.
2636 for ac_exec_ext in '' $ac_executable_extensions; do
2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2638 ac_cv_prog_ac_ct_AR="ar"
2639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2649 if test -n "$ac_ct_AR"; then
2650 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2651 echo "${ECHO_T}$ac_ct_AR" >&6; }
2653 { echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6; }
2657 if test "x$ac_ct_AR" = x; then
2660 case $cross_compiling:$ac_tool_warned in
2662 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2663 whose name does not start with the host triplet. If you think this
2664 configuration is useful to you, please write to autoconf@gnu.org." >&5
2665 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2666 whose name does not start with the host triplet. If you think this
2667 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2668 ac_tool_warned=yes ;;
2677 if test x"${PBX_OSTYPE}" = xWin32;
2679 if test -n "$ac_tool_prefix"; then
2680 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2681 set dummy ${ac_tool_prefix}nm; ac_word=$2
2682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2684 if test "${ac_cv_prog_NM+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 if test -n "$NM"; then
2688 ac_cv_prog_NM="$NM" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2697 ac_cv_prog_NM="${ac_tool_prefix}nm"
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 if test -n "$NM"; then
2709 { echo "$as_me:$LINENO: result: $NM" >&5
2710 echo "${ECHO_T}$NM" >&6; }
2712 { echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6; }
2718 if test -z "$ac_cv_prog_NM"; then
2720 # Extract the first word of "nm", so it can be a program name with args.
2721 set dummy nm; ac_word=$2
2722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2724 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 if test -n "$ac_ct_NM"; then
2728 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir=.
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_ac_ct_NM="nm"
2738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2748 if test -n "$ac_ct_NM"; then
2749 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
2750 echo "${ECHO_T}$ac_ct_NM" >&6; }
2752 { echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6; }
2756 if test "x$ac_ct_NM" = x; then
2759 case $cross_compiling:$ac_tool_warned in
2761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2762 whose name does not start with the host triplet. If you think this
2763 configuration is useful to you, please write to autoconf@gnu.org." >&5
2764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2765 whose name does not start with the host triplet. If you think this
2766 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2767 ac_tool_warned=yes ;;
2775 if test -n "$ac_tool_prefix"; then
2776 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
2777 set dummy ${ac_tool_prefix}windres; ac_word=$2
2778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2780 if test "${ac_cv_prog_WINDRES+set}" = set; then
2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 if test -n "$WINDRES"; then
2784 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2793 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
2794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 WINDRES=$ac_cv_prog_WINDRES
2804 if test -n "$WINDRES"; then
2805 { echo "$as_me:$LINENO: result: $WINDRES" >&5
2806 echo "${ECHO_T}$WINDRES" >&6; }
2808 { echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6; }
2814 if test -z "$ac_cv_prog_WINDRES"; then
2815 ac_ct_WINDRES=$WINDRES
2816 # Extract the first word of "windres", so it can be a program name with args.
2817 set dummy windres; ac_word=$2
2818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2820 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 if test -n "$ac_ct_WINDRES"; then
2824 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_ac_ct_WINDRES="windres"
2834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
2844 if test -n "$ac_ct_WINDRES"; then
2845 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
2846 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
2848 { echo "$as_me:$LINENO: result: no" >&5
2849 echo "${ECHO_T}no" >&6; }
2852 if test "x$ac_ct_WINDRES" = x; then
2855 case $cross_compiling:$ac_tool_warned in
2857 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2858 whose name does not start with the host triplet. If you think this
2859 configuration is useful to you, please write to autoconf@gnu.org." >&5
2860 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2861 whose name does not start with the host triplet. If you think this
2862 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2863 ac_tool_warned=yes ;;
2865 WINDRES=$ac_ct_WINDRES
2868 WINDRES="$ac_cv_prog_WINDRES"
2871 if test -n "$ac_tool_prefix"; then
2872 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
2873 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
2874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2876 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 if test -n "$DLLWRAP"; then
2880 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir=.
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2889 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
2890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 DLLWRAP=$ac_cv_prog_DLLWRAP
2900 if test -n "$DLLWRAP"; then
2901 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
2902 echo "${ECHO_T}$DLLWRAP" >&6; }
2904 { echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6; }
2910 if test -z "$ac_cv_prog_DLLWRAP"; then
2911 ac_ct_DLLWRAP=$DLLWRAP
2912 # Extract the first word of "dllwrap", so it can be a program name with args.
2913 set dummy dllwrap; ac_word=$2
2914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2916 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 if test -n "$ac_ct_DLLWRAP"; then
2920 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir=.
2927 for ac_exec_ext in '' $ac_executable_extensions; do
2928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2929 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
2930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
2940 if test -n "$ac_ct_DLLWRAP"; then
2941 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
2942 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
2944 { echo "$as_me:$LINENO: result: no" >&5
2945 echo "${ECHO_T}no" >&6; }
2948 if test "x$ac_ct_DLLWRAP" = x; then
2951 case $cross_compiling:$ac_tool_warned in
2953 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2954 whose name does not start with the host triplet. If you think this
2955 configuration is useful to you, please write to autoconf@gnu.org." >&5
2956 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2957 whose name does not start with the host triplet. If you think this
2958 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2959 ac_tool_warned=yes ;;
2961 DLLWRAP=$ac_ct_DLLWRAP
2964 DLLWRAP="$ac_cv_prog_DLLWRAP"
2971 # Checks for programs.
2973 ac_cpp='$CPP $CPPFLAGS'
2974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2977 if test -n "$ac_tool_prefix"; then
2978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2979 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2982 if test "${ac_cv_prog_CC+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 if test -n "$CC"; then
2986 ac_cv_prog_CC="$CC" # Let the user override the test.
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2995 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 if test -n "$CC"; then
3007 { echo "$as_me:$LINENO: result: $CC" >&5
3008 echo "${ECHO_T}$CC" >&6; }
3010 { echo "$as_me:$LINENO: result: no" >&5
3011 echo "${ECHO_T}no" >&6; }
3016 if test -z "$ac_cv_prog_CC"; then
3018 # Extract the first word of "gcc", so it can be a program name with args.
3019 set dummy gcc; ac_word=$2
3020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3023 echo $ECHO_N "(cached) $ECHO_C" >&6
3025 if test -n "$ac_ct_CC"; then
3026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3035 ac_cv_prog_ac_ct_CC="gcc"
3036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3046 if test -n "$ac_ct_CC"; then
3047 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3048 echo "${ECHO_T}$ac_ct_CC" >&6; }
3050 { echo "$as_me:$LINENO: result: no" >&5
3051 echo "${ECHO_T}no" >&6; }
3054 if test "x$ac_ct_CC" = x; then
3057 case $cross_compiling:$ac_tool_warned in
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet. If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3073 if test -z "$CC"; then
3074 if test -n "$ac_tool_prefix"; then
3075 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3076 set dummy ${ac_tool_prefix}cc; ac_word=$2
3077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3079 if test "${ac_cv_prog_CC+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3082 if test -n "$CC"; then
3083 ac_cv_prog_CC="$CC" # Let the user override the test.
3085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089 test -z "$as_dir" && as_dir=.
3090 for ac_exec_ext in '' $ac_executable_extensions; do
3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3092 ac_cv_prog_CC="${ac_tool_prefix}cc"
3093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 if test -n "$CC"; then
3104 { echo "$as_me:$LINENO: result: $CC" >&5
3105 echo "${ECHO_T}$CC" >&6; }
3107 { echo "$as_me:$LINENO: result: no" >&5
3108 echo "${ECHO_T}no" >&6; }
3114 if test -z "$CC"; then
3115 # Extract the first word of "cc", so it can be a program name with args.
3116 set dummy cc; ac_word=$2
3117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3119 if test "${ac_cv_prog_CC+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 if test -n "$CC"; then
3123 ac_cv_prog_CC="$CC" # Let the user override the test.
3126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir=.
3131 for ac_exec_ext in '' $ac_executable_extensions; do
3132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3133 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3134 ac_prog_rejected=yes
3138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 if test $ac_prog_rejected = yes; then
3146 # We found a bogon in the path, so make sure we never use it.
3147 set dummy $ac_cv_prog_CC
3149 if test $# != 0; then
3150 # We chose a different compiler from the bogus one.
3151 # However, it has the same basename, so the bogon will be chosen
3152 # first if we set CC to just the basename; use the full file name.
3154 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3160 if test -n "$CC"; then
3161 { echo "$as_me:$LINENO: result: $CC" >&5
3162 echo "${ECHO_T}$CC" >&6; }
3164 { echo "$as_me:$LINENO: result: no" >&5
3165 echo "${ECHO_T}no" >&6; }
3170 if test -z "$CC"; then
3171 if test -n "$ac_tool_prefix"; then
3172 for ac_prog in cl.exe
3174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3175 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3178 if test "${ac_cv_prog_CC+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 if test -n "$CC"; then
3182 ac_cv_prog_CC="$CC" # Let the user override the test.
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3191 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 if test -n "$CC"; then
3203 { echo "$as_me:$LINENO: result: $CC" >&5
3204 echo "${ECHO_T}$CC" >&6; }
3206 { echo "$as_me:$LINENO: result: no" >&5
3207 echo "${ECHO_T}no" >&6; }
3211 test -n "$CC" && break
3214 if test -z "$CC"; then
3216 for ac_prog in cl.exe
3218 # Extract the first word of "$ac_prog", so it can be a program name with args.
3219 set dummy $ac_prog; ac_word=$2
3220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3222 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3225 if test -n "$ac_ct_CC"; then
3226 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3235 ac_cv_prog_ac_ct_CC="$ac_prog"
3236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3246 if test -n "$ac_ct_CC"; then
3247 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3248 echo "${ECHO_T}$ac_ct_CC" >&6; }
3250 { echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6; }
3255 test -n "$ac_ct_CC" && break
3258 if test "x$ac_ct_CC" = x; then
3261 case $cross_compiling:$ac_tool_warned in
3263 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3264 whose name does not start with the host triplet. If you think this
3265 configuration is useful to you, please write to autoconf@gnu.org." >&5
3266 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3267 whose name does not start with the host triplet. If you think this
3268 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3269 ac_tool_warned=yes ;;
3278 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3279 See \`config.log' for more details." >&5
3280 echo "$as_me: error: no acceptable C compiler found in \$PATH
3281 See \`config.log' for more details." >&2;}
3282 { (exit 1); exit 1; }; }
3284 # Provide some information about the compiler.
3285 echo "$as_me:$LINENO: checking for C compiler version" >&5
3286 ac_compiler=`set X $ac_compile; echo $2`
3287 { (ac_try="$ac_compiler --version >&5"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compiler --version >&5") 2>&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }
3297 { (ac_try="$ac_compiler -v >&5"
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3303 (eval "$ac_compiler -v >&5") 2>&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }
3307 { (ac_try="$ac_compiler -V >&5"
3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3310 *) ac_try_echo=$ac_try;;
3312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3313 (eval "$ac_compiler -V >&5") 2>&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }
3318 cat >conftest.$ac_ext <<_ACEOF
3321 cat confdefs.h >>conftest.$ac_ext
3322 cat >>conftest.$ac_ext <<_ACEOF
3323 /* end confdefs.h. */
3333 ac_clean_files_save=$ac_clean_files
3334 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3335 # Try to create an executable without -o first, disregard a.out.
3336 # It will help us diagnose broken compilers, and finding out an intuition
3338 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3339 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3340 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3342 # List of possible output files, starting from the most likely.
3343 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3344 # only as a last resort. b.out is created by i960 compilers.
3345 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3347 # The IRIX 6 linker writes into existing files which may not be
3348 # executable, retaining their permissions. Remove them first so a
3349 # subsequent execution test works.
3351 for ac_file in $ac_files
3354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3355 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3360 if { (ac_try="$ac_link_default"
3362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3366 (eval "$ac_link_default") 2>&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); }; then
3370 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3371 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3372 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3373 # so that the user can short-circuit this test for compilers unknown to
3375 for ac_file in $ac_files
3377 test -f "$ac_file" || continue
3379 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3382 # We found the default executable, but exeext='' is most
3386 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3388 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3390 # We set ac_cv_exeext here because the later test for it is not
3391 # safe: cross compilers may not add the suffix if given an `-o'
3392 # argument, so we may need to know it at that point already.
3393 # Even if this section looks crufty: it has the advantage of
3400 test "$ac_cv_exeext" = no && ac_cv_exeext=
3403 echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3406 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3407 See \`config.log' for more details." >&5
3408 echo "$as_me: error: C compiler cannot create executables
3409 See \`config.log' for more details." >&2;}
3410 { (exit 77); exit 77; }; }
3413 ac_exeext=$ac_cv_exeext
3414 { echo "$as_me:$LINENO: result: $ac_file" >&5
3415 echo "${ECHO_T}$ac_file" >&6; }
3417 # Check that the compiler produces executables we can run. If not, either
3418 # the compiler is broken, or we cross compile.
3419 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3420 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3421 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3422 # If not cross compiling, check that we can run a simple program.
3423 if test "$cross_compiling" != yes; then
3424 if { ac_try='./$ac_file'
3425 { (case "(($ac_try" in
3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3427 *) ac_try_echo=$ac_try;;
3429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3430 (eval "$ac_try") 2>&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); }; }; then
3436 if test "$cross_compiling" = maybe; then
3439 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3440 If you meant to cross compile, use \`--host'.
3441 See \`config.log' for more details." >&5
3442 echo "$as_me: error: cannot run C compiled programs.
3443 If you meant to cross compile, use \`--host'.
3444 See \`config.log' for more details." >&2;}
3445 { (exit 1); exit 1; }; }
3449 { echo "$as_me:$LINENO: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6; }
3452 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3453 ac_clean_files=$ac_clean_files_save
3454 # Check that the compiler produces executables we can run. If not, either
3455 # the compiler is broken, or we cross compile.
3456 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3457 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3458 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3459 echo "${ECHO_T}$cross_compiling" >&6; }
3461 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3462 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3463 if { (ac_try="$ac_link"
3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466 *) ac_try_echo=$ac_try;;
3468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3469 (eval "$ac_link") 2>&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; then
3473 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3474 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3475 # work properly (i.e., refer to `conftest.exe'), while it won't with
3477 for ac_file in conftest.exe conftest conftest.*; do
3478 test -f "$ac_file" || continue
3480 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3481 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3487 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3488 See \`config.log' for more details." >&5
3489 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3490 See \`config.log' for more details." >&2;}
3491 { (exit 1); exit 1; }; }
3494 rm -f conftest$ac_cv_exeext
3495 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3496 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3498 rm -f conftest.$ac_ext
3499 EXEEXT=$ac_cv_exeext
3501 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3502 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3503 if test "${ac_cv_objext+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 cat >conftest.$ac_ext <<_ACEOF
3509 cat confdefs.h >>conftest.$ac_ext
3510 cat >>conftest.$ac_ext <<_ACEOF
3511 /* end confdefs.h. */
3521 rm -f conftest.o conftest.obj
3522 if { (ac_try="$ac_compile"
3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525 *) ac_try_echo=$ac_try;;
3527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3528 (eval "$ac_compile") 2>&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; then
3532 for ac_file in conftest.o conftest.obj conftest.*; do
3533 test -f "$ac_file" || continue;
3535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3536 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3541 echo "$as_me: failed program was:" >&5
3542 sed 's/^/| /' conftest.$ac_ext >&5
3544 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3545 See \`config.log' for more details." >&5
3546 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3547 See \`config.log' for more details." >&2;}
3548 { (exit 1); exit 1; }; }
3551 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3553 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3554 echo "${ECHO_T}$ac_cv_objext" >&6; }
3555 OBJEXT=$ac_cv_objext
3557 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3558 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3559 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 cat >conftest.$ac_ext <<_ACEOF
3565 cat confdefs.h >>conftest.$ac_ext
3566 cat >>conftest.$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3580 rm -f conftest.$ac_objext
3581 if { (ac_try="$ac_compile"
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3587 (eval "$ac_compile") 2>conftest.er1
3589 grep -v '^ *+' conftest.er1 >conftest.err
3591 cat conftest.err >&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); } &&
3594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3595 { (case "(($ac_try" in
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_try") 2>&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; } &&
3604 { ac_try='test -s conftest.$ac_objext'
3605 { (case "(($ac_try" in
3606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3607 *) ac_try_echo=$ac_try;;
3609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3610 (eval "$ac_try") 2>&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; }; then
3616 echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.$ac_ext >&5
3622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3623 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3626 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3627 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3628 GCC=`test $ac_compiler_gnu = yes && echo yes`
3629 ac_test_CFLAGS=${CFLAGS+set}
3630 ac_save_CFLAGS=$CFLAGS
3631 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3632 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3633 if test "${ac_cv_prog_cc_g+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 ac_save_c_werror_flag=$ac_c_werror_flag
3637 ac_c_werror_flag=yes
3640 cat >conftest.$ac_ext <<_ACEOF
3643 cat confdefs.h >>conftest.$ac_ext
3644 cat >>conftest.$ac_ext <<_ACEOF
3645 /* end confdefs.h. */
3655 rm -f conftest.$ac_objext
3656 if { (ac_try="$ac_compile"
3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3662 (eval "$ac_compile") 2>conftest.er1
3664 grep -v '^ *+' conftest.er1 >conftest.err
3666 cat conftest.err >&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } &&
3669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3670 { (case "(($ac_try" in
3671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672 *) ac_try_echo=$ac_try;;
3674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3675 (eval "$ac_try") 2>&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; } &&
3679 { ac_try='test -s conftest.$ac_objext'
3680 { (case "(($ac_try" in
3681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3682 *) ac_try_echo=$ac_try;;
3684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3685 (eval "$ac_try") 2>&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; }; then
3691 echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3695 cat >conftest.$ac_ext <<_ACEOF
3698 cat confdefs.h >>conftest.$ac_ext
3699 cat >>conftest.$ac_ext <<_ACEOF
3700 /* end confdefs.h. */
3710 rm -f conftest.$ac_objext
3711 if { (ac_try="$ac_compile"
3713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714 *) ac_try_echo=$ac_try;;
3716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3717 (eval "$ac_compile") 2>conftest.er1
3719 grep -v '^ *+' conftest.er1 >conftest.err
3721 cat conftest.err >&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); } &&
3724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3725 { (case "(($ac_try" in
3726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3730 (eval "$ac_try") 2>&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); }; } &&
3734 { ac_try='test -s conftest.$ac_objext'
3735 { (case "(($ac_try" in
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3740 (eval "$ac_try") 2>&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); }; }; then
3746 echo "$as_me: failed program was:" >&5
3747 sed 's/^/| /' conftest.$ac_ext >&5
3749 ac_c_werror_flag=$ac_save_c_werror_flag
3751 cat >conftest.$ac_ext <<_ACEOF
3754 cat confdefs.h >>conftest.$ac_ext
3755 cat >>conftest.$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3766 rm -f conftest.$ac_objext
3767 if { (ac_try="$ac_compile"
3769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3770 *) ac_try_echo=$ac_try;;
3772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3773 (eval "$ac_compile") 2>conftest.er1
3775 grep -v '^ *+' conftest.er1 >conftest.err
3777 cat conftest.err >&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); } &&
3780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3781 { (case "(($ac_try" in
3782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783 *) ac_try_echo=$ac_try;;
3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3786 (eval "$ac_try") 2>&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; } &&
3790 { ac_try='test -s conftest.$ac_objext'
3791 { (case "(($ac_try" in
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_try") 2>&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; }; then
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3815 ac_c_werror_flag=$ac_save_c_werror_flag
3817 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3818 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3819 if test "$ac_test_CFLAGS" = set; then
3820 CFLAGS=$ac_save_CFLAGS
3821 elif test $ac_cv_prog_cc_g = yes; then
3822 if test "$GCC" = yes; then
3828 if test "$GCC" = yes; then
3834 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3835 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3836 if test "${ac_cv_prog_cc_c89+set}" = set; then
3837 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 ac_cv_prog_cc_c89=no
3841 cat >conftest.$ac_ext <<_ACEOF
3844 cat confdefs.h >>conftest.$ac_ext
3845 cat >>conftest.$ac_ext <<_ACEOF
3846 /* end confdefs.h. */
3849 #include <sys/types.h>
3850 #include <sys/stat.h>
3851 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3852 struct buf { int x; };
3853 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3854 static char *e (p, i)
3860 static char *f (char * (*g) (char **, int), char **p, ...)
3865 s = g (p, va_arg (v,int));
3870 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3871 function prototypes and stuff, but not '\xHH' hex character constants.
3872 These don't provoke an error unfortunately, instead are silently treated
3873 as 'x'. The following induces an error, until -std is added to get
3874 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3875 array size at least. It's necessary to write '\x00'==0 to get something
3876 that's true only with -std. */
3877 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3879 int test (int i, double x);
3880 struct s1 {int (*f) (int a);};
3881 struct s2 {int (*f) (double a);};
3882 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3888 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3893 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3894 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3896 CC="$ac_save_CC $ac_arg"
3897 rm -f conftest.$ac_objext
3898 if { (ac_try="$ac_compile"
3900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3904 (eval "$ac_compile") 2>conftest.er1
3906 grep -v '^ *+' conftest.er1 >conftest.err
3908 cat conftest.err >&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } &&
3911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3912 { (case "(($ac_try" in
3913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3914 *) ac_try_echo=$ac_try;;
3916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3917 (eval "$ac_try") 2>&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try='test -s conftest.$ac_objext'
3922 { (case "(($ac_try" in
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;;
3926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3927 (eval "$ac_try") 2>&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); }; }; then
3931 ac_cv_prog_cc_c89=$ac_arg
3933 echo "$as_me: failed program was:" >&5
3934 sed 's/^/| /' conftest.$ac_ext >&5
3939 rm -f conftest.err conftest.$ac_objext
3940 test "x$ac_cv_prog_cc_c89" != "xno" && break
3942 rm -f conftest.$ac_ext
3947 case "x$ac_cv_prog_cc_c89" in
3949 { echo "$as_me:$LINENO: result: none needed" >&5
3950 echo "${ECHO_T}none needed" >&6; } ;;
3952 { echo "$as_me:$LINENO: result: unsupported" >&5
3953 echo "${ECHO_T}unsupported" >&6; } ;;
3955 CC="$CC $ac_cv_prog_cc_c89"
3956 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3957 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3962 ac_cpp='$CPP $CPPFLAGS'
3963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3968 ac_cpp='$CXXCPP $CPPFLAGS'
3969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3972 if test -z "$CXX"; then
3973 if test -n "$CCC"; then
3976 if test -n "$ac_tool_prefix"; then
3977 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3983 if test "${ac_cv_prog_CXX+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 if test -n "$CXX"; then
3987 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3996 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 if test -n "$CXX"; then
4008 { echo "$as_me:$LINENO: result: $CXX" >&5
4009 echo "${ECHO_T}$CXX" >&6; }
4011 { echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6; }
4016 test -n "$CXX" && break
4019 if test -z "$CXX"; then
4021 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4023 # Extract the first word of "$ac_prog", so it can be a program name with args.
4024 set dummy $ac_prog; ac_word=$2
4025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4027 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 if test -n "$ac_ct_CXX"; then
4031 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4040 ac_cv_prog_ac_ct_CXX="$ac_prog"
4041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4051 if test -n "$ac_ct_CXX"; then
4052 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4053 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4055 { echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6; }
4060 test -n "$ac_ct_CXX" && break
4063 if test "x$ac_ct_CXX" = x; then
4066 case $cross_compiling:$ac_tool_warned in
4068 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4069 whose name does not start with the host triplet. If you think this
4070 configuration is useful to you, please write to autoconf@gnu.org." >&5
4071 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4072 whose name does not start with the host triplet. If you think this
4073 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4074 ac_tool_warned=yes ;;
4082 # Provide some information about the compiler.
4083 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4084 ac_compiler=`set X $ac_compile; echo $2`
4085 { (ac_try="$ac_compiler --version >&5"
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4091 (eval "$ac_compiler --version >&5") 2>&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }
4095 { (ac_try="$ac_compiler -v >&5"
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4101 (eval "$ac_compiler -v >&5") 2>&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); }
4105 { (ac_try="$ac_compiler -V >&5"
4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4111 (eval "$ac_compiler -V >&5") 2>&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); }
4116 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4117 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4118 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 cat >conftest.$ac_ext <<_ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4139 rm -f conftest.$ac_objext
4140 if { (ac_try="$ac_compile"
4142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4143 *) ac_try_echo=$ac_try;;
4145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4146 (eval "$ac_compile") 2>conftest.er1
4148 grep -v '^ *+' conftest.er1 >conftest.err
4150 cat conftest.err >&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); } &&
4153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4154 { (case "(($ac_try" in
4155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4156 *) ac_try_echo=$ac_try;;
4158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4159 (eval "$ac_try") 2>&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; } &&
4163 { ac_try='test -s conftest.$ac_objext'
4164 { (case "(($ac_try" in
4165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4166 *) ac_try_echo=$ac_try;;
4168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4169 (eval "$ac_try") 2>&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; }; then
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4182 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4185 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4186 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4187 GXX=`test $ac_compiler_gnu = yes && echo yes`
4188 ac_test_CXXFLAGS=${CXXFLAGS+set}
4189 ac_save_CXXFLAGS=$CXXFLAGS
4190 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4191 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4192 if test "${ac_cv_prog_cxx_g+set}" = set; then
4193 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4196 ac_cxx_werror_flag=yes
4199 cat >conftest.$ac_ext <<_ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4214 rm -f conftest.$ac_objext
4215 if { (ac_try="$ac_compile"
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_compile") 2>conftest.er1
4223 grep -v '^ *+' conftest.er1 >conftest.err
4225 cat conftest.err >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); } &&
4228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4229 { (case "(($ac_try" in
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_try") 2>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; } &&
4238 { ac_try='test -s conftest.$ac_objext'
4239 { (case "(($ac_try" in
4240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241 *) ac_try_echo=$ac_try;;
4243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4244 (eval "$ac_try") 2>&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); }; }; then
4248 ac_cv_prog_cxx_g=yes
4250 echo "$as_me: failed program was:" >&5
4251 sed 's/^/| /' conftest.$ac_ext >&5
4254 cat >conftest.$ac_ext <<_ACEOF
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4269 rm -f conftest.$ac_objext
4270 if { (ac_try="$ac_compile"
4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4273 *) ac_try_echo=$ac_try;;
4275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4276 (eval "$ac_compile") 2>conftest.er1
4278 grep -v '^ *+' conftest.er1 >conftest.err
4280 cat conftest.err >&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); } &&
4283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4284 { (case "(($ac_try" in
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289 (eval "$ac_try") 2>&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); }; } &&
4293 { ac_try='test -s conftest.$ac_objext'
4294 { (case "(($ac_try" in
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_try") 2>&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); }; }; then
4305 echo "$as_me: failed program was:" >&5
4306 sed 's/^/| /' conftest.$ac_ext >&5
4308 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4310 cat >conftest.$ac_ext <<_ACEOF
4313 cat confdefs.h >>conftest.$ac_ext
4314 cat >>conftest.$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4325 rm -f conftest.$ac_objext
4326 if { (ac_try="$ac_compile"
4328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329 *) ac_try_echo=$ac_try;;
4331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4332 (eval "$ac_compile") 2>conftest.er1
4334 grep -v '^ *+' conftest.er1 >conftest.err
4336 cat conftest.err >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } &&
4339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4340 { (case "(($ac_try" in
4341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4342 *) ac_try_echo=$ac_try;;
4344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4345 (eval "$ac_try") 2>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); }; } &&
4349 { ac_try='test -s conftest.$ac_objext'
4350 { (case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_try") 2>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); }; }; then
4359 ac_cv_prog_cxx_g=yes
4361 echo "$as_me: failed program was:" >&5
4362 sed 's/^/| /' conftest.$ac_ext >&5
4367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4374 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4376 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4377 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4378 if test "$ac_test_CXXFLAGS" = set; then
4379 CXXFLAGS=$ac_save_CXXFLAGS
4380 elif test $ac_cv_prog_cxx_g = yes; then
4381 if test "$GXX" = yes; then
4387 if test "$GXX" = yes; then
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4400 ac_cpp='$CPP $CPPFLAGS'
4401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4404 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4405 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4406 # On Suns, sometimes $CPP names a directory.
4407 if test -n "$CPP" && test -d "$CPP"; then
4410 if test -z "$CPP"; then
4411 if test "${ac_cv_prog_CPP+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 # Double quotes because CPP needs to be expanded
4415 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4418 for ac_c_preproc_warn_flag in '' yes
4420 # Use a header file that comes with gcc, so configuring glibc
4421 # with a fresh cross-compiler works.
4422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4423 # <limits.h> exists even on freestanding compilers.
4424 # On the NeXT, cc -E runs the code through the compiler's parser,
4425 # not just through cpp. "Syntax error" is here to catch this case.
4426 cat >conftest.$ac_ext <<_ACEOF
4429 cat confdefs.h >>conftest.$ac_ext
4430 cat >>conftest.$ac_ext <<_ACEOF
4431 /* end confdefs.h. */
4433 # include <limits.h>
4435 # include <assert.h>
4439 if { (ac_try="$ac_cpp conftest.$ac_ext"
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4447 grep -v '^ *+' conftest.er1 >conftest.err
4449 cat conftest.err >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } >/dev/null; then
4452 if test -s conftest.err; then
4453 ac_cpp_err=$ac_c_preproc_warn_flag
4454 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4461 if test -z "$ac_cpp_err"; then
4464 echo "$as_me: failed program was:" >&5
4465 sed 's/^/| /' conftest.$ac_ext >&5
4467 # Broken: fails on valid input.
4471 rm -f conftest.err conftest.$ac_ext
4473 # OK, works on sane cases. Now check whether nonexistent headers
4474 # can be detected and how.
4475 cat >conftest.$ac_ext <<_ACEOF
4478 cat confdefs.h >>conftest.$ac_ext
4479 cat >>conftest.$ac_ext <<_ACEOF
4480 /* end confdefs.h. */
4481 #include <ac_nonexistent.h>
4483 if { (ac_try="$ac_cpp conftest.$ac_ext"
4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4486 *) ac_try_echo=$ac_try;;
4488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4491 grep -v '^ *+' conftest.er1 >conftest.err
4493 cat conftest.err >&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); } >/dev/null; then
4496 if test -s conftest.err; then
4497 ac_cpp_err=$ac_c_preproc_warn_flag
4498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4505 if test -z "$ac_cpp_err"; then
4506 # Broken: success on invalid input.
4509 echo "$as_me: failed program was:" >&5
4510 sed 's/^/| /' conftest.$ac_ext >&5
4512 # Passes both tests.
4517 rm -f conftest.err conftest.$ac_ext
4520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4521 rm -f conftest.err conftest.$ac_ext
4522 if $ac_preproc_ok; then
4534 { echo "$as_me:$LINENO: result: $CPP" >&5
4535 echo "${ECHO_T}$CPP" >&6; }
4537 for ac_c_preproc_warn_flag in '' yes
4539 # Use a header file that comes with gcc, so configuring glibc
4540 # with a fresh cross-compiler works.
4541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4542 # <limits.h> exists even on freestanding compilers.
4543 # On the NeXT, cc -E runs the code through the compiler's parser,
4544 # not just through cpp. "Syntax error" is here to catch this case.
4545 cat >conftest.$ac_ext <<_ACEOF
4548 cat confdefs.h >>conftest.$ac_ext
4549 cat >>conftest.$ac_ext <<_ACEOF
4550 /* end confdefs.h. */
4552 # include <limits.h>
4554 # include <assert.h>
4558 if { (ac_try="$ac_cpp conftest.$ac_ext"
4560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4561 *) ac_try_echo=$ac_try;;
4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4566 grep -v '^ *+' conftest.er1 >conftest.err
4568 cat conftest.err >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } >/dev/null; then
4571 if test -s conftest.err; then
4572 ac_cpp_err=$ac_c_preproc_warn_flag
4573 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4580 if test -z "$ac_cpp_err"; then
4583 echo "$as_me: failed program was:" >&5
4584 sed 's/^/| /' conftest.$ac_ext >&5
4586 # Broken: fails on valid input.
4590 rm -f conftest.err conftest.$ac_ext
4592 # OK, works on sane cases. Now check whether nonexistent headers
4593 # can be detected and how.
4594 cat >conftest.$ac_ext <<_ACEOF
4597 cat confdefs.h >>conftest.$ac_ext
4598 cat >>conftest.$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4600 #include <ac_nonexistent.h>
4602 if { (ac_try="$ac_cpp conftest.$ac_ext"
4604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605 *) ac_try_echo=$ac_try;;
4607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4610 grep -v '^ *+' conftest.er1 >conftest.err
4612 cat conftest.err >&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } >/dev/null; then
4615 if test -s conftest.err; then
4616 ac_cpp_err=$ac_c_preproc_warn_flag
4617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4624 if test -z "$ac_cpp_err"; then
4625 # Broken: success on invalid input.
4628 echo "$as_me: failed program was:" >&5
4629 sed 's/^/| /' conftest.$ac_ext >&5
4631 # Passes both tests.
4636 rm -f conftest.err conftest.$ac_ext
4639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4640 rm -f conftest.err conftest.$ac_ext
4641 if $ac_preproc_ok; then
4644 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4645 See \`config.log' for more details." >&5
4646 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4647 See \`config.log' for more details." >&2;}
4648 { (exit 1); exit 1; }; }
4652 ac_cpp='$CPP $CPPFLAGS'
4653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4658 ac_cpp='$CXXCPP $CPPFLAGS'
4659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4662 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4663 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4664 if test -z "$CXXCPP"; then
4665 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 # Double quotes because CXXCPP needs to be expanded
4669 for CXXCPP in "$CXX -E" "/lib/cpp"
4672 for ac_cxx_preproc_warn_flag in '' yes
4674 # Use a header file that comes with gcc, so configuring glibc
4675 # with a fresh cross-compiler works.
4676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4677 # <limits.h> exists even on freestanding compilers.
4678 # On the NeXT, cc -E runs the code through the compiler's parser,
4679 # not just through cpp. "Syntax error" is here to catch this case.
4680 cat >conftest.$ac_ext <<_ACEOF
4683 cat confdefs.h >>conftest.$ac_ext
4684 cat >>conftest.$ac_ext <<_ACEOF
4685 /* end confdefs.h. */
4687 # include <limits.h>
4689 # include <assert.h>
4693 if { (ac_try="$ac_cpp conftest.$ac_ext"
4695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4696 *) ac_try_echo=$ac_try;;
4698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1