2 # From configure.ac Revision: 263724 .
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
904 PRI_HANGUP_FIX_INCLUDE
912 PRI_CALL_HOLD_INCLUDE
915 PRI_CALL_REROUTING_LIB
916 PRI_CALL_REROUTING_INCLUDE
917 PRI_CALL_REROUTING_DIR
918 PBX_PRI_CALL_REROUTING
920 PRI_SETUP_KEYPAD_INCLUDE
923 PRI_INBANDDISCONNECT_LIB
924 PRI_INBANDDISCONNECT_INCLUDE
925 PRI_INBANDDISCONNECT_DIR
926 PBX_PRI_INBANDDISCONNECT
928 PRI_PROG_W_CAUSE_INCLUDE
931 PRI_SERVICE_MESSAGES_LIB
932 PRI_SERVICE_MESSAGES_INCLUDE
933 PRI_SERVICE_MESSAGES_DIR
934 PBX_PRI_SERVICE_MESSAGES
935 PRI_REVERSE_CHARGE_LIB
936 PRI_REVERSE_CHARGE_INCLUDE
937 PRI_REVERSE_CHARGE_DIR
938 PBX_PRI_REVERSE_CHARGE
985 SPEEX_PREPROCESS_INCLUDE
1057 PBX_PTHREAD_RWLOCK_INITIALIZER
1058 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
1061 AST_DECLARATION_AFTER_STATEMENT
1063 AST_NO_STRICT_OVERFLOW
1071 PBX_MISDN_FAC_RESULT
1100 GENERIC_ODBC_INCLUDE
1102 PBX_SYSLOG_FACILITY_LOG_AUTH
1103 PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
1104 PBX_SYSLOG_FACILITY_LOG_CRON
1105 PBX_SYSLOG_FACILITY_LOG_DAEMON
1106 PBX_SYSLOG_FACILITY_LOG_FTP
1107 PBX_SYSLOG_FACILITY_LOG_KERN
1108 PBX_SYSLOG_FACILITY_LOG_LPR
1109 PBX_SYSLOG_FACILITY_LOG_MAIL
1110 PBX_SYSLOG_FACILITY_LOG_NEWS
1111 PBX_SYSLOG_FACILITY_LOG_SYSLOG
1112 PBX_SYSLOG_FACILITY_LOG_UUCP
1116 ac_precious_vars='build_alias
1131 # Initialize some variables set by options.
1133 ac_init_version=false
1134 # The variables have the same names as the options, with
1135 # dashes changed to underlines.
1136 cache_file=/dev/null
1143 program_transform_name=s,x,x,
1151 # Installation directory options.
1152 # These are left unexpanded so users can "make install exec_prefix=/foo"
1153 # and all the variables that are supposed to be based on exec_prefix
1154 # by default will actually change.
1155 # Use braces instead of parens because sh, perl, etc. also accept them.
1156 # (The list follows the same order as the GNU Coding Standards.)
1157 bindir='${exec_prefix}/bin'
1158 sbindir='${exec_prefix}/sbin'
1159 libexecdir='${exec_prefix}/libexec'
1160 datarootdir='${prefix}/share'
1161 datadir='${datarootdir}'
1162 sysconfdir='${prefix}/etc'
1163 sharedstatedir='${prefix}/com'
1164 localstatedir='${prefix}/var'
1165 includedir='${prefix}/include'
1166 oldincludedir='/usr/include'
1167 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1168 infodir='${datarootdir}/info'
1173 libdir='${exec_prefix}/lib'
1174 localedir='${datarootdir}/locale'
1175 mandir='${datarootdir}/man'
1181 # If the previous option needs an argument, assign it.
1182 if test -n "$ac_prev"; then
1183 eval $ac_prev=\$ac_option
1189 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1193 # Accept the important Cygnus configure options, so we can diagnose typos.
1195 case $ac_dashdash$ac_option in
1199 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1201 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1202 bindir=$ac_optarg ;;
1204 -build | --build | --buil | --bui | --bu)
1205 ac_prev=build_alias ;;
1206 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1207 build_alias=$ac_optarg ;;
1209 -cache-file | --cache-file | --cache-fil | --cache-fi \
1210 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1211 ac_prev=cache_file ;;
1212 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1213 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1214 cache_file=$ac_optarg ;;
1216 --config-cache | -C)
1217 cache_file=config.cache ;;
1219 -datadir | --datadir | --datadi | --datad)
1221 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1222 datadir=$ac_optarg ;;
1224 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1225 | --dataroo | --dataro | --datar)
1226 ac_prev=datarootdir ;;
1227 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1228 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1229 datarootdir=$ac_optarg ;;
1231 -disable-* | --disable-*)
1232 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1235 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1236 { (exit 1); exit 1; }; }
1237 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1238 eval enable_$ac_feature=no ;;
1240 -docdir | --docdir | --docdi | --doc | --do)
1242 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1243 docdir=$ac_optarg ;;
1245 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1247 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1248 dvidir=$ac_optarg ;;
1250 -enable-* | --enable-*)
1251 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1252 # Reject names that are not valid shell variable names.
1253 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1254 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1255 { (exit 1); exit 1; }; }
1256 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1257 eval enable_$ac_feature=\$ac_optarg ;;
1259 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1260 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1261 | --exec | --exe | --ex)
1262 ac_prev=exec_prefix ;;
1263 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1264 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1265 | --exec=* | --exe=* | --ex=*)
1266 exec_prefix=$ac_optarg ;;
1268 -gas | --gas | --ga | --g)
1269 # Obsolete; use --with-gas.
1272 -help | --help | --hel | --he | -h)
1273 ac_init_help=long ;;
1274 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1275 ac_init_help=recursive ;;
1276 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1277 ac_init_help=short ;;
1279 -host | --host | --hos | --ho)
1280 ac_prev=host_alias ;;
1281 -host=* | --host=* | --hos=* | --ho=*)
1282 host_alias=$ac_optarg ;;
1284 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1286 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1288 htmldir=$ac_optarg ;;
1290 -includedir | --includedir | --includedi | --included | --include \
1291 | --includ | --inclu | --incl | --inc)
1292 ac_prev=includedir ;;
1293 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1294 | --includ=* | --inclu=* | --incl=* | --inc=*)
1295 includedir=$ac_optarg ;;
1297 -infodir | --infodir | --infodi | --infod | --info | --inf)
1299 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1300 infodir=$ac_optarg ;;
1302 -libdir | --libdir | --libdi | --libd)
1304 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1305 libdir=$ac_optarg ;;
1307 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1308 | --libexe | --libex | --libe)
1309 ac_prev=libexecdir ;;
1310 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1311 | --libexe=* | --libex=* | --libe=*)
1312 libexecdir=$ac_optarg ;;
1314 -localedir | --localedir | --localedi | --localed | --locale)
1315 ac_prev=localedir ;;
1316 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1317 localedir=$ac_optarg ;;
1319 -localstatedir | --localstatedir | --localstatedi | --localstated \
1320 | --localstate | --localstat | --localsta | --localst | --locals)
1321 ac_prev=localstatedir ;;
1322 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1323 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1324 localstatedir=$ac_optarg ;;
1326 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1328 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1329 mandir=$ac_optarg ;;
1331 -nfp | --nfp | --nf)
1332 # Obsolete; use --without-fp.
1335 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1336 | --no-cr | --no-c | -n)
1339 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1340 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1343 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1344 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1345 | --oldin | --oldi | --old | --ol | --o)
1346 ac_prev=oldincludedir ;;
1347 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1348 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1349 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1350 oldincludedir=$ac_optarg ;;
1352 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1354 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1355 prefix=$ac_optarg ;;
1357 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1358 | --program-pre | --program-pr | --program-p)
1359 ac_prev=program_prefix ;;
1360 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1361 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1362 program_prefix=$ac_optarg ;;
1364 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1365 | --program-suf | --program-su | --program-s)
1366 ac_prev=program_suffix ;;
1367 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1368 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1369 program_suffix=$ac_optarg ;;
1371 -program-transform-name | --program-transform-name \
1372 | --program-transform-nam | --program-transform-na \
1373 | --program-transform-n | --program-transform- \
1374 | --program-transform | --program-transfor \
1375 | --program-transfo | --program-transf \
1376 | --program-trans | --program-tran \
1377 | --progr-tra | --program-tr | --program-t)
1378 ac_prev=program_transform_name ;;
1379 -program-transform-name=* | --program-transform-name=* \
1380 | --program-transform-nam=* | --program-transform-na=* \
1381 | --program-transform-n=* | --program-transform-=* \
1382 | --program-transform=* | --program-transfor=* \
1383 | --program-transfo=* | --program-transf=* \
1384 | --program-trans=* | --program-tran=* \
1385 | --progr-tra=* | --program-tr=* | --program-t=*)
1386 program_transform_name=$ac_optarg ;;
1388 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1390 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1391 pdfdir=$ac_optarg ;;
1393 -psdir | --psdir | --psdi | --psd | --ps)
1395 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1398 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1399 | -silent | --silent | --silen | --sile | --sil)
1402 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1404 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1406 sbindir=$ac_optarg ;;
1408 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1409 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1410 | --sharedst | --shareds | --shared | --share | --shar \
1412 ac_prev=sharedstatedir ;;
1413 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1414 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1415 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1417 sharedstatedir=$ac_optarg ;;
1419 -site | --site | --sit)
1421 -site=* | --site=* | --sit=*)
1424 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1426 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1427 srcdir=$ac_optarg ;;
1429 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1430 | --syscon | --sysco | --sysc | --sys | --sy)
1431 ac_prev=sysconfdir ;;
1432 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1433 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1434 sysconfdir=$ac_optarg ;;
1436 -target | --target | --targe | --targ | --tar | --ta | --t)
1437 ac_prev=target_alias ;;
1438 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1439 target_alias=$ac_optarg ;;
1441 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1444 -version | --version | --versio | --versi | --vers | -V)
1445 ac_init_version=: ;;
1448 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\$ac_optarg ;;
1456 -without-* | --without-*)
1457 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid package name: $ac_package" >&2
1461 { (exit 1); exit 1; }; }
1462 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1463 eval with_$ac_package=no ;;
1466 # Obsolete; use --with-x.
1469 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1470 | --x-incl | --x-inc | --x-in | --x-i)
1471 ac_prev=x_includes ;;
1472 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1473 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1474 x_includes=$ac_optarg ;;
1476 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1477 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1478 ac_prev=x_libraries ;;
1479 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1480 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1481 x_libraries=$ac_optarg ;;
1483 -*) { echo "$as_me: error: unrecognized option: $ac_option
1484 Try \`$0 --help' for more information." >&2
1485 { (exit 1); exit 1; }; }
1489 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1490 # Reject names that are not valid shell variable names.
1491 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1492 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1493 { (exit 1); exit 1; }; }
1494 eval $ac_envvar=\$ac_optarg
1495 export $ac_envvar ;;
1498 # FIXME: should be removed in autoconf 3.0.
1499 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1500 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1501 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1502 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1508 if test -n "$ac_prev"; then
1509 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1510 { echo "$as_me: error: missing argument to $ac_option" >&2
1511 { (exit 1); exit 1; }; }
1514 # Be sure to have absolute directory names.
1515 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1516 datadir sysconfdir sharedstatedir localstatedir includedir \
1517 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1518 libdir localedir mandir
1520 eval ac_val=\$$ac_var
1522 [\\/$]* | ?:[\\/]* ) continue;;
1523 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1525 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1526 { (exit 1); exit 1; }; }
1529 # There might be people who depend on the old broken behavior: `$host'
1530 # used to hold the argument of --host etc.
1531 # FIXME: To remove some day.
1534 target=$target_alias
1536 # FIXME: To remove some day.
1537 if test "x$host_alias" != x; then
1538 if test "x$build_alias" = x; then
1539 cross_compiling=maybe
1540 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1541 If a cross compiler is detected then cross compile mode will be used." >&2
1542 elif test "x$build_alias" != "x$host_alias"; then
1548 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1550 test "$silent" = yes && exec 6>/dev/null
1553 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1554 ac_ls_di=`ls -di .` &&
1555 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1556 { echo "$as_me: error: Working directory cannot be determined" >&2
1557 { (exit 1); exit 1; }; }
1558 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1559 { echo "$as_me: error: pwd does not report name of working directory" >&2
1560 { (exit 1); exit 1; }; }
1563 # Find the source files, if location was not specified.
1564 if test -z "$srcdir"; then
1565 ac_srcdir_defaulted=yes
1566 # Try the directory containing this script, then the parent directory.
1567 ac_confdir=`$as_dirname -- "$0" ||
1568 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1569 X"$0" : 'X\(//\)[^/]' \| \
1570 X"$0" : 'X\(//\)$' \| \
1571 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1591 if test ! -r "$srcdir/$ac_unique_file"; then
1595 ac_srcdir_defaulted=no
1597 if test ! -r "$srcdir/$ac_unique_file"; then
1598 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1599 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1600 { (exit 1); exit 1; }; }
1602 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1604 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1605 { (exit 1); exit 1; }; }
1607 # When building in place, set srcdir=.
1608 if test "$ac_abs_confdir" = "$ac_pwd"; then
1611 # Remove unnecessary trailing slashes from srcdir.
1612 # Double slashes in file names in object file debugging info
1613 # mess up M-x gdb in Emacs.
1615 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1617 for ac_var in $ac_precious_vars; do
1618 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1619 eval ac_env_${ac_var}_value=\$${ac_var}
1620 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1621 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1625 # Report the --help message.
1627 if test "$ac_init_help" = "long"; then
1628 # Omit some internal or obsolete options to make the list less imposing.
1629 # This message is too long to be a string in the A/UX 3.1 sh.
1631 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1633 Usage: $0 [OPTION]... [VAR=VALUE]...
1635 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1636 VAR=VALUE. See below for descriptions of some of the useful variables.
1638 Defaults for the options are specified in brackets.
1641 -h, --help display this help and exit
1642 --help=short display options specific to this package
1643 --help=recursive display the short help of all the included packages
1644 -V, --version display version information and exit
1645 -q, --quiet, --silent do not print \`checking...' messages
1646 --cache-file=FILE cache test results in FILE [disabled]
1647 -C, --config-cache alias for \`--cache-file=config.cache'
1648 -n, --no-create do not create output files
1649 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1651 Installation directories:
1652 --prefix=PREFIX install architecture-independent files in PREFIX
1653 [$ac_default_prefix]
1654 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1657 By default, \`make install' will install all the files in
1658 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1659 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1660 for instance \`--prefix=\$HOME'.
1662 For better control, use the options below.
1664 Fine tuning of the installation directories:
1665 --bindir=DIR user executables [EPREFIX/bin]
1666 --sbindir=DIR system admin executables [EPREFIX/sbin]
1667 --libexecdir=DIR program executables [EPREFIX/libexec]
1668 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1669 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1670 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1671 --libdir=DIR object code libraries [EPREFIX/lib]
1672 --includedir=DIR C header files [PREFIX/include]
1673 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1674 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1675 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1676 --infodir=DIR info documentation [DATAROOTDIR/info]
1677 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1678 --mandir=DIR man documentation [DATAROOTDIR/man]
1679 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1680 --htmldir=DIR html documentation [DOCDIR]
1681 --dvidir=DIR dvi documentation [DOCDIR]
1682 --pdfdir=DIR pdf documentation [DOCDIR]
1683 --psdir=DIR ps documentation [DOCDIR]
1689 --build=BUILD configure for building on BUILD [guessed]
1690 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1694 if test -n "$ac_init_help"; then
1695 case $ac_init_help in
1696 short | recursive ) echo "Configuration of asterisk 1.6:";;
1701 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1702 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1703 --enable-dev-mode Turn on developer mode
1704 --disable-largefile omit support for large files
1705 --enable-internal-poll Use Asterisk's poll implementation
1706 --disable-xmldoc Explicity disable XML documentation
1709 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1710 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1711 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1712 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1713 --with-execinfo=PATH use Stack Backtrace files in PATH
1714 --with-bluetooth=PATH use Bluetooth files in PATH
1715 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1716 --with-curl=PATH use cURL files in PATH
1717 --with-curses=PATH use curses files in PATH
1718 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1719 --with-dahdi=PATH use DAHDI files in PATH
1720 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
1721 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
1723 --with-gtk2=PATH use gtk2 files in PATH
1724 --with-gmime=PATH use GMime files in PATH
1725 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1726 --with-ical=PATH use iCal files in PATH
1727 --with-iconv=PATH use Iconv files in PATH
1728 --with-iksemel=PATH use Iksemel Jabber files in PATH
1729 --with-imap=PATH use UW IMAP Toolkit files in PATH
1730 --with-inotify=PATH use inotify support files in PATH
1731 --with-iodbc=PATH use iODBC files in PATH
1732 --with-isdnnet=PATH use ISDN4Linux files in PATH
1733 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1734 --with-kqueue=PATH use kqueue support files in PATH
1735 --with-ldap=PATH use OpenLDAP files in PATH
1736 --with-libxml2=PATH use LibXML2 files in PATH
1737 --with-ltdl=PATH use libtool files in PATH
1738 --with-lua=PATH use Lua files in PATH
1739 --with-misdn=PATH use mISDN user files in PATH
1740 --with-mysqlclient=PATH use MySQL client files in PATH
1741 --with-nbs=PATH use Network Broadcast Sound files in PATH
1742 --with-ncurses=PATH use ncurses files in PATH
1743 --with-neon=PATH use neon files in PATH
1744 --with-netsnmp=PATH use Net-SNMP files in PATH
1745 --with-newt=PATH use newt files in PATH
1746 --with-ogg=PATH use OGG files in PATH
1747 --with-osptk=PATH use OSP Toolkit files in PATH
1748 --with-oss=PATH use Open Sound System files in PATH
1749 --with-postgres=PATH use PostgreSQL files in PATH
1750 --with-popt=PATH use popt files in PATH
1751 --with-portaudio=PATH use PortAudio files in PATH
1752 --with-pri=PATH use ISDN PRI files in PATH
1753 --with-resample=PATH use LIBRESAMPLE files in PATH
1754 --with-sounds-cache=PATH
1755 use cached sound tarfiles in PATH
1756 --with-spandsp=PATH use SPANDSP files in PATH
1757 --with-ss7=PATH use ISDN SS7 files in PATH
1758 --with-openr2=PATH use MFR2 files in PATH
1759 --with-pwlib=PATH use PWlib files in PATH
1760 --with-h323=PATH use OpenH323 files in PATH
1761 --with-radius=PATH use Radius Client files in PATH
1762 --with-sdl=PATH use Sdl files in PATH
1763 --with-SDL_image=PATH use Sdl Image files in PATH
1764 --with-openais=PATH use OpenAIS files in PATH
1765 --with-speex=PATH use Speex files in PATH
1766 --with-speex=PATH use Speex preprocess routines files in PATH
1767 --with-speexdsp=PATH use SpeexDSP files in PATH
1768 --with-sqlite=PATH use SQLite files in PATH
1769 --with-sqlite3=PATH use SQLite files in PATH
1770 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1771 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
1772 --with-tds=PATH use FreeTDS files in PATH
1773 --with-termcap=PATH use Termcap files in PATH
1774 --with-tinfo=PATH use Term Info files in PATH
1775 --with-tonezone=PATH use tonezone files in PATH
1776 --with-unixodbc=PATH use unixODBC files in PATH
1777 --with-usb=PATH use usb files in PATH
1778 --with-vorbis=PATH use Vorbis files in PATH
1779 --with-vpb=PATH use Voicetronix API files in PATH
1780 --with-x11=PATH use X11 files in PATH
1781 --with-z=PATH use zlib compression files in PATH
1782 --with-timerfd=PATH use timerfd files in PATH
1783 --with-libcurl=DIR look for the curl library in DIR
1785 Some influential environment variables:
1786 CC C compiler command
1787 CFLAGS C compiler flags
1788 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1789 nonstandard directory <lib dir>
1790 LIBS libraries to pass to the linker, e.g. -l<library>
1791 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1792 you have headers in a nonstandard directory <include dir>
1794 CXX C++ compiler command
1795 CXXFLAGS C++ compiler flags
1796 CXXCPP C++ preprocessor
1798 Use these variables to override the choices made by `configure' or to help
1799 it to find libraries and programs with nonstandard names/locations.
1801 Report bugs to <www.asterisk.org>.
1806 if test "$ac_init_help" = "recursive"; then
1807 # If there are subdirs, report their specific --help.
1808 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1809 test -d "$ac_dir" || continue
1813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1815 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1816 # A ".." for each directory in $ac_dir_suffix.
1817 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1818 case $ac_top_builddir_sub in
1819 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1820 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1823 ac_abs_top_builddir=$ac_pwd
1824 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1825 # for backward compatibility:
1826 ac_top_builddir=$ac_top_build_prefix
1829 .) # We are building in place.
1831 ac_top_srcdir=$ac_top_builddir_sub
1832 ac_abs_top_srcdir=$ac_pwd ;;
1833 [\\/]* | ?:[\\/]* ) # Absolute name.
1834 ac_srcdir=$srcdir$ac_dir_suffix;
1835 ac_top_srcdir=$srcdir
1836 ac_abs_top_srcdir=$srcdir ;;
1838 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1839 ac_top_srcdir=$ac_top_build_prefix$srcdir
1840 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1844 cd "$ac_dir" || { ac_status=$?; continue; }
1845 # Check for guested configure.
1846 if test -f "$ac_srcdir/configure.gnu"; then
1848 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1849 elif test -f "$ac_srcdir/configure"; then
1851 $SHELL "$ac_srcdir/configure" --help=recursive
1853 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1855 cd "$ac_pwd" || { ac_status=$?; break; }
1859 test -n "$ac_init_help" && exit $ac_status
1860 if $ac_init_version; then
1862 asterisk configure 1.6
1863 generated by GNU Autoconf 2.61
1865 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1866 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1867 This configure script is free software; the Free Software Foundation
1868 gives unlimited permission to copy, distribute and modify it.
1874 cat >config.log <<_ACEOF
1875 This file contains any messages produced by compilers while
1876 running configure, to aid debugging if configure makes a mistake.
1878 It was created by asterisk $as_me 1.6, which was
1879 generated by GNU Autoconf 2.61. Invocation command line was
1891 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1892 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1893 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1894 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1895 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1897 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1898 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1900 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1901 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1902 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1903 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1904 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1905 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1906 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914 test -z "$as_dir" && as_dir=.
1915 echo "PATH: $as_dir"
1931 # Keep a trace of the command line.
1932 # Strip out --no-create and --no-recursion so they do not pile up.
1933 # Strip out --silent because we don't want to record it for future runs.
1934 # Also quote any args containing shell meta-characters.
1935 # Make two passes to allow for proper duplicate-argument suppression.
1939 ac_must_keep_next=false
1945 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1947 | -silent | --silent | --silen | --sile | --sil)
1950 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1953 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1955 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1956 if test $ac_must_keep_next = true; then
1957 ac_must_keep_next=false # Got value, back to normal.
1960 *=* | --config-cache | -C | -disable-* | --disable-* \
1961 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1962 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1963 | -with-* | --with-* | -without-* | --without-* | --x)
1964 case "$ac_configure_args0 " in
1965 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1968 -* ) ac_must_keep_next=true ;;
1971 ac_configure_args="$ac_configure_args '$ac_arg'"
1976 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1977 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1979 # When interrupted or exit'd, cleanup temporary files, and complete
1980 # config.log. We remove comments because anyway the quotes in there
1981 # would cause problems or look ugly.
1982 # WARNING: Use '\'' to represent an apostrophe within the trap.
1983 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1984 trap 'exit_status=$?
1985 # Save into config.log some information that might help in debugging.
1990 ## ---------------- ##
1991 ## Cache variables. ##
1992 ## ---------------- ##
1995 # The following way of writing the cache mishandles newlines in values,
1997 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998 eval ac_val=\$$ac_var
2002 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2003 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2006 _ | IFS | as_nl) ;; #(
2007 *) $as_unset $ac_var ;;
2012 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2013 *${as_nl}ac_space=\ *)
2015 "s/'\''/'\''\\\\'\'''\''/g;
2016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2027 ## ----------------- ##
2028 ## Output variables. ##
2029 ## ----------------- ##
2032 for ac_var in $ac_subst_vars
2034 eval ac_val=\$$ac_var
2036 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2038 echo "$ac_var='\''$ac_val'\''"
2042 if test -n "$ac_subst_files"; then
2044 ## ------------------- ##
2045 ## File substitutions. ##
2046 ## ------------------- ##
2049 for ac_var in $ac_subst_files
2051 eval ac_val=\$$ac_var
2053 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2055 echo "$ac_var='\''$ac_val'\''"
2060 if test -s confdefs.h; then
2070 test "$ac_signal" != 0 &&
2071 echo "$as_me: caught signal $ac_signal"
2072 echo "$as_me: exit $exit_status"
2074 rm -f core *.core core.conftest.* &&
2075 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2078 for ac_signal in 1 2 13 15; do
2079 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2083 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2084 rm -f -r conftest* confdefs.h
2086 # Predefined preprocessor variables.
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_NAME "$PACKAGE_NAME"
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2103 cat >>confdefs.h <<_ACEOF
2104 #define PACKAGE_STRING "$PACKAGE_STRING"
2108 cat >>confdefs.h <<_ACEOF
2109 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2113 # Let the site file select an alternate cache file if it wants to.
2114 # Prefer explicitly selected file to automatically selected ones.
2115 if test -n "$CONFIG_SITE"; then
2116 set x "$CONFIG_SITE"
2117 elif test "x$prefix" != xNONE; then
2118 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2120 set x "$ac_default_prefix/share/config.site" \
2121 "$ac_default_prefix/etc/config.site"
2126 if test -r "$ac_site_file"; then
2127 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2128 echo "$as_me: loading site script $ac_site_file" >&6;}
2129 sed 's/^/| /' "$ac_site_file" >&5
2134 if test -r "$cache_file"; then
2135 # Some versions of bash will fail to source /dev/null (special
2136 # files actually), so we avoid doing that.
2137 if test -f "$cache_file"; then
2138 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2139 echo "$as_me: loading cache $cache_file" >&6;}
2141 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2142 *) . "./$cache_file";;
2146 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2147 echo "$as_me: creating cache $cache_file" >&6;}
2151 ac_header_list="$ac_header_list utime.h"
2152 # Check that the precious variables saved in the cache have kept the same
2154 ac_cache_corrupted=false
2155 for ac_var in $ac_precious_vars; do
2156 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2157 eval ac_new_set=\$ac_env_${ac_var}_set
2158 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2159 eval ac_new_val=\$ac_env_${ac_var}_value
2160 case $ac_old_set,$ac_new_set in
2162 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2163 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2164 ac_cache_corrupted=: ;;
2166 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2167 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2168 ac_cache_corrupted=: ;;
2171 if test "x$ac_old_val" != "x$ac_new_val"; then
2172 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2173 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2174 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2175 echo "$as_me: former value: $ac_old_val" >&2;}
2176 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2177 echo "$as_me: current value: $ac_new_val" >&2;}
2178 ac_cache_corrupted=:
2181 # Pass precious variables to config.status.
2182 if test "$ac_new_set" = set; then
2184 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2185 *) ac_arg=$ac_var=$ac_new_val ;;
2187 case " $ac_configure_args " in
2188 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2189 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2193 if $ac_cache_corrupted; then
2194 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2195 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2196 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2197 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2198 { (exit 1); exit 1; }; }
2226 ac_cpp='$CPP $CPPFLAGS'
2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 # cross-compile macros
2235 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2236 if test -f "$ac_dir/install-sh"; then
2238 ac_install_sh="$ac_aux_dir/install-sh -c"
2240 elif test -f "$ac_dir/install.sh"; then
2242 ac_install_sh="$ac_aux_dir/install.sh -c"
2244 elif test -f "$ac_dir/shtool"; then
2246 ac_install_sh="$ac_aux_dir/shtool install -c"
2250 if test -z "$ac_aux_dir"; then
2251 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2252 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2253 { (exit 1); exit 1; }; }
2256 # These three variables are undocumented and unsupported,
2257 # and are intended to be withdrawn in a future Autoconf release.
2258 # They can cause serious problems if a builder's source tree is in a directory
2259 # whose full name contains unusual characters.
2260 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2261 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2262 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2265 # Make sure we can run config.sub.
2266 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2267 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2268 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2269 { (exit 1); exit 1; }; }
2271 { echo "$as_me:$LINENO: checking build system type" >&5
2272 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2273 if test "${ac_cv_build+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 ac_build_alias=$build_alias
2277 test "x$ac_build_alias" = x &&
2278 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2279 test "x$ac_build_alias" = x &&
2280 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2281 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2282 { (exit 1); exit 1; }; }
2283 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2284 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2285 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2286 { (exit 1); exit 1; }; }
2289 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2290 echo "${ECHO_T}$ac_cv_build" >&6; }
2291 case $ac_cv_build in
2293 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2294 echo "$as_me: error: invalid value of canonical build" >&2;}
2295 { (exit 1); exit 1; }; };;
2298 ac_save_IFS=$IFS; IFS='-'
2304 # Remember, the first character of IFS is used to create $*,
2305 # except with old shells:
2308 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2311 { echo "$as_me:$LINENO: checking host system type" >&5
2312 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2313 if test "${ac_cv_host+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 if test "x$host_alias" = x; then
2317 ac_cv_host=$ac_cv_build
2319 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2320 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2321 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2322 { (exit 1); exit 1; }; }
2326 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2327 echo "${ECHO_T}$ac_cv_host" >&6; }
2330 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2331 echo "$as_me: error: invalid value of canonical host" >&2;}
2332 { (exit 1); exit 1; }; };;
2335 ac_save_IFS=$IFS; IFS='-'
2341 # Remember, the first character of IFS is used to create $*,
2342 # except with old shells:
2345 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2349 # check existence of the package
2353 for ac_dir in `pwd` "$srcdir"/`pwd`; do
2354 if test -f "$ac_dir/install-sh"; then
2356 ac_install_sh="$ac_aux_dir/install-sh -c"
2358 elif test -f "$ac_dir/install.sh"; then
2360 ac_install_sh="$ac_aux_dir/install.sh -c"
2362 elif test -f "$ac_dir/shtool"; then
2364 ac_install_sh="$ac_aux_dir/shtool install -c"
2368 if test -z "$ac_aux_dir"; then
2369 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&5
2370 echo "$as_me: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&2;}
2371 { (exit 1); exit 1; }; }
2374 # These three variables are undocumented and unsupported,
2375 # and are intended to be withdrawn in a future Autoconf release.
2376 # They can cause serious problems if a builder's source tree is in a directory
2377 # whose full name contains unusual characters.
2378 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2379 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2380 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2387 # preserve any CFLAGS or LDFLAGS that may be set
2388 # NOTE: This must be done before calling any macros that end up
2389 # calling AC_PROG_CC or the like, since they will set a default
2390 # set of CFLAGS ("-g -O2") if the user did not supply any, and
2391 # we don't want those default flags to be carried over into the
2392 # rest of the build system since we have other means of controlling
2393 # debugging symbol generation and optimization.
2394 CONFIG_CFLAGS="${CFLAGS}"
2395 CONFIG_LDFLAGS="${LDFLAGS}"
2399 # specify output header file
2400 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2404 cat >>confdefs.h <<\_ACEOF
2405 #define _GNU_SOURCE 1
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2414 if test -n "$ac_tool_prefix"; then
2415 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2416 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC="$CC" # Let the user override the test.
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2432 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 if test -n "$CC"; then
2444 { echo "$as_me:$LINENO: result: $CC" >&5
2445 echo "${ECHO_T}$CC" >&6; }
2447 { echo "$as_me:$LINENO: result: no" >&5
2448 echo "${ECHO_T}no" >&6; }
2453 if test -z "$ac_cv_prog_CC"; then
2455 # Extract the first word of "gcc", so it can be a program name with args.
2456 set dummy gcc; ac_word=$2
2457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$ac_ct_CC"; then
2463 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472 ac_cv_prog_ac_ct_CC="gcc"
2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2483 if test -n "$ac_ct_CC"; then
2484 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2485 echo "${ECHO_T}$ac_ct_CC" >&6; }
2487 { echo "$as_me:$LINENO: result: no" >&5
2488 echo "${ECHO_T}no" >&6; }
2491 if test "x$ac_ct_CC" = x; then
2494 case $cross_compiling:$ac_tool_warned in
2496 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2497 whose name does not start with the host triplet. If you think this
2498 configuration is useful to you, please write to autoconf@gnu.org." >&5
2499 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2500 whose name does not start with the host triplet. If you think this
2501 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2502 ac_tool_warned=yes ;;
2510 if test -z "$CC"; then
2511 if test -n "$ac_tool_prefix"; then
2512 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2513 set dummy ${ac_tool_prefix}cc; ac_word=$2
2514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2516 if test "${ac_cv_prog_CC+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 if test -n "$CC"; then
2520 ac_cv_prog_CC="$CC" # Let the user override the test.
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526 test -z "$as_dir" && as_dir=.
2527 for ac_exec_ext in '' $ac_executable_extensions; do
2528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2529 ac_cv_prog_CC="${ac_tool_prefix}cc"
2530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 if test -n "$CC"; then
2541 { echo "$as_me:$LINENO: result: $CC" >&5
2542 echo "${ECHO_T}$CC" >&6; }
2544 { echo "$as_me:$LINENO: result: no" >&5
2545 echo "${ECHO_T}no" >&6; }
2551 if test -z "$CC"; then
2552 # Extract the first word of "cc", so it can be a program name with args.
2553 set dummy cc; ac_word=$2
2554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2556 if test "${ac_cv_prog_CC+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 if test -n "$CC"; then
2560 ac_cv_prog_CC="$CC" # Let the user override the test.
2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir=.
2568 for ac_exec_ext in '' $ac_executable_extensions; do
2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2571 ac_prog_rejected=yes
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 if test $ac_prog_rejected = yes; then
2583 # We found a bogon in the path, so make sure we never use it.
2584 set dummy $ac_cv_prog_CC
2586 if test $# != 0; then
2587 # We chose a different compiler from the bogus one.
2588 # However, it has the same basename, so the bogon will be chosen
2589 # first if we set CC to just the basename; use the full file name.
2591 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2597 if test -n "$CC"; then
2598 { echo "$as_me:$LINENO: result: $CC" >&5
2599 echo "${ECHO_T}$CC" >&6; }
2601 { echo "$as_me:$LINENO: result: no" >&5
2602 echo "${ECHO_T}no" >&6; }
2607 if test -z "$CC"; then
2608 if test -n "$ac_tool_prefix"; then
2609 for ac_prog in cl.exe
2611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2615 if test "${ac_cv_prog_CC+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 if test -n "$CC"; then
2619 ac_cv_prog_CC="$CC" # Let the user override the test.
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir=.
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2628 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 if test -n "$CC"; then
2640 { echo "$as_me:$LINENO: result: $CC" >&5
2641 echo "${ECHO_T}$CC" >&6; }
2643 { echo "$as_me:$LINENO: result: no" >&5
2644 echo "${ECHO_T}no" >&6; }
2648 test -n "$CC" && break
2651 if test -z "$CC"; then
2653 for ac_prog in cl.exe
2655 # Extract the first word of "$ac_prog", so it can be a program name with args.
2656 set dummy $ac_prog; ac_word=$2
2657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2662 if test -n "$ac_ct_CC"; then
2663 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir=.
2670 for ac_exec_ext in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_ac_ct_CC="$ac_prog"
2673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2683 if test -n "$ac_ct_CC"; then
2684 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2685 echo "${ECHO_T}$ac_ct_CC" >&6; }
2687 { echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6; }
2692 test -n "$ac_ct_CC" && break
2695 if test "x$ac_ct_CC" = x; then
2698 case $cross_compiling:$ac_tool_warned in
2700 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2701 whose name does not start with the host triplet. If you think this
2702 configuration is useful to you, please write to autoconf@gnu.org." >&5
2703 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2704 whose name does not start with the host triplet. If you think this
2705 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2706 ac_tool_warned=yes ;;
2715 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2716 See \`config.log' for more details." >&5
2717 echo "$as_me: error: no acceptable C compiler found in \$PATH
2718 See \`config.log' for more details." >&2;}
2719 { (exit 1); exit 1; }; }
2721 # Provide some information about the compiler.
2722 echo "$as_me:$LINENO: checking for C compiler version" >&5
2723 ac_compiler=`set X $ac_compile; echo $2`
2724 { (ac_try="$ac_compiler --version >&5"
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2730 (eval "$ac_compiler --version >&5") 2>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }
2734 { (ac_try="$ac_compiler -v >&5"
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_compiler -v >&5") 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }
2744 { (ac_try="$ac_compiler -V >&5"
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750 (eval "$ac_compiler -V >&5") 2>&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }
2755 cat >conftest.$ac_ext <<_ACEOF
2758 cat confdefs.h >>conftest.$ac_ext
2759 cat >>conftest.$ac_ext <<_ACEOF
2760 /* end confdefs.h. */
2770 ac_clean_files_save=$ac_clean_files
2771 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2772 # Try to create an executable without -o first, disregard a.out.
2773 # It will help us diagnose broken compilers, and finding out an intuition
2775 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2776 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2777 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2779 # List of possible output files, starting from the most likely.
2780 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2781 # only as a last resort. b.out is created by i960 compilers.
2782 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2784 # The IRIX 6 linker writes into existing files which may not be
2785 # executable, retaining their permissions. Remove them first so a
2786 # subsequent execution test works.
2788 for ac_file in $ac_files
2791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2792 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2797 if { (ac_try="$ac_link_default"
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2803 (eval "$ac_link_default") 2>&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; then
2807 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2808 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2809 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2810 # so that the user can short-circuit this test for compilers unknown to
2812 for ac_file in $ac_files ''
2814 test -f "$ac_file" || continue
2816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2819 # We found the default executable, but exeext='' is most
2823 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2825 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2827 # We set ac_cv_exeext here because the later test for it is not
2828 # safe: cross compilers may not add the suffix if given an `-o'
2829 # argument, so we may need to know it at that point already.
2830 # Even if this section looks crufty: it has the advantage of
2837 test "$ac_cv_exeext" = no && ac_cv_exeext=
2843 { echo "$as_me:$LINENO: result: $ac_file" >&5
2844 echo "${ECHO_T}$ac_file" >&6; }
2845 if test -z "$ac_file"; then
2846 echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.$ac_ext >&5
2849 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2850 See \`config.log' for more details." >&5
2851 echo "$as_me: error: C compiler cannot create executables
2852 See \`config.log' for more details." >&2;}
2853 { (exit 77); exit 77; }; }
2856 ac_exeext=$ac_cv_exeext
2858 # Check that the compiler produces executables we can run. If not, either
2859 # the compiler is broken, or we cross compile.
2860 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2861 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2862 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2863 # If not cross compiling, check that we can run a simple program.
2864 if test "$cross_compiling" != yes; then
2865 if { ac_try='./$ac_file'
2866 { (case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2871 (eval "$ac_try") 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; }; then
2877 if test "$cross_compiling" = maybe; then
2880 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2881 If you meant to cross compile, use \`--host'.
2882 See \`config.log' for more details." >&5
2883 echo "$as_me: error: cannot run C compiled programs.
2884 If you meant to cross compile, use \`--host'.
2885 See \`config.log' for more details." >&2;}
2886 { (exit 1); exit 1; }; }
2890 { echo "$as_me:$LINENO: result: yes" >&5
2891 echo "${ECHO_T}yes" >&6; }
2893 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2894 ac_clean_files=$ac_clean_files_save
2895 # Check that the compiler produces executables we can run. If not, either
2896 # the compiler is broken, or we cross compile.
2897 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2898 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2899 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2900 echo "${ECHO_T}$cross_compiling" >&6; }
2902 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2903 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2904 if { (ac_try="$ac_link"
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910 (eval "$ac_link") 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; then
2914 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2915 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2916 # work properly (i.e., refer to `conftest.exe'), while it won't with
2918 for ac_file in conftest.exe conftest conftest.*; do
2919 test -f "$ac_file" || continue
2921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2922 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2928 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2929 See \`config.log' for more details." >&5
2930 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2931 See \`config.log' for more details." >&2;}
2932 { (exit 1); exit 1; }; }
2935 rm -f conftest$ac_cv_exeext
2936 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2937 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2939 rm -f conftest.$ac_ext
2940 EXEEXT=$ac_cv_exeext
2942 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2943 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2944 if test "${ac_cv_objext+set}" = set; then
2945 echo $ECHO_N "(cached) $ECHO_C" >&6
2947 cat >conftest.$ac_ext <<_ACEOF
2950 cat confdefs.h >>conftest.$ac_ext
2951 cat >>conftest.$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2962 rm -f conftest.o conftest.obj
2963 if { (ac_try="$ac_compile"
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2969 (eval "$ac_compile") 2>&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; then
2973 for ac_file in conftest.o conftest.obj conftest.*; do
2974 test -f "$ac_file" || continue;
2976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2977 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2986 See \`config.log' for more details." >&5
2987 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2988 See \`config.log' for more details." >&2;}
2989 { (exit 1); exit 1; }; }
2992 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2994 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2995 echo "${ECHO_T}$ac_cv_objext" >&6; }
2996 OBJEXT=$ac_cv_objext
2998 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2999 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3000 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3001 echo $ECHO_N "(cached) $ECHO_C" >&6
3003 cat >conftest.$ac_ext <<_ACEOF
3006 cat confdefs.h >>conftest.$ac_ext
3007 cat >>conftest.$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3021 rm -f conftest.$ac_objext
3022 if { (ac_try="$ac_compile"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3028 (eval "$ac_compile") 2>conftest.er1
3030 grep -v '^ *+' conftest.er1 >conftest.err
3032 cat conftest.err >&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); } && {
3035 test -z "$ac_c_werror_flag" ||
3036 test ! -s conftest.err
3037 } && test -s conftest.$ac_objext; then
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3050 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3052 GCC=`test $ac_compiler_gnu = yes && echo yes`
3053 ac_test_CFLAGS=${CFLAGS+set}
3054 ac_save_CFLAGS=$CFLAGS
3055 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3056 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3057 if test "${ac_cv_prog_cc_g+set}" = set; then
3058 echo $ECHO_N "(cached) $ECHO_C" >&6
3060 ac_save_c_werror_flag=$ac_c_werror_flag
3061 ac_c_werror_flag=yes
3064 cat >conftest.$ac_ext <<_ACEOF
3067 cat confdefs.h >>conftest.$ac_ext
3068 cat >>conftest.$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3079 rm -f conftest.$ac_objext
3080 if { (ac_try="$ac_compile"
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3086 (eval "$ac_compile") 2>conftest.er1
3088 grep -v '^ *+' conftest.er1 >conftest.err
3090 cat conftest.err >&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } && {
3093 test -z "$ac_c_werror_flag" ||
3094 test ! -s conftest.err
3095 } && test -s conftest.$ac_objext; then
3098 echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3102 cat >conftest.$ac_ext <<_ACEOF
3105 cat confdefs.h >>conftest.$ac_ext
3106 cat >>conftest.$ac_ext <<_ACEOF
3107 /* end confdefs.h. */
3117 rm -f conftest.$ac_objext
3118 if { (ac_try="$ac_compile"
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124 (eval "$ac_compile") 2>conftest.er1
3126 grep -v '^ *+' conftest.er1 >conftest.err
3128 cat conftest.err >&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); } && {
3131 test -z "$ac_c_werror_flag" ||
3132 test ! -s conftest.err
3133 } && test -s conftest.$ac_objext; then
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3139 ac_c_werror_flag=$ac_save_c_werror_flag
3141 cat >conftest.$ac_ext <<_ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3156 rm -f conftest.$ac_objext
3157 if { (ac_try="$ac_compile"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compile") 2>conftest.er1
3165 grep -v '^ *+' conftest.er1 >conftest.err
3167 cat conftest.err >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); } && {
3170 test -z "$ac_c_werror_flag" ||
3171 test ! -s conftest.err
3172 } && test -s conftest.$ac_objext; then
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3188 ac_c_werror_flag=$ac_save_c_werror_flag
3190 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3191 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3192 if test "$ac_test_CFLAGS" = set; then
3193 CFLAGS=$ac_save_CFLAGS
3194 elif test $ac_cv_prog_cc_g = yes; then
3195 if test "$GCC" = yes; then
3201 if test "$GCC" = yes; then
3207 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3208 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3209 if test "${ac_cv_prog_cc_c89+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 ac_cv_prog_cc_c89=no
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3222 #include <sys/types.h>
3223 #include <sys/stat.h>
3224 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3225 struct buf { int x; };
3226 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3227 static char *e (p, i)
3233 static char *f (char * (*g) (char **, int), char **p, ...)
3238 s = g (p, va_arg (v,int));
3243 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3244 function prototypes and stuff, but not '\xHH' hex character constants.
3245 These don't provoke an error unfortunately, instead are silently treated
3246 as 'x'. The following induces an error, until -std is added to get
3247 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3248 array size at least. It's necessary to write '\x00'==0 to get something
3249 that's true only with -std. */
3250 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3252 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3253 inside strings and character constants. */
3255 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3257 int test (int i, double x);
3258 struct s1 {int (*f) (int a);};
3259 struct s2 {int (*f) (double a);};
3260 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3266 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3271 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3272 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3274 CC="$ac_save_CC $ac_arg"
3275 rm -f conftest.$ac_objext
3276 if { (ac_try="$ac_compile"
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3282 (eval "$ac_compile") 2>conftest.er1
3284 grep -v '^ *+' conftest.er1 >conftest.err
3286 cat conftest.err >&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); } && {
3289 test -z "$ac_c_werror_flag" ||
3290 test ! -s conftest.err
3291 } && test -s conftest.$ac_objext; then
3292 ac_cv_prog_cc_c89=$ac_arg
3294 echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3300 rm -f core conftest.err conftest.$ac_objext
3301 test "x$ac_cv_prog_cc_c89" != "xno" && break
3303 rm -f conftest.$ac_ext
3308 case "x$ac_cv_prog_cc_c89" in
3310 { echo "$as_me:$LINENO: result: none needed" >&5
3311 echo "${ECHO_T}none needed" >&6; } ;;
3313 { echo "$as_me:$LINENO: result: unsupported" >&5
3314 echo "${ECHO_T}unsupported" >&6; } ;;
3316 CC="$CC $ac_cv_prog_cc_c89"
3317 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3318 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3323 ac_cpp='$CPP $CPPFLAGS'
3324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3330 ac_cpp='$CPP $CPPFLAGS'
3331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3334 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3335 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3336 # On Suns, sometimes $CPP names a directory.
3337 if test -n "$CPP" && test -d "$CPP"; then
3340 if test -z "$CPP"; then
3341 if test "${ac_cv_prog_CPP+set}" = set; then
3342 echo $ECHO_N "(cached) $ECHO_C" >&6
3344 # Double quotes because CPP needs to be expanded
3345 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3348 for ac_c_preproc_warn_flag in '' yes
3350 # Use a header file that comes with gcc, so configuring glibc
3351 # with a fresh cross-compiler works.
3352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3353 # <limits.h> exists even on freestanding compilers.
3354 # On the NeXT, cc -E runs the code through the compiler's parser,
3355 # not just through cpp. "Syntax error" is here to catch this case.
3356 cat >conftest.$ac_ext <<_ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3363 # include <limits.h>
3365 # include <assert.h>
3369 if { (ac_try="$ac_cpp conftest.$ac_ext"
3371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3372 *) ac_try_echo=$ac_try;;
3374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3375 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3377 grep -v '^ *+' conftest.er1 >conftest.err
3379 cat conftest.err >&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); } >/dev/null && {
3382 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3383 test ! -s conftest.err
3387 echo "$as_me: failed program was:" >&5
3388 sed 's/^/| /' conftest.$ac_ext >&5
3390 # Broken: fails on valid input.
3394 rm -f conftest.err conftest.$ac_ext
3396 # OK, works on sane cases. Now check whether nonexistent headers
3397 # can be detected and how.
3398 cat >conftest.$ac_ext <<_ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3404 #include <ac_nonexistent.h>
3406 if { (ac_try="$ac_cpp conftest.$ac_ext"
3408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3409 *) ac_try_echo=$ac_try;;
3411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3412 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3414 grep -v '^ *+' conftest.er1 >conftest.err
3416 cat conftest.err >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } >/dev/null && {
3419 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3420 test ! -s conftest.err
3422 # Broken: success on invalid input.
3425 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3428 # Passes both tests.
3433 rm -f conftest.err conftest.$ac_ext
3436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3437 rm -f conftest.err conftest.$ac_ext
3438 if $ac_preproc_ok; then
3450 { echo "$as_me:$LINENO: result: $CPP" >&5
3451 echo "${ECHO_T}$CPP" >&6; }
3453 for ac_c_preproc_warn_flag in '' yes
3455 # Use a header file that comes with gcc, so configuring glibc
3456 # with a fresh cross-compiler works.
3457 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3458 # <limits.h> exists even on freestanding compilers.
3459 # On the NeXT, cc -E runs the code through the compiler's parser,
3460 # not just through cpp. "Syntax error" is here to catch this case.
3461 cat >conftest.$ac_ext <<_ACEOF
3464 cat confdefs.h >>conftest.$ac_ext
3465 cat >>conftest.$ac_ext <<_ACEOF
3466 /* end confdefs.h. */
3468 # include <limits.h>
3470 # include <assert.h>
3474 if { (ac_try="$ac_cpp conftest.$ac_ext"
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3482 grep -v '^ *+' conftest.er1 >conftest.err
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } >/dev/null && {
3487 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3488 test ! -s conftest.err
3492 echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 # Broken: fails on valid input.
3499 rm -f conftest.err conftest.$ac_ext
3501 # OK, works on sane cases. Now check whether nonexistent headers
3502 # can be detected and how.
3503 cat >conftest.$ac_ext <<_ACEOF
3506 cat confdefs.h >>conftest.$ac_ext
3507 cat >>conftest.$ac_ext <<_ACEOF
3508 /* end confdefs.h. */
3509 #include <ac_nonexistent.h>
3511 if { (ac_try="$ac_cpp conftest.$ac_ext"
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3517 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3519 grep -v '^ *+' conftest.er1 >conftest.err
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } >/dev/null && {
3524 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3525 test ! -s conftest.err
3527 # Broken: success on invalid input.
3530 echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.$ac_ext >&5
3533 # Passes both tests.
3538 rm -f conftest.err conftest.$ac_ext
3541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3542 rm -f conftest.err conftest.$ac_ext
3543 if $ac_preproc_ok; then
3546 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3547 See \`config.log' for more details." >&5
3548 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3549 See \`config.log' for more details." >&2;}
3550 { (exit 1); exit 1; }; }
3554 ac_cpp='$CPP $CPPFLAGS'
3555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3560 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3561 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3562 if test "${ac_cv_path_GREP+set}" = set; then
3563 echo $ECHO_N "(cached) $ECHO_C" >&6
3565 # Extract the first word of "grep ggrep" to use in msg output
3566 if test -z "$GREP"; then
3567 set dummy grep ggrep; ac_prog_name=$2
3568 if test "${ac_cv_path_GREP+set}" = set; then
3569 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 ac_path_GREP_found=false
3572 # Loop through the user's path and test for each of PROGNAME-LIST
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3577 test -z "$as_dir" && as_dir=.
3578 for ac_prog in grep ggrep; do
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3581 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3582 # Check for GNU ac_path_GREP and select it if it is found.
3583 # Check for GNU $ac_path_GREP
3584 case `"$ac_path_GREP" --version 2>&1` in
3586 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3589 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3592 cat "conftest.in" "conftest.in" >"conftest.tmp"
3593 mv "conftest.tmp" "conftest.in"
3594 cp "conftest.in" "conftest.nl"
3595 echo 'GREP' >> "conftest.nl"
3596 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3597 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3598 ac_count=`expr $ac_count + 1`
3599 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3600 # Best one so far, save it but keep looking for a better one
3601 ac_cv_path_GREP="$ac_path_GREP"
3602 ac_path_GREP_max=$ac_count
3604 # 10*(2^10) chars as input seems more than enough
3605 test $ac_count -gt 10 && break
3607 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3611 $ac_path_GREP_found && break 3
3621 GREP="$ac_cv_path_GREP"
3622 if test -z "$GREP"; then
3623 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3624 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3625 { (exit 1); exit 1; }; }
3629 ac_cv_path_GREP=$GREP
3634 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3635 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3636 GREP="$ac_cv_path_GREP"
3639 { echo "$as_me:$LINENO: checking for egrep" >&5
3640 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3641 if test "${ac_cv_path_EGREP+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3645 then ac_cv_path_EGREP="$GREP -E"
3647 # Extract the first word of "egrep" to use in msg output
3648 if test -z "$EGREP"; then
3649 set dummy egrep; ac_prog_name=$2
3650 if test "${ac_cv_path_EGREP+set}" = set; then
3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3653 ac_path_EGREP_found=false
3654 # Loop through the user's path and test for each of PROGNAME-LIST
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3659 test -z "$as_dir" && as_dir=.
3660 for ac_prog in egrep; do
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3663 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3664 # Check for GNU ac_path_EGREP and select it if it is found.
3665 # Check for GNU $ac_path_EGREP
3666 case `"$ac_path_EGREP" --version 2>&1` in
3668 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3671 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3674 cat "conftest.in" "conftest.in" >"conftest.tmp"
3675 mv "conftest.tmp" "conftest.in"
3676 cp "conftest.in" "conftest.nl"
3677 echo 'EGREP' >> "conftest.nl"
3678 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3679 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3680 ac_count=`expr $ac_count + 1`
3681 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3682 # Best one so far, save it but keep looking for a better one
3683 ac_cv_path_EGREP="$ac_path_EGREP"
3684 ac_path_EGREP_max=$ac_count
3686 # 10*(2^10) chars as input seems more than enough
3687 test $ac_count -gt 10 && break
3689 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3693 $ac_path_EGREP_found && break 3
3703 EGREP="$ac_cv_path_EGREP"
3704 if test -z "$EGREP"; then
3705 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3706 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3707 { (exit 1); exit 1; }; }
3711 ac_cv_path_EGREP=$EGREP
3717 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3718 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3719 EGREP="$ac_cv_path_EGREP"
3723 { echo "$as_me:$LINENO: checking for AIX" >&5
3724 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3725 cat >conftest.$ac_ext <<_ACEOF
3728 cat confdefs.h >>conftest.$ac_ext
3729 cat >>conftest.$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3737 $EGREP "yes" >/dev/null 2>&1; then
3738 { echo "$as_me:$LINENO: result: yes" >&5
3739 echo "${ECHO_T}yes" >&6; }
3740 cat >>confdefs.h <<\_ACEOF
3741 #define _ALL_SOURCE 1
3745 { echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6; }
3751 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3752 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3753 if test "${ac_cv_header_stdc+set}" = set; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 cat >conftest.$ac_ext <<_ACEOF
3759 cat confdefs.h >>conftest.$ac_ext
3760 cat >>conftest.$ac_ext <<_ACEOF
3761 /* end confdefs.h. */
3775 rm -f conftest.$ac_objext
3776 if { (ac_try="$ac_compile"
3778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
3781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3782 (eval "$ac_compile") 2>conftest.er1
3784 grep -v '^ *+' conftest.er1 >conftest.err
3786 cat conftest.err >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); } && {
3789 test -z "$ac_c_werror_flag" ||
3790 test ! -s conftest.err
3791 } && test -s conftest.$ac_objext; then
3792 ac_cv_header_stdc=yes
3794 echo "$as_me: failed program was:" >&5
3795 sed 's/^/| /' conftest.$ac_ext >&5
3797 ac_cv_header_stdc=no
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 if test $ac_cv_header_stdc = yes; then
3803 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3804 cat >conftest.$ac_ext <<_ACEOF
3807 cat confdefs.h >>conftest.$ac_ext
3808 cat >>conftest.$ac_ext <<_ACEOF
3809 /* end confdefs.h. */
3813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3814 $EGREP "memchr" >/dev/null 2>&1; then
3817 ac_cv_header_stdc=no
3823 if test $ac_cv_header_stdc = yes; then
3824 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3825 cat >conftest.$ac_ext <<_ACEOF
3828 cat confdefs.h >>conftest.$ac_ext
3829 cat >>conftest.$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3835 $EGREP "free" >/dev/null 2>&1; then
3838 ac_cv_header_stdc=no
3844 if test $ac_cv_header_stdc = yes; then
3845 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3846 if test "$cross_compiling" = yes; then
3849 cat >conftest.$ac_ext <<_ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3857 #if ((' ' & 0x0FF) == 0x020)
3858 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3859 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3861 # define ISLOWER(c) \
3862 (('a' <= (c) && (c) <= 'i') \
3863 || ('j' <= (c) && (c) <= 'r') \
3864 || ('s' <= (c) && (c) <= 'z'))
3865 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3868 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3873 for (i = 0; i < 256; i++)
3874 if (XOR (islower (i), ISLOWER (i))
3875 || toupper (i) != TOUPPER (i))
3880 rm -f conftest$ac_exeext
3881 if { (ac_try="$ac_link"
3883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3884 *) ac_try_echo=$ac_try;;
3886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3887 (eval "$ac_link") 2>&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3891 { (case "(($ac_try" in
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3896 (eval "$ac_try") 2>&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; }; then
3902 echo "$as_me: program exited with status $ac_status" >&5
3903 echo "$as_me: failed program was:" >&5
3904 sed 's/^/| /' conftest.$ac_ext >&5
3907 ac_cv_header_stdc=no
3909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3915 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3916 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3917 if test $ac_cv_header_stdc = yes; then
3919 cat >>confdefs.h <<\_ACEOF
3920 #define STDC_HEADERS 1
3925 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3935 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3936 inttypes.h stdint.h unistd.h
3938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 cat >conftest.$ac_ext <<_ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3950 $ac_includes_default
3952 #include <$ac_header>
3954 rm -f conftest.$ac_objext
3955 if { (ac_try="$ac_compile"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961 (eval "$ac_compile") 2>conftest.er1
3963 grep -v '^ *+' conftest.er1 >conftest.err
3965 cat conftest.err >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } && {
3968 test -z "$ac_c_werror_flag" ||
3969 test ! -s conftest.err
3970 } && test -s conftest.$ac_objext; then
3971 eval "$as_ac_Header=yes"
3973 echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.$ac_ext >&5
3976 eval "$as_ac_Header=no"
3979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 ac_res=`eval echo '${'$as_ac_Header'}'`
3982 { echo "$as_me:$LINENO: result: $ac_res" >&5
3983 echo "${ECHO_T}$ac_res" >&6; }
3984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3985 cat >>confdefs.h <<_ACEOF
3986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3994 if test "${ac_cv_header_minix_config_h+set}" = set; then
3995 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3996 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3997 if test "${ac_cv_header_minix_config_h+set}" = set; then
3998 echo $ECHO_N "(cached) $ECHO_C" >&6
4000 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4001 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4003 # Is the header compilable?
4004 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4005 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4006 cat >conftest.$ac_ext <<_ACEOF
4009 cat confdefs.h >>conftest.$ac_ext
4010 cat >>conftest.$ac_ext <<_ACEOF
4011 /* end confdefs.h. */
4012 $ac_includes_default
4013 #include <minix/config.h>
4015 rm -f conftest.$ac_objext
4016 if { (ac_try="$ac_compile"
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4022 (eval "$ac_compile") 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } && {
4029 test -z "$ac_c_werror_flag" ||
4030 test ! -s conftest.err
4031 } && test -s conftest.$ac_objext; then
4032 ac_header_compiler=yes
4034 echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.$ac_ext >&5
4037 ac_header_compiler=no
4040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4041 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4042 echo "${ECHO_T}$ac_header_compiler" >&6; }
4044 # Is the header present?
4045 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4046 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4047 cat >conftest.$ac_ext <<_ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4053 #include <minix/config.h>
4055 if { (ac_try="$ac_cpp conftest.$ac_ext"
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4063 grep -v '^ *+' conftest.er1 >conftest.err
4065 cat conftest.err >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } >/dev/null && {
4068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4069 test ! -s conftest.err
4071 ac_header_preproc=yes
4073 echo "$as_me: failed program was:" >&5
4074 sed 's/^/| /' conftest.$ac_ext >&5
4076 ac_header_preproc=no
4079 rm -f conftest.err conftest.$ac_ext
4080 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4081 echo "${ECHO_T}$ac_header_preproc" >&6; }
4083 # So? What about this header?
4084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4086 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4087 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4088 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4089 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4090 ac_header_preproc=yes
4093 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4094 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4095 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4096 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4097 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4098 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4099 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4100 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4101 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4102 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4103 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4104 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4106 ## ------------------------------- ##
4107 ## Report this to www.asterisk.org ##
4108 ## ------------------------------- ##
4110 ) | sed "s/^/$as_me: WARNING: /" >&2
4113 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4114 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4115 if test "${ac_cv_header_minix_config_h+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 ac_cv_header_minix_config_h=$ac_header_preproc
4120 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4121 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4124 if test $ac_cv_header_minix_config_h = yes; then
4131 if test "$MINIX" = yes; then
4133 cat >>confdefs.h <<\_ACEOF
4134 #define _POSIX_SOURCE 1
4138 cat >>confdefs.h <<\_ACEOF
4139 #define _POSIX_1_SOURCE 2
4143 cat >>confdefs.h <<\_ACEOF
4159 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4160 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4161 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 cat >conftest.$ac_ext <<_ACEOF
4167 cat confdefs.h >>conftest.$ac_ext
4168 cat >>conftest.$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4171 # define __EXTENSIONS__ 1
4172 $ac_includes_default
4181 rm -f conftest.$ac_objext
4182 if { (ac_try="$ac_compile"
4184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4185 *) ac_try_echo=$ac_try;;
4187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4188 (eval "$ac_compile") 2>conftest.er1
4190 grep -v '^ *+' conftest.er1 >conftest.err
4192 cat conftest.err >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && {
4195 test -z "$ac_c_werror_flag" ||
4196 test ! -s conftest.err
4197 } && test -s conftest.$ac_objext; then
4198 ac_cv_safe_to_define___extensions__=yes
4200 echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.$ac_ext >&5
4203 ac_cv_safe_to_define___extensions__=no
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4209 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4210 test $ac_cv_safe_to_define___extensions__ = yes &&
4211 cat >>confdefs.h <<\_ACEOF
4212 #define __EXTENSIONS__ 1
4215 cat >>confdefs.h <<\_ACEOF
4216 #define _POSIX_PTHREAD_SEMANTICS 1
4219 cat >>confdefs.h <<\_ACEOF
4220 #define _TANDEM_SOURCE 1
4223 # note- does not work on FreeBSD
4225 case "${host_os}" in
4227 ac_default_prefix=/usr/local
4228 CPPFLAGS=-I/usr/local/include
4229 LDFLAGS=-L/usr/local/lib
4232 ac_default_prefix=/usr/local
4233 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4234 if test ${sysconfdir} = '${prefix}/etc'; then
4237 if test ${mandir} = '${prefix}/man'; then
4238 mandir=/usr/share/man
4241 CPPFLAGS=-I/usr/local/include
4242 LDFLAGS=-L/usr/local/lib
4246 cat >>confdefs.h <<\_ACEOF
4247 #define AST_POLL_COMPAT 1
4252 ac_default_prefix=/usr
4253 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4254 if test ${sysconfdir} = '${prefix}/etc'; then
4257 if test ${mandir} = '${prefix}/man'; then
4258 mandir=/usr/share/man
4264 if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
4265 if test ${localstatedir} = '${prefix}/var'; then
4270 BUILD_PLATFORM=${build}
4271 BUILD_CPU=${build_cpu}
4272 BUILD_VENDOR=${build_vendor}
4273 BUILD_OS=${build_os}
4280 HOST_PLATFORM=${host}
4281 HOST_CPU=${host_cpu}
4282 HOST_VENDOR=${host_vendor}
4292 case "${host_os}" in
4325 if test -n "$ac_tool_prefix"; then
4326 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4327 set dummy ${ac_tool_prefix}uname; ac_word=$2
4328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4330 if test "${ac_cv_path_UNAME+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 test -z "$as_dir" && as_dir=.
4343 for ac_exec_ext in '' $ac_executable_extensions; do
4344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4345 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 UNAME=$ac_cv_path_UNAME
4357 if test -n "$UNAME"; then
4358 { echo "$as_me:$LINENO: result: $UNAME" >&5
4359 echo "${ECHO_T}$UNAME" >&6; }
4361 { echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6; }
4367 if test -z "$ac_cv_path_UNAME"; then
4369 # Extract the first word of "uname", so it can be a program name with args.
4370 set dummy uname; ac_word=$2
4371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4373 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 case $ac_pt_UNAME in
4378 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir=.
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4388 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4400 if test -n "$ac_pt_UNAME"; then
4401 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4402 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4404 { echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6; }
4408 if test "x$ac_pt_UNAME" = x; then
4411 case $cross_compiling:$ac_tool_warned in
4413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4414 whose name does not start with the host triplet. If you think this
4415 configuration is useful to you, please write to autoconf@gnu.org." >&5
4416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4417 whose name does not start with the host triplet. If you think this
4418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4419 ac_tool_warned=yes ;;
4424 UNAME="$ac_cv_path_UNAME"
4427 if test ! x"${UNAME}" = xNo; then
4428 PBX_OSREV=$(${UNAME} -r)
4438 # cross-compile checks
4439 if test "${cross_compiling}" = "yes";
4441 if test -n "$ac_tool_prefix"; then
4442 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4443 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4446 if test "${ac_cv_prog_CC+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 if test -n "$CC"; then
4450 ac_cv_prog_CC="$CC" # Let the user override the test.
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4459 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 if test -n "$CC"; then
4471 { echo "$as_me:$LINENO: result: $CC" >&5
4472 echo "${ECHO_T}$CC" >&6; }
4474 { echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6; }
4480 if test -z "$ac_cv_prog_CC"; then
4482 # Extract the first word of "gcc", so it can be a program name with args.
4483 set dummy gcc; ac_word=$2
4484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4486 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 if test -n "$ac_ct_CC"; then
4490 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496 test -z "$as_dir" && as_dir=.
4497 for ac_exec_ext in '' $ac_executable_extensions; do
4498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4499 ac_cv_prog_ac_ct_CC="gcc"
4500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4510 if test -n "$ac_ct_CC"; then
4511 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4512 echo "${ECHO_T}$ac_ct_CC" >&6; }
4514 { echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6; }
4518 if test "x$ac_ct_CC" = x; then
4521 case $cross_compiling:$ac_tool_warned in
4523 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4524 whose name does not start with the host triplet. If you think this
4525 configuration is useful to you, please write to autoconf@gnu.org." >&5
4526 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4527 whose name does not start with the host triplet. If you think this
4528 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4529 ac_tool_warned=yes ;;
4537 if test -n "$ac_tool_prefix"; then
4538 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4539 set dummy ${ac_tool_prefix}g++; ac_word=$2
4540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4542 if test "${ac_cv_prog_CXX+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 if test -n "$CXX"; then
4546 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 if test -n "$CXX"; then
4567 { echo "$as_me:$LINENO: result: $CXX" >&5
4568 echo "${ECHO_T}$CXX" >&6; }
4570 { echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6; }
4576 if test -z "$ac_cv_prog_CXX"; then
4578 # Extract the first word of "g++", so it can be a program name with args.
4579 set dummy g++; ac_word=$2
4580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4582 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 if test -n "$ac_ct_CXX"; then
4586 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir=.
4593 for ac_exec_ext in '' $ac_executable_extensions; do
4594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4595 ac_cv_prog_ac_ct_CXX="g++"
4596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4606 if test -n "$ac_ct_CXX"; then
4607 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4608 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4610 { echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6; }
4614 if test "x$ac_ct_CXX" = x; then
4617 case $cross_compiling:$ac_tool_warned in
4619 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4620 whose name does not start with the host triplet. If you think this
4621 configuration is useful to you, please write to autoconf@gnu.org." >&5
4622 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4623 whose name does not start with the host triplet. If you think this
4624 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4625 ac_tool_warned=yes ;;
4630 CXX="$ac_cv_prog_CXX"
4633 if test -n "$ac_tool_prefix"; then
4634 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4635 set dummy ${ac_tool_prefix}ld; ac_word=$2
4636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4638 if test "${ac_cv_prog_LD+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 if test -n "$LD"; then
4642 ac_cv_prog_LD="$LD" # Let the user override the test.
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4651 ac_cv_prog_LD="${ac_tool_prefix}ld"
4652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 if test -n "$LD"; then
4663 { echo "$as_me:$LINENO: result: $LD" >&5
4664 echo "${ECHO_T}$LD" >&6; }
4666 { echo "$as_me:$LINENO: result: no" >&5
4667 echo "${ECHO_T}no" >&6; }
4672 if test -z "$ac_cv_prog_LD"; then
4674 # Extract the first word of "ld", so it can be a program name with args.
4675 set dummy ld; ac_word=$2
4676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4678 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 if test -n "$ac_ct_LD"; then
4682 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4691 ac_cv_prog_ac_ct_LD="ld"
4692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4702 if test -n "$ac_ct_LD"; then
4703 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4704 echo "${ECHO_T}$ac_ct_LD" >&6; }
4706 { echo "$as_me:$LINENO: result: no" >&5
4707 echo "${ECHO_T}no" >&6; }
4710 if test "x$ac_ct_LD" = x; then
4713 case $cross_compiling:$ac_tool_warned in
4715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4716 whose name does not start with the host triplet. If you think this
4717 configuration is useful to you, please write to autoconf@gnu.org." >&5
4718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4719 whose name does not start with the host triplet. If you think this
4720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4721 ac_tool_warned=yes ;;
4729 if test -n "$ac_tool_prefix"; then
4730 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4731 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4734 if test "${ac_cv_prog_RANLIB+set}" = set; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 if test -n "$RANLIB"; then
4738 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 RANLIB=$ac_cv_prog_RANLIB
4758 if test -n "$RANLIB"; then
4759 { echo "$as_me:$LINENO: result: $RANLIB" >&5