2 # From configure.ac Revision: 154875 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for asterisk 1.6.
6 # Report bugs to <www.asterisk.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
14 ## --------------------- ##
15 ## M4sh Initialization. ##
16 ## --------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in
29 *posix*) set -o posix ;;
38 # Avoid depending upon Character Ranges.
39 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42 as_cr_digits='0123456789'
43 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # The user is always right.
46 if test "${PATH_SEPARATOR+set}" != set; then
47 echo "#! /bin/sh" >conf$$.sh
48 echo "exit 0" >>conf$$.sh
50 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
58 # Support unset when possible.
59 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
67 # We need space, tab and new line, in precisely that order. Quoting is
68 # there to prevent editors from complaining about space-tab.
69 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
70 # splitting by setting IFS to empty value.)
75 # Find who we are. Look in the path if we contain no directory separator.
77 *[\\/]* ) as_myself=$0 ;;
78 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82 test -z "$as_dir" && as_dir=.
83 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89 # We did not find ourselves, most probably we were run as `sh COMMAND'
90 # in which case we are not to be found in the path.
91 if test "x$as_myself" = x; then
94 if test ! -f "$as_myself"; then
95 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
99 # Work around bugs in pre-3.0 UWIN ksh.
100 for as_var in ENV MAIL MAILPATH
101 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
113 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
114 eval $as_var=C; export $as_var
116 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
120 # Required to use basename.
121 if expr a : '\(a\)' >/dev/null 2>&1 &&
122 test "X`expr 00001 : '.*\(...\)'`" = X001; then
128 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
135 # Name of the executable.
136 as_me=`$as_basename -- "$0" ||
137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
138 X"$0" : 'X\(//\)$' \| \
139 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
141 sed '/^.*\/\([^/][^/]*\)\/*$/{
159 if test "x$CONFIG_SHELL" = x; then
160 if (eval ":") 2>/dev/null; then
166 if test $as_have_required = yes && (eval ":
176 as_func_ret_success () {
179 as_func_ret_failure () {
184 if as_func_success; then
188 echo as_func_success failed.
191 if as_func_failure; then
193 echo as_func_failure succeeded.
196 if as_func_ret_success; then
200 echo as_func_ret_success failed.
203 if as_func_ret_failure; then
205 echo as_func_ret_failure succeeded.
208 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
212 echo positional parameters were not saved.
215 test \$exitcode = 0) || { (exit 1); exit 1; }
220 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
221 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
222 ") 2> /dev/null; then
226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
227 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
230 test -z "$as_dir" && as_dir=.
233 for as_base in sh bash ksh sh5; do
234 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
241 for as_shell in $as_candidate_shells $SHELL; do
242 # Try only shells that exist, to save several forks.
243 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
244 { ("$as_shell") 2> /dev/null <<\_ASEOF
245 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
248 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
249 # is contrary to our usage. Disable this feature.
250 alias -g '${1+"$@"}'='"$@"'
253 case `(set -o) 2>/dev/null` in
254 *posix*) set -o posix ;;
263 CONFIG_SHELL=$as_shell
265 if { "$as_shell" 2> /dev/null <<\_ASEOF
266 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
269 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
270 # is contrary to our usage. Disable this feature.
271 alias -g '${1+"$@"}'='"$@"'
274 case `(set -o) 2>/dev/null` in
275 *posix*) set -o posix ;;
291 as_func_ret_success () {
294 as_func_ret_failure () {
299 if as_func_success; then
303 echo as_func_success failed.
306 if as_func_failure; then
308 echo as_func_failure succeeded.
311 if as_func_ret_success; then
315 echo as_func_ret_success failed.
318 if as_func_ret_failure; then
320 echo as_func_ret_failure succeeded.
323 if ( set x; as_func_ret_success y && test x = "$1" ); then
327 echo positional parameters were not saved.
330 test $exitcode = 0) || { (exit 1); exit 1; }
335 test "x$as_lineno_1" != "x$as_lineno_2" &&
336 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
347 if test "x$CONFIG_SHELL" != x; then
348 for as_var in BASH_ENV ENV
349 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
352 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
356 if test $as_have_required = no; then
357 echo This script requires a shell more modern than all the
358 echo shells that I found on your system. Please install a
359 echo modern shell, or manually run the script under such a
360 echo shell if you do have one.
361 { (exit 1); exit 1; }
371 (eval "as_func_return () {
380 as_func_ret_success () {
383 as_func_ret_failure () {
388 if as_func_success; then
392 echo as_func_success failed.
395 if as_func_failure; then
397 echo as_func_failure succeeded.
400 if as_func_ret_success; then
404 echo as_func_ret_success failed.
407 if as_func_ret_failure; then
409 echo as_func_ret_failure succeeded.
412 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
416 echo positional parameters were not saved.
419 test \$exitcode = 0") || {
420 echo No shell found that supports shell functions.
421 echo Please tell autoconf@gnu.org about your system,
422 echo including any error possibly output before this
430 test "x$as_lineno_1" != "x$as_lineno_2" &&
431 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
433 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
434 # uniformly replaced by the line number. The first 'sed' inserts a
435 # line-number line after each line using $LINENO; the second 'sed'
436 # does the real work. The second script uses 'N' to pair each
437 # line-number line with the line containing $LINENO, and appends
438 # trailing '-' during substitution so that $LINENO is not a special
440 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
441 # scripts with optimization help from Paolo Bonzini. Blame Lee
442 # E. McMahon (1931-1989) for sed's syntax. :-)
454 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458 chmod +x "$as_me.lineno" ||
459 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
460 { (exit 1); exit 1; }; }
462 # Don't try to exec as it changes $[0], causing all sort of problems
463 # (the dirname of $[0] is not the place where we might find the
464 # original and so on. Autoconf is especially sensitive to this).
466 # Exit status is that of the last command.
471 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
477 ECHO_C= ECHO_N= ECHO_T=
481 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
488 if expr a : '\(a\)' >/dev/null 2>&1 &&
489 test "X`expr 00001 : '.*\(...\)'`" = X001; then
495 rm -f conf$$ conf$$.exe conf$$.file
496 if test -d conf$$.dir; then
497 rm -f conf$$.dir/conf$$.file
503 if ln -s conf$$.file conf$$ 2>/dev/null; then
505 # ... but there are two gotchas:
506 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
507 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
508 # In both cases, we have to default to `cp -p'.
509 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
511 elif ln conf$$.file conf$$ 2>/dev/null; then
516 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
517 rmdir conf$$.dir 2>/dev/null
519 if mkdir -p . 2>/dev/null; then
522 test -d ./-p && rmdir ./-p
526 if test -x / >/dev/null 2>&1; then
529 if ls -dL / >/dev/null 2>&1; then
536 if test -d "$1"; then
542 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
543 ???[sx]*):;;*)false;;esac;fi
547 as_executable_p=$as_test_x
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 exec 7<&0 </dev/null 6>&1
560 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix=/usr/local
569 ac_config_libobj_dir=.
575 SHELL=${CONFIG_SHELL-/bin/sh}
577 # Identity of this package.
578 PACKAGE_NAME='asterisk'
579 PACKAGE_TARNAME='asterisk'
580 PACKAGE_VERSION='1.6'
581 PACKAGE_STRING='asterisk 1.6'
582 PACKAGE_BUGREPORT='www.asterisk.org'
584 ac_unique_file="main/asterisk.c"
585 # Factoring default headers for most tests.
586 ac_includes_default="\
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
598 # ifdef HAVE_STDLIB_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
631 program_transform_name
968 PBX_PTHREAD_RWLOCK_INITIALIZER
969 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
972 AST_DECLARATION_AFTER_STATEMENT
973 AST_NO_STRICT_OVERFLOW
1010 ac_precious_vars='build_alias
1025 # Initialize some variables set by options.
1027 ac_init_version=false
1028 # The variables have the same names as the options, with
1029 # dashes changed to underlines.
1030 cache_file=/dev/null
1037 program_transform_name=s,x,x,
1045 # Installation directory options.
1046 # These are left unexpanded so users can "make install exec_prefix=/foo"
1047 # and all the variables that are supposed to be based on exec_prefix
1048 # by default will actually change.
1049 # Use braces instead of parens because sh, perl, etc. also accept them.
1050 # (The list follows the same order as the GNU Coding Standards.)
1051 bindir='${exec_prefix}/bin'
1052 sbindir='${exec_prefix}/sbin'
1053 libexecdir='${exec_prefix}/libexec'
1054 datarootdir='${prefix}/share'
1055 datadir='${datarootdir}'
1056 sysconfdir='${prefix}/etc'
1057 sharedstatedir='${prefix}/com'
1058 localstatedir='${prefix}/var'
1059 includedir='${prefix}/include'
1060 oldincludedir='/usr/include'
1061 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1062 infodir='${datarootdir}/info'
1067 libdir='${exec_prefix}/lib'
1068 localedir='${datarootdir}/locale'
1069 mandir='${datarootdir}/man'
1075 # If the previous option needs an argument, assign it.
1076 if test -n "$ac_prev"; then
1077 eval $ac_prev=\$ac_option
1083 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1087 # Accept the important Cygnus configure options, so we can diagnose typos.
1089 case $ac_dashdash$ac_option in
1093 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1095 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1096 bindir=$ac_optarg ;;
1098 -build | --build | --buil | --bui | --bu)
1099 ac_prev=build_alias ;;
1100 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1101 build_alias=$ac_optarg ;;
1103 -cache-file | --cache-file | --cache-fil | --cache-fi \
1104 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1105 ac_prev=cache_file ;;
1106 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1107 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1108 cache_file=$ac_optarg ;;
1110 --config-cache | -C)
1111 cache_file=config.cache ;;
1113 -datadir | --datadir | --datadi | --datad)
1115 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1116 datadir=$ac_optarg ;;
1118 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1119 | --dataroo | --dataro | --datar)
1120 ac_prev=datarootdir ;;
1121 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1122 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1123 datarootdir=$ac_optarg ;;
1125 -disable-* | --disable-*)
1126 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1130 { (exit 1); exit 1; }; }
1131 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1132 eval enable_$ac_feature=no ;;
1134 -docdir | --docdir | --docdi | --doc | --do)
1136 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1137 docdir=$ac_optarg ;;
1139 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1141 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1142 dvidir=$ac_optarg ;;
1144 -enable-* | --enable-*)
1145 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1146 # Reject names that are not valid shell variable names.
1147 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1148 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1149 { (exit 1); exit 1; }; }
1150 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1151 eval enable_$ac_feature=\$ac_optarg ;;
1153 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1154 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1155 | --exec | --exe | --ex)
1156 ac_prev=exec_prefix ;;
1157 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1158 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1159 | --exec=* | --exe=* | --ex=*)
1160 exec_prefix=$ac_optarg ;;
1162 -gas | --gas | --ga | --g)
1163 # Obsolete; use --with-gas.
1166 -help | --help | --hel | --he | -h)
1167 ac_init_help=long ;;
1168 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1169 ac_init_help=recursive ;;
1170 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1171 ac_init_help=short ;;
1173 -host | --host | --hos | --ho)
1174 ac_prev=host_alias ;;
1175 -host=* | --host=* | --hos=* | --ho=*)
1176 host_alias=$ac_optarg ;;
1178 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1180 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1182 htmldir=$ac_optarg ;;
1184 -includedir | --includedir | --includedi | --included | --include \
1185 | --includ | --inclu | --incl | --inc)
1186 ac_prev=includedir ;;
1187 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1188 | --includ=* | --inclu=* | --incl=* | --inc=*)
1189 includedir=$ac_optarg ;;
1191 -infodir | --infodir | --infodi | --infod | --info | --inf)
1193 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1194 infodir=$ac_optarg ;;
1196 -libdir | --libdir | --libdi | --libd)
1198 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1199 libdir=$ac_optarg ;;
1201 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1202 | --libexe | --libex | --libe)
1203 ac_prev=libexecdir ;;
1204 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1205 | --libexe=* | --libex=* | --libe=*)
1206 libexecdir=$ac_optarg ;;
1208 -localedir | --localedir | --localedi | --localed | --locale)
1209 ac_prev=localedir ;;
1210 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1211 localedir=$ac_optarg ;;
1213 -localstatedir | --localstatedir | --localstatedi | --localstated \
1214 | --localstate | --localstat | --localsta | --localst | --locals)
1215 ac_prev=localstatedir ;;
1216 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1217 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1218 localstatedir=$ac_optarg ;;
1220 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1222 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1223 mandir=$ac_optarg ;;
1225 -nfp | --nfp | --nf)
1226 # Obsolete; use --without-fp.
1229 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1230 | --no-cr | --no-c | -n)
1233 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1234 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1237 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1238 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1239 | --oldin | --oldi | --old | --ol | --o)
1240 ac_prev=oldincludedir ;;
1241 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1242 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1243 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1244 oldincludedir=$ac_optarg ;;
1246 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1248 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1249 prefix=$ac_optarg ;;
1251 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1252 | --program-pre | --program-pr | --program-p)
1253 ac_prev=program_prefix ;;
1254 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1255 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1256 program_prefix=$ac_optarg ;;
1258 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1259 | --program-suf | --program-su | --program-s)
1260 ac_prev=program_suffix ;;
1261 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1262 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1263 program_suffix=$ac_optarg ;;
1265 -program-transform-name | --program-transform-name \
1266 | --program-transform-nam | --program-transform-na \
1267 | --program-transform-n | --program-transform- \
1268 | --program-transform | --program-transfor \
1269 | --program-transfo | --program-transf \
1270 | --program-trans | --program-tran \
1271 | --progr-tra | --program-tr | --program-t)
1272 ac_prev=program_transform_name ;;
1273 -program-transform-name=* | --program-transform-name=* \
1274 | --program-transform-nam=* | --program-transform-na=* \
1275 | --program-transform-n=* | --program-transform-=* \
1276 | --program-transform=* | --program-transfor=* \
1277 | --program-transfo=* | --program-transf=* \
1278 | --program-trans=* | --program-tran=* \
1279 | --progr-tra=* | --program-tr=* | --program-t=*)
1280 program_transform_name=$ac_optarg ;;
1282 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1284 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1285 pdfdir=$ac_optarg ;;
1287 -psdir | --psdir | --psdi | --psd | --ps)
1289 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1292 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1293 | -silent | --silent | --silen | --sile | --sil)
1296 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1298 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1300 sbindir=$ac_optarg ;;
1302 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1303 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1304 | --sharedst | --shareds | --shared | --share | --shar \
1306 ac_prev=sharedstatedir ;;
1307 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1308 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1309 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1311 sharedstatedir=$ac_optarg ;;
1313 -site | --site | --sit)
1315 -site=* | --site=* | --sit=*)
1318 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1320 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1321 srcdir=$ac_optarg ;;
1323 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1324 | --syscon | --sysco | --sysc | --sys | --sy)
1325 ac_prev=sysconfdir ;;
1326 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1327 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1328 sysconfdir=$ac_optarg ;;
1330 -target | --target | --targe | --targ | --tar | --ta | --t)
1331 ac_prev=target_alias ;;
1332 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1333 target_alias=$ac_optarg ;;
1335 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1338 -version | --version | --versio | --versi | --vers | -V)
1339 ac_init_version=: ;;
1342 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1343 # Reject names that are not valid shell variable names.
1344 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1345 { echo "$as_me: error: invalid package name: $ac_package" >&2
1346 { (exit 1); exit 1; }; }
1347 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1348 eval with_$ac_package=\$ac_optarg ;;
1350 -without-* | --without-*)
1351 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1352 # Reject names that are not valid shell variable names.
1353 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1354 { echo "$as_me: error: invalid package name: $ac_package" >&2
1355 { (exit 1); exit 1; }; }
1356 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1357 eval with_$ac_package=no ;;
1360 # Obsolete; use --with-x.
1363 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1364 | --x-incl | --x-inc | --x-in | --x-i)
1365 ac_prev=x_includes ;;
1366 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1367 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1368 x_includes=$ac_optarg ;;
1370 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1371 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1372 ac_prev=x_libraries ;;
1373 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1374 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1375 x_libraries=$ac_optarg ;;
1377 -*) { echo "$as_me: error: unrecognized option: $ac_option
1378 Try \`$0 --help' for more information." >&2
1379 { (exit 1); exit 1; }; }
1383 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1384 # Reject names that are not valid shell variable names.
1385 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1386 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1387 { (exit 1); exit 1; }; }
1388 eval $ac_envvar=\$ac_optarg
1389 export $ac_envvar ;;
1392 # FIXME: should be removed in autoconf 3.0.
1393 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1394 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1395 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1396 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1402 if test -n "$ac_prev"; then
1403 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1404 { echo "$as_me: error: missing argument to $ac_option" >&2
1405 { (exit 1); exit 1; }; }
1408 # Be sure to have absolute directory names.
1409 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1410 datadir sysconfdir sharedstatedir localstatedir includedir \
1411 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1412 libdir localedir mandir
1414 eval ac_val=\$$ac_var
1416 [\\/$]* | ?:[\\/]* ) continue;;
1417 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1419 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1420 { (exit 1); exit 1; }; }
1423 # There might be people who depend on the old broken behavior: `$host'
1424 # used to hold the argument of --host etc.
1425 # FIXME: To remove some day.
1428 target=$target_alias
1430 # FIXME: To remove some day.
1431 if test "x$host_alias" != x; then
1432 if test "x$build_alias" = x; then
1433 cross_compiling=maybe
1434 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1435 If a cross compiler is detected then cross compile mode will be used." >&2
1436 elif test "x$build_alias" != "x$host_alias"; then
1442 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1444 test "$silent" = yes && exec 6>/dev/null
1447 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1448 ac_ls_di=`ls -di .` &&
1449 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1450 { echo "$as_me: error: Working directory cannot be determined" >&2
1451 { (exit 1); exit 1; }; }
1452 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1453 { echo "$as_me: error: pwd does not report name of working directory" >&2
1454 { (exit 1); exit 1; }; }
1457 # Find the source files, if location was not specified.
1458 if test -z "$srcdir"; then
1459 ac_srcdir_defaulted=yes
1460 # Try the directory containing this script, then the parent directory.
1461 ac_confdir=`$as_dirname -- "$0" ||
1462 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1463 X"$0" : 'X\(//\)[^/]' \| \
1464 X"$0" : 'X\(//\)$' \| \
1465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1485 if test ! -r "$srcdir/$ac_unique_file"; then
1489 ac_srcdir_defaulted=no
1491 if test ! -r "$srcdir/$ac_unique_file"; then
1492 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1493 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1494 { (exit 1); exit 1; }; }
1496 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1498 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1499 { (exit 1); exit 1; }; }
1501 # When building in place, set srcdir=.
1502 if test "$ac_abs_confdir" = "$ac_pwd"; then
1505 # Remove unnecessary trailing slashes from srcdir.
1506 # Double slashes in file names in object file debugging info
1507 # mess up M-x gdb in Emacs.
1509 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1511 for ac_var in $ac_precious_vars; do
1512 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1513 eval ac_env_${ac_var}_value=\$${ac_var}
1514 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1515 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1519 # Report the --help message.
1521 if test "$ac_init_help" = "long"; then
1522 # Omit some internal or obsolete options to make the list less imposing.
1523 # This message is too long to be a string in the A/UX 3.1 sh.
1525 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1527 Usage: $0 [OPTION]... [VAR=VALUE]...
1529 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1530 VAR=VALUE. See below for descriptions of some of the useful variables.
1532 Defaults for the options are specified in brackets.
1535 -h, --help display this help and exit
1536 --help=short display options specific to this package
1537 --help=recursive display the short help of all the included packages
1538 -V, --version display version information and exit
1539 -q, --quiet, --silent do not print \`checking...' messages
1540 --cache-file=FILE cache test results in FILE [disabled]
1541 -C, --config-cache alias for \`--cache-file=config.cache'
1542 -n, --no-create do not create output files
1543 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1545 Installation directories:
1546 --prefix=PREFIX install architecture-independent files in PREFIX
1547 [$ac_default_prefix]
1548 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1551 By default, \`make install' will install all the files in
1552 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1553 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1554 for instance \`--prefix=\$HOME'.
1556 For better control, use the options below.
1558 Fine tuning of the installation directories:
1559 --bindir=DIR user executables [EPREFIX/bin]
1560 --sbindir=DIR system admin executables [EPREFIX/sbin]
1561 --libexecdir=DIR program executables [EPREFIX/libexec]
1562 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1563 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1564 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1565 --libdir=DIR object code libraries [EPREFIX/lib]
1566 --includedir=DIR C header files [PREFIX/include]
1567 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1568 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1569 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1570 --infodir=DIR info documentation [DATAROOTDIR/info]
1571 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1572 --mandir=DIR man documentation [DATAROOTDIR/man]
1573 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1574 --htmldir=DIR html documentation [DOCDIR]
1575 --dvidir=DIR dvi documentation [DOCDIR]
1576 --pdfdir=DIR pdf documentation [DOCDIR]
1577 --psdir=DIR ps documentation [DOCDIR]
1583 --build=BUILD configure for building on BUILD [guessed]
1584 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1588 if test -n "$ac_init_help"; then
1589 case $ac_init_help in
1590 short | recursive ) echo "Configuration of asterisk 1.6:";;
1595 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1596 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1597 --enable-dev-mode Turn on developer mode
1598 --disable-largefile omit support for large files
1599 --enable-internal-poll Use Asterisk's poll implementation
1600 --disable-xmldoc Explicity disable XML documentation
1603 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1604 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1607 --with-execinfo=PATH use Stack Backtrace support files in PATH
1608 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1609 --with-curl=PATH use cURL files in PATH
1610 --with-curses=PATH use curses files in PATH
1611 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1612 --with-dahdi=PATH use DAHDI files in PATH
1613 --with-avcodec=PATH use Ffmpeg and avcodec library files in PATH
1614 --with-gsm=PATH use External GSM library files in PATH , use
1615 'internal' GSM otherwise
1616 --with-gtk=PATH use gtk libraries files in PATH
1617 --with-gtk2=PATH use gtk2 libraries files in PATH
1618 --with-gmime=PATH use GMime library files in PATH
1619 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1620 --with-iconv=PATH use Iconv Library files in PATH
1621 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1622 --with-imap=PATH use UW IMAP Toolkit files in PATH
1623 --with-iodbc=PATH use iODBC files in PATH
1624 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1625 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1626 --with-ldap=PATH use OpenLDAP files in PATH
1627 --with-libxml2=PATH use LibXML2 files in PATH
1628 --with-ltdl=PATH use libtool files in PATH
1629 --with-lua=PATH use Lua files in PATH
1630 --with-misdn=PATH use mISDN User Library files in PATH
1631 --with-nbs=PATH use Network Broadcast Sound files in PATH
1632 --with-ncurses=PATH use ncurses files in PATH
1633 --with-netsnmp=PATH use Net-SNMP files in PATH
1634 --with-newt=PATH use newt files in PATH
1635 --with-ogg=PATH use OGG files in PATH
1636 --with-osptk=PATH use OSP Toolkit files in PATH
1637 --with-oss=PATH use Open Sound System files in PATH
1638 --with-postgres=PATH use PostgreSQL files in PATH
1639 --with-popt=PATH use popt files in PATH
1640 --with-portaudio=PATH use PortAudio files in PATH
1641 --with-pri=PATH use ISDN PRI files in PATH
1642 --with-resample=PATH use LIBRESAMPLE files in PATH
1643 --with-spandsp=PATH use SPANDSP files in PATH
1644 --with-ss7=PATH use ISDN SS7 files in PATH
1645 --with-pwlib=PATH use PWlib files in PATH
1646 --with-h323=PATH use OpenH323 files in PATH
1647 --with-radius=PATH use Radius Client files in PATH
1648 --with-sdl=PATH use Sdl files in PATH
1649 --with-SDL_image=PATH use Sdl Image library files in PATH
1650 --with-openais=PATH use OpenAIS files in PATH
1651 --with-speex=PATH use Speex files in PATH
1652 --with-speexdsp=PATH use Speexdsp files in PATH
1653 --with-sqlite=PATH use SQLite files in PATH
1654 --with-sqlite3=PATH use SQLite files in PATH
1655 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1656 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1658 --with-tds=PATH use FreeTDS files in PATH
1659 --with-termcap=PATH use Termcap files in PATH
1660 --with-tinfo=PATH use Term Info files in PATH
1661 --with-tonezone=PATH use tonezone files in PATH
1662 --with-unixodbc=PATH use unixODBC files in PATH
1663 --with-usb=PATH use usb files in PATH
1664 --with-vorbis=PATH use Vorbis files in PATH
1665 --with-vpb=PATH use Voicetronix API files in PATH
1666 --with-x11=PATH use X11 support files in PATH
1667 --with-z=PATH use zlib files in PATH
1669 Some influential environment variables:
1670 CC C compiler command
1671 CFLAGS C compiler flags
1672 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1673 nonstandard directory <lib dir>
1674 LIBS libraries to pass to the linker, e.g. -l<library>
1675 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1676 you have headers in a nonstandard directory <include dir>
1678 CXX C++ compiler command
1679 CXXFLAGS C++ compiler flags
1680 CXXCPP C++ preprocessor
1682 Use these variables to override the choices made by `configure' or to help
1683 it to find libraries and programs with nonstandard names/locations.
1685 Report bugs to <www.asterisk.org>.
1690 if test "$ac_init_help" = "recursive"; then
1691 # If there are subdirs, report their specific --help.
1692 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1693 test -d "$ac_dir" || continue
1697 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1699 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1700 # A ".." for each directory in $ac_dir_suffix.
1701 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1702 case $ac_top_builddir_sub in
1703 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1704 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1707 ac_abs_top_builddir=$ac_pwd
1708 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1709 # for backward compatibility:
1710 ac_top_builddir=$ac_top_build_prefix
1713 .) # We are building in place.
1715 ac_top_srcdir=$ac_top_builddir_sub
1716 ac_abs_top_srcdir=$ac_pwd ;;
1717 [\\/]* | ?:[\\/]* ) # Absolute name.
1718 ac_srcdir=$srcdir$ac_dir_suffix;
1719 ac_top_srcdir=$srcdir
1720 ac_abs_top_srcdir=$srcdir ;;
1722 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1723 ac_top_srcdir=$ac_top_build_prefix$srcdir
1724 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1726 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1728 cd "$ac_dir" || { ac_status=$?; continue; }
1729 # Check for guested configure.
1730 if test -f "$ac_srcdir/configure.gnu"; then
1732 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1733 elif test -f "$ac_srcdir/configure"; then
1735 $SHELL "$ac_srcdir/configure" --help=recursive
1737 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1739 cd "$ac_pwd" || { ac_status=$?; break; }
1743 test -n "$ac_init_help" && exit $ac_status
1744 if $ac_init_version; then
1746 asterisk configure 1.6
1747 generated by GNU Autoconf 2.61
1749 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1750 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1751 This configure script is free software; the Free Software Foundation
1752 gives unlimited permission to copy, distribute and modify it.
1758 cat >config.log <<_ACEOF
1759 This file contains any messages produced by compilers while
1760 running configure, to aid debugging if configure makes a mistake.
1762 It was created by asterisk $as_me 1.6, which was
1763 generated by GNU Autoconf 2.61. Invocation command line was
1775 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1776 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1777 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1778 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1779 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1781 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1782 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1784 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1785 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1786 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1787 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1788 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1789 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1790 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 test -z "$as_dir" && as_dir=.
1799 echo "PATH: $as_dir"
1815 # Keep a trace of the command line.
1816 # Strip out --no-create and --no-recursion so they do not pile up.
1817 # Strip out --silent because we don't want to record it for future runs.
1818 # Also quote any args containing shell meta-characters.
1819 # Make two passes to allow for proper duplicate-argument suppression.
1823 ac_must_keep_next=false
1829 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1830 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1831 | -silent | --silent | --silen | --sile | --sil)
1834 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1837 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1839 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1840 if test $ac_must_keep_next = true; then
1841 ac_must_keep_next=false # Got value, back to normal.
1844 *=* | --config-cache | -C | -disable-* | --disable-* \
1845 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1846 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1847 | -with-* | --with-* | -without-* | --without-* | --x)
1848 case "$ac_configure_args0 " in
1849 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1852 -* ) ac_must_keep_next=true ;;
1855 ac_configure_args="$ac_configure_args '$ac_arg'"
1860 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1861 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1863 # When interrupted or exit'd, cleanup temporary files, and complete
1864 # config.log. We remove comments because anyway the quotes in there
1865 # would cause problems or look ugly.
1866 # WARNING: Use '\'' to represent an apostrophe within the trap.
1867 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1868 trap 'exit_status=$?
1869 # Save into config.log some information that might help in debugging.
1874 ## ---------------- ##
1875 ## Cache variables. ##
1876 ## ---------------- ##
1879 # The following way of writing the cache mishandles newlines in values,
1881 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1882 eval ac_val=\$$ac_var
1886 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1887 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1890 _ | IFS | as_nl) ;; #(
1891 *) $as_unset $ac_var ;;
1896 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1897 *${as_nl}ac_space=\ *)
1899 "s/'\''/'\''\\\\'\'''\''/g;
1900 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1903 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1911 ## ----------------- ##
1912 ## Output variables. ##
1913 ## ----------------- ##
1916 for ac_var in $ac_subst_vars
1918 eval ac_val=\$$ac_var
1920 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1922 echo "$ac_var='\''$ac_val'\''"
1926 if test -n "$ac_subst_files"; then
1928 ## ------------------- ##
1929 ## File substitutions. ##
1930 ## ------------------- ##
1933 for ac_var in $ac_subst_files
1935 eval ac_val=\$$ac_var
1937 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1939 echo "$ac_var='\''$ac_val'\''"
1944 if test -s confdefs.h; then
1954 test "$ac_signal" != 0 &&
1955 echo "$as_me: caught signal $ac_signal"
1956 echo "$as_me: exit $exit_status"
1958 rm -f core *.core core.conftest.* &&
1959 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1962 for ac_signal in 1 2 13 15; do
1963 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1967 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1968 rm -f -r conftest* confdefs.h
1970 # Predefined preprocessor variables.
1972 cat >>confdefs.h <<_ACEOF
1973 #define PACKAGE_NAME "$PACKAGE_NAME"
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1982 cat >>confdefs.h <<_ACEOF
1983 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1987 cat >>confdefs.h <<_ACEOF
1988 #define PACKAGE_STRING "$PACKAGE_STRING"
1992 cat >>confdefs.h <<_ACEOF
1993 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1997 # Let the site file select an alternate cache file if it wants to.
1998 # Prefer explicitly selected file to automatically selected ones.
1999 if test -n "$CONFIG_SITE"; then
2000 set x "$CONFIG_SITE"
2001 elif test "x$prefix" != xNONE; then
2002 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2004 set x "$ac_default_prefix/share/config.site" \
2005 "$ac_default_prefix/etc/config.site"
2010 if test -r "$ac_site_file"; then
2011 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2012 echo "$as_me: loading site script $ac_site_file" >&6;}
2013 sed 's/^/| /' "$ac_site_file" >&5
2018 if test -r "$cache_file"; then
2019 # Some versions of bash will fail to source /dev/null (special
2020 # files actually), so we avoid doing that.
2021 if test -f "$cache_file"; then
2022 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2023 echo "$as_me: loading cache $cache_file" >&6;}
2025 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2026 *) . "./$cache_file";;
2030 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2031 echo "$as_me: creating cache $cache_file" >&6;}
2035 ac_header_list="$ac_header_list utime.h"
2036 # Check that the precious variables saved in the cache have kept the same
2038 ac_cache_corrupted=false
2039 for ac_var in $ac_precious_vars; do
2040 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2041 eval ac_new_set=\$ac_env_${ac_var}_set
2042 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2043 eval ac_new_val=\$ac_env_${ac_var}_value
2044 case $ac_old_set,$ac_new_set in
2046 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2047 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2048 ac_cache_corrupted=: ;;
2050 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2051 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2052 ac_cache_corrupted=: ;;
2055 if test "x$ac_old_val" != "x$ac_new_val"; then
2056 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2057 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2058 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2059 echo "$as_me: former value: $ac_old_val" >&2;}
2060 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2061 echo "$as_me: current value: $ac_new_val" >&2;}
2062 ac_cache_corrupted=:
2065 # Pass precious variables to config.status.
2066 if test "$ac_new_set" = set; then
2068 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2069 *) ac_arg=$ac_var=$ac_new_val ;;
2071 case " $ac_configure_args " in
2072 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2073 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2077 if $ac_cache_corrupted; then
2078 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2079 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2080 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2081 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2082 { (exit 1); exit 1; }; }
2110 ac_cpp='$CPP $CPPFLAGS'
2111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2117 # cross-compile macros
2119 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2120 if test -f "$ac_dir/install-sh"; then
2122 ac_install_sh="$ac_aux_dir/install-sh -c"
2124 elif test -f "$ac_dir/install.sh"; then
2126 ac_install_sh="$ac_aux_dir/install.sh -c"
2128 elif test -f "$ac_dir/shtool"; then
2130 ac_install_sh="$ac_aux_dir/shtool install -c"
2134 if test -z "$ac_aux_dir"; then
2135 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2136 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2137 { (exit 1); exit 1; }; }
2140 # These three variables are undocumented and unsupported,
2141 # and are intended to be withdrawn in a future Autoconf release.
2142 # They can cause serious problems if a builder's source tree is in a directory
2143 # whose full name contains unusual characters.
2144 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2145 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2146 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2149 # Make sure we can run config.sub.
2150 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2151 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2152 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2153 { (exit 1); exit 1; }; }
2155 { echo "$as_me:$LINENO: checking build system type" >&5
2156 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2157 if test "${ac_cv_build+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 ac_build_alias=$build_alias
2161 test "x$ac_build_alias" = x &&
2162 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2163 test "x$ac_build_alias" = x &&
2164 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2165 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2166 { (exit 1); exit 1; }; }
2167 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2168 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2169 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2170 { (exit 1); exit 1; }; }
2173 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2174 echo "${ECHO_T}$ac_cv_build" >&6; }
2175 case $ac_cv_build in
2177 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2178 echo "$as_me: error: invalid value of canonical build" >&2;}
2179 { (exit 1); exit 1; }; };;
2182 ac_save_IFS=$IFS; IFS='-'
2188 # Remember, the first character of IFS is used to create $*,
2189 # except with old shells:
2192 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2195 { echo "$as_me:$LINENO: checking host system type" >&5
2196 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2197 if test "${ac_cv_host+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 if test "x$host_alias" = x; then
2201 ac_cv_host=$ac_cv_build
2203 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2204 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2205 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2206 { (exit 1); exit 1; }; }
2210 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2211 echo "${ECHO_T}$ac_cv_host" >&6; }
2214 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2215 echo "$as_me: error: invalid value of canonical host" >&2;}
2216 { (exit 1); exit 1; }; };;
2219 ac_save_IFS=$IFS; IFS='-'
2225 # Remember, the first character of IFS is used to create $*,
2226 # except with old shells:
2229 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2233 # check existence of the package
2236 # specify output header file
2237 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2244 cat >>confdefs.h <<\_ACEOF
2245 #define _GNU_SOURCE 1
2250 ac_cpp='$CPP $CPPFLAGS'
2251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2254 if test -n "$ac_tool_prefix"; then
2255 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2256 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 if test -n "$CC"; then
2284 { echo "$as_me:$LINENO: result: $CC" >&5
2285 echo "${ECHO_T}$CC" >&6; }
2287 { echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6; }
2293 if test -z "$ac_cv_prog_CC"; then
2295 # Extract the first word of "gcc", so it can be a program name with args.
2296 set dummy gcc; ac_word=$2
2297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2299 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 if test -n "$ac_ct_CC"; then
2303 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312 ac_cv_prog_ac_ct_CC="gcc"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2323 if test -n "$ac_ct_CC"; then
2324 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2325 echo "${ECHO_T}$ac_ct_CC" >&6; }
2327 { echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6; }
2331 if test "x$ac_ct_CC" = x; then
2334 case $cross_compiling:$ac_tool_warned in
2336 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2337 whose name does not start with the host triplet. If you think this
2338 configuration is useful to you, please write to autoconf@gnu.org." >&5
2339 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2340 whose name does not start with the host triplet. If you think this
2341 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2342 ac_tool_warned=yes ;;
2350 if test -z "$CC"; then
2351 if test -n "$ac_tool_prefix"; then
2352 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2353 set dummy ${ac_tool_prefix}cc; ac_word=$2
2354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2356 if test "${ac_cv_prog_CC+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 if test -n "$CC"; then
2360 ac_cv_prog_CC="$CC" # Let the user override the test.
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir=.
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 ac_cv_prog_CC="${ac_tool_prefix}cc"
2370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 if test -n "$CC"; then
2381 { echo "$as_me:$LINENO: result: $CC" >&5
2382 echo "${ECHO_T}$CC" >&6; }
2384 { echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6; }
2391 if test -z "$CC"; then
2392 # Extract the first word of "cc", so it can be a program name with args.
2393 set dummy cc; ac_word=$2
2394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 if test "${ac_cv_prog_CC+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$CC"; then
2400 ac_cv_prog_CC="$CC" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2411 ac_prog_rejected=yes
2415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test $ac_prog_rejected = yes; then
2423 # We found a bogon in the path, so make sure we never use it.
2424 set dummy $ac_cv_prog_CC
2426 if test $# != 0; then
2427 # We chose a different compiler from the bogus one.
2428 # However, it has the same basename, so the bogon will be chosen
2429 # first if we set CC to just the basename; use the full file name.
2431 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2437 if test -n "$CC"; then
2438 { echo "$as_me:$LINENO: result: $CC" >&5
2439 echo "${ECHO_T}$CC" >&6; }
2441 { echo "$as_me:$LINENO: result: no" >&5
2442 echo "${ECHO_T}no" >&6; }
2447 if test -z "$CC"; then
2448 if test -n "$ac_tool_prefix"; then
2449 for ac_prog in cl.exe
2451 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2452 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2455 if test "${ac_cv_prog_CC+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 if test -n "$CC"; then
2459 ac_cv_prog_CC="$CC" # Let the user override the test.
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir=.
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 if test -n "$CC"; then
2480 { echo "$as_me:$LINENO: result: $CC" >&5
2481 echo "${ECHO_T}$CC" >&6; }
2483 { echo "$as_me:$LINENO: result: no" >&5
2484 echo "${ECHO_T}no" >&6; }
2488 test -n "$CC" && break
2491 if test -z "$CC"; then
2493 for ac_prog in cl.exe
2495 # Extract the first word of "$ac_prog", so it can be a program name with args.
2496 set dummy $ac_prog; ac_word=$2
2497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2499 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 if test -n "$ac_ct_CC"; then
2503 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir=.
2510 for ac_exec_ext in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 ac_cv_prog_ac_ct_CC="$ac_prog"
2513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2523 if test -n "$ac_ct_CC"; then
2524 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2525 echo "${ECHO_T}$ac_ct_CC" >&6; }
2527 { echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6; }
2532 test -n "$ac_ct_CC" && break
2535 if test "x$ac_ct_CC" = x; then
2538 case $cross_compiling:$ac_tool_warned in
2540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2541 whose name does not start with the host triplet. If you think this
2542 configuration is useful to you, please write to autoconf@gnu.org." >&5
2543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2544 whose name does not start with the host triplet. If you think this
2545 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2546 ac_tool_warned=yes ;;
2555 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2556 See \`config.log' for more details." >&5
2557 echo "$as_me: error: no acceptable C compiler found in \$PATH
2558 See \`config.log' for more details." >&2;}
2559 { (exit 1); exit 1; }; }
2561 # Provide some information about the compiler.
2562 echo "$as_me:$LINENO: checking for C compiler version" >&5
2563 ac_compiler=`set X $ac_compile; echo $2`
2564 { (ac_try="$ac_compiler --version >&5"
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2570 (eval "$ac_compiler --version >&5") 2>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }
2574 { (ac_try="$ac_compiler -v >&5"
2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577 *) ac_try_echo=$ac_try;;
2579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2580 (eval "$ac_compiler -v >&5") 2>&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }
2584 { (ac_try="$ac_compiler -V >&5"
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2590 (eval "$ac_compiler -V >&5") 2>&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }
2595 cat >conftest.$ac_ext <<_ACEOF
2598 cat confdefs.h >>conftest.$ac_ext
2599 cat >>conftest.$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2610 ac_clean_files_save=$ac_clean_files
2611 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2612 # Try to create an executable without -o first, disregard a.out.
2613 # It will help us diagnose broken compilers, and finding out an intuition
2615 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2616 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2617 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2619 # List of possible output files, starting from the most likely.
2620 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2621 # only as a last resort. b.out is created by i960 compilers.
2622 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2624 # The IRIX 6 linker writes into existing files which may not be
2625 # executable, retaining their permissions. Remove them first so a
2626 # subsequent execution test works.
2628 for ac_file in $ac_files
2631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2632 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2637 if { (ac_try="$ac_link_default"
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2643 (eval "$ac_link_default") 2>&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; then
2647 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2648 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2649 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2650 # so that the user can short-circuit this test for compilers unknown to
2652 for ac_file in $ac_files ''
2654 test -f "$ac_file" || continue
2656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2659 # We found the default executable, but exeext='' is most
2663 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2665 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2667 # We set ac_cv_exeext here because the later test for it is not
2668 # safe: cross compilers may not add the suffix if given an `-o'
2669 # argument, so we may need to know it at that point already.
2670 # Even if this section looks crufty: it has the advantage of
2677 test "$ac_cv_exeext" = no && ac_cv_exeext=
2683 { echo "$as_me:$LINENO: result: $ac_file" >&5
2684 echo "${ECHO_T}$ac_file" >&6; }
2685 if test -z "$ac_file"; then
2686 echo "$as_me: failed program was:" >&5
2687 sed 's/^/| /' conftest.$ac_ext >&5
2689 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2690 See \`config.log' for more details." >&5
2691 echo "$as_me: error: C compiler cannot create executables
2692 See \`config.log' for more details." >&2;}
2693 { (exit 77); exit 77; }; }
2696 ac_exeext=$ac_cv_exeext
2698 # Check that the compiler produces executables we can run. If not, either
2699 # the compiler is broken, or we cross compile.
2700 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2701 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2702 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2703 # If not cross compiling, check that we can run a simple program.
2704 if test "$cross_compiling" != yes; then
2705 if { ac_try='./$ac_file'
2706 { (case "(($ac_try" in
2707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2708 *) ac_try_echo=$ac_try;;
2710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711 (eval "$ac_try") 2>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; }; then
2717 if test "$cross_compiling" = maybe; then
2720 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2721 If you meant to cross compile, use \`--host'.
2722 See \`config.log' for more details." >&5
2723 echo "$as_me: error: cannot run C compiled programs.
2724 If you meant to cross compile, use \`--host'.
2725 See \`config.log' for more details." >&2;}
2726 { (exit 1); exit 1; }; }
2730 { echo "$as_me:$LINENO: result: yes" >&5
2731 echo "${ECHO_T}yes" >&6; }
2733 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2734 ac_clean_files=$ac_clean_files_save
2735 # Check that the compiler produces executables we can run. If not, either
2736 # the compiler is broken, or we cross compile.
2737 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2738 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2739 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2740 echo "${ECHO_T}$cross_compiling" >&6; }
2742 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2743 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2744 if { (ac_try="$ac_link"
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750 (eval "$ac_link") 2>&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; then
2754 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2755 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2756 # work properly (i.e., refer to `conftest.exe'), while it won't with
2758 for ac_file in conftest.exe conftest conftest.*; do
2759 test -f "$ac_file" || continue
2761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2762 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2768 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2769 See \`config.log' for more details." >&5
2770 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2771 See \`config.log' for more details." >&2;}
2772 { (exit 1); exit 1; }; }
2775 rm -f conftest$ac_cv_exeext
2776 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2777 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2779 rm -f conftest.$ac_ext
2780 EXEEXT=$ac_cv_exeext
2782 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2783 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2784 if test "${ac_cv_objext+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 cat >conftest.$ac_ext <<_ACEOF
2790 cat confdefs.h >>conftest.$ac_ext
2791 cat >>conftest.$ac_ext <<_ACEOF
2792 /* end confdefs.h. */
2802 rm -f conftest.o conftest.obj
2803 if { (ac_try="$ac_compile"
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2809 (eval "$ac_compile") 2>&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; then
2813 for ac_file in conftest.o conftest.obj conftest.*; do
2814 test -f "$ac_file" || continue;
2816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2817 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2822 echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2826 See \`config.log' for more details." >&5
2827 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2828 See \`config.log' for more details." >&2;}
2829 { (exit 1); exit 1; }; }
2832 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2834 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2835 echo "${ECHO_T}$ac_cv_objext" >&6; }
2836 OBJEXT=$ac_cv_objext
2838 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2839 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2840 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 cat >conftest.$ac_ext <<_ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2861 rm -f conftest.$ac_objext
2862 if { (ac_try="$ac_compile"
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2868 (eval "$ac_compile") 2>conftest.er1
2870 grep -v '^ *+' conftest.er1 >conftest.err
2872 cat conftest.err >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } && {
2875 test -z "$ac_c_werror_flag" ||
2876 test ! -s conftest.err
2877 } && test -s conftest.$ac_objext; then
2880 echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.$ac_ext >&5
2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2890 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2891 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2892 GCC=`test $ac_compiler_gnu = yes && echo yes`
2893 ac_test_CFLAGS=${CFLAGS+set}
2894 ac_save_CFLAGS=$CFLAGS
2895 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2896 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2897 if test "${ac_cv_prog_cc_g+set}" = set; then
2898 echo $ECHO_N "(cached) $ECHO_C" >&6
2900 ac_save_c_werror_flag=$ac_c_werror_flag
2901 ac_c_werror_flag=yes
2904 cat >conftest.$ac_ext <<_ACEOF
2907 cat confdefs.h >>conftest.$ac_ext
2908 cat >>conftest.$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2919 rm -f conftest.$ac_objext
2920 if { (ac_try="$ac_compile"
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926 (eval "$ac_compile") 2>conftest.er1
2928 grep -v '^ *+' conftest.er1 >conftest.err
2930 cat conftest.err >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } && {
2933 test -z "$ac_c_werror_flag" ||
2934 test ! -s conftest.err
2935 } && test -s conftest.$ac_objext; then
2938 echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2942 cat >conftest.$ac_ext <<_ACEOF
2945 cat confdefs.h >>conftest.$ac_ext
2946 cat >>conftest.$ac_ext <<_ACEOF
2947 /* end confdefs.h. */
2957 rm -f conftest.$ac_objext
2958 if { (ac_try="$ac_compile"
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2964 (eval "$ac_compile") 2>conftest.er1
2966 grep -v '^ *+' conftest.er1 >conftest.err
2968 cat conftest.err >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); } && {
2971 test -z "$ac_c_werror_flag" ||
2972 test ! -s conftest.err
2973 } && test -s conftest.$ac_objext; then
2976 echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2979 ac_c_werror_flag=$ac_save_c_werror_flag
2981 cat >conftest.$ac_ext <<_ACEOF
2984 cat confdefs.h >>conftest.$ac_ext
2985 cat >>conftest.$ac_ext <<_ACEOF
2986 /* end confdefs.h. */
2996 rm -f conftest.$ac_objext
2997 if { (ac_try="$ac_compile"
2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003 (eval "$ac_compile") 2>conftest.er1
3005 grep -v '^ *+' conftest.er1 >conftest.err
3007 cat conftest.err >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); } && {
3010 test -z "$ac_c_werror_flag" ||
3011 test ! -s conftest.err
3012 } && test -s conftest.$ac_objext; then
3015 echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028 ac_c_werror_flag=$ac_save_c_werror_flag
3030 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3031 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3032 if test "$ac_test_CFLAGS" = set; then
3033 CFLAGS=$ac_save_CFLAGS
3034 elif test $ac_cv_prog_cc_g = yes; then
3035 if test "$GCC" = yes; then
3041 if test "$GCC" = yes; then
3047 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3048 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3049 if test "${ac_cv_prog_cc_c89+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 ac_cv_prog_cc_c89=no
3054 cat >conftest.$ac_ext <<_ACEOF
3057 cat confdefs.h >>conftest.$ac_ext
3058 cat >>conftest.$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3062 #include <sys/types.h>
3063 #include <sys/stat.h>
3064 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3065 struct buf { int x; };
3066 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3067 static char *e (p, i)
3073 static char *f (char * (*g) (char **, int), char **p, ...)
3078 s = g (p, va_arg (v,int));
3083 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3084 function prototypes and stuff, but not '\xHH' hex character constants.
3085 These don't provoke an error unfortunately, instead are silently treated
3086 as 'x'. The following induces an error, until -std is added to get
3087 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3088 array size at least. It's necessary to write '\x00'==0 to get something
3089 that's true only with -std. */
3090 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3092 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3093 inside strings and character constants. */
3095 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3097 int test (int i, double x);
3098 struct s1 {int (*f) (int a);};
3099 struct s2 {int (*f) (double a);};
3100 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3106 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3111 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3112 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3114 CC="$ac_save_CC $ac_arg"
3115 rm -f conftest.$ac_objext
3116 if { (ac_try="$ac_compile"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compile") 2>conftest.er1
3124 grep -v '^ *+' conftest.er1 >conftest.err
3126 cat conftest.err >&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } && {
3129 test -z "$ac_c_werror_flag" ||
3130 test ! -s conftest.err
3131 } && test -s conftest.$ac_objext; then
3132 ac_cv_prog_cc_c89=$ac_arg
3134 echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3140 rm -f core conftest.err conftest.$ac_objext
3141 test "x$ac_cv_prog_cc_c89" != "xno" && break
3143 rm -f conftest.$ac_ext
3148 case "x$ac_cv_prog_cc_c89" in
3150 { echo "$as_me:$LINENO: result: none needed" >&5
3151 echo "${ECHO_T}none needed" >&6; } ;;
3153 { echo "$as_me:$LINENO: result: unsupported" >&5
3154 echo "${ECHO_T}unsupported" >&6; } ;;
3156 CC="$CC $ac_cv_prog_cc_c89"
3157 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3158 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3163 ac_cpp='$CPP $CPPFLAGS'
3164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3174 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3175 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3176 # On Suns, sometimes $CPP names a directory.
3177 if test -n "$CPP" && test -d "$CPP"; then
3180 if test -z "$CPP"; then
3181 if test "${ac_cv_prog_CPP+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 # Double quotes because CPP needs to be expanded
3185 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3188 for ac_c_preproc_warn_flag in '' yes
3190 # Use a header file that comes with gcc, so configuring glibc
3191 # with a fresh cross-compiler works.
3192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3193 # <limits.h> exists even on freestanding compilers.
3194 # On the NeXT, cc -E runs the code through the compiler's parser,
3195 # not just through cpp. "Syntax error" is here to catch this case.
3196 cat >conftest.$ac_ext <<_ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3203 # include <limits.h>
3205 # include <assert.h>
3209 if { (ac_try="$ac_cpp conftest.$ac_ext"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3217 grep -v '^ *+' conftest.er1 >conftest.err
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } >/dev/null && {
3222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3223 test ! -s conftest.err
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3230 # Broken: fails on valid input.
3234 rm -f conftest.err conftest.$ac_ext
3236 # OK, works on sane cases. Now check whether nonexistent headers
3237 # can be detected and how.
3238 cat >conftest.$ac_ext <<_ACEOF
3241 cat confdefs.h >>conftest.$ac_ext
3242 cat >>conftest.$ac_ext <<_ACEOF
3243 /* end confdefs.h. */
3244 #include <ac_nonexistent.h>
3246 if { (ac_try="$ac_cpp conftest.$ac_ext"
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3254 grep -v '^ *+' conftest.er1 >conftest.err
3256 cat conftest.err >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } >/dev/null && {
3259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3260 test ! -s conftest.err
3262 # Broken: success on invalid input.
3265 echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3268 # Passes both tests.
3273 rm -f conftest.err conftest.$ac_ext
3276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3277 rm -f conftest.err conftest.$ac_ext
3278 if $ac_preproc_ok; then
3290 { echo "$as_me:$LINENO: result: $CPP" >&5
3291 echo "${ECHO_T}$CPP" >&6; }
3293 for ac_c_preproc_warn_flag in '' yes
3295 # Use a header file that comes with gcc, so configuring glibc
3296 # with a fresh cross-compiler works.
3297 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3298 # <limits.h> exists even on freestanding compilers.
3299 # On the NeXT, cc -E runs the code through the compiler's parser,
3300 # not just through cpp. "Syntax error" is here to catch this case.
3301 cat >conftest.$ac_ext <<_ACEOF
3304 cat confdefs.h >>conftest.$ac_ext
3305 cat >>conftest.$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3308 # include <limits.h>
3310 # include <assert.h>
3314 if { (ac_try="$ac_cpp conftest.$ac_ext"
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3320 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3322 grep -v '^ *+' conftest.er1 >conftest.err
3324 cat conftest.err >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); } >/dev/null && {
3327 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3328 test ! -s conftest.err
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3335 # Broken: fails on valid input.
3339 rm -f conftest.err conftest.$ac_ext
3341 # OK, works on sane cases. Now check whether nonexistent headers
3342 # can be detected and how.
3343 cat >conftest.$ac_ext <<_ACEOF
3346 cat confdefs.h >>conftest.$ac_ext
3347 cat >>conftest.$ac_ext <<_ACEOF
3348 /* end confdefs.h. */
3349 #include <ac_nonexistent.h>
3351 if { (ac_try="$ac_cpp conftest.$ac_ext"
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3357 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3359 grep -v '^ *+' conftest.er1 >conftest.err
3361 cat conftest.err >&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); } >/dev/null && {
3364 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3365 test ! -s conftest.err
3367 # Broken: success on invalid input.
3370 echo "$as_me: failed program was:" >&5
3371 sed 's/^/| /' conftest.$ac_ext >&5
3373 # Passes both tests.
3378 rm -f conftest.err conftest.$ac_ext
3381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3382 rm -f conftest.err conftest.$ac_ext
3383 if $ac_preproc_ok; then
3386 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3387 See \`config.log' for more details." >&5
3388 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3389 See \`config.log' for more details." >&2;}
3390 { (exit 1); exit 1; }; }
3394 ac_cpp='$CPP $CPPFLAGS'
3395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3400 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3401 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3402 if test "${ac_cv_path_GREP+set}" = set; then
3403 echo $ECHO_N "(cached) $ECHO_C" >&6
3405 # Extract the first word of "grep ggrep" to use in msg output
3406 if test -z "$GREP"; then
3407 set dummy grep ggrep; ac_prog_name=$2
3408 if test "${ac_cv_path_GREP+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 ac_path_GREP_found=false
3412 # Loop through the user's path and test for each of PROGNAME-LIST
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3417 test -z "$as_dir" && as_dir=.
3418 for ac_prog in grep ggrep; do
3419 for ac_exec_ext in '' $ac_executable_extensions; do
3420 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3421 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3422 # Check for GNU ac_path_GREP and select it if it is found.
3423 # Check for GNU $ac_path_GREP
3424 case `"$ac_path_GREP" --version 2>&1` in
3426 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3429 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3432 cat "conftest.in" "conftest.in" >"conftest.tmp"
3433 mv "conftest.tmp" "conftest.in"
3434 cp "conftest.in" "conftest.nl"
3435 echo 'GREP' >> "conftest.nl"
3436 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3438 ac_count=`expr $ac_count + 1`
3439 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3440 # Best one so far, save it but keep looking for a better one
3441 ac_cv_path_GREP="$ac_path_GREP"
3442 ac_path_GREP_max=$ac_count
3444 # 10*(2^10) chars as input seems more than enough
3445 test $ac_count -gt 10 && break
3447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3451 $ac_path_GREP_found && break 3
3461 GREP="$ac_cv_path_GREP"
3462 if test -z "$GREP"; then
3463 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3464 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3465 { (exit 1); exit 1; }; }
3469 ac_cv_path_GREP=$GREP
3474 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3475 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3476 GREP="$ac_cv_path_GREP"
3479 { echo "$as_me:$LINENO: checking for egrep" >&5
3480 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3481 if test "${ac_cv_path_EGREP+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3485 then ac_cv_path_EGREP="$GREP -E"
3487 # Extract the first word of "egrep" to use in msg output
3488 if test -z "$EGREP"; then
3489 set dummy egrep; ac_prog_name=$2
3490 if test "${ac_cv_path_EGREP+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 ac_path_EGREP_found=false
3494 # Loop through the user's path and test for each of PROGNAME-LIST
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3499 test -z "$as_dir" && as_dir=.
3500 for ac_prog in egrep; do
3501 for ac_exec_ext in '' $ac_executable_extensions; do
3502 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3503 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3504 # Check for GNU ac_path_EGREP and select it if it is found.
3505 # Check for GNU $ac_path_EGREP
3506 case `"$ac_path_EGREP" --version 2>&1` in
3508 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3511 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3514 cat "conftest.in" "conftest.in" >"conftest.tmp"
3515 mv "conftest.tmp" "conftest.in"
3516 cp "conftest.in" "conftest.nl"
3517 echo 'EGREP' >> "conftest.nl"
3518 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3519 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3520 ac_count=`expr $ac_count + 1`
3521 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3522 # Best one so far, save it but keep looking for a better one
3523 ac_cv_path_EGREP="$ac_path_EGREP"
3524 ac_path_EGREP_max=$ac_count
3526 # 10*(2^10) chars as input seems more than enough
3527 test $ac_count -gt 10 && break
3529 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3533 $ac_path_EGREP_found && break 3
3543 EGREP="$ac_cv_path_EGREP"
3544 if test -z "$EGREP"; then
3545 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3546 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3547 { (exit 1); exit 1; }; }
3551 ac_cv_path_EGREP=$EGREP
3557 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3558 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3559 EGREP="$ac_cv_path_EGREP"
3563 { echo "$as_me:$LINENO: checking for AIX" >&5
3564 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3565 cat >conftest.$ac_ext <<_ACEOF
3568 cat confdefs.h >>conftest.$ac_ext
3569 cat >>conftest.$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3577 $EGREP "yes" >/dev/null 2>&1; then
3578 { echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6; }
3580 cat >>confdefs.h <<\_ACEOF
3581 #define _ALL_SOURCE 1
3585 { echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6; }
3591 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3592 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3593 if test "${ac_cv_header_stdc+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 cat >conftest.$ac_ext <<_ACEOF
3599 cat confdefs.h >>conftest.$ac_ext
3600 cat >>conftest.$ac_ext <<_ACEOF
3601 /* end confdefs.h. */
3615 rm -f conftest.$ac_objext
3616 if { (ac_try="$ac_compile"
3618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3619 *) ac_try_echo=$ac_try;;
3621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3622 (eval "$ac_compile") 2>conftest.er1
3624 grep -v '^ *+' conftest.er1 >conftest.err
3626 cat conftest.err >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } && {
3629 test -z "$ac_c_werror_flag" ||
3630 test ! -s conftest.err
3631 } && test -s conftest.$ac_objext; then
3632 ac_cv_header_stdc=yes
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.$ac_ext >&5
3637 ac_cv_header_stdc=no
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 if test $ac_cv_header_stdc = yes; then
3643 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3644 cat >conftest.$ac_ext <<_ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3654 $EGREP "memchr" >/dev/null 2>&1; then
3657 ac_cv_header_stdc=no
3663 if test $ac_cv_header_stdc = yes; then
3664 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3665 cat >conftest.$ac_ext <<_ACEOF
3668 cat confdefs.h >>conftest.$ac_ext
3669 cat >>conftest.$ac_ext <<_ACEOF
3670 /* end confdefs.h. */
3674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3675 $EGREP "free" >/dev/null 2>&1; then
3678 ac_cv_header_stdc=no
3684 if test $ac_cv_header_stdc = yes; then
3685 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3686 if test "$cross_compiling" = yes; then
3689 cat >conftest.$ac_ext <<_ACEOF
3692 cat confdefs.h >>conftest.$ac_ext
3693 cat >>conftest.$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3697 #if ((' ' & 0x0FF) == 0x020)
3698 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3699 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3701 # define ISLOWER(c) \
3702 (('a' <= (c) && (c) <= 'i') \
3703 || ('j' <= (c) && (c) <= 'r') \
3704 || ('s' <= (c) && (c) <= 'z'))
3705 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3708 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3713 for (i = 0; i < 256; i++)
3714 if (XOR (islower (i), ISLOWER (i))
3715 || toupper (i) != TOUPPER (i))
3720 rm -f conftest$ac_exeext
3721 if { (ac_try="$ac_link"
3723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3724 *) ac_try_echo=$ac_try;;
3726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3727 (eval "$ac_link") 2>&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3731 { (case "(($ac_try" in
3732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733 *) ac_try_echo=$ac_try;;
3735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3736 (eval "$ac_try") 2>&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); }; }; then
3742 echo "$as_me: program exited with status $ac_status" >&5
3743 echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.$ac_ext >&5
3747 ac_cv_header_stdc=no
3749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3755 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3756 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3757 if test $ac_cv_header_stdc = yes; then
3759 cat >>confdefs.h <<\_ACEOF
3760 #define STDC_HEADERS 1
3765 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3775 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3776 inttypes.h stdint.h unistd.h
3778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3779 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 $ac_includes_default
3792 #include <$ac_header>
3794 rm -f conftest.$ac_objext
3795 if { (ac_try="$ac_compile"
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3801 (eval "$ac_compile") 2>conftest.er1
3803 grep -v '^ *+' conftest.er1 >conftest.err
3805 cat conftest.err >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } && {
3808 test -z "$ac_c_werror_flag" ||
3809 test ! -s conftest.err
3810 } && test -s conftest.$ac_objext; then
3811 eval "$as_ac_Header=yes"
3813 echo "$as_me: failed program was:" >&5
3814 sed 's/^/| /' conftest.$ac_ext >&5
3816 eval "$as_ac_Header=no"
3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 ac_res=`eval echo '${'$as_ac_Header'}'`
3822 { echo "$as_me:$LINENO: result: $ac_res" >&5
3823 echo "${ECHO_T}$ac_res" >&6; }
3824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3825 cat >>confdefs.h <<_ACEOF
3826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3834 if test "${ac_cv_header_minix_config_h+set}" = set; then
3835 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3836 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3837 if test "${ac_cv_header_minix_config_h+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3841 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3843 # Is the header compilable?
3844 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3845 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3846 cat >conftest.$ac_ext <<_ACEOF
3849 cat confdefs.h >>conftest.$ac_ext
3850 cat >>conftest.$ac_ext <<_ACEOF
3851 /* end confdefs.h. */
3852 $ac_includes_default
3853 #include <minix/config.h>
3855 rm -f conftest.$ac_objext
3856 if { (ac_try="$ac_compile"
3858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3862 (eval "$ac_compile") 2>conftest.er1
3864 grep -v '^ *+' conftest.er1 >conftest.err
3866 cat conftest.err >&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } && {
3869 test -z "$ac_c_werror_flag" ||
3870 test ! -s conftest.err
3871 } && test -s conftest.$ac_objext; then
3872 ac_header_compiler=yes
3874 echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.$ac_ext >&5
3877 ac_header_compiler=no
3880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3881 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3882 echo "${ECHO_T}$ac_header_compiler" >&6; }
3884 # Is the header present?
3885 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3886 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3887 cat >conftest.$ac_ext <<_ACEOF
3890 cat confdefs.h >>conftest.$ac_ext
3891 cat >>conftest.$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3893 #include <minix/config.h>
3895 if { (ac_try="$ac_cpp conftest.$ac_ext"
3897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;;
3900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3901 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3903 grep -v '^ *+' conftest.er1 >conftest.err
3905 cat conftest.err >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } >/dev/null && {
3908 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3909 test ! -s conftest.err
3911 ac_header_preproc=yes
3913 echo "$as_me: failed program was:" >&5
3914 sed 's/^/| /' conftest.$ac_ext >&5
3916 ac_header_preproc=no
3919 rm -f conftest.err conftest.$ac_ext
3920 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3921 echo "${ECHO_T}$ac_header_preproc" >&6; }
3923 # So? What about this header?
3924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3926 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3927 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3928 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3929 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3930 ac_header_preproc=yes
3933 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3934 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3935 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3936 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3937 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3938 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3939 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3940 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3941 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3942 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3943 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3944 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3946 ## ------------------------------- ##
3947 ## Report this to www.asterisk.org ##
3948 ## ------------------------------- ##
3950 ) | sed "s/^/$as_me: WARNING: /" >&2
3953 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3954 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3955 if test "${ac_cv_header_minix_config_h+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 ac_cv_header_minix_config_h=$ac_header_preproc
3960 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3961 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3964 if test $ac_cv_header_minix_config_h = yes; then
3971 if test "$MINIX" = yes; then
3973 cat >>confdefs.h <<\_ACEOF
3974 #define _POSIX_SOURCE 1
3978 cat >>confdefs.h <<\_ACEOF
3979 #define _POSIX_1_SOURCE 2
3983 cat >>confdefs.h <<\_ACEOF
3999 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4000 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4001 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 cat >conftest.$ac_ext <<_ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4011 # define __EXTENSIONS__ 1
4012 $ac_includes_default
4021 rm -f conftest.$ac_objext
4022 if { (ac_try="$ac_compile"
4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4028 (eval "$ac_compile") 2>conftest.er1
4030 grep -v '^ *+' conftest.er1 >conftest.err
4032 cat conftest.err >&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); } && {
4035 test -z "$ac_c_werror_flag" ||
4036 test ! -s conftest.err
4037 } && test -s conftest.$ac_objext; then
4038 ac_cv_safe_to_define___extensions__=yes
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 ac_cv_safe_to_define___extensions__=no
4046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4048 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4049 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4050 test $ac_cv_safe_to_define___extensions__ = yes &&
4051 cat >>confdefs.h <<\_ACEOF
4052 #define __EXTENSIONS__ 1
4055 cat >>confdefs.h <<\_ACEOF
4056 #define _POSIX_PTHREAD_SEMANTICS 1
4059 cat >>confdefs.h <<\_ACEOF
4060 #define _TANDEM_SOURCE 1
4063 # note- does not work on FreeBSD
4065 case "${host_os}" in
4067 ac_default_prefix=/usr/local
4068 CPPFLAGS=-I/usr/local/include
4069 LDFLAGS=-L/usr/local/lib
4072 ac_default_prefix=/usr/local
4073 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4074 if test ${sysconfdir} = '${prefix}/etc'; then
4077 if test ${mandir} = '${prefix}/man'; then
4078 mandir=/usr/share/man
4081 CPPFLAGS=-I/usr/local/include
4082 LDFLAGS=-L/usr/local/lib
4085 ac_default_prefix=/usr
4086 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4087 if test ${sysconfdir} = '${prefix}/etc'; then
4090 if test ${mandir} = '${prefix}/man'; then
4091 mandir=/usr/share/man
4097 if test ${localstatedir} = '${prefix}/var'; then
4101 BUILD_PLATFORM=${build}
4102 BUILD_CPU=${build_cpu}
4103 BUILD_VENDOR=${build_vendor}
4104 BUILD_OS=${build_os}
4111 HOST_PLATFORM=${host}
4112 HOST_CPU=${host_cpu}
4113 HOST_VENDOR=${host_vendor}
4123 case "${host_os}" in
4153 if test -n "$ac_tool_prefix"; then
4154 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4155 set dummy ${ac_tool_prefix}uname; ac_word=$2
4156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4158 if test "${ac_cv_path_UNAME+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir=.
4171 for ac_exec_ext in '' $ac_executable_extensions; do
4172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4173 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 UNAME=$ac_cv_path_UNAME
4185 if test -n "$UNAME"; then
4186 { echo "$as_me:$LINENO: result: $UNAME" >&5
4187 echo "${ECHO_T}$UNAME" >&6; }
4189 { echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6; }
4195 if test -z "$ac_cv_path_UNAME"; then
4197 # Extract the first word of "uname", so it can be a program name with args.
4198 set dummy uname; ac_word=$2
4199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4201 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 case $ac_pt_UNAME in
4206 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213 test -z "$as_dir" && as_dir=.
4214 for ac_exec_ext in '' $ac_executable_extensions; do
4215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4216 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4228 if test -n "$ac_pt_UNAME"; then
4229 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4230 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4232 { echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6; }
4236 if test "x$ac_pt_UNAME" = x; then
4239 case $cross_compiling:$ac_tool_warned in
4241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4242 whose name does not start with the host triplet. If you think this
4243 configuration is useful to you, please write to autoconf@gnu.org." >&5
4244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4245 whose name does not start with the host triplet. If you think this
4246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4247 ac_tool_warned=yes ;;
4252 UNAME="$ac_cv_path_UNAME"
4255 if test ! x"${UNAME}" = xNo; then
4256 PBX_OSREV=$(${UNAME} -r)
4266 # cross-compile checks
4267 if test "${cross_compiling}" = "yes";
4269 if test -n "$ac_tool_prefix"; then
4270 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4271 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4274 if test "${ac_cv_prog_CC+set}" = set; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4277 if test -n "$CC"; then
4278 ac_cv_prog_CC="$CC" # Let the user override the test.
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir=.
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4287 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$CC"; then
4299 { echo "$as_me:$LINENO: result: $CC" >&5
4300 echo "${ECHO_T}$CC" >&6; }
4302 { echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6; }
4308 if test -z "$ac_cv_prog_CC"; then
4310 # Extract the first word of "gcc", so it can be a program name with args.
4311 set dummy gcc; ac_word=$2
4312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4314 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4317 if test -n "$ac_ct_CC"; then
4318 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 ac_cv_prog_ac_ct_CC="gcc"
4328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4338 if test -n "$ac_ct_CC"; then
4339 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4340 echo "${ECHO_T}$ac_ct_CC" >&6; }
4342 { echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6; }
4346 if test "x$ac_ct_CC" = x; then
4349 case $cross_compiling:$ac_tool_warned in
4351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4352 whose name does not start with the host triplet. If you think this
4353 configuration is useful to you, please write to autoconf@gnu.org." >&5
4354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4355 whose name does not start with the host triplet. If you think this
4356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4357 ac_tool_warned=yes ;;
4365 if test -n "$ac_tool_prefix"; then
4366 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4367 set dummy ${ac_tool_prefix}g++; ac_word=$2
4368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4370 if test "${ac_cv_prog_CXX+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 if test -n "$CXX"; then
4374 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 test -z "$as_dir" && as_dir=.
4381 for ac_exec_ext in '' $ac_executable_extensions; do
4382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4383 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 if test -n "$CXX"; then
4395 { echo "$as_me:$LINENO: result: $CXX" >&5
4396 echo "${ECHO_T}$CXX" >&6; }
4398 { echo "$as_me:$LINENO: result: no" >&5
4399 echo "${ECHO_T}no" >&6; }
4404 if test -z "$ac_cv_prog_CXX"; then
4406 # Extract the first word of "g++", so it can be a program name with args.
4407 set dummy g++; ac_word=$2
4408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4410 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 if test -n "$ac_ct_CXX"; then
4414 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4423 ac_cv_prog_ac_ct_CXX="g++"
4424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4434 if test -n "$ac_ct_CXX"; then
4435 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4436 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4438 { echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6; }
4442 if test "x$ac_ct_CXX" = x; then
4445 case $cross_compiling:$ac_tool_warned in
4447 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4448 whose name does not start with the host triplet. If you think this
4449 configuration is useful to you, please write to autoconf@gnu.org." >&5
4450 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4451 whose name does not start with the host triplet. If you think this
4452 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4453 ac_tool_warned=yes ;;
4458 CXX="$ac_cv_prog_CXX"
4461 if test -n "$ac_tool_prefix"; then
4462 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4463 set dummy ${ac_tool_prefix}ld; ac_word=$2
4464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4466 if test "${ac_cv_prog_LD+set}" = set; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 if test -n "$LD"; then
4470 ac_cv_prog_LD="$LD" # Let the user override the test.
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4479 ac_cv_prog_LD="${ac_tool_prefix}ld"
4480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 if test -n "$LD"; then
4491 { echo "$as_me:$LINENO: result: $LD" >&5
4492 echo "${ECHO_T}$LD" >&6; }
4494 { echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6; }
4500 if test -z "$ac_cv_prog_LD"; then
4502 # Extract the first word of "ld", so it can be a program name with args.
4503 set dummy ld; ac_word=$2
4504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4506 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 if test -n "$ac_ct_LD"; then
4510 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4519 ac_cv_prog_ac_ct_LD="ld"
4520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4530 if test -n "$ac_ct_LD"; then
4531 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4532 echo "${ECHO_T}$ac_ct_LD" >&6; }
4534 { echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6; }
4538 if test "x$ac_ct_LD" = x; then
4541 case $cross_compiling:$ac_tool_warned in
4543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4544 whose name does not start with the host triplet. If you think this
4545 configuration is useful to you, please write to autoconf@gnu.org." >&5
4546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4547 whose name does not start with the host triplet. If you think this
4548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4549 ac_tool_warned=yes ;;
4557 if test -n "$ac_tool_prefix"; then
4558 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4559 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4562 if test "${ac_cv_prog_RANLIB+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 if test -n "$RANLIB"; then
4566 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir=.
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4575 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 RANLIB=$ac_cv_prog_RANLIB
4586 if test -n "$RANLIB"; then
4587 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4588 echo "${ECHO_T}$RANLIB" >&6; }
4590 { echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6; }
4596 if test -z "$ac_cv_prog_RANLIB"; then
4597 ac_ct_RANLIB=$RANLIB
4598 # Extract the first word of "ranlib", so it can be a program name with args.
4599 set dummy ranlib; ac_word=$2
4600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4602 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 if test -n "$ac_ct_RANLIB"; then
4606 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir=.
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4615 ac_cv_prog_ac_ct_RANLIB="ranlib"
4616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4626 if test -n "$ac_ct_RANLIB"; then
4627 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4628 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4630 { echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6; }
4634 if test "x$ac_ct_RANLIB" = x; then
4637 case $cross_compiling:$ac_tool_warned in
4639 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4640 whose name does not start with the host triplet. If you think this
4641 configuration is useful to you, please write to autoconf@gnu.org." >&5
4642 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4643 whose name does not start with the host triplet. If you think this
4644 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4645 ac_tool_warned=yes ;;
4647 RANLIB=$ac_ct_RANLIB
4650 RANLIB="$ac_cv_prog_RANLIB"
4655 # Checks for programs.
4657 ac_cpp='$CPP $CPPFLAGS'
4658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4661 if test -n "$ac_tool_prefix"; then
4662 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4663 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4666 if test "${ac_cv_prog_CC+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 if test -n "$CC"; then
4670 ac_cv_prog_CC="$CC" # Let the user override the test.
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir=.
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4679 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 if test -n "$CC"; then
4691 { echo "$as_me:$LINENO: result: $CC" >&5
4692 echo "${ECHO_T}$CC" >&6; }
4694 { echo "$as_me:$LINENO: result: no" >&5
4695 echo "${ECHO_T}no" >&6; }
4700 if test -z "$ac_cv_prog_CC"; then
4702 # Extract the first word of "gcc", so it can be a program name with args.
4703 set dummy gcc; ac_word=$2
4704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 if test -n "$ac_ct_CC"; then
4710 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir=.
4717 for ac_exec_ext in '' $ac_executable_extensions; do
4718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4719 ac_cv_prog_ac_ct_CC="gcc"
4720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&