2 # From configure.ac Revision: 310332 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for asterisk trunk.
6 # Report bugs to <https://issues.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='trunk'
581 PACKAGE_STRING='asterisk trunk'
582 PACKAGE_BUGREPORT='https://issues.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
935 PRI_DISPLAY_TEXT_INCLUDE
947 PRI_CALL_WAITING_INCLUDE
951 PRI_AOC_EVENTS_INCLUDE
963 PRI_HANGUP_FIX_INCLUDE
971 PRI_CALL_HOLD_INCLUDE
974 PRI_CALL_REROUTING_LIB
975 PRI_CALL_REROUTING_INCLUDE
976 PRI_CALL_REROUTING_DIR
977 PBX_PRI_CALL_REROUTING
979 PRI_SETUP_KEYPAD_INCLUDE
982 PRI_INBANDDISCONNECT_LIB
983 PRI_INBANDDISCONNECT_INCLUDE
984 PRI_INBANDDISCONNECT_DIR
985 PBX_PRI_INBANDDISCONNECT
987 PRI_PROG_W_CAUSE_INCLUDE
990 PRI_SERVICE_MESSAGES_LIB
991 PRI_SERVICE_MESSAGES_INCLUDE
992 PRI_SERVICE_MESSAGES_DIR
993 PBX_PRI_SERVICE_MESSAGES
994 PRI_REVERSE_CHARGE_LIB
995 PRI_REVERSE_CHARGE_INCLUDE
996 PRI_REVERSE_CHARGE_DIR
997 PBX_PRI_REVERSE_CHARGE
1031 SPEEX_PREPROCESS_LIB
1032 SPEEX_PREPROCESS_INCLUDE
1033 SPEEX_PREPROCESS_DIR
1034 PBX_SPEEX_PREPROCESS
1109 PBX_PTHREAD_RWLOCK_INITIALIZER
1110 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
1114 AST_DECLARATION_AFTER_STATEMENT
1116 AST_NO_STRICT_OVERFLOW
1127 PBX_MISDN_FAC_RESULT
1156 GENERIC_ODBC_INCLUDE
1158 PBX_SYSLOG_FACILITY_LOG_AUTH
1159 PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
1160 PBX_SYSLOG_FACILITY_LOG_CRON
1161 PBX_SYSLOG_FACILITY_LOG_DAEMON
1162 PBX_SYSLOG_FACILITY_LOG_FTP
1163 PBX_SYSLOG_FACILITY_LOG_KERN
1164 PBX_SYSLOG_FACILITY_LOG_LPR
1165 PBX_SYSLOG_FACILITY_LOG_MAIL
1166 PBX_SYSLOG_FACILITY_LOG_NEWS
1167 PBX_SYSLOG_FACILITY_LOG_SYSLOG
1168 PBX_SYSLOG_FACILITY_LOG_UUCP
1172 ac_precious_vars='build_alias
1187 # Initialize some variables set by options.
1189 ac_init_version=false
1190 # The variables have the same names as the options, with
1191 # dashes changed to underlines.
1192 cache_file=/dev/null
1199 program_transform_name=s,x,x,
1207 # Installation directory options.
1208 # These are left unexpanded so users can "make install exec_prefix=/foo"
1209 # and all the variables that are supposed to be based on exec_prefix
1210 # by default will actually change.
1211 # Use braces instead of parens because sh, perl, etc. also accept them.
1212 # (The list follows the same order as the GNU Coding Standards.)
1213 bindir='${exec_prefix}/bin'
1214 sbindir='${exec_prefix}/sbin'
1215 libexecdir='${exec_prefix}/libexec'
1216 datarootdir='${prefix}/share'
1217 datadir='${datarootdir}'
1218 sysconfdir='${prefix}/etc'
1219 sharedstatedir='${prefix}/com'
1220 localstatedir='${prefix}/var'
1221 includedir='${prefix}/include'
1222 oldincludedir='/usr/include'
1223 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1224 infodir='${datarootdir}/info'
1229 libdir='${exec_prefix}/lib'
1230 localedir='${datarootdir}/locale'
1231 mandir='${datarootdir}/man'
1237 # If the previous option needs an argument, assign it.
1238 if test -n "$ac_prev"; then
1239 eval $ac_prev=\$ac_option
1245 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1249 # Accept the important Cygnus configure options, so we can diagnose typos.
1251 case $ac_dashdash$ac_option in
1255 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1257 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1258 bindir=$ac_optarg ;;
1260 -build | --build | --buil | --bui | --bu)
1261 ac_prev=build_alias ;;
1262 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1263 build_alias=$ac_optarg ;;
1265 -cache-file | --cache-file | --cache-fil | --cache-fi \
1266 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1267 ac_prev=cache_file ;;
1268 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1269 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1270 cache_file=$ac_optarg ;;
1272 --config-cache | -C)
1273 cache_file=config.cache ;;
1275 -datadir | --datadir | --datadi | --datad)
1277 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1278 datadir=$ac_optarg ;;
1280 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1281 | --dataroo | --dataro | --datar)
1282 ac_prev=datarootdir ;;
1283 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1284 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1285 datarootdir=$ac_optarg ;;
1287 -disable-* | --disable-*)
1288 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1292 { (exit 1); exit 1; }; }
1293 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1294 eval enable_$ac_feature=no ;;
1296 -docdir | --docdir | --docdi | --doc | --do)
1298 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1299 docdir=$ac_optarg ;;
1301 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1303 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1304 dvidir=$ac_optarg ;;
1306 -enable-* | --enable-*)
1307 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1308 # Reject names that are not valid shell variable names.
1309 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1310 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1311 { (exit 1); exit 1; }; }
1312 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1313 eval enable_$ac_feature=\$ac_optarg ;;
1315 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1316 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1317 | --exec | --exe | --ex)
1318 ac_prev=exec_prefix ;;
1319 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1320 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1321 | --exec=* | --exe=* | --ex=*)
1322 exec_prefix=$ac_optarg ;;
1324 -gas | --gas | --ga | --g)
1325 # Obsolete; use --with-gas.
1328 -help | --help | --hel | --he | -h)
1329 ac_init_help=long ;;
1330 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1331 ac_init_help=recursive ;;
1332 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1333 ac_init_help=short ;;
1335 -host | --host | --hos | --ho)
1336 ac_prev=host_alias ;;
1337 -host=* | --host=* | --hos=* | --ho=*)
1338 host_alias=$ac_optarg ;;
1340 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1342 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1344 htmldir=$ac_optarg ;;
1346 -includedir | --includedir | --includedi | --included | --include \
1347 | --includ | --inclu | --incl | --inc)
1348 ac_prev=includedir ;;
1349 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1350 | --includ=* | --inclu=* | --incl=* | --inc=*)
1351 includedir=$ac_optarg ;;
1353 -infodir | --infodir | --infodi | --infod | --info | --inf)
1355 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1356 infodir=$ac_optarg ;;
1358 -libdir | --libdir | --libdi | --libd)
1360 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1361 libdir=$ac_optarg ;;
1363 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1364 | --libexe | --libex | --libe)
1365 ac_prev=libexecdir ;;
1366 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1367 | --libexe=* | --libex=* | --libe=*)
1368 libexecdir=$ac_optarg ;;
1370 -localedir | --localedir | --localedi | --localed | --locale)
1371 ac_prev=localedir ;;
1372 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1373 localedir=$ac_optarg ;;
1375 -localstatedir | --localstatedir | --localstatedi | --localstated \
1376 | --localstate | --localstat | --localsta | --localst | --locals)
1377 ac_prev=localstatedir ;;
1378 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1379 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1380 localstatedir=$ac_optarg ;;
1382 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1384 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1385 mandir=$ac_optarg ;;
1387 -nfp | --nfp | --nf)
1388 # Obsolete; use --without-fp.
1391 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1392 | --no-cr | --no-c | -n)
1395 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1396 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1399 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1400 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1401 | --oldin | --oldi | --old | --ol | --o)
1402 ac_prev=oldincludedir ;;
1403 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1404 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1405 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1406 oldincludedir=$ac_optarg ;;
1408 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1410 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1411 prefix=$ac_optarg ;;
1413 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1414 | --program-pre | --program-pr | --program-p)
1415 ac_prev=program_prefix ;;
1416 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1417 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1418 program_prefix=$ac_optarg ;;
1420 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1421 | --program-suf | --program-su | --program-s)
1422 ac_prev=program_suffix ;;
1423 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1424 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1425 program_suffix=$ac_optarg ;;
1427 -program-transform-name | --program-transform-name \
1428 | --program-transform-nam | --program-transform-na \
1429 | --program-transform-n | --program-transform- \
1430 | --program-transform | --program-transfor \
1431 | --program-transfo | --program-transf \
1432 | --program-trans | --program-tran \
1433 | --progr-tra | --program-tr | --program-t)
1434 ac_prev=program_transform_name ;;
1435 -program-transform-name=* | --program-transform-name=* \
1436 | --program-transform-nam=* | --program-transform-na=* \
1437 | --program-transform-n=* | --program-transform-=* \
1438 | --program-transform=* | --program-transfor=* \
1439 | --program-transfo=* | --program-transf=* \
1440 | --program-trans=* | --program-tran=* \
1441 | --progr-tra=* | --program-tr=* | --program-t=*)
1442 program_transform_name=$ac_optarg ;;
1444 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1446 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1447 pdfdir=$ac_optarg ;;
1449 -psdir | --psdir | --psdi | --psd | --ps)
1451 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1454 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1455 | -silent | --silent | --silen | --sile | --sil)
1458 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1460 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1462 sbindir=$ac_optarg ;;
1464 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1465 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1466 | --sharedst | --shareds | --shared | --share | --shar \
1468 ac_prev=sharedstatedir ;;
1469 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1470 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1471 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1473 sharedstatedir=$ac_optarg ;;
1475 -site | --site | --sit)
1477 -site=* | --site=* | --sit=*)
1480 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1482 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1483 srcdir=$ac_optarg ;;
1485 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1486 | --syscon | --sysco | --sysc | --sys | --sy)
1487 ac_prev=sysconfdir ;;
1488 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1489 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1490 sysconfdir=$ac_optarg ;;
1492 -target | --target | --targe | --targ | --tar | --ta | --t)
1493 ac_prev=target_alias ;;
1494 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1495 target_alias=$ac_optarg ;;
1497 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1500 -version | --version | --versio | --versi | --vers | -V)
1501 ac_init_version=: ;;
1504 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1505 # Reject names that are not valid shell variable names.
1506 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1507 { echo "$as_me: error: invalid package name: $ac_package" >&2
1508 { (exit 1); exit 1; }; }
1509 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1510 eval with_$ac_package=\$ac_optarg ;;
1512 -without-* | --without-*)
1513 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1514 # Reject names that are not valid shell variable names.
1515 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1516 { echo "$as_me: error: invalid package name: $ac_package" >&2
1517 { (exit 1); exit 1; }; }
1518 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1519 eval with_$ac_package=no ;;
1522 # Obsolete; use --with-x.
1525 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1526 | --x-incl | --x-inc | --x-in | --x-i)
1527 ac_prev=x_includes ;;
1528 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1529 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1530 x_includes=$ac_optarg ;;
1532 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1533 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1534 ac_prev=x_libraries ;;
1535 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1536 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1537 x_libraries=$ac_optarg ;;
1539 -*) { echo "$as_me: error: unrecognized option: $ac_option
1540 Try \`$0 --help' for more information." >&2
1541 { (exit 1); exit 1; }; }
1545 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1546 # Reject names that are not valid shell variable names.
1547 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1548 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1549 { (exit 1); exit 1; }; }
1550 eval $ac_envvar=\$ac_optarg
1551 export $ac_envvar ;;
1554 # FIXME: should be removed in autoconf 3.0.
1555 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1556 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1557 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1558 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1564 if test -n "$ac_prev"; then
1565 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1566 { echo "$as_me: error: missing argument to $ac_option" >&2
1567 { (exit 1); exit 1; }; }
1570 # Be sure to have absolute directory names.
1571 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1572 datadir sysconfdir sharedstatedir localstatedir includedir \
1573 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1574 libdir localedir mandir
1576 eval ac_val=\$$ac_var
1578 [\\/$]* | ?:[\\/]* ) continue;;
1579 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1581 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1582 { (exit 1); exit 1; }; }
1585 # There might be people who depend on the old broken behavior: `$host'
1586 # used to hold the argument of --host etc.
1587 # FIXME: To remove some day.
1590 target=$target_alias
1592 # FIXME: To remove some day.
1593 if test "x$host_alias" != x; then
1594 if test "x$build_alias" = x; then
1595 cross_compiling=maybe
1596 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1597 If a cross compiler is detected then cross compile mode will be used." >&2
1598 elif test "x$build_alias" != "x$host_alias"; then
1604 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1606 test "$silent" = yes && exec 6>/dev/null
1609 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1610 ac_ls_di=`ls -di .` &&
1611 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1612 { echo "$as_me: error: Working directory cannot be determined" >&2
1613 { (exit 1); exit 1; }; }
1614 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1615 { echo "$as_me: error: pwd does not report name of working directory" >&2
1616 { (exit 1); exit 1; }; }
1619 # Find the source files, if location was not specified.
1620 if test -z "$srcdir"; then
1621 ac_srcdir_defaulted=yes
1622 # Try the directory containing this script, then the parent directory.
1623 ac_confdir=`$as_dirname -- "$0" ||
1624 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1625 X"$0" : 'X\(//\)[^/]' \| \
1626 X"$0" : 'X\(//\)$' \| \
1627 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1647 if test ! -r "$srcdir/$ac_unique_file"; then
1651 ac_srcdir_defaulted=no
1653 if test ! -r "$srcdir/$ac_unique_file"; then
1654 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1655 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1656 { (exit 1); exit 1; }; }
1658 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1660 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1661 { (exit 1); exit 1; }; }
1663 # When building in place, set srcdir=.
1664 if test "$ac_abs_confdir" = "$ac_pwd"; then
1667 # Remove unnecessary trailing slashes from srcdir.
1668 # Double slashes in file names in object file debugging info
1669 # mess up M-x gdb in Emacs.
1671 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1673 for ac_var in $ac_precious_vars; do
1674 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1675 eval ac_env_${ac_var}_value=\$${ac_var}
1676 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1677 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1681 # Report the --help message.
1683 if test "$ac_init_help" = "long"; then
1684 # Omit some internal or obsolete options to make the list less imposing.
1685 # This message is too long to be a string in the A/UX 3.1 sh.
1687 \`configure' configures asterisk trunk to adapt to many kinds of systems.
1689 Usage: $0 [OPTION]... [VAR=VALUE]...
1691 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1692 VAR=VALUE. See below for descriptions of some of the useful variables.
1694 Defaults for the options are specified in brackets.
1697 -h, --help display this help and exit
1698 --help=short display options specific to this package
1699 --help=recursive display the short help of all the included packages
1700 -V, --version display version information and exit
1701 -q, --quiet, --silent do not print \`checking...' messages
1702 --cache-file=FILE cache test results in FILE [disabled]
1703 -C, --config-cache alias for \`--cache-file=config.cache'
1704 -n, --no-create do not create output files
1705 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1707 Installation directories:
1708 --prefix=PREFIX install architecture-independent files in PREFIX
1709 [$ac_default_prefix]
1710 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1713 By default, \`make install' will install all the files in
1714 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1715 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1716 for instance \`--prefix=\$HOME'.
1718 For better control, use the options below.
1720 Fine tuning of the installation directories:
1721 --bindir=DIR user executables [EPREFIX/bin]
1722 --sbindir=DIR system admin executables [EPREFIX/sbin]
1723 --libexecdir=DIR program executables [EPREFIX/libexec]
1724 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1725 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1726 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1727 --libdir=DIR object code libraries [EPREFIX/lib]
1728 --includedir=DIR C header files [PREFIX/include]
1729 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1730 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1731 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1732 --infodir=DIR info documentation [DATAROOTDIR/info]
1733 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1734 --mandir=DIR man documentation [DATAROOTDIR/man]
1735 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1736 --htmldir=DIR html documentation [DOCDIR]
1737 --dvidir=DIR dvi documentation [DOCDIR]
1738 --pdfdir=DIR pdf documentation [DOCDIR]
1739 --psdir=DIR ps documentation [DOCDIR]
1745 --build=BUILD configure for building on BUILD [guessed]
1746 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1750 if test -n "$ac_init_help"; then
1751 case $ac_init_help in
1752 short | recursive ) echo "Configuration of asterisk trunk:";;
1757 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1758 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1759 --enable-dev-mode Turn on developer mode
1760 --enable-coverage Turn on code coverage tracking (for gcov)
1761 --disable-largefile omit support for large files
1762 --enable-internal-poll Use Asterisk's poll implementation
1763 --disable-xmldoc Explicity disable XML documentation
1766 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1767 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1768 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1769 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1770 --with-bfd=PATH use Debug symbol decoding files in PATH
1771 --with-execinfo=PATH use Stack Backtrace files in PATH
1772 --with-bluetooth=PATH use Bluetooth files in PATH
1773 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1774 --with-curses=PATH use curses files in PATH
1775 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1776 --with-dahdi=PATH use DAHDI files in PATH
1777 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
1778 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
1780 --with-gtk2=PATH use gtk2 files in PATH
1781 --with-gmime=PATH use GMime files in PATH
1782 --with-h323=PATH use OpenH323 files in PATH
1783 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1784 --with-ical=PATH use iCal files in PATH
1785 --with-iconv=PATH use Iconv files in PATH
1786 --with-iksemel=PATH use Iksemel Jabber files in PATH
1787 --with-imap=PATH use UW IMAP Toolkit files in PATH
1788 --with-inotify=PATH use inotify support files in PATH
1789 --with-iodbc=PATH use iODBC files in PATH
1790 --with-isdnnet=PATH use ISDN4Linux files in PATH
1791 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1792 --with-kqueue=PATH use kqueue support files in PATH
1793 --with-ldap=PATH use OpenLDAP files in PATH
1794 --with-libcurl=DIR look for the curl library in DIR
1795 --with-libxml2=PATH use LibXML2 files in PATH
1796 --with-ltdl=PATH use libtool files in PATH
1797 --with-lua=PATH use Lua files in PATH
1798 --with-misdn=PATH use mISDN user files in PATH
1799 --with-mysqlclient=PATH use MySQL client files in PATH
1800 --with-nbs=PATH use Network Broadcast Sound files in PATH
1801 --with-ncurses=PATH use ncurses files in PATH
1802 --with-neon=PATH use neon files in PATH
1803 --with-neon29=PATH use neon29 files in PATH
1804 --with-netsnmp=PATH use Net-SNMP files in PATH
1805 --with-newt=PATH use newt files in PATH
1806 --with-ogg=PATH use OGG files in PATH
1807 --with-openais=PATH use OpenAIS files in PATH
1808 --with-openr2=PATH use MFR2 files in PATH
1809 --with-osptk=PATH use OSP Toolkit files in PATH
1810 --with-oss=PATH use Open Sound System files in PATH
1811 --with-postgres=PATH use PostgreSQL files in PATH
1812 --with-popt=PATH use popt files in PATH
1813 --with-portaudio=PATH use PortAudio files in PATH
1814 --with-pri=PATH use ISDN PRI files in PATH
1815 --with-pwlib=PATH use PWlib files in PATH
1816 --with-radius=PATH use Radius Client files in PATH
1817 --with-resample=PATH use LIBRESAMPLE files in PATH
1818 --with-sdl=PATH use Sdl files in PATH
1819 --with-SDL_image=PATH use Sdl Image files in PATH
1820 --with-sounds-cache=PATH
1821 use cached sound tarfiles in PATH
1822 --with-spandsp=PATH use SPANDSP files in PATH
1823 --with-ss7=PATH use ISDN SS7 files in PATH
1824 --with-speex=PATH use Speex files in PATH
1825 --with-speex=PATH use Speex preprocess routines files in PATH
1826 --with-speexdsp=PATH use SpeexDSP files in PATH
1827 --with-sqlite=PATH use SQLite files in PATH
1828 --with-sqlite3=PATH use SQLite files in PATH
1829 --with-srtp=PATH use Secure RTP files in PATH
1830 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
1831 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1832 --with-tds=PATH use FreeTDS files in PATH
1833 --with-termcap=PATH use Termcap files in PATH
1834 --with-timerfd=PATH use timerfd files in PATH
1835 --with-tinfo=PATH use Term Info files in PATH
1836 --with-tonezone=PATH use tonezone files in PATH
1837 --with-unixodbc=PATH use unixODBC files in PATH
1838 --with-usb=PATH use usb files in PATH
1839 --with-vorbis=PATH use Vorbis files in PATH
1840 --with-vpb=PATH use Voicetronix API files in PATH
1841 --with-x11=PATH use X11 files in PATH
1842 --with-z=PATH use zlib compression files in PATH
1844 Some influential environment variables:
1845 CC C compiler command
1846 CFLAGS C compiler flags
1847 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1848 nonstandard directory <lib dir>
1849 LIBS libraries to pass to the linker, e.g. -l<library>
1850 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1851 you have headers in a nonstandard directory <include dir>
1853 CXX C++ compiler command
1854 CXXFLAGS C++ compiler flags
1855 CXXCPP C++ preprocessor
1857 Use these variables to override the choices made by `configure' or to help
1858 it to find libraries and programs with nonstandard names/locations.
1860 Report bugs to <https://issues.asterisk.org>.
1865 if test "$ac_init_help" = "recursive"; then
1866 # If there are subdirs, report their specific --help.
1867 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1868 test -d "$ac_dir" || continue
1872 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1874 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1875 # A ".." for each directory in $ac_dir_suffix.
1876 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1877 case $ac_top_builddir_sub in
1878 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1879 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1882 ac_abs_top_builddir=$ac_pwd
1883 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1884 # for backward compatibility:
1885 ac_top_builddir=$ac_top_build_prefix
1888 .) # We are building in place.
1890 ac_top_srcdir=$ac_top_builddir_sub
1891 ac_abs_top_srcdir=$ac_pwd ;;
1892 [\\/]* | ?:[\\/]* ) # Absolute name.
1893 ac_srcdir=$srcdir$ac_dir_suffix;
1894 ac_top_srcdir=$srcdir
1895 ac_abs_top_srcdir=$srcdir ;;
1897 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1898 ac_top_srcdir=$ac_top_build_prefix$srcdir
1899 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1901 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1903 cd "$ac_dir" || { ac_status=$?; continue; }
1904 # Check for guested configure.
1905 if test -f "$ac_srcdir/configure.gnu"; then
1907 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1908 elif test -f "$ac_srcdir/configure"; then
1910 $SHELL "$ac_srcdir/configure" --help=recursive
1912 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1914 cd "$ac_pwd" || { ac_status=$?; break; }
1918 test -n "$ac_init_help" && exit $ac_status
1919 if $ac_init_version; then
1921 asterisk configure trunk
1922 generated by GNU Autoconf 2.61
1924 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1925 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1926 This configure script is free software; the Free Software Foundation
1927 gives unlimited permission to copy, distribute and modify it.
1933 cat >config.log <<_ACEOF
1934 This file contains any messages produced by compilers while
1935 running configure, to aid debugging if configure makes a mistake.
1937 It was created by asterisk $as_me trunk, which was
1938 generated by GNU Autoconf 2.61. Invocation command line was
1950 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1951 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1952 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1953 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1954 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1956 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1957 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1959 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1960 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1961 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1962 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1963 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1964 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1965 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir=.
1974 echo "PATH: $as_dir"
1990 # Keep a trace of the command line.
1991 # Strip out --no-create and --no-recursion so they do not pile up.
1992 # Strip out --silent because we don't want to record it for future runs.
1993 # Also quote any args containing shell meta-characters.
1994 # Make two passes to allow for proper duplicate-argument suppression.
1998 ac_must_keep_next=false
2004 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2006 | -silent | --silent | --silen | --sile | --sil)
2009 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2012 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2014 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2015 if test $ac_must_keep_next = true; then
2016 ac_must_keep_next=false # Got value, back to normal.
2019 *=* | --config-cache | -C | -disable-* | --disable-* \
2020 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2021 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2022 | -with-* | --with-* | -without-* | --without-* | --x)
2023 case "$ac_configure_args0 " in
2024 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2027 -* ) ac_must_keep_next=true ;;
2030 ac_configure_args="$ac_configure_args '$ac_arg'"
2035 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2036 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2038 # When interrupted or exit'd, cleanup temporary files, and complete
2039 # config.log. We remove comments because anyway the quotes in there
2040 # would cause problems or look ugly.
2041 # WARNING: Use '\'' to represent an apostrophe within the trap.
2042 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2043 trap 'exit_status=$?
2044 # Save into config.log some information that might help in debugging.
2049 ## ---------------- ##
2050 ## Cache variables. ##
2051 ## ---------------- ##
2054 # The following way of writing the cache mishandles newlines in values,
2056 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2057 eval ac_val=\$$ac_var
2061 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2062 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2065 _ | IFS | as_nl) ;; #(
2066 *) $as_unset $ac_var ;;
2071 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2072 *${as_nl}ac_space=\ *)
2074 "s/'\''/'\''\\\\'\'''\''/g;
2075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2078 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2086 ## ----------------- ##
2087 ## Output variables. ##
2088 ## ----------------- ##
2091 for ac_var in $ac_subst_vars
2093 eval ac_val=\$$ac_var
2095 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2097 echo "$ac_var='\''$ac_val'\''"
2101 if test -n "$ac_subst_files"; then
2103 ## ------------------- ##
2104 ## File substitutions. ##
2105 ## ------------------- ##
2108 for ac_var in $ac_subst_files
2110 eval ac_val=\$$ac_var
2112 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2114 echo "$ac_var='\''$ac_val'\''"
2119 if test -s confdefs.h; then
2129 test "$ac_signal" != 0 &&
2130 echo "$as_me: caught signal $ac_signal"
2131 echo "$as_me: exit $exit_status"
2133 rm -f core *.core core.conftest.* &&
2134 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2137 for ac_signal in 1 2 13 15; do
2138 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2142 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2143 rm -f -r conftest* confdefs.h
2145 # Predefined preprocessor variables.
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_NAME "$PACKAGE_NAME"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2157 cat >>confdefs.h <<_ACEOF
2158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_STRING "$PACKAGE_STRING"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2172 # Let the site file select an alternate cache file if it wants to.
2173 # Prefer explicitly selected file to automatically selected ones.
2174 if test -n "$CONFIG_SITE"; then
2175 set x "$CONFIG_SITE"
2176 elif test "x$prefix" != xNONE; then
2177 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2179 set x "$ac_default_prefix/share/config.site" \
2180 "$ac_default_prefix/etc/config.site"
2185 if test -r "$ac_site_file"; then
2186 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2187 echo "$as_me: loading site script $ac_site_file" >&6;}
2188 sed 's/^/| /' "$ac_site_file" >&5
2193 if test -r "$cache_file"; then
2194 # Some versions of bash will fail to source /dev/null (special
2195 # files actually), so we avoid doing that.
2196 if test -f "$cache_file"; then
2197 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2198 echo "$as_me: loading cache $cache_file" >&6;}
2200 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2201 *) . "./$cache_file";;
2205 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2206 echo "$as_me: creating cache $cache_file" >&6;}
2210 ac_header_list="$ac_header_list utime.h"
2211 # Check that the precious variables saved in the cache have kept the same
2213 ac_cache_corrupted=false
2214 for ac_var in $ac_precious_vars; do
2215 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2216 eval ac_new_set=\$ac_env_${ac_var}_set
2217 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2218 eval ac_new_val=\$ac_env_${ac_var}_value
2219 case $ac_old_set,$ac_new_set in
2221 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2222 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2223 ac_cache_corrupted=: ;;
2225 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2226 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2227 ac_cache_corrupted=: ;;
2230 if test "x$ac_old_val" != "x$ac_new_val"; then
2231 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2232 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2233 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2234 echo "$as_me: former value: $ac_old_val" >&2;}
2235 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2236 echo "$as_me: current value: $ac_new_val" >&2;}
2237 ac_cache_corrupted=:
2240 # Pass precious variables to config.status.
2241 if test "$ac_new_set" = set; then
2243 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2244 *) ac_arg=$ac_var=$ac_new_val ;;
2246 case " $ac_configure_args " in
2247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2248 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2252 if $ac_cache_corrupted; then
2253 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2254 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2255 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2256 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2257 { (exit 1); exit 1; }; }
2285 ac_cpp='$CPP $CPPFLAGS'
2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2292 # cross-compile macros
2294 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2295 if test -f "$ac_dir/install-sh"; then
2297 ac_install_sh="$ac_aux_dir/install-sh -c"
2299 elif test -f "$ac_dir/install.sh"; then
2301 ac_install_sh="$ac_aux_dir/install.sh -c"
2303 elif test -f "$ac_dir/shtool"; then
2305 ac_install_sh="$ac_aux_dir/shtool install -c"
2309 if test -z "$ac_aux_dir"; then
2310 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2311 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2312 { (exit 1); exit 1; }; }
2315 # These three variables are undocumented and unsupported,
2316 # and are intended to be withdrawn in a future Autoconf release.
2317 # They can cause serious problems if a builder's source tree is in a directory
2318 # whose full name contains unusual characters.
2319 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2320 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2321 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2324 # Make sure we can run config.sub.
2325 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2326 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2327 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2328 { (exit 1); exit 1; }; }
2330 { echo "$as_me:$LINENO: checking build system type" >&5
2331 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2332 if test "${ac_cv_build+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 ac_build_alias=$build_alias
2336 test "x$ac_build_alias" = x &&
2337 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2338 test "x$ac_build_alias" = x &&
2339 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2340 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2341 { (exit 1); exit 1; }; }
2342 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2343 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2344 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2345 { (exit 1); exit 1; }; }
2348 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2349 echo "${ECHO_T}$ac_cv_build" >&6; }
2350 case $ac_cv_build in
2352 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2353 echo "$as_me: error: invalid value of canonical build" >&2;}
2354 { (exit 1); exit 1; }; };;
2357 ac_save_IFS=$IFS; IFS='-'
2363 # Remember, the first character of IFS is used to create $*,
2364 # except with old shells:
2367 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2370 { echo "$as_me:$LINENO: checking host system type" >&5
2371 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2372 if test "${ac_cv_host+set}" = set; then
2373 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 if test "x$host_alias" = x; then
2376 ac_cv_host=$ac_cv_build
2378 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2379 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2380 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2381 { (exit 1); exit 1; }; }
2385 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2386 echo "${ECHO_T}$ac_cv_host" >&6; }
2389 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2390 echo "$as_me: error: invalid value of canonical host" >&2;}
2391 { (exit 1); exit 1; }; };;
2394 ac_save_IFS=$IFS; IFS='-'
2400 # Remember, the first character of IFS is used to create $*,
2401 # except with old shells:
2404 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2408 # check existence of the package
2412 for ac_dir in `pwd` "$srcdir"/`pwd`; do
2413 if test -f "$ac_dir/install-sh"; then
2415 ac_install_sh="$ac_aux_dir/install-sh -c"
2417 elif test -f "$ac_dir/install.sh"; then
2419 ac_install_sh="$ac_aux_dir/install.sh -c"
2421 elif test -f "$ac_dir/shtool"; then
2423 ac_install_sh="$ac_aux_dir/shtool install -c"
2427 if test -z "$ac_aux_dir"; then
2428 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&5
2429 echo "$as_me: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&2;}
2430 { (exit 1); exit 1; }; }
2433 # These three variables are undocumented and unsupported,
2434 # and are intended to be withdrawn in a future Autoconf release.
2435 # They can cause serious problems if a builder's source tree is in a directory
2436 # whose full name contains unusual characters.
2437 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2438 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2439 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2446 # preserve any CFLAGS or LDFLAGS that may be set
2447 # NOTE: This must be done before calling any macros that end up
2448 # calling AC_PROG_CC or the like, since they will set a default
2449 # set of CFLAGS ("-g -O2") if the user did not supply any, and
2450 # we don't want those default flags to be carried over into the
2451 # rest of the build system since we have other means of controlling
2452 # debugging symbol generation and optimization.
2453 CONFIG_CFLAGS="${CFLAGS}"
2454 CONFIG_LDFLAGS="${LDFLAGS}"
2458 # specify output header file
2459 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2462 # Note: AC_PROG_CC *must* be specified before AC_USE_SYSTEM_EXTENSIONS or any
2463 # other macro that uses the C compiler, or the default order will be used.
2465 ac_cpp='$CPP $CPPFLAGS'
2466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2469 if test -n "$ac_tool_prefix"; then
2470 for ac_prog in gcc cc
2472 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2476 if test "${ac_cv_prog_CC+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 if test -n "$CC"; then
2480 ac_cv_prog_CC="$CC" # Let the user override the test.
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 test -z "$as_dir" && as_dir=.
2487 for ac_exec_ext in '' $ac_executable_extensions; do
2488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2489 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 if test -n "$CC"; then
2501 { echo "$as_me:$LINENO: result: $CC" >&5
2502 echo "${ECHO_T}$CC" >&6; }
2504 { echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6; }
2509 test -n "$CC" && break
2512 if test -z "$CC"; then
2514 for ac_prog in gcc cc
2516 # Extract the first word of "$ac_prog", so it can be a program name with args.
2517 set dummy $ac_prog; ac_word=$2
2518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2520 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 if test -n "$ac_ct_CC"; then
2524 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 ac_cv_prog_ac_ct_CC="$ac_prog"
2534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2544 if test -n "$ac_ct_CC"; then
2545 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2546 echo "${ECHO_T}$ac_ct_CC" >&6; }
2548 { echo "$as_me:$LINENO: result: no" >&5
2549 echo "${ECHO_T}no" >&6; }
2553 test -n "$ac_ct_CC" && break
2556 if test "x$ac_ct_CC" = x; then
2559 case $cross_compiling:$ac_tool_warned in
2561 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2562 whose name does not start with the host triplet. If you think this
2563 configuration is useful to you, please write to autoconf@gnu.org." >&5
2564 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2565 whose name does not start with the host triplet. If you think this
2566 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2567 ac_tool_warned=yes ;;
2574 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: no acceptable C compiler found in \$PATH
2577 See \`config.log' for more details." >&2;}
2578 { (exit 1); exit 1; }; }
2580 # Provide some information about the compiler.
2581 echo "$as_me:$LINENO: checking for C compiler version" >&5
2582 ac_compiler=`set X $ac_compile; echo $2`
2583 { (ac_try="$ac_compiler --version >&5"
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589 (eval "$ac_compiler --version >&5") 2>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }
2593 { (ac_try="$ac_compiler -v >&5"
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compiler -v >&5") 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }
2603 { (ac_try="$ac_compiler -V >&5"
2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2609 (eval "$ac_compiler -V >&5") 2>&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }
2614 cat >conftest.$ac_ext <<_ACEOF
2617 cat confdefs.h >>conftest.$ac_ext
2618 cat >>conftest.$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2629 ac_clean_files_save=$ac_clean_files
2630 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2631 # Try to create an executable without -o first, disregard a.out.
2632 # It will help us diagnose broken compilers, and finding out an intuition
2634 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2635 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2636 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2638 # List of possible output files, starting from the most likely.
2639 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2640 # only as a last resort. b.out is created by i960 compilers.
2641 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2643 # The IRIX 6 linker writes into existing files which may not be
2644 # executable, retaining their permissions. Remove them first so a
2645 # subsequent execution test works.
2647 for ac_file in $ac_files
2650 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2651 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2656 if { (ac_try="$ac_link_default"
2658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2662 (eval "$ac_link_default") 2>&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; then
2666 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2667 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2668 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2669 # so that the user can short-circuit this test for compilers unknown to
2671 for ac_file in $ac_files ''
2673 test -f "$ac_file" || continue
2675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2678 # We found the default executable, but exeext='' is most
2682 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2684 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2686 # We set ac_cv_exeext here because the later test for it is not
2687 # safe: cross compilers may not add the suffix if given an `-o'
2688 # argument, so we may need to know it at that point already.
2689 # Even if this section looks crufty: it has the advantage of
2696 test "$ac_cv_exeext" = no && ac_cv_exeext=
2702 { echo "$as_me:$LINENO: result: $ac_file" >&5
2703 echo "${ECHO_T}$ac_file" >&6; }
2704 if test -z "$ac_file"; then
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2709 See \`config.log' for more details." >&5
2710 echo "$as_me: error: C compiler cannot create executables
2711 See \`config.log' for more details." >&2;}
2712 { (exit 77); exit 77; }; }
2715 ac_exeext=$ac_cv_exeext
2717 # Check that the compiler produces executables we can run. If not, either
2718 # the compiler is broken, or we cross compile.
2719 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2720 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2721 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2722 # If not cross compiling, check that we can run a simple program.
2723 if test "$cross_compiling" != yes; then
2724 if { ac_try='./$ac_file'
2725 { (case "(($ac_try" in
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_try") 2>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2736 if test "$cross_compiling" = maybe; then
2739 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2740 If you meant to cross compile, use \`--host'.
2741 See \`config.log' for more details." >&5
2742 echo "$as_me: error: cannot run C compiled programs.
2743 If you meant to cross compile, use \`--host'.
2744 See \`config.log' for more details." >&2;}
2745 { (exit 1); exit 1; }; }
2749 { echo "$as_me:$LINENO: result: yes" >&5
2750 echo "${ECHO_T}yes" >&6; }
2752 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2753 ac_clean_files=$ac_clean_files_save
2754 # Check that the compiler produces executables we can run. If not, either
2755 # the compiler is broken, or we cross compile.
2756 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2757 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2758 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2759 echo "${ECHO_T}$cross_compiling" >&6; }
2761 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2762 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2763 if { (ac_try="$ac_link"
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2769 (eval "$ac_link") 2>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }; then
2773 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2774 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2775 # work properly (i.e., refer to `conftest.exe'), while it won't with
2777 for ac_file in conftest.exe conftest conftest.*; do
2778 test -f "$ac_file" || continue
2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2781 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2787 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2788 See \`config.log' for more details." >&5
2789 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2790 See \`config.log' for more details." >&2;}
2791 { (exit 1); exit 1; }; }
2794 rm -f conftest$ac_cv_exeext
2795 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2796 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2798 rm -f conftest.$ac_ext
2799 EXEEXT=$ac_cv_exeext
2801 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2802 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2803 if test "${ac_cv_objext+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.o conftest.obj
2822 if { (ac_try="$ac_compile"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_compile") 2>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; then
2832 for ac_file in conftest.o conftest.obj conftest.*; do
2833 test -f "$ac_file" || continue;
2835 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2836 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2845 See \`config.log' for more details." >&5
2846 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2847 See \`config.log' for more details." >&2;}
2848 { (exit 1); exit 1; }; }
2851 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2853 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2854 echo "${ECHO_T}$ac_cv_objext" >&6; }
2855 OBJEXT=$ac_cv_objext
2857 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2858 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2859 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 cat >conftest.$ac_ext <<_ACEOF
2865 cat confdefs.h >>conftest.$ac_ext
2866 cat >>conftest.$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2880 rm -f conftest.$ac_objext
2881 if { (ac_try="$ac_compile"
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887 (eval "$ac_compile") 2>conftest.er1
2889 grep -v '^ *+' conftest.er1 >conftest.err
2891 cat conftest.err >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } && {
2894 test -z "$ac_c_werror_flag" ||
2895 test ! -s conftest.err
2896 } && test -s conftest.$ac_objext; then
2899 echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2909 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2910 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2911 GCC=`test $ac_compiler_gnu = yes && echo yes`
2912 ac_test_CFLAGS=${CFLAGS+set}
2913 ac_save_CFLAGS=$CFLAGS
2914 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2915 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2916 if test "${ac_cv_prog_cc_g+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 ac_save_c_werror_flag=$ac_c_werror_flag
2920 ac_c_werror_flag=yes
2923 cat >conftest.$ac_ext <<_ACEOF
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2938 rm -f conftest.$ac_objext
2939 if { (ac_try="$ac_compile"
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945 (eval "$ac_compile") 2>conftest.er1
2947 grep -v '^ *+' conftest.er1 >conftest.err
2949 cat conftest.err >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); } && {
2952 test -z "$ac_c_werror_flag" ||
2953 test ! -s conftest.err
2954 } && test -s conftest.$ac_objext; then
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.$ac_ext >&5
2961 cat >conftest.$ac_ext <<_ACEOF
2964 cat confdefs.h >>conftest.$ac_ext
2965 cat >>conftest.$ac_ext <<_ACEOF
2966 /* end confdefs.h. */
2976 rm -f conftest.$ac_objext
2977 if { (ac_try="$ac_compile"
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983 (eval "$ac_compile") 2>conftest.er1
2985 grep -v '^ *+' conftest.er1 >conftest.err
2987 cat conftest.err >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } && {
2990 test -z "$ac_c_werror_flag" ||
2991 test ! -s conftest.err
2992 } && test -s conftest.$ac_objext; then
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2998 ac_c_werror_flag=$ac_save_c_werror_flag
3000 cat >conftest.$ac_ext <<_ACEOF
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3015 rm -f conftest.$ac_objext
3016 if { (ac_try="$ac_compile"
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022 (eval "$ac_compile") 2>conftest.er1
3024 grep -v '^ *+' conftest.er1 >conftest.err
3026 cat conftest.err >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); } && {
3029 test -z "$ac_c_werror_flag" ||
3030 test ! -s conftest.err
3031 } && test -s conftest.$ac_objext; then
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 ac_c_werror_flag=$ac_save_c_werror_flag
3049 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3050 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3051 if test "$ac_test_CFLAGS" = set; then
3052 CFLAGS=$ac_save_CFLAGS
3053 elif test $ac_cv_prog_cc_g = yes; then
3054 if test "$GCC" = yes; then
3060 if test "$GCC" = yes; then
3066 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3067 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3068 if test "${ac_cv_prog_cc_c89+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 ac_cv_prog_cc_c89=no
3073 cat >conftest.$ac_ext <<_ACEOF
3076 cat confdefs.h >>conftest.$ac_ext
3077 cat >>conftest.$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3081 #include <sys/types.h>
3082 #include <sys/stat.h>
3083 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3084 struct buf { int x; };
3085 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3086 static char *e (p, i)
3092 static char *f (char * (*g) (char **, int), char **p, ...)
3097 s = g (p, va_arg (v,int));
3102 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3103 function prototypes and stuff, but not '\xHH' hex character constants.
3104 These don't provoke an error unfortunately, instead are silently treated
3105 as 'x'. The following induces an error, until -std is added to get
3106 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3107 array size at least. It's necessary to write '\x00'==0 to get something
3108 that's true only with -std. */
3109 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3111 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3112 inside strings and character constants. */
3114 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3116 int test (int i, double x);
3117 struct s1 {int (*f) (int a);};
3118 struct s2 {int (*f) (double a);};
3119 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3125 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3130 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3131 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3133 CC="$ac_save_CC $ac_arg"
3134 rm -f conftest.$ac_objext
3135 if { (ac_try="$ac_compile"
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141 (eval "$ac_compile") 2>conftest.er1
3143 grep -v '^ *+' conftest.er1 >conftest.err
3145 cat conftest.err >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } && {
3148 test -z "$ac_c_werror_flag" ||
3149 test ! -s conftest.err
3150 } && test -s conftest.$ac_objext; then
3151 ac_cv_prog_cc_c89=$ac_arg
3153 echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3159 rm -f core conftest.err conftest.$ac_objext
3160 test "x$ac_cv_prog_cc_c89" != "xno" && break
3162 rm -f conftest.$ac_ext
3167 case "x$ac_cv_prog_cc_c89" in
3169 { echo "$as_me:$LINENO: result: none needed" >&5
3170 echo "${ECHO_T}none needed" >&6; } ;;
3172 { echo "$as_me:$LINENO: result: unsupported" >&5
3173 echo "${ECHO_T}unsupported" >&6; } ;;
3175 CC="$CC $ac_cv_prog_cc_c89"
3176 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3177 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3182 ac_cpp='$CPP $CPPFLAGS'
3183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3189 cat >>confdefs.h <<\_ACEOF
3190 #define _GNU_SOURCE 1
3196 ac_cpp='$CPP $CPPFLAGS'
3197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3200 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3201 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3202 # On Suns, sometimes $CPP names a directory.
3203 if test -n "$CPP" && test -d "$CPP"; then
3206 if test -z "$CPP"; then
3207 if test "${ac_cv_prog_CPP+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 # Double quotes because CPP needs to be expanded
3211 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3214 for ac_c_preproc_warn_flag in '' yes
3216 # Use a header file that comes with gcc, so configuring glibc
3217 # with a fresh cross-compiler works.
3218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3219 # <limits.h> exists even on freestanding compilers.
3220 # On the NeXT, cc -E runs the code through the compiler's parser,
3221 # not just through cpp. "Syntax error" is here to catch this case.
3222 cat >conftest.$ac_ext <<_ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3229 # include <limits.h>
3231 # include <assert.h>
3235 if { (ac_try="$ac_cpp conftest.$ac_ext"
3237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3241 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3243 grep -v '^ *+' conftest.er1 >conftest.err
3245 cat conftest.err >&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); } >/dev/null && {
3248 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3249 test ! -s conftest.err
3253 echo "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.$ac_ext >&5
3256 # Broken: fails on valid input.
3260 rm -f conftest.err conftest.$ac_ext
3262 # OK, works on sane cases. Now check whether nonexistent headers
3263 # can be detected and how.
3264 cat >conftest.$ac_ext <<_ACEOF
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3270 #include <ac_nonexistent.h>
3272 if { (ac_try="$ac_cpp conftest.$ac_ext"
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3280 grep -v '^ *+' conftest.er1 >conftest.err
3282 cat conftest.err >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } >/dev/null && {
3285 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3286 test ! -s conftest.err
3288 # Broken: success on invalid input.
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 # Passes both tests.
3299 rm -f conftest.err conftest.$ac_ext
3302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3303 rm -f conftest.err conftest.$ac_ext
3304 if $ac_preproc_ok; then
3316 { echo "$as_me:$LINENO: result: $CPP" >&5
3317 echo "${ECHO_T}$CPP" >&6; }
3319 for ac_c_preproc_warn_flag in '' yes
3321 # Use a header file that comes with gcc, so configuring glibc
3322 # with a fresh cross-compiler works.
3323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3324 # <limits.h> exists even on freestanding compilers.
3325 # On the NeXT, cc -E runs the code through the compiler's parser,
3326 # not just through cpp. "Syntax error" is here to catch this case.
3327 cat >conftest.$ac_ext <<_ACEOF
3330 cat confdefs.h >>conftest.$ac_ext
3331 cat >>conftest.$ac_ext <<_ACEOF
3332 /* end confdefs.h. */
3334 # include <limits.h>
3336 # include <assert.h>
3340 if { (ac_try="$ac_cpp conftest.$ac_ext"
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3348 grep -v '^ *+' conftest.er1 >conftest.err
3350 cat conftest.err >&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } >/dev/null && {
3353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3354 test ! -s conftest.err
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3361 # Broken: fails on valid input.
3365 rm -f conftest.err conftest.$ac_ext
3367 # OK, works on sane cases. Now check whether nonexistent headers
3368 # can be detected and how.
3369 cat >conftest.$ac_ext <<_ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3375 #include <ac_nonexistent.h>
3377 if { (ac_try="$ac_cpp conftest.$ac_ext"
3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev/null && {
3390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3391 test ! -s conftest.err
3393 # Broken: success on invalid input.
3396 echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3399 # Passes both tests.
3404 rm -f conftest.err conftest.$ac_ext
3407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3408 rm -f conftest.err conftest.$ac_ext
3409 if $ac_preproc_ok; then
3412 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3413 See \`config.log' for more details." >&5
3414 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3415 See \`config.log' for more details." >&2;}
3416 { (exit 1); exit 1; }; }
3420 ac_cpp='$CPP $CPPFLAGS'
3421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3426 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3427 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3428 if test "${ac_cv_path_GREP+set}" = set; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 # Extract the first word of "grep ggrep" to use in msg output
3432 if test -z "$GREP"; then
3433 set dummy grep ggrep; ac_prog_name=$2
3434 if test "${ac_cv_path_GREP+set}" = set; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 ac_path_GREP_found=false
3438 # Loop through the user's path and test for each of PROGNAME-LIST
3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3443 test -z "$as_dir" && as_dir=.
3444 for ac_prog in grep ggrep; do
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3447 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3448 # Check for GNU ac_path_GREP and select it if it is found.
3449 # Check for GNU $ac_path_GREP
3450 case `"$ac_path_GREP" --version 2>&1` in
3452 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3455 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3458 cat "conftest.in" "conftest.in" >"conftest.tmp"
3459 mv "conftest.tmp" "conftest.in"
3460 cp "conftest.in" "conftest.nl"
3461 echo 'GREP' >> "conftest.nl"
3462 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3463 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3464 ac_count=`expr $ac_count + 1`
3465 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3466 # Best one so far, save it but keep looking for a better one
3467 ac_cv_path_GREP="$ac_path_GREP"
3468 ac_path_GREP_max=$ac_count
3470 # 10*(2^10) chars as input seems more than enough
3471 test $ac_count -gt 10 && break
3473 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3477 $ac_path_GREP_found && break 3
3487 GREP="$ac_cv_path_GREP"
3488 if test -z "$GREP"; then
3489 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3490 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3491 { (exit 1); exit 1; }; }
3495 ac_cv_path_GREP=$GREP
3500 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3501 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3502 GREP="$ac_cv_path_GREP"
3505 { echo "$as_me:$LINENO: checking for egrep" >&5
3506 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3507 if test "${ac_cv_path_EGREP+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3511 then ac_cv_path_EGREP="$GREP -E"
3513 # Extract the first word of "egrep" to use in msg output
3514 if test -z "$EGREP"; then
3515 set dummy egrep; ac_prog_name=$2
3516 if test "${ac_cv_path_EGREP+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 ac_path_EGREP_found=false
3520 # Loop through the user's path and test for each of PROGNAME-LIST
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3525 test -z "$as_dir" && as_dir=.
3526 for ac_prog in egrep; do
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3529 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3530 # Check for GNU ac_path_EGREP and select it if it is found.
3531 # Check for GNU $ac_path_EGREP
3532 case `"$ac_path_EGREP" --version 2>&1` in
3534 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3537 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3540 cat "conftest.in" "conftest.in" >"conftest.tmp"
3541 mv "conftest.tmp" "conftest.in"
3542 cp "conftest.in" "conftest.nl"
3543 echo 'EGREP' >> "conftest.nl"
3544 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3545 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3546 ac_count=`expr $ac_count + 1`
3547 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3548 # Best one so far, save it but keep looking for a better one
3549 ac_cv_path_EGREP="$ac_path_EGREP"
3550 ac_path_EGREP_max=$ac_count
3552 # 10*(2^10) chars as input seems more than enough
3553 test $ac_count -gt 10 && break
3555 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3559 $ac_path_EGREP_found && break 3
3569 EGREP="$ac_cv_path_EGREP"
3570 if test -z "$EGREP"; then
3571 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3572 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3573 { (exit 1); exit 1; }; }
3577 ac_cv_path_EGREP=$EGREP
3583 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3584 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3585 EGREP="$ac_cv_path_EGREP"
3589 { echo "$as_me:$LINENO: checking for AIX" >&5
3590 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3591 cat >conftest.$ac_ext <<_ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3603 $EGREP "yes" >/dev/null 2>&1; then
3604 { echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6; }
3606 cat >>confdefs.h <<\_ACEOF
3607 #define _ALL_SOURCE 1
3611 { echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6; }
3617 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3618 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3619 if test "${ac_cv_header_stdc+set}" = set; then
3620 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 cat >conftest.$ac_ext <<_ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3641 rm -f conftest.$ac_objext
3642 if { (ac_try="$ac_compile"
3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645 *) ac_try_echo=$ac_try;;
3647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3648 (eval "$ac_compile") 2>conftest.er1
3650 grep -v '^ *+' conftest.er1 >conftest.err
3652 cat conftest.err >&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); } && {
3655 test -z "$ac_c_werror_flag" ||
3656 test ! -s conftest.err
3657 } && test -s conftest.$ac_objext; then
3658 ac_cv_header_stdc=yes
3660 echo "$as_me: failed program was:" >&5
3661 sed 's/^/| /' conftest.$ac_ext >&5
3663 ac_cv_header_stdc=no
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668 if test $ac_cv_header_stdc = yes; then
3669 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3670 cat >conftest.$ac_ext <<_ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h. */
3679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3680 $EGREP "memchr" >/dev/null 2>&1; then
3683 ac_cv_header_stdc=no
3689 if test $ac_cv_header_stdc = yes; then
3690 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3691 cat >conftest.$ac_ext <<_ACEOF
3694 cat confdefs.h >>conftest.$ac_ext
3695 cat >>conftest.$ac_ext <<_ACEOF
3696 /* end confdefs.h. */
3700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3701 $EGREP "free" >/dev/null 2>&1; then
3704 ac_cv_header_stdc=no
3710 if test $ac_cv_header_stdc = yes; then
3711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3712 if test "$cross_compiling" = yes; then
3715 cat >conftest.$ac_ext <<_ACEOF
3718 cat confdefs.h >>conftest.$ac_ext
3719 cat >>conftest.$ac_ext <<_ACEOF
3720 /* end confdefs.h. */
3723 #if ((' ' & 0x0FF) == 0x020)
3724 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3725 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3727 # define ISLOWER(c) \
3728 (('a' <= (c) && (c) <= 'i') \
3729 || ('j' <= (c) && (c) <= 'r') \
3730 || ('s' <= (c) && (c) <= 'z'))
3731 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3734 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3739 for (i = 0; i < 256; i++)
3740 if (XOR (islower (i), ISLOWER (i))
3741 || toupper (i) != TOUPPER (i))
3746 rm -f conftest$ac_exeext
3747 if { (ac_try="$ac_link"
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3753 (eval "$ac_link") 2>&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3757 { (case "(($ac_try" in
3758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3759 *) ac_try_echo=$ac_try;;
3761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3762 (eval "$ac_try") 2>&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); }; }; then
3768 echo "$as_me: program exited with status $ac_status" >&5
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.$ac_ext >&5
3773 ac_cv_header_stdc=no
3775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3781 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3782 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3783 if test $ac_cv_header_stdc = yes; then
3785 cat >>confdefs.h <<\_ACEOF
3786 #define STDC_HEADERS 1
3791 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3801 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3802 inttypes.h stdint.h unistd.h
3804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 cat >conftest.$ac_ext <<_ACEOF
3813 cat confdefs.h >>conftest.$ac_ext
3814 cat >>conftest.$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3816 $ac_includes_default
3818 #include <$ac_header>
3820 rm -f conftest.$ac_objext
3821 if { (ac_try="$ac_compile"
3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824 *) ac_try_echo=$ac_try;;
3826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3827 (eval "$ac_compile") 2>conftest.er1
3829 grep -v '^ *+' conftest.er1 >conftest.err
3831 cat conftest.err >&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } && {
3834 test -z "$ac_c_werror_flag" ||
3835 test ! -s conftest.err
3836 } && test -s conftest.$ac_objext; then
3837 eval "$as_ac_Header=yes"
3839 echo "$as_me: failed program was:" >&5
3840 sed 's/^/| /' conftest.$ac_ext >&5
3842 eval "$as_ac_Header=no"
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 ac_res=`eval echo '${'$as_ac_Header'}'`
3848 { echo "$as_me:$LINENO: result: $ac_res" >&5
3849 echo "${ECHO_T}$ac_res" >&6; }
3850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3851 cat >>confdefs.h <<_ACEOF
3852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3860 if test "${ac_cv_header_minix_config_h+set}" = set; then
3861 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3862 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3863 if test "${ac_cv_header_minix_config_h+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3867 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3869 # Is the header compilable?
3870 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3871 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3872 cat >conftest.$ac_ext <<_ACEOF
3875 cat confdefs.h >>conftest.$ac_ext
3876 cat >>conftest.$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3878 $ac_includes_default
3879 #include <minix/config.h>
3881 rm -f conftest.$ac_objext
3882 if { (ac_try="$ac_compile"
3884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3885 *) ac_try_echo=$ac_try;;
3887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3888 (eval "$ac_compile") 2>conftest.er1
3890 grep -v '^ *+' conftest.er1 >conftest.err
3892 cat conftest.err >&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); } && {
3895 test -z "$ac_c_werror_flag" ||
3896 test ! -s conftest.err
3897 } && test -s conftest.$ac_objext; then
3898 ac_header_compiler=yes
3900 echo "$as_me: failed program was:" >&5
3901 sed 's/^/| /' conftest.$ac_ext >&5
3903 ac_header_compiler=no
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3907 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3908 echo "${ECHO_T}$ac_header_compiler" >&6; }
3910 # Is the header present?
3911 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3912 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3913 cat >conftest.$ac_ext <<_ACEOF
3916 cat confdefs.h >>conftest.$ac_ext
3917 cat >>conftest.$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3919 #include <minix/config.h>
3921 if { (ac_try="$ac_cpp conftest.$ac_ext"
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;;
3926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3929 grep -v '^ *+' conftest.er1 >conftest.err
3931 cat conftest.err >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); } >/dev/null && {
3934 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3935 test ! -s conftest.err
3937 ac_header_preproc=yes
3939 echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3942 ac_header_preproc=no
3945 rm -f conftest.err conftest.$ac_ext
3946 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3947 echo "${ECHO_T}$ac_header_preproc" >&6; }
3949 # So? What about this header?
3950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3952 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3953 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3954 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3955 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3956 ac_header_preproc=yes
3959 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3960 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3961 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3962 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3963 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3964 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3965 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3966 echo "$as_me: WARNING: minix/config.h: section \"Present But