2 # From configure.ac Revision: 259848 .
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
900 PRI_CALL_HOLD_INCLUDE
903 PRI_CALL_REROUTING_LIB
904 PRI_CALL_REROUTING_INCLUDE
905 PRI_CALL_REROUTING_DIR
906 PBX_PRI_CALL_REROUTING
908 PRI_SETUP_KEYPAD_INCLUDE
915 PRI_INBANDDISCONNECT_LIB
916 PRI_INBANDDISCONNECT_INCLUDE
917 PRI_INBANDDISCONNECT_DIR
918 PBX_PRI_INBANDDISCONNECT
920 PRI_PROG_W_CAUSE_INCLUDE
923 PRI_SERVICE_MESSAGES_LIB
924 PRI_SERVICE_MESSAGES_INCLUDE
925 PRI_SERVICE_MESSAGES_DIR
926 PBX_PRI_SERVICE_MESSAGES
927 PRI_REVERSE_CHARGE_LIB
928 PRI_REVERSE_CHARGE_INCLUDE
929 PRI_REVERSE_CHARGE_DIR
930 PBX_PRI_REVERSE_CHARGE
976 SPEEX_PREPROCESS_INCLUDE
1048 PBX_PTHREAD_RWLOCK_INITIALIZER
1049 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
1052 AST_DECLARATION_AFTER_STATEMENT
1054 AST_NO_STRICT_OVERFLOW
1062 PBX_MISDN_FAC_RESULT
1091 GENERIC_ODBC_INCLUDE
1093 PBX_SYSLOG_FACILITY_LOG_AUTH
1094 PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
1095 PBX_SYSLOG_FACILITY_LOG_CRON
1096 PBX_SYSLOG_FACILITY_LOG_DAEMON
1097 PBX_SYSLOG_FACILITY_LOG_FTP
1098 PBX_SYSLOG_FACILITY_LOG_KERN
1099 PBX_SYSLOG_FACILITY_LOG_LPR
1100 PBX_SYSLOG_FACILITY_LOG_MAIL
1101 PBX_SYSLOG_FACILITY_LOG_NEWS
1102 PBX_SYSLOG_FACILITY_LOG_SYSLOG
1103 PBX_SYSLOG_FACILITY_LOG_UUCP
1107 ac_precious_vars='build_alias
1122 # Initialize some variables set by options.
1124 ac_init_version=false
1125 # The variables have the same names as the options, with
1126 # dashes changed to underlines.
1127 cache_file=/dev/null
1134 program_transform_name=s,x,x,
1142 # Installation directory options.
1143 # These are left unexpanded so users can "make install exec_prefix=/foo"
1144 # and all the variables that are supposed to be based on exec_prefix
1145 # by default will actually change.
1146 # Use braces instead of parens because sh, perl, etc. also accept them.
1147 # (The list follows the same order as the GNU Coding Standards.)
1148 bindir='${exec_prefix}/bin'
1149 sbindir='${exec_prefix}/sbin'
1150 libexecdir='${exec_prefix}/libexec'
1151 datarootdir='${prefix}/share'
1152 datadir='${datarootdir}'
1153 sysconfdir='${prefix}/etc'
1154 sharedstatedir='${prefix}/com'
1155 localstatedir='${prefix}/var'
1156 includedir='${prefix}/include'
1157 oldincludedir='/usr/include'
1158 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1159 infodir='${datarootdir}/info'
1164 libdir='${exec_prefix}/lib'
1165 localedir='${datarootdir}/locale'
1166 mandir='${datarootdir}/man'
1172 # If the previous option needs an argument, assign it.
1173 if test -n "$ac_prev"; then
1174 eval $ac_prev=\$ac_option
1180 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1184 # Accept the important Cygnus configure options, so we can diagnose typos.
1186 case $ac_dashdash$ac_option in
1190 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1192 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1193 bindir=$ac_optarg ;;
1195 -build | --build | --buil | --bui | --bu)
1196 ac_prev=build_alias ;;
1197 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1198 build_alias=$ac_optarg ;;
1200 -cache-file | --cache-file | --cache-fil | --cache-fi \
1201 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1202 ac_prev=cache_file ;;
1203 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1204 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1205 cache_file=$ac_optarg ;;
1207 --config-cache | -C)
1208 cache_file=config.cache ;;
1210 -datadir | --datadir | --datadi | --datad)
1212 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1213 datadir=$ac_optarg ;;
1215 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1216 | --dataroo | --dataro | --datar)
1217 ac_prev=datarootdir ;;
1218 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1219 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1220 datarootdir=$ac_optarg ;;
1222 -disable-* | --disable-*)
1223 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1226 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1227 { (exit 1); exit 1; }; }
1228 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1229 eval enable_$ac_feature=no ;;
1231 -docdir | --docdir | --docdi | --doc | --do)
1233 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1234 docdir=$ac_optarg ;;
1236 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1238 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1239 dvidir=$ac_optarg ;;
1241 -enable-* | --enable-*)
1242 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1246 { (exit 1); exit 1; }; }
1247 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1248 eval enable_$ac_feature=\$ac_optarg ;;
1250 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1251 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1252 | --exec | --exe | --ex)
1253 ac_prev=exec_prefix ;;
1254 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1255 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1256 | --exec=* | --exe=* | --ex=*)
1257 exec_prefix=$ac_optarg ;;
1259 -gas | --gas | --ga | --g)
1260 # Obsolete; use --with-gas.
1263 -help | --help | --hel | --he | -h)
1264 ac_init_help=long ;;
1265 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1266 ac_init_help=recursive ;;
1267 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1268 ac_init_help=short ;;
1270 -host | --host | --hos | --ho)
1271 ac_prev=host_alias ;;
1272 -host=* | --host=* | --hos=* | --ho=*)
1273 host_alias=$ac_optarg ;;
1275 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1277 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1279 htmldir=$ac_optarg ;;
1281 -includedir | --includedir | --includedi | --included | --include \
1282 | --includ | --inclu | --incl | --inc)
1283 ac_prev=includedir ;;
1284 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1285 | --includ=* | --inclu=* | --incl=* | --inc=*)
1286 includedir=$ac_optarg ;;
1288 -infodir | --infodir | --infodi | --infod | --info | --inf)
1290 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1291 infodir=$ac_optarg ;;
1293 -libdir | --libdir | --libdi | --libd)
1295 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1296 libdir=$ac_optarg ;;
1298 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1299 | --libexe | --libex | --libe)
1300 ac_prev=libexecdir ;;
1301 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1302 | --libexe=* | --libex=* | --libe=*)
1303 libexecdir=$ac_optarg ;;
1305 -localedir | --localedir | --localedi | --localed | --locale)
1306 ac_prev=localedir ;;
1307 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1308 localedir=$ac_optarg ;;
1310 -localstatedir | --localstatedir | --localstatedi | --localstated \
1311 | --localstate | --localstat | --localsta | --localst | --locals)
1312 ac_prev=localstatedir ;;
1313 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1314 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1315 localstatedir=$ac_optarg ;;
1317 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1319 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1320 mandir=$ac_optarg ;;
1322 -nfp | --nfp | --nf)
1323 # Obsolete; use --without-fp.
1326 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1327 | --no-cr | --no-c | -n)
1330 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1331 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1334 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1335 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1336 | --oldin | --oldi | --old | --ol | --o)
1337 ac_prev=oldincludedir ;;
1338 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1339 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1340 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1341 oldincludedir=$ac_optarg ;;
1343 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1345 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1346 prefix=$ac_optarg ;;
1348 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1349 | --program-pre | --program-pr | --program-p)
1350 ac_prev=program_prefix ;;
1351 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1352 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1353 program_prefix=$ac_optarg ;;
1355 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1356 | --program-suf | --program-su | --program-s)
1357 ac_prev=program_suffix ;;
1358 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1359 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1360 program_suffix=$ac_optarg ;;
1362 -program-transform-name | --program-transform-name \
1363 | --program-transform-nam | --program-transform-na \
1364 | --program-transform-n | --program-transform- \
1365 | --program-transform | --program-transfor \
1366 | --program-transfo | --program-transf \
1367 | --program-trans | --program-tran \
1368 | --progr-tra | --program-tr | --program-t)
1369 ac_prev=program_transform_name ;;
1370 -program-transform-name=* | --program-transform-name=* \
1371 | --program-transform-nam=* | --program-transform-na=* \
1372 | --program-transform-n=* | --program-transform-=* \
1373 | --program-transform=* | --program-transfor=* \
1374 | --program-transfo=* | --program-transf=* \
1375 | --program-trans=* | --program-tran=* \
1376 | --progr-tra=* | --program-tr=* | --program-t=*)
1377 program_transform_name=$ac_optarg ;;
1379 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1381 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1382 pdfdir=$ac_optarg ;;
1384 -psdir | --psdir | --psdi | --psd | --ps)
1386 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1390 | -silent | --silent | --silen | --sile | --sil)
1393 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1395 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1397 sbindir=$ac_optarg ;;
1399 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1400 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1401 | --sharedst | --shareds | --shared | --share | --shar \
1403 ac_prev=sharedstatedir ;;
1404 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1405 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1406 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1408 sharedstatedir=$ac_optarg ;;
1410 -site | --site | --sit)
1412 -site=* | --site=* | --sit=*)
1415 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1417 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1418 srcdir=$ac_optarg ;;
1420 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1421 | --syscon | --sysco | --sysc | --sys | --sy)
1422 ac_prev=sysconfdir ;;
1423 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1424 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1425 sysconfdir=$ac_optarg ;;
1427 -target | --target | --targe | --targ | --tar | --ta | --t)
1428 ac_prev=target_alias ;;
1429 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1430 target_alias=$ac_optarg ;;
1432 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1435 -version | --version | --versio | --versi | --vers | -V)
1436 ac_init_version=: ;;
1439 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1442 { echo "$as_me: error: invalid package name: $ac_package" >&2
1443 { (exit 1); exit 1; }; }
1444 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1445 eval with_$ac_package=\$ac_optarg ;;
1447 -without-* | --without-*)
1448 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1449 # Reject names that are not valid shell variable names.
1450 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1451 { echo "$as_me: error: invalid package name: $ac_package" >&2
1452 { (exit 1); exit 1; }; }
1453 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1454 eval with_$ac_package=no ;;
1457 # Obsolete; use --with-x.
1460 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1461 | --x-incl | --x-inc | --x-in | --x-i)
1462 ac_prev=x_includes ;;
1463 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1464 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1465 x_includes=$ac_optarg ;;
1467 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1468 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1469 ac_prev=x_libraries ;;
1470 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1471 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1472 x_libraries=$ac_optarg ;;
1474 -*) { echo "$as_me: error: unrecognized option: $ac_option
1475 Try \`$0 --help' for more information." >&2
1476 { (exit 1); exit 1; }; }
1480 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1481 # Reject names that are not valid shell variable names.
1482 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1483 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1484 { (exit 1); exit 1; }; }
1485 eval $ac_envvar=\$ac_optarg
1486 export $ac_envvar ;;
1489 # FIXME: should be removed in autoconf 3.0.
1490 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1491 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1492 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1493 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1499 if test -n "$ac_prev"; then
1500 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1501 { echo "$as_me: error: missing argument to $ac_option" >&2
1502 { (exit 1); exit 1; }; }
1505 # Be sure to have absolute directory names.
1506 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1507 datadir sysconfdir sharedstatedir localstatedir includedir \
1508 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1509 libdir localedir mandir
1511 eval ac_val=\$$ac_var
1513 [\\/$]* | ?:[\\/]* ) continue;;
1514 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1516 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1517 { (exit 1); exit 1; }; }
1520 # There might be people who depend on the old broken behavior: `$host'
1521 # used to hold the argument of --host etc.
1522 # FIXME: To remove some day.
1525 target=$target_alias
1527 # FIXME: To remove some day.
1528 if test "x$host_alias" != x; then
1529 if test "x$build_alias" = x; then
1530 cross_compiling=maybe
1531 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1532 If a cross compiler is detected then cross compile mode will be used." >&2
1533 elif test "x$build_alias" != "x$host_alias"; then
1539 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1541 test "$silent" = yes && exec 6>/dev/null
1544 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1545 ac_ls_di=`ls -di .` &&
1546 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1547 { echo "$as_me: error: Working directory cannot be determined" >&2
1548 { (exit 1); exit 1; }; }
1549 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1550 { echo "$as_me: error: pwd does not report name of working directory" >&2
1551 { (exit 1); exit 1; }; }
1554 # Find the source files, if location was not specified.
1555 if test -z "$srcdir"; then
1556 ac_srcdir_defaulted=yes
1557 # Try the directory containing this script, then the parent directory.
1558 ac_confdir=`$as_dirname -- "$0" ||
1559 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1560 X"$0" : 'X\(//\)[^/]' \| \
1561 X"$0" : 'X\(//\)$' \| \
1562 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1582 if test ! -r "$srcdir/$ac_unique_file"; then
1586 ac_srcdir_defaulted=no
1588 if test ! -r "$srcdir/$ac_unique_file"; then
1589 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1590 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1591 { (exit 1); exit 1; }; }
1593 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1595 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1596 { (exit 1); exit 1; }; }
1598 # When building in place, set srcdir=.
1599 if test "$ac_abs_confdir" = "$ac_pwd"; then
1602 # Remove unnecessary trailing slashes from srcdir.
1603 # Double slashes in file names in object file debugging info
1604 # mess up M-x gdb in Emacs.
1606 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1608 for ac_var in $ac_precious_vars; do
1609 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1610 eval ac_env_${ac_var}_value=\$${ac_var}
1611 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1612 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1616 # Report the --help message.
1618 if test "$ac_init_help" = "long"; then
1619 # Omit some internal or obsolete options to make the list less imposing.
1620 # This message is too long to be a string in the A/UX 3.1 sh.
1622 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1624 Usage: $0 [OPTION]... [VAR=VALUE]...
1626 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1627 VAR=VALUE. See below for descriptions of some of the useful variables.
1629 Defaults for the options are specified in brackets.
1632 -h, --help display this help and exit
1633 --help=short display options specific to this package
1634 --help=recursive display the short help of all the included packages
1635 -V, --version display version information and exit
1636 -q, --quiet, --silent do not print \`checking...' messages
1637 --cache-file=FILE cache test results in FILE [disabled]
1638 -C, --config-cache alias for \`--cache-file=config.cache'
1639 -n, --no-create do not create output files
1640 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1642 Installation directories:
1643 --prefix=PREFIX install architecture-independent files in PREFIX
1644 [$ac_default_prefix]
1645 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1648 By default, \`make install' will install all the files in
1649 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1650 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1651 for instance \`--prefix=\$HOME'.
1653 For better control, use the options below.
1655 Fine tuning of the installation directories:
1656 --bindir=DIR user executables [EPREFIX/bin]
1657 --sbindir=DIR system admin executables [EPREFIX/sbin]
1658 --libexecdir=DIR program executables [EPREFIX/libexec]
1659 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1660 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1661 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1662 --libdir=DIR object code libraries [EPREFIX/lib]
1663 --includedir=DIR C header files [PREFIX/include]
1664 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1665 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1666 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1667 --infodir=DIR info documentation [DATAROOTDIR/info]
1668 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1669 --mandir=DIR man documentation [DATAROOTDIR/man]
1670 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1671 --htmldir=DIR html documentation [DOCDIR]
1672 --dvidir=DIR dvi documentation [DOCDIR]
1673 --pdfdir=DIR pdf documentation [DOCDIR]
1674 --psdir=DIR ps documentation [DOCDIR]
1680 --build=BUILD configure for building on BUILD [guessed]
1681 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1685 if test -n "$ac_init_help"; then
1686 case $ac_init_help in
1687 short | recursive ) echo "Configuration of asterisk 1.6:";;
1692 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1693 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1694 --enable-dev-mode Turn on developer mode
1695 --disable-largefile omit support for large files
1696 --enable-internal-poll Use Asterisk's poll implementation
1697 --disable-xmldoc Explicity disable XML documentation
1700 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1701 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1702 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1703 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1704 --with-execinfo=PATH use Stack Backtrace files in PATH
1705 --with-bluetooth=PATH use Bluetooth files in PATH
1706 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1707 --with-curl=PATH use cURL files in PATH
1708 --with-curses=PATH use curses files in PATH
1709 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1710 --with-dahdi=PATH use DAHDI files in PATH
1711 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
1712 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
1714 --with-gtk2=PATH use gtk2 files in PATH
1715 --with-gmime=PATH use GMime files in PATH
1716 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1717 --with-ical=PATH use iCal files in PATH
1718 --with-iconv=PATH use Iconv files in PATH
1719 --with-iksemel=PATH use Iksemel Jabber files in PATH
1720 --with-imap=PATH use UW IMAP Toolkit files in PATH
1721 --with-inotify=PATH use inotify support files in PATH
1722 --with-iodbc=PATH use iODBC files in PATH
1723 --with-isdnnet=PATH use ISDN4Linux files in PATH
1724 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1725 --with-ldap=PATH use OpenLDAP files in PATH
1726 --with-libxml2=PATH use LibXML2 files in PATH
1727 --with-ltdl=PATH use libtool files in PATH
1728 --with-lua=PATH use Lua files in PATH
1729 --with-misdn=PATH use mISDN user files in PATH
1730 --with-mysqlclient=PATH use MySQL client files in PATH
1731 --with-nbs=PATH use Network Broadcast Sound files in PATH
1732 --with-ncurses=PATH use ncurses files in PATH
1733 --with-neon=PATH use neon files in PATH
1734 --with-netsnmp=PATH use Net-SNMP files in PATH
1735 --with-newt=PATH use newt files in PATH
1736 --with-ogg=PATH use OGG files in PATH
1737 --with-osptk=PATH use OSP Toolkit files in PATH
1738 --with-oss=PATH use Open Sound System files in PATH
1739 --with-postgres=PATH use PostgreSQL files in PATH
1740 --with-popt=PATH use popt files in PATH
1741 --with-portaudio=PATH use PortAudio files in PATH
1742 --with-pri=PATH use ISDN PRI files in PATH
1743 --with-resample=PATH use LIBRESAMPLE files in PATH
1744 --with-spandsp=PATH use SPANDSP files in PATH
1745 --with-ss7=PATH use ISDN SS7 files in PATH
1746 --with-openr2=PATH use MFR2 files in PATH
1747 --with-pwlib=PATH use PWlib files in PATH
1748 --with-h323=PATH use OpenH323 files in PATH
1749 --with-radius=PATH use Radius Client files in PATH
1750 --with-sdl=PATH use Sdl files in PATH
1751 --with-SDL_image=PATH use Sdl Image files in PATH
1752 --with-openais=PATH use OpenAIS files in PATH
1753 --with-speex=PATH use Speex files in PATH
1754 --with-speex=PATH use Speex preprocess routines files in PATH
1755 --with-speexdsp=PATH use SpeexDSP files in PATH
1756 --with-sqlite=PATH use SQLite files in PATH
1757 --with-sqlite3=PATH use SQLite files in PATH
1758 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1759 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
1760 --with-tds=PATH use FreeTDS files in PATH
1761 --with-termcap=PATH use Termcap files in PATH
1762 --with-tinfo=PATH use Term Info files in PATH
1763 --with-tonezone=PATH use tonezone files in PATH
1764 --with-unixodbc=PATH use unixODBC files in PATH
1765 --with-usb=PATH use usb files in PATH
1766 --with-vorbis=PATH use Vorbis files in PATH
1767 --with-vpb=PATH use Voicetronix API files in PATH
1768 --with-x11=PATH use X11 files in PATH
1769 --with-z=PATH use zlib compression files in PATH
1770 --with-timerfd=PATH use timerfd files in PATH
1771 --with-libcurl=DIR look for the curl library in DIR
1773 Some influential environment variables:
1774 CC C compiler command
1775 CFLAGS C compiler flags
1776 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1777 nonstandard directory <lib dir>
1778 LIBS libraries to pass to the linker, e.g. -l<library>
1779 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1780 you have headers in a nonstandard directory <include dir>
1782 CXX C++ compiler command
1783 CXXFLAGS C++ compiler flags
1784 CXXCPP C++ preprocessor
1786 Use these variables to override the choices made by `configure' or to help
1787 it to find libraries and programs with nonstandard names/locations.
1789 Report bugs to <www.asterisk.org>.
1794 if test "$ac_init_help" = "recursive"; then
1795 # If there are subdirs, report their specific --help.
1796 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1797 test -d "$ac_dir" || continue
1801 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1803 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1804 # A ".." for each directory in $ac_dir_suffix.
1805 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1806 case $ac_top_builddir_sub in
1807 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1808 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1811 ac_abs_top_builddir=$ac_pwd
1812 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1813 # for backward compatibility:
1814 ac_top_builddir=$ac_top_build_prefix
1817 .) # We are building in place.
1819 ac_top_srcdir=$ac_top_builddir_sub
1820 ac_abs_top_srcdir=$ac_pwd ;;
1821 [\\/]* | ?:[\\/]* ) # Absolute name.
1822 ac_srcdir=$srcdir$ac_dir_suffix;
1823 ac_top_srcdir=$srcdir
1824 ac_abs_top_srcdir=$srcdir ;;
1826 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1827 ac_top_srcdir=$ac_top_build_prefix$srcdir
1828 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1830 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1832 cd "$ac_dir" || { ac_status=$?; continue; }
1833 # Check for guested configure.
1834 if test -f "$ac_srcdir/configure.gnu"; then
1836 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1837 elif test -f "$ac_srcdir/configure"; then
1839 $SHELL "$ac_srcdir/configure" --help=recursive
1841 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1843 cd "$ac_pwd" || { ac_status=$?; break; }
1847 test -n "$ac_init_help" && exit $ac_status
1848 if $ac_init_version; then
1850 asterisk configure 1.6
1851 generated by GNU Autoconf 2.61
1853 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1854 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1855 This configure script is free software; the Free Software Foundation
1856 gives unlimited permission to copy, distribute and modify it.
1862 cat >config.log <<_ACEOF
1863 This file contains any messages produced by compilers while
1864 running configure, to aid debugging if configure makes a mistake.
1866 It was created by asterisk $as_me 1.6, which was
1867 generated by GNU Autoconf 2.61. Invocation command line was
1879 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1880 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1881 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1882 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1883 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1885 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1886 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1888 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1889 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1890 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1891 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1892 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1893 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1894 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir=.
1903 echo "PATH: $as_dir"
1919 # Keep a trace of the command line.
1920 # Strip out --no-create and --no-recursion so they do not pile up.
1921 # Strip out --silent because we don't want to record it for future runs.
1922 # Also quote any args containing shell meta-characters.
1923 # Make two passes to allow for proper duplicate-argument suppression.
1927 ac_must_keep_next=false
1933 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1934 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1935 | -silent | --silent | --silen | --sile | --sil)
1938 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1941 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1943 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1944 if test $ac_must_keep_next = true; then
1945 ac_must_keep_next=false # Got value, back to normal.
1948 *=* | --config-cache | -C | -disable-* | --disable-* \
1949 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1950 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1951 | -with-* | --with-* | -without-* | --without-* | --x)
1952 case "$ac_configure_args0 " in
1953 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1956 -* ) ac_must_keep_next=true ;;
1959 ac_configure_args="$ac_configure_args '$ac_arg'"
1964 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1965 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1967 # When interrupted or exit'd, cleanup temporary files, and complete
1968 # config.log. We remove comments because anyway the quotes in there
1969 # would cause problems or look ugly.
1970 # WARNING: Use '\'' to represent an apostrophe within the trap.
1971 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1972 trap 'exit_status=$?
1973 # Save into config.log some information that might help in debugging.
1978 ## ---------------- ##
1979 ## Cache variables. ##
1980 ## ---------------- ##
1983 # The following way of writing the cache mishandles newlines in values,
1985 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1986 eval ac_val=\$$ac_var
1990 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1991 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1994 _ | IFS | as_nl) ;; #(
1995 *) $as_unset $ac_var ;;
2000 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2001 *${as_nl}ac_space=\ *)
2003 "s/'\''/'\''\\\\'\'''\''/g;
2004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2015 ## ----------------- ##
2016 ## Output variables. ##
2017 ## ----------------- ##
2020 for ac_var in $ac_subst_vars
2022 eval ac_val=\$$ac_var
2024 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2026 echo "$ac_var='\''$ac_val'\''"
2030 if test -n "$ac_subst_files"; then
2032 ## ------------------- ##
2033 ## File substitutions. ##
2034 ## ------------------- ##
2037 for ac_var in $ac_subst_files
2039 eval ac_val=\$$ac_var
2041 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2043 echo "$ac_var='\''$ac_val'\''"
2048 if test -s confdefs.h; then
2058 test "$ac_signal" != 0 &&
2059 echo "$as_me: caught signal $ac_signal"
2060 echo "$as_me: exit $exit_status"
2062 rm -f core *.core core.conftest.* &&
2063 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2066 for ac_signal in 1 2 13 15; do
2067 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2071 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2072 rm -f -r conftest* confdefs.h
2074 # Predefined preprocessor variables.
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_NAME "$PACKAGE_NAME"
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2086 cat >>confdefs.h <<_ACEOF
2087 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2091 cat >>confdefs.h <<_ACEOF
2092 #define PACKAGE_STRING "$PACKAGE_STRING"
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2101 # Let the site file select an alternate cache file if it wants to.
2102 # Prefer explicitly selected file to automatically selected ones.
2103 if test -n "$CONFIG_SITE"; then
2104 set x "$CONFIG_SITE"
2105 elif test "x$prefix" != xNONE; then
2106 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2108 set x "$ac_default_prefix/share/config.site" \
2109 "$ac_default_prefix/etc/config.site"
2114 if test -r "$ac_site_file"; then
2115 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2116 echo "$as_me: loading site script $ac_site_file" >&6;}
2117 sed 's/^/| /' "$ac_site_file" >&5
2122 if test -r "$cache_file"; then
2123 # Some versions of bash will fail to source /dev/null (special
2124 # files actually), so we avoid doing that.
2125 if test -f "$cache_file"; then
2126 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2127 echo "$as_me: loading cache $cache_file" >&6;}
2129 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2130 *) . "./$cache_file";;
2134 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2135 echo "$as_me: creating cache $cache_file" >&6;}
2139 ac_header_list="$ac_header_list utime.h"
2140 # Check that the precious variables saved in the cache have kept the same
2142 ac_cache_corrupted=false
2143 for ac_var in $ac_precious_vars; do
2144 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2145 eval ac_new_set=\$ac_env_${ac_var}_set
2146 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2147 eval ac_new_val=\$ac_env_${ac_var}_value
2148 case $ac_old_set,$ac_new_set in
2150 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2151 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2152 ac_cache_corrupted=: ;;
2154 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2155 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2156 ac_cache_corrupted=: ;;
2159 if test "x$ac_old_val" != "x$ac_new_val"; then
2160 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2161 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2162 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2163 echo "$as_me: former value: $ac_old_val" >&2;}
2164 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2165 echo "$as_me: current value: $ac_new_val" >&2;}
2166 ac_cache_corrupted=:
2169 # Pass precious variables to config.status.
2170 if test "$ac_new_set" = set; then
2172 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2173 *) ac_arg=$ac_var=$ac_new_val ;;
2175 case " $ac_configure_args " in
2176 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2177 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2181 if $ac_cache_corrupted; then
2182 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2183 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2184 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2185 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2186 { (exit 1); exit 1; }; }
2214 ac_cpp='$CPP $CPPFLAGS'
2215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2221 # cross-compile macros
2223 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2224 if test -f "$ac_dir/install-sh"; then
2226 ac_install_sh="$ac_aux_dir/install-sh -c"
2228 elif test -f "$ac_dir/install.sh"; then
2230 ac_install_sh="$ac_aux_dir/install.sh -c"
2232 elif test -f "$ac_dir/shtool"; then
2234 ac_install_sh="$ac_aux_dir/shtool install -c"
2238 if test -z "$ac_aux_dir"; then
2239 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2240 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2241 { (exit 1); exit 1; }; }
2244 # These three variables are undocumented and unsupported,
2245 # and are intended to be withdrawn in a future Autoconf release.
2246 # They can cause serious problems if a builder's source tree is in a directory
2247 # whose full name contains unusual characters.
2248 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2249 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2250 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2253 # Make sure we can run config.sub.
2254 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2255 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2256 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2257 { (exit 1); exit 1; }; }
2259 { echo "$as_me:$LINENO: checking build system type" >&5
2260 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2261 if test "${ac_cv_build+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 ac_build_alias=$build_alias
2265 test "x$ac_build_alias" = x &&
2266 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2267 test "x$ac_build_alias" = x &&
2268 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2269 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2270 { (exit 1); exit 1; }; }
2271 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2272 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2273 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2274 { (exit 1); exit 1; }; }
2277 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2278 echo "${ECHO_T}$ac_cv_build" >&6; }
2279 case $ac_cv_build in
2281 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2282 echo "$as_me: error: invalid value of canonical build" >&2;}
2283 { (exit 1); exit 1; }; };;
2286 ac_save_IFS=$IFS; IFS='-'
2292 # Remember, the first character of IFS is used to create $*,
2293 # except with old shells:
2296 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2299 { echo "$as_me:$LINENO: checking host system type" >&5
2300 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2301 if test "${ac_cv_host+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 if test "x$host_alias" = x; then
2305 ac_cv_host=$ac_cv_build
2307 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2308 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2309 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2310 { (exit 1); exit 1; }; }
2314 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2315 echo "${ECHO_T}$ac_cv_host" >&6; }
2318 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2319 echo "$as_me: error: invalid value of canonical host" >&2;}
2320 { (exit 1); exit 1; }; };;
2323 ac_save_IFS=$IFS; IFS='-'
2329 # Remember, the first character of IFS is used to create $*,
2330 # except with old shells:
2333 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2337 # check existence of the package
2341 for ac_dir in `pwd` "$srcdir"/`pwd`; do
2342 if test -f "$ac_dir/install-sh"; then
2344 ac_install_sh="$ac_aux_dir/install-sh -c"
2346 elif test -f "$ac_dir/install.sh"; then
2348 ac_install_sh="$ac_aux_dir/install.sh -c"
2350 elif test -f "$ac_dir/shtool"; then
2352 ac_install_sh="$ac_aux_dir/shtool install -c"
2356 if test -z "$ac_aux_dir"; then
2357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&5
2358 echo "$as_me: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&2;}
2359 { (exit 1); exit 1; }; }
2362 # These three variables are undocumented and unsupported,
2363 # and are intended to be withdrawn in a future Autoconf release.
2364 # They can cause serious problems if a builder's source tree is in a directory
2365 # whose full name contains unusual characters.
2366 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2367 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2368 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2375 # preserve any CFLAGS or LDFLAGS that may be set
2376 # NOTE: This must be done before calling any macros that end up
2377 # calling AC_PROG_CC or the like, since they will set a default
2378 # set of CFLAGS ("-g -O2") if the user did not supply any, and
2379 # we don't want those default flags to be carried over into the
2380 # rest of the build system since we have other means of controlling
2381 # debugging symbol generation and optimization.
2382 CONFIG_CFLAGS="${CFLAGS}"
2383 CONFIG_LDFLAGS="${LDFLAGS}"
2387 # specify output header file
2388 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2392 cat >>confdefs.h <<\_ACEOF
2393 #define _GNU_SOURCE 1
2398 ac_cpp='$CPP $CPPFLAGS'
2399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402 if test -n "$ac_tool_prefix"; then
2403 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2404 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2407 if test "${ac_cv_prog_CC+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 if test -n "$CC"; then
2411 ac_cv_prog_CC="$CC" # Let the user override the test.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 if test -n "$CC"; then
2432 { echo "$as_me:$LINENO: result: $CC" >&5
2433 echo "${ECHO_T}$CC" >&6; }
2435 { echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6; }
2441 if test -z "$ac_cv_prog_CC"; then
2443 # Extract the first word of "gcc", so it can be a program name with args.
2444 set dummy gcc; ac_word=$2
2445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 if test -n "$ac_ct_CC"; then
2451 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir=.
2458 for ac_exec_ext in '' $ac_executable_extensions; do
2459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2460 ac_cv_prog_ac_ct_CC="gcc"
2461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2471 if test -n "$ac_ct_CC"; then
2472 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2473 echo "${ECHO_T}$ac_ct_CC" >&6; }
2475 { echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6; }
2479 if test "x$ac_ct_CC" = x; then
2482 case $cross_compiling:$ac_tool_warned in
2484 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2485 whose name does not start with the host triplet. If you think this
2486 configuration is useful to you, please write to autoconf@gnu.org." >&5
2487 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2488 whose name does not start with the host triplet. If you think this
2489 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2490 ac_tool_warned=yes ;;
2498 if test -z "$CC"; then
2499 if test -n "$ac_tool_prefix"; then
2500 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2501 set dummy ${ac_tool_prefix}cc; ac_word=$2
2502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2504 if test "${ac_cv_prog_CC+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test -n "$CC"; then
2508 ac_cv_prog_CC="$CC" # Let the user override the test.
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir=.
2515 for ac_exec_ext in '' $ac_executable_extensions; do
2516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2517 ac_cv_prog_CC="${ac_tool_prefix}cc"
2518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 if test -n "$CC"; then
2529 { echo "$as_me:$LINENO: result: $CC" >&5
2530 echo "${ECHO_T}$CC" >&6; }
2532 { echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6; }
2539 if test -z "$CC"; then
2540 # Extract the first word of "cc", so it can be a program name with args.
2541 set dummy cc; ac_word=$2
2542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2544 if test "${ac_cv_prog_CC+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 if test -n "$CC"; then
2548 ac_cv_prog_CC="$CC" # Let the user override the test.
2551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir=.
2556 for ac_exec_ext in '' $ac_executable_extensions; do
2557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2558 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2559 ac_prog_rejected=yes
2563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2570 if test $ac_prog_rejected = yes; then
2571 # We found a bogon in the path, so make sure we never use it.
2572 set dummy $ac_cv_prog_CC
2574 if test $# != 0; then
2575 # We chose a different compiler from the bogus one.
2576 # However, it has the same basename, so the bogon will be chosen
2577 # first if we set CC to just the basename; use the full file name.
2579 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2585 if test -n "$CC"; then
2586 { echo "$as_me:$LINENO: result: $CC" >&5
2587 echo "${ECHO_T}$CC" >&6; }
2589 { echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6; }
2595 if test -z "$CC"; then
2596 if test -n "$ac_tool_prefix"; then
2597 for ac_prog in cl.exe
2599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2603 if test "${ac_cv_prog_CC+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 if test -n "$CC"; then
2607 ac_cv_prog_CC="$CC" # Let the user override the test.
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2616 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 if test -n "$CC"; then
2628 { echo "$as_me:$LINENO: result: $CC" >&5
2629 echo "${ECHO_T}$CC" >&6; }
2631 { echo "$as_me:$LINENO: result: no" >&5
2632 echo "${ECHO_T}no" >&6; }
2636 test -n "$CC" && break
2639 if test -z "$CC"; then
2641 for ac_prog in cl.exe
2643 # Extract the first word of "$ac_prog", so it can be a program name with args.
2644 set dummy $ac_prog; ac_word=$2
2645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 if test -n "$ac_ct_CC"; then
2651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660 ac_cv_prog_ac_ct_CC="$ac_prog"
2661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2671 if test -n "$ac_ct_CC"; then
2672 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2673 echo "${ECHO_T}$ac_ct_CC" >&6; }
2675 { echo "$as_me:$LINENO: result: no" >&5
2676 echo "${ECHO_T}no" >&6; }
2680 test -n "$ac_ct_CC" && break
2683 if test "x$ac_ct_CC" = x; then
2686 case $cross_compiling:$ac_tool_warned in
2688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2689 whose name does not start with the host triplet. If you think this
2690 configuration is useful to you, please write to autoconf@gnu.org." >&5
2691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2692 whose name does not start with the host triplet. If you think this
2693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2694 ac_tool_warned=yes ;;
2703 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2704 See \`config.log' for more details." >&5
2705 echo "$as_me: error: no acceptable C compiler found in \$PATH
2706 See \`config.log' for more details." >&2;}
2707 { (exit 1); exit 1; }; }
2709 # Provide some information about the compiler.
2710 echo "$as_me:$LINENO: checking for C compiler version" >&5
2711 ac_compiler=`set X $ac_compile; echo $2`
2712 { (ac_try="$ac_compiler --version >&5"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compiler --version >&5") 2>&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }
2722 { (ac_try="$ac_compiler -v >&5"
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2728 (eval "$ac_compiler -v >&5") 2>&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); }
2732 { (ac_try="$ac_compiler -V >&5"
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2738 (eval "$ac_compiler -V >&5") 2>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }
2743 cat >conftest.$ac_ext <<_ACEOF
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2758 ac_clean_files_save=$ac_clean_files
2759 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2760 # Try to create an executable without -o first, disregard a.out.
2761 # It will help us diagnose broken compilers, and finding out an intuition
2763 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2764 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2765 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2767 # List of possible output files, starting from the most likely.
2768 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2769 # only as a last resort. b.out is created by i960 compilers.
2770 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2772 # The IRIX 6 linker writes into existing files which may not be
2773 # executable, retaining their permissions. Remove them first so a
2774 # subsequent execution test works.
2776 for ac_file in $ac_files
2779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2780 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2785 if { (ac_try="$ac_link_default"
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_link_default") 2>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; then
2795 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2796 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2797 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2798 # so that the user can short-circuit this test for compilers unknown to
2800 for ac_file in $ac_files ''
2802 test -f "$ac_file" || continue
2804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2807 # We found the default executable, but exeext='' is most
2811 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2813 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2815 # We set ac_cv_exeext here because the later test for it is not
2816 # safe: cross compilers may not add the suffix if given an `-o'
2817 # argument, so we may need to know it at that point already.
2818 # Even if this section looks crufty: it has the advantage of
2825 test "$ac_cv_exeext" = no && ac_cv_exeext=
2831 { echo "$as_me:$LINENO: result: $ac_file" >&5
2832 echo "${ECHO_T}$ac_file" >&6; }
2833 if test -z "$ac_file"; then
2834 echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.$ac_ext >&5
2837 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2838 See \`config.log' for more details." >&5
2839 echo "$as_me: error: C compiler cannot create executables
2840 See \`config.log' for more details." >&2;}
2841 { (exit 77); exit 77; }; }
2844 ac_exeext=$ac_cv_exeext
2846 # Check that the compiler produces executables we can run. If not, either
2847 # the compiler is broken, or we cross compile.
2848 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2849 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2850 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2851 # If not cross compiling, check that we can run a simple program.
2852 if test "$cross_compiling" != yes; then
2853 if { ac_try='./$ac_file'
2854 { (case "(($ac_try" in
2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2856 *) ac_try_echo=$ac_try;;
2858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2859 (eval "$ac_try") 2>&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2865 if test "$cross_compiling" = maybe; then
2868 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2869 If you meant to cross compile, use \`--host'.
2870 See \`config.log' for more details." >&5
2871 echo "$as_me: error: cannot run C compiled programs.
2872 If you meant to cross compile, use \`--host'.
2873 See \`config.log' for more details." >&2;}
2874 { (exit 1); exit 1; }; }
2878 { echo "$as_me:$LINENO: result: yes" >&5
2879 echo "${ECHO_T}yes" >&6; }
2881 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2882 ac_clean_files=$ac_clean_files_save
2883 # Check that the compiler produces executables we can run. If not, either
2884 # the compiler is broken, or we cross compile.
2885 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2886 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2887 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2888 echo "${ECHO_T}$cross_compiling" >&6; }
2890 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2891 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2892 if { (ac_try="$ac_link"
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898 (eval "$ac_link") 2>&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; then
2902 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2903 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2904 # work properly (i.e., refer to `conftest.exe'), while it won't with
2906 for ac_file in conftest.exe conftest conftest.*; do
2907 test -f "$ac_file" || continue
2909 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2910 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2916 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2917 See \`config.log' for more details." >&5
2918 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2919 See \`config.log' for more details." >&2;}
2920 { (exit 1); exit 1; }; }
2923 rm -f conftest$ac_cv_exeext
2924 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2925 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2927 rm -f conftest.$ac_ext
2928 EXEEXT=$ac_cv_exeext
2930 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2931 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2932 if test "${ac_cv_objext+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 cat >conftest.$ac_ext <<_ACEOF
2938 cat confdefs.h >>conftest.$ac_ext
2939 cat >>conftest.$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2950 rm -f conftest.o conftest.obj
2951 if { (ac_try="$ac_compile"
2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2957 (eval "$ac_compile") 2>&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; then
2961 for ac_file in conftest.o conftest.obj conftest.*; do
2962 test -f "$ac_file" || continue;
2964 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2965 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2970 echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2974 See \`config.log' for more details." >&5
2975 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2976 See \`config.log' for more details." >&2;}
2977 { (exit 1); exit 1; }; }
2980 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2982 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2983 echo "${ECHO_T}$ac_cv_objext" >&6; }
2984 OBJEXT=$ac_cv_objext
2986 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2987 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2988 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2989 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 cat >conftest.$ac_ext <<_ACEOF
2994 cat confdefs.h >>conftest.$ac_ext
2995 cat >>conftest.$ac_ext <<_ACEOF
2996 /* end confdefs.h. */
3009 rm -f conftest.$ac_objext
3010 if { (ac_try="$ac_compile"
3012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3016 (eval "$ac_compile") 2>conftest.er1
3018 grep -v '^ *+' conftest.er1 >conftest.err
3020 cat conftest.err >&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); } && {
3023 test -z "$ac_c_werror_flag" ||
3024 test ! -s conftest.err
3025 } && test -s conftest.$ac_objext; then
3028 echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3038 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3039 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3040 GCC=`test $ac_compiler_gnu = yes && echo yes`
3041 ac_test_CFLAGS=${CFLAGS+set}
3042 ac_save_CFLAGS=$CFLAGS
3043 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3044 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3045 if test "${ac_cv_prog_cc_g+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 ac_save_c_werror_flag=$ac_c_werror_flag
3049 ac_c_werror_flag=yes
3052 cat >conftest.$ac_ext <<_ACEOF
3055 cat confdefs.h >>conftest.$ac_ext
3056 cat >>conftest.$ac_ext <<_ACEOF
3057 /* end confdefs.h. */
3067 rm -f conftest.$ac_objext
3068 if { (ac_try="$ac_compile"
3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3074 (eval "$ac_compile") 2>conftest.er1
3076 grep -v '^ *+' conftest.er1 >conftest.err
3078 cat conftest.err >&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } && {
3081 test -z "$ac_c_werror_flag" ||
3082 test ! -s conftest.err
3083 } && test -s conftest.$ac_objext; then
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3090 cat >conftest.$ac_ext <<_ACEOF
3093 cat confdefs.h >>conftest.$ac_ext
3094 cat >>conftest.$ac_ext <<_ACEOF
3095 /* end confdefs.h. */
3105 rm -f conftest.$ac_objext
3106 if { (ac_try="$ac_compile"
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_compile") 2>conftest.er1
3114 grep -v '^ *+' conftest.er1 >conftest.err
3116 cat conftest.err >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); } && {
3119 test -z "$ac_c_werror_flag" ||
3120 test ! -s conftest.err
3121 } && test -s conftest.$ac_objext; then
3124 echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.$ac_ext >&5
3127 ac_c_werror_flag=$ac_save_c_werror_flag
3129 cat >conftest.$ac_ext <<_ACEOF
3132 cat confdefs.h >>conftest.$ac_ext
3133 cat >>conftest.$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3144 rm -f conftest.$ac_objext
3145 if { (ac_try="$ac_compile"
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3151 (eval "$ac_compile") 2>conftest.er1
3153 grep -v '^ *+' conftest.er1 >conftest.err
3155 cat conftest.err >&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); } && {
3158 test -z "$ac_c_werror_flag" ||
3159 test ! -s conftest.err
3160 } && test -s conftest.$ac_objext; then
3163 echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 ac_c_werror_flag=$ac_save_c_werror_flag
3178 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3179 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3180 if test "$ac_test_CFLAGS" = set; then
3181 CFLAGS=$ac_save_CFLAGS
3182 elif test $ac_cv_prog_cc_g = yes; then
3183 if test "$GCC" = yes; then
3189 if test "$GCC" = yes; then
3195 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3196 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3197 if test "${ac_cv_prog_cc_c89+set}" = set; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 ac_cv_prog_cc_c89=no
3202 cat >conftest.$ac_ext <<_ACEOF
3205 cat confdefs.h >>conftest.$ac_ext
3206 cat >>conftest.$ac_ext <<_ACEOF
3207 /* end confdefs.h. */
3210 #include <sys/types.h>
3211 #include <sys/stat.h>
3212 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3213 struct buf { int x; };
3214 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3215 static char *e (p, i)
3221 static char *f (char * (*g) (char **, int), char **p, ...)
3226 s = g (p, va_arg (v,int));
3231 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3232 function prototypes and stuff, but not '\xHH' hex character constants.
3233 These don't provoke an error unfortunately, instead are silently treated
3234 as 'x'. The following induces an error, until -std is added to get
3235 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3236 array size at least. It's necessary to write '\x00'==0 to get something
3237 that's true only with -std. */
3238 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3240 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3241 inside strings and character constants. */
3243 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3245 int test (int i, double x);
3246 struct s1 {int (*f) (int a);};
3247 struct s2 {int (*f) (double a);};
3248 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3254 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3259 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3260 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3262 CC="$ac_save_CC $ac_arg"
3263 rm -f conftest.$ac_objext
3264 if { (ac_try="$ac_compile"
3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3270 (eval "$ac_compile") 2>conftest.er1
3272 grep -v '^ *+' conftest.er1 >conftest.err
3274 cat conftest.err >&5
3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); } && {
3277 test -z "$ac_c_werror_flag" ||
3278 test ! -s conftest.err
3279 } && test -s conftest.$ac_objext; then
3280 ac_cv_prog_cc_c89=$ac_arg
3282 echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.$ac_ext >&5
3288 rm -f core conftest.err conftest.$ac_objext
3289 test "x$ac_cv_prog_cc_c89" != "xno" && break
3291 rm -f conftest.$ac_ext
3296 case "x$ac_cv_prog_cc_c89" in
3298 { echo "$as_me:$LINENO: result: none needed" >&5
3299 echo "${ECHO_T}none needed" >&6; } ;;
3301 { echo "$as_me:$LINENO: result: unsupported" >&5
3302 echo "${ECHO_T}unsupported" >&6; } ;;
3304 CC="$CC $ac_cv_prog_cc_c89"
3305 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3306 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3311 ac_cpp='$CPP $CPPFLAGS'
3312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3323 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3324 # On Suns, sometimes $CPP names a directory.
3325 if test -n "$CPP" && test -d "$CPP"; then
3328 if test -z "$CPP"; then
3329 if test "${ac_cv_prog_CPP+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 # Double quotes because CPP needs to be expanded
3333 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3336 for ac_c_preproc_warn_flag in '' yes
3338 # Use a header file that comes with gcc, so configuring glibc
3339 # with a fresh cross-compiler works.
3340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3341 # <limits.h> exists even on freestanding compilers.
3342 # On the NeXT, cc -E runs the code through the compiler's parser,
3343 # not just through cpp. "Syntax error" is here to catch this case.
3344 cat >conftest.$ac_ext <<_ACEOF
3347 cat confdefs.h >>conftest.$ac_ext
3348 cat >>conftest.$ac_ext <<_ACEOF
3349 /* end confdefs.h. */
3351 # include <limits.h>
3353 # include <assert.h>
3357 if { (ac_try="$ac_cpp conftest.$ac_ext"
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3365 grep -v '^ *+' conftest.er1 >conftest.err
3367 cat conftest.err >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } >/dev/null && {
3370 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3371 test ! -s conftest.err
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3378 # Broken: fails on valid input.
3382 rm -f conftest.err conftest.$ac_ext
3384 # OK, works on sane cases. Now check whether nonexistent headers
3385 # can be detected and how.
3386 cat >conftest.$ac_ext <<_ACEOF
3389 cat confdefs.h >>conftest.$ac_ext
3390 cat >>conftest.$ac_ext <<_ACEOF
3391 /* end confdefs.h. */
3392 #include <ac_nonexistent.h>
3394 if { (ac_try="$ac_cpp conftest.$ac_ext"
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3402 grep -v '^ *+' conftest.er1 >conftest.err
3404 cat conftest.err >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } >/dev/null && {
3407 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3408 test ! -s conftest.err
3410 # Broken: success on invalid input.
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3416 # Passes both tests.
3421 rm -f conftest.err conftest.$ac_ext
3424 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3425 rm -f conftest.err conftest.$ac_ext
3426 if $ac_preproc_ok; then
3438 { echo "$as_me:$LINENO: result: $CPP" >&5
3439 echo "${ECHO_T}$CPP" >&6; }
3441 for ac_c_preproc_warn_flag in '' yes
3443 # Use a header file that comes with gcc, so configuring glibc
3444 # with a fresh cross-compiler works.
3445 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3446 # <limits.h> exists even on freestanding compilers.
3447 # On the NeXT, cc -E runs the code through the compiler's parser,
3448 # not just through cpp. "Syntax error" is here to catch this case.
3449 cat >conftest.$ac_ext <<_ACEOF
3452 cat confdefs.h >>conftest.$ac_ext
3453 cat >>conftest.$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3456 # include <limits.h>
3458 # include <assert.h>
3462 if { (ac_try="$ac_cpp conftest.$ac_ext"
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3470 grep -v '^ *+' conftest.er1 >conftest.err
3472 cat conftest.err >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } >/dev/null && {
3475 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3476 test ! -s conftest.err
3480 echo "$as_me: failed program was:" >&5
3481 sed 's/^/| /' conftest.$ac_ext >&5
3483 # Broken: fails on valid input.
3487 rm -f conftest.err conftest.$ac_ext
3489 # OK, works on sane cases. Now check whether nonexistent headers
3490 # can be detected and how.
3491 cat >conftest.$ac_ext <<_ACEOF
3494 cat confdefs.h >>conftest.$ac_ext
3495 cat >>conftest.$ac_ext <<_ACEOF
3496 /* end confdefs.h. */
3497 #include <ac_nonexistent.h>
3499 if { (ac_try="$ac_cpp conftest.$ac_ext"
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3507 grep -v '^ *+' conftest.er1 >conftest.err
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } >/dev/null && {
3512 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3513 test ! -s conftest.err
3515 # Broken: success on invalid input.
3518 echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.$ac_ext >&5
3521 # Passes both tests.
3526 rm -f conftest.err conftest.$ac_ext
3529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3530 rm -f conftest.err conftest.$ac_ext
3531 if $ac_preproc_ok; then
3534 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3535 See \`config.log' for more details." >&5
3536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3537 See \`config.log' for more details." >&2;}
3538 { (exit 1); exit 1; }; }
3542 ac_cpp='$CPP $CPPFLAGS'
3543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3549 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3550 if test "${ac_cv_path_GREP+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 # Extract the first word of "grep ggrep" to use in msg output
3554 if test -z "$GREP"; then
3555 set dummy grep ggrep; ac_prog_name=$2
3556 if test "${ac_cv_path_GREP+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 ac_path_GREP_found=false
3560 # Loop through the user's path and test for each of PROGNAME-LIST
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3565 test -z "$as_dir" && as_dir=.
3566 for ac_prog in grep ggrep; do
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3569 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3570 # Check for GNU ac_path_GREP and select it if it is found.
3571 # Check for GNU $ac_path_GREP
3572 case `"$ac_path_GREP" --version 2>&1` in
3574 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3577 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3580 cat "conftest.in" "conftest.in" >"conftest.tmp"
3581 mv "conftest.tmp" "conftest.in"
3582 cp "conftest.in" "conftest.nl"
3583 echo 'GREP' >> "conftest.nl"
3584 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3586 ac_count=`expr $ac_count + 1`
3587 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3588 # Best one so far, save it but keep looking for a better one
3589 ac_cv_path_GREP="$ac_path_GREP"
3590 ac_path_GREP_max=$ac_count
3592 # 10*(2^10) chars as input seems more than enough
3593 test $ac_count -gt 10 && break
3595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3599 $ac_path_GREP_found && break 3
3609 GREP="$ac_cv_path_GREP"
3610 if test -z "$GREP"; then
3611 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3612 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3613 { (exit 1); exit 1; }; }
3617 ac_cv_path_GREP=$GREP
3622 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3623 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3624 GREP="$ac_cv_path_GREP"
3627 { echo "$as_me:$LINENO: checking for egrep" >&5
3628 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3629 if test "${ac_cv_path_EGREP+set}" = set; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3633 then ac_cv_path_EGREP="$GREP -E"
3635 # Extract the first word of "egrep" to use in msg output
3636 if test -z "$EGREP"; then
3637 set dummy egrep; ac_prog_name=$2
3638 if test "${ac_cv_path_EGREP+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 ac_path_EGREP_found=false
3642 # Loop through the user's path and test for each of PROGNAME-LIST
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3647 test -z "$as_dir" && as_dir=.
3648 for ac_prog in egrep; do
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3651 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3652 # Check for GNU ac_path_EGREP and select it if it is found.
3653 # Check for GNU $ac_path_EGREP
3654 case `"$ac_path_EGREP" --version 2>&1` in
3656 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3659 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3662 cat "conftest.in" "conftest.in" >"conftest.tmp"
3663 mv "conftest.tmp" "conftest.in"
3664 cp "conftest.in" "conftest.nl"
3665 echo 'EGREP' >> "conftest.nl"
3666 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3667 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3668 ac_count=`expr $ac_count + 1`
3669 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3670 # Best one so far, save it but keep looking for a better one
3671 ac_cv_path_EGREP="$ac_path_EGREP"
3672 ac_path_EGREP_max=$ac_count
3674 # 10*(2^10) chars as input seems more than enough
3675 test $ac_count -gt 10 && break
3677 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3681 $ac_path_EGREP_found && break 3
3691 EGREP="$ac_cv_path_EGREP"
3692 if test -z "$EGREP"; then
3693 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3694 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3695 { (exit 1); exit 1; }; }
3699 ac_cv_path_EGREP=$EGREP
3705 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3706 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3707 EGREP="$ac_cv_path_EGREP"
3711 { echo "$as_me:$LINENO: checking for AIX" >&5
3712 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3713 cat >conftest.$ac_ext <<_ACEOF
3716 cat confdefs.h >>conftest.$ac_ext
3717 cat >>conftest.$ac_ext <<_ACEOF
3718 /* end confdefs.h. */
3724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3725 $EGREP "yes" >/dev/null 2>&1; then
3726 { echo "$as_me:$LINENO: result: yes" >&5
3727 echo "${ECHO_T}yes" >&6; }
3728 cat >>confdefs.h <<\_ACEOF
3729 #define _ALL_SOURCE 1
3733 { echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6; }
3739 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3740 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3741 if test "${ac_cv_header_stdc+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 cat >conftest.$ac_ext <<_ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3763 rm -f conftest.$ac_objext
3764 if { (ac_try="$ac_compile"
3766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767 *) ac_try_echo=$ac_try;;
3769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3770 (eval "$ac_compile") 2>conftest.er1
3772 grep -v '^ *+' conftest.er1 >conftest.err
3774 cat conftest.err >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } && {
3777 test -z "$ac_c_werror_flag" ||
3778 test ! -s conftest.err
3779 } && test -s conftest.$ac_objext; then
3780 ac_cv_header_stdc=yes
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.$ac_ext >&5
3785 ac_cv_header_stdc=no
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790 if test $ac_cv_header_stdc = yes; then
3791 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3792 cat >conftest.$ac_ext <<_ACEOF
3795 cat confdefs.h >>conftest.$ac_ext
3796 cat >>conftest.$ac_ext <<_ACEOF
3797 /* end confdefs.h. */
3801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3802 $EGREP "memchr" >/dev/null 2>&1; then
3805 ac_cv_header_stdc=no
3811 if test $ac_cv_header_stdc = yes; then
3812 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3813 cat >conftest.$ac_ext <<_ACEOF
3816 cat confdefs.h >>conftest.$ac_ext
3817 cat >>conftest.$ac_ext <<_ACEOF
3818 /* end confdefs.h. */
3822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3823 $EGREP "free" >/dev/null 2>&1; then
3826 ac_cv_header_stdc=no
3832 if test $ac_cv_header_stdc = yes; then
3833 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3834 if test "$cross_compiling" = yes; then
3837 cat >conftest.$ac_ext <<_ACEOF
3840 cat confdefs.h >>conftest.$ac_ext
3841 cat >>conftest.$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3845 #if ((' ' & 0x0FF) == 0x020)
3846 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3847 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3849 # define ISLOWER(c) \
3850 (('a' <= (c) && (c) <= 'i') \
3851 || ('j' <= (c) && (c) <= 'r') \
3852 || ('s' <= (c) && (c) <= 'z'))
3853 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3856 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3861 for (i = 0; i < 256; i++)
3862 if (XOR (islower (i), ISLOWER (i))
3863 || toupper (i) != TOUPPER (i))
3868 rm -f conftest$ac_exeext
3869 if { (ac_try="$ac_link"
3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3875 (eval "$ac_link") 2>&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3879 { (case "(($ac_try" in
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3884 (eval "$ac_try") 2>&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); }; }; then
3890 echo "$as_me: program exited with status $ac_status" >&5
3891 echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.$ac_ext >&5
3895 ac_cv_header_stdc=no
3897 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3903 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3904 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3905 if test $ac_cv_header_stdc = yes; then
3907 cat >>confdefs.h <<\_ACEOF
3908 #define STDC_HEADERS 1
3913 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3923 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3924 inttypes.h stdint.h unistd.h
3926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3927 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3930 echo $ECHO_N "(cached) $ECHO_C" >&6
3932 cat >conftest.$ac_ext <<_ACEOF
3935 cat confdefs.h >>conftest.$ac_ext
3936 cat >>conftest.$ac_ext <<_ACEOF
3937 /* end confdefs.h. */
3938 $ac_includes_default
3940 #include <$ac_header>
3942 rm -f conftest.$ac_objext
3943 if { (ac_try="$ac_compile"
3945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3946 *) ac_try_echo=$ac_try;;
3948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3949 (eval "$ac_compile") 2>conftest.er1
3951 grep -v '^ *+' conftest.er1 >conftest.err
3953 cat conftest.err >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } && {
3956 test -z "$ac_c_werror_flag" ||
3957 test ! -s conftest.err
3958 } && test -s conftest.$ac_objext; then
3959 eval "$as_ac_Header=yes"
3961 echo "$as_me: failed program was:" >&5
3962 sed 's/^/| /' conftest.$ac_ext >&5
3964 eval "$as_ac_Header=no"
3967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 ac_res=`eval echo '${'$as_ac_Header'}'`
3970 { echo "$as_me:$LINENO: result: $ac_res" >&5
3971 echo "${ECHO_T}$ac_res" >&6; }
3972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3973 cat >>confdefs.h <<_ACEOF
3974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3982 if test "${ac_cv_header_minix_config_h+set}" = set; then
3983 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3984 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3985 if test "${ac_cv_header_minix_config_h+set}" = set; then
3986 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3989 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3991 # Is the header compilable?
3992 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3993 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3994 cat >conftest.$ac_ext <<_ACEOF
3997 cat confdefs.h >>conftest.$ac_ext
3998 cat >>conftest.$ac_ext <<_ACEOF
3999 /* end confdefs.h. */
4000 $ac_includes_default
4001 #include <minix/config.h>
4003 rm -f conftest.$ac_objext
4004 if { (ac_try="$ac_compile"
4006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4010 (eval "$ac_compile") 2>conftest.er1
4012 grep -v '^ *+' conftest.er1 >conftest.err
4014 cat conftest.err >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); } && {
4017 test -z "$ac_c_werror_flag" ||
4018 test ! -s conftest.err
4019 } && test -s conftest.$ac_objext; then
4020 ac_header_compiler=yes
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.$ac_ext >&5
4025 ac_header_compiler=no
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4030 echo "${ECHO_T}$ac_header_compiler" >&6; }
4032 # Is the header present?
4033 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4034 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4035 cat >conftest.$ac_ext <<_ACEOF
4038 cat confdefs.h >>conftest.$ac_ext
4039 cat >>conftest.$ac_ext <<_ACEOF
4040 /* end confdefs.h. */
4041 #include <minix/config.h>
4043 if { (ac_try="$ac_cpp conftest.$ac_ext"
4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4049 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4051 grep -v '^ *+' conftest.er1 >conftest.err
4053 cat conftest.err >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } >/dev/null && {
4056 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4057 test ! -s conftest.err
4059 ac_header_preproc=yes
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4064 ac_header_preproc=no
4067 rm -f conftest.err conftest.$ac_ext
4068 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4069 echo "${ECHO_T}$ac_header_preproc" >&6; }
4071 # So? What about this header?
4072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4074 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4075 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4076 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4077 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4078 ac_header_preproc=yes
4081 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4082 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4083 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4084 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4085 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4086 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4087 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4088 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4089 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4090 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4091 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4092 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4094 ## ------------------------------- ##
4095 ## Report this to www.asterisk.org ##
4096 ## ------------------------------- ##
4098 ) | sed "s/^/$as_me: WARNING: /" >&2
4101 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4102 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4103 if test "${ac_cv_header_minix_config_h+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 ac_cv_header_minix_config_h=$ac_header_preproc
4108 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4109 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4112 if test $ac_cv_header_minix_config_h = yes; then
4119 if test "$MINIX" = yes; then
4121 cat >>confdefs.h <<\_ACEOF
4122 #define _POSIX_SOURCE 1
4126 cat >>confdefs.h <<\_ACEOF
4127 #define _POSIX_1_SOURCE 2
4131 cat >>confdefs.h <<\_ACEOF
4147 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4148 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4149 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 cat >conftest.$ac_ext <<_ACEOF
4155 cat confdefs.h >>conftest.$ac_ext
4156 cat >>conftest.$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4159 # define __EXTENSIONS__ 1
4160 $ac_includes_default
4169 rm -f conftest.$ac_objext
4170 if { (ac_try="$ac_compile"
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4176 (eval "$ac_compile") 2>conftest.er1
4178 grep -v '^ *+' conftest.er1 >conftest.err
4180 cat conftest.err >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); } && {
4183 test -z "$ac_c_werror_flag" ||
4184 test ! -s conftest.err
4185 } && test -s conftest.$ac_objext; then
4186 ac_cv_safe_to_define___extensions__=yes
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4191 ac_cv_safe_to_define___extensions__=no
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4196 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4197 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4198 test $ac_cv_safe_to_define___extensions__ = yes &&
4199 cat >>confdefs.h <<\_ACEOF
4200 #define __EXTENSIONS__ 1
4203 cat >>confdefs.h <<\_ACEOF
4204 #define _POSIX_PTHREAD_SEMANTICS 1
4207 cat >>confdefs.h <<\_ACEOF
4208 #define _TANDEM_SOURCE 1
4211 # note- does not work on FreeBSD
4213 case "${host_os}" in
4215 ac_default_prefix=/usr/local
4216 CPPFLAGS=-I/usr/local/include
4217 LDFLAGS=-L/usr/local/lib
4220 ac_default_prefix=/usr/local
4221 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4222 if test ${sysconfdir} = '${prefix}/etc'; then
4225 if test ${mandir} = '${prefix}/man'; then
4226 mandir=/usr/share/man
4229 CPPFLAGS=-I/usr/local/include
4230 LDFLAGS=-L/usr/local/lib
4234 cat >>confdefs.h <<\_ACEOF
4235 #define AST_POLL_COMPAT 1
4240 ac_default_prefix=/usr
4241 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4242 if test ${sysconfdir} = '${prefix}/etc'; then
4245 if test ${mandir} = '${prefix}/man'; then
4246 mandir=/usr/share/man
4252 if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
4253 if test ${localstatedir} = '${prefix}/var'; then
4258 BUILD_PLATFORM=${build}
4259 BUILD_CPU=${build_cpu}
4260 BUILD_VENDOR=${build_vendor}
4261 BUILD_OS=${build_os}
4268 HOST_PLATFORM=${host}
4269 HOST_CPU=${host_cpu}
4270 HOST_VENDOR=${host_vendor}
4280 case "${host_os}" in
4313 if test -n "$ac_tool_prefix"; then
4314 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4315 set dummy ${ac_tool_prefix}uname; ac_word=$2
4316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4318 if test "${ac_cv_path_UNAME+set}" = set; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4333 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 UNAME=$ac_cv_path_UNAME
4345 if test -n "$UNAME"; then
4346 { echo "$as_me:$LINENO: result: $UNAME" >&5
4347 echo "${ECHO_T}$UNAME" >&6; }
4349 { echo "$as_me:$LINENO: result: no" >&5
4350 echo "${ECHO_T}no" >&6; }
4355 if test -z "$ac_cv_path_UNAME"; then
4357 # Extract the first word of "uname", so it can be a program name with args.
4358 set dummy uname; ac_word=$2
4359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4361 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4362 echo $ECHO_N "(cached) $ECHO_C" >&6
4364 case $ac_pt_UNAME in
4366 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir=.
4374 for ac_exec_ext in '' $ac_executable_extensions; do
4375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4388 if test -n "$ac_pt_UNAME"; then
4389 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4390 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4392 { echo "$as_me:$LINENO: result: no" >&5
4393 echo "${ECHO_T}no" >&6; }
4396 if test "x$ac_pt_UNAME" = x; then
4399 case $cross_compiling:$ac_tool_warned in
4401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4402 whose name does not start with the host triplet. If you think this
4403 configuration is useful to you, please write to autoconf@gnu.org." >&5
4404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4405 whose name does not start with the host triplet. If you think this
4406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4407 ac_tool_warned=yes ;;
4412 UNAME="$ac_cv_path_UNAME"
4415 if test ! x"${UNAME}" = xNo; then
4416 PBX_OSREV=$(${UNAME} -r)
4426 # cross-compile checks
4427 if test "${cross_compiling}" = "yes";
4429 if test -n "$ac_tool_prefix"; then
4430 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4431 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4434 if test "${ac_cv_prog_CC+set}" = set; then
4435 echo $ECHO_N "(cached) $ECHO_C" >&6
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC="$CC" # Let the user override the test.
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 if test -n "$CC"; then
4459 { echo "$as_me:$LINENO: result: $CC" >&5
4460 echo "${ECHO_T}$CC" >&6; }
4462 { echo "$as_me:$LINENO: result: no" >&5
4463 echo "${ECHO_T}no" >&6; }
4468 if test -z "$ac_cv_prog_CC"; then
4470 # Extract the first word of "gcc", so it can be a program name with args.
4471 set dummy gcc; ac_word=$2
4472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 if test -n "$ac_ct_CC"; then
4478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4487 ac_cv_prog_ac_ct_CC="gcc"
4488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4498 if test -n "$ac_ct_CC"; then
4499 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4500 echo "${ECHO_T}$ac_ct_CC" >&6; }
4502 { echo "$as_me:$LINENO: result: no" >&5
4503 echo "${ECHO_T}no" >&6; }
4506 if test "x$ac_ct_CC" = x; then
4509 case $cross_compiling:$ac_tool_warned in
4511 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4512 whose name does not start with the host triplet. If you think this
4513 configuration is useful to you, please write to autoconf@gnu.org." >&5
4514 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4515 whose name does not start with the host triplet. If you think this
4516 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4517 ac_tool_warned=yes ;;
4525 if test -n "$ac_tool_prefix"; then
4526 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4527 set dummy ${ac_tool_prefix}g++; ac_word=$2
4528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4530 if test "${ac_cv_prog_CXX+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$CXX"; then
4534 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir=.
4541 for ac_exec_ext in '' $ac_executable_extensions; do
4542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4543 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 if test -n "$CXX"; then
4555 { echo "$as_me:$LINENO: result: $CXX" >&5
4556 echo "${ECHO_T}$CXX" >&6; }
4558 { echo "$as_me:$LINENO: result: no" >&5
4559 echo "${ECHO_T}no" >&6; }
4564 if test -z "$ac_cv_prog_CXX"; then
4566 # Extract the first word of "g++", so it can be a program name with args.
4567 set dummy g++; ac_word=$2
4568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4570 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 if test -n "$ac_ct_CXX"; then
4574 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4583 ac_cv_prog_ac_ct_CXX="g++"
4584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4594 if test -n "$ac_ct_CXX"; then
4595 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4596 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4598 { echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6; }
4602 if test "x$ac_ct_CXX" = x; then
4605 case $cross_compiling:$ac_tool_warned in
4607 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4608 whose name does not start with the host triplet. If you think this
4609 configuration is useful to you, please write to autoconf@gnu.org." >&5
4610 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4611 whose name does not start with the host triplet. If you think this
4612 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4613 ac_tool_warned=yes ;;
4618 CXX="$ac_cv_prog_CXX"
4621 if test -n "$ac_tool_prefix"; then
4622 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4623 set dummy ${ac_tool_prefix}ld; ac_word=$2
4624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4626 if test "${ac_cv_prog_LD+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 if test -n "$LD"; then
4630 ac_cv_prog_LD="$LD" # Let the user override the test.
4632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4636 test -z "$as_dir" && as_dir=.
4637 for ac_exec_ext in '' $ac_executable_extensions; do
4638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4639 ac_cv_prog_LD="${ac_tool_prefix}ld"
4640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 if test -n "$LD"; then
4651 { echo "$as_me:$LINENO: result: $LD" >&5
4652 echo "${ECHO_T}$LD" >&6; }
4654 { echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6; }
4660 if test -z "$ac_cv_prog_LD"; then
4662 # Extract the first word of "ld", so it can be a program name with args.
4663 set dummy ld; 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_ac_ct_LD+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 if test -n "$ac_ct_LD"; then
4670 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # 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_ac_ct_LD="ld"
4680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4690 if test -n "$ac_ct_LD"; then
4691 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4692 echo "${ECHO_T}$ac_ct_LD" >&6; }
4694 { echo "$as_me:$LINENO: result: no" >&5
4695 echo "${ECHO_T}no" >&6; }
4698 if test "x$ac_ct_LD" = x; then
4701 case $cross_compiling:$ac_tool_warned in
4703 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4704 whose name does not start with the host triplet. If you think this
4705 configuration is useful to you, please write to autoconf@gnu.org." >&5
4706 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4707 whose name does not start with the host triplet. If you think this
4708 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4709 ac_tool_warned=yes ;;
4717 if test -n "$ac_tool_prefix"; then
4718 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4719 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4722 if test "${ac_cv_prog_RANLIB+set}" = set; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4725 if test -n "$RANLIB"; then
4726 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir=.