2 # From configure.ac Revision: 277703 .
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>
621 ac_default_prefix=/usr/local
622 ac_default_prefix=/usr/local
623 ac_default_prefix=/usr
634 program_transform_name
928 PRI_CALL_WAITING_INCLUDE
932 PRI_AOC_EVENTS_INCLUDE
944 PRI_HANGUP_FIX_INCLUDE
952 PRI_CALL_HOLD_INCLUDE
955 PRI_CALL_REROUTING_LIB
956 PRI_CALL_REROUTING_INCLUDE
957 PRI_CALL_REROUTING_DIR
958 PBX_PRI_CALL_REROUTING
960 PRI_SETUP_KEYPAD_INCLUDE
963 PRI_INBANDDISCONNECT_LIB
964 PRI_INBANDDISCONNECT_INCLUDE
965 PRI_INBANDDISCONNECT_DIR
966 PBX_PRI_INBANDDISCONNECT
968 PRI_PROG_W_CAUSE_INCLUDE
971 PRI_SERVICE_MESSAGES_LIB
972 PRI_SERVICE_MESSAGES_INCLUDE
973 PRI_SERVICE_MESSAGES_DIR
974 PBX_PRI_SERVICE_MESSAGES
975 PRI_REVERSE_CHARGE_LIB
976 PRI_REVERSE_CHARGE_INCLUDE
977 PRI_REVERSE_CHARGE_DIR
978 PBX_PRI_REVERSE_CHARGE
1012 SPEEX_PREPROCESS_LIB
1013 SPEEX_PREPROCESS_INCLUDE
1014 SPEEX_PREPROCESS_DIR
1015 PBX_SPEEX_PREPROCESS
1090 PBX_PTHREAD_RWLOCK_INITIALIZER
1091 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
1095 AST_DECLARATION_AFTER_STATEMENT
1097 AST_NO_STRICT_OVERFLOW
1105 PBX_MISDN_FAC_RESULT
1135 GENERIC_ODBC_INCLUDE
1137 PBX_SYSLOG_FACILITY_LOG_AUTH
1138 PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
1139 PBX_SYSLOG_FACILITY_LOG_CRON
1140 PBX_SYSLOG_FACILITY_LOG_DAEMON
1141 PBX_SYSLOG_FACILITY_LOG_FTP
1142 PBX_SYSLOG_FACILITY_LOG_KERN
1143 PBX_SYSLOG_FACILITY_LOG_LPR
1144 PBX_SYSLOG_FACILITY_LOG_MAIL
1145 PBX_SYSLOG_FACILITY_LOG_NEWS
1146 PBX_SYSLOG_FACILITY_LOG_SYSLOG
1147 PBX_SYSLOG_FACILITY_LOG_UUCP
1151 ac_precious_vars='build_alias
1166 # Initialize some variables set by options.
1168 ac_init_version=false
1169 # The variables have the same names as the options, with
1170 # dashes changed to underlines.
1171 cache_file=/dev/null
1178 program_transform_name=s,x,x,
1186 # Installation directory options.
1187 # These are left unexpanded so users can "make install exec_prefix=/foo"
1188 # and all the variables that are supposed to be based on exec_prefix
1189 # by default will actually change.
1190 # Use braces instead of parens because sh, perl, etc. also accept them.
1191 # (The list follows the same order as the GNU Coding Standards.)
1192 bindir='${exec_prefix}/bin'
1193 sbindir='${exec_prefix}/sbin'
1194 libexecdir='${exec_prefix}/libexec'
1195 datarootdir='${prefix}/share'
1196 datadir='${datarootdir}'
1197 sysconfdir='${prefix}/etc'
1198 sharedstatedir='${prefix}/com'
1199 localstatedir='${prefix}/var'
1200 includedir='${prefix}/include'
1201 oldincludedir='/usr/include'
1202 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1203 infodir='${datarootdir}/info'
1208 libdir='${exec_prefix}/lib'
1209 localedir='${datarootdir}/locale'
1210 mandir='${datarootdir}/man'
1216 # If the previous option needs an argument, assign it.
1217 if test -n "$ac_prev"; then
1218 eval $ac_prev=\$ac_option
1224 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1228 # Accept the important Cygnus configure options, so we can diagnose typos.
1230 case $ac_dashdash$ac_option in
1234 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1236 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1237 bindir=$ac_optarg ;;
1239 -build | --build | --buil | --bui | --bu)
1240 ac_prev=build_alias ;;
1241 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1242 build_alias=$ac_optarg ;;
1244 -cache-file | --cache-file | --cache-fil | --cache-fi \
1245 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1246 ac_prev=cache_file ;;
1247 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1248 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1249 cache_file=$ac_optarg ;;
1251 --config-cache | -C)
1252 cache_file=config.cache ;;
1254 -datadir | --datadir | --datadi | --datad)
1256 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1257 datadir=$ac_optarg ;;
1259 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1260 | --dataroo | --dataro | --datar)
1261 ac_prev=datarootdir ;;
1262 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1263 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1264 datarootdir=$ac_optarg ;;
1266 -disable-* | --disable-*)
1267 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1270 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1271 { (exit 1); exit 1; }; }
1272 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1273 eval enable_$ac_feature=no ;;
1275 -docdir | --docdir | --docdi | --doc | --do)
1277 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1278 docdir=$ac_optarg ;;
1280 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1282 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1283 dvidir=$ac_optarg ;;
1285 -enable-* | --enable-*)
1286 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1289 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1290 { (exit 1); exit 1; }; }
1291 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1292 eval enable_$ac_feature=\$ac_optarg ;;
1294 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1295 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1296 | --exec | --exe | --ex)
1297 ac_prev=exec_prefix ;;
1298 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1299 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1300 | --exec=* | --exe=* | --ex=*)
1301 exec_prefix=$ac_optarg ;;
1303 -gas | --gas | --ga | --g)
1304 # Obsolete; use --with-gas.
1307 -help | --help | --hel | --he | -h)
1308 ac_init_help=long ;;
1309 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1310 ac_init_help=recursive ;;
1311 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1312 ac_init_help=short ;;
1314 -host | --host | --hos | --ho)
1315 ac_prev=host_alias ;;
1316 -host=* | --host=* | --hos=* | --ho=*)
1317 host_alias=$ac_optarg ;;
1319 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1321 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1323 htmldir=$ac_optarg ;;
1325 -includedir | --includedir | --includedi | --included | --include \
1326 | --includ | --inclu | --incl | --inc)
1327 ac_prev=includedir ;;
1328 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1329 | --includ=* | --inclu=* | --incl=* | --inc=*)
1330 includedir=$ac_optarg ;;
1332 -infodir | --infodir | --infodi | --infod | --info | --inf)
1334 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1335 infodir=$ac_optarg ;;
1337 -libdir | --libdir | --libdi | --libd)
1339 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1340 libdir=$ac_optarg ;;
1342 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1343 | --libexe | --libex | --libe)
1344 ac_prev=libexecdir ;;
1345 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1346 | --libexe=* | --libex=* | --libe=*)
1347 libexecdir=$ac_optarg ;;
1349 -localedir | --localedir | --localedi | --localed | --locale)
1350 ac_prev=localedir ;;
1351 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1352 localedir=$ac_optarg ;;
1354 -localstatedir | --localstatedir | --localstatedi | --localstated \
1355 | --localstate | --localstat | --localsta | --localst | --locals)
1356 ac_prev=localstatedir ;;
1357 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1358 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1359 localstatedir=$ac_optarg ;;
1361 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1363 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1364 mandir=$ac_optarg ;;
1366 -nfp | --nfp | --nf)
1367 # Obsolete; use --without-fp.
1370 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1371 | --no-cr | --no-c | -n)
1374 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1375 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1378 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1379 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1380 | --oldin | --oldi | --old | --ol | --o)
1381 ac_prev=oldincludedir ;;
1382 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1383 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1384 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1385 oldincludedir=$ac_optarg ;;
1387 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1389 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1390 prefix=$ac_optarg ;;
1392 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1393 | --program-pre | --program-pr | --program-p)
1394 ac_prev=program_prefix ;;
1395 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1396 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1397 program_prefix=$ac_optarg ;;
1399 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1400 | --program-suf | --program-su | --program-s)
1401 ac_prev=program_suffix ;;
1402 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1403 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1404 program_suffix=$ac_optarg ;;
1406 -program-transform-name | --program-transform-name \
1407 | --program-transform-nam | --program-transform-na \
1408 | --program-transform-n | --program-transform- \
1409 | --program-transform | --program-transfor \
1410 | --program-transfo | --program-transf \
1411 | --program-trans | --program-tran \
1412 | --progr-tra | --program-tr | --program-t)
1413 ac_prev=program_transform_name ;;
1414 -program-transform-name=* | --program-transform-name=* \
1415 | --program-transform-nam=* | --program-transform-na=* \
1416 | --program-transform-n=* | --program-transform-=* \
1417 | --program-transform=* | --program-transfor=* \
1418 | --program-transfo=* | --program-transf=* \
1419 | --program-trans=* | --program-tran=* \
1420 | --progr-tra=* | --program-tr=* | --program-t=*)
1421 program_transform_name=$ac_optarg ;;
1423 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1425 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1426 pdfdir=$ac_optarg ;;
1428 -psdir | --psdir | --psdi | --psd | --ps)
1430 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1433 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1434 | -silent | --silent | --silen | --sile | --sil)
1437 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1439 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1441 sbindir=$ac_optarg ;;
1443 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1444 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1445 | --sharedst | --shareds | --shared | --share | --shar \
1447 ac_prev=sharedstatedir ;;
1448 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1449 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1450 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1452 sharedstatedir=$ac_optarg ;;
1454 -site | --site | --sit)
1456 -site=* | --site=* | --sit=*)
1459 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1461 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1462 srcdir=$ac_optarg ;;
1464 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1465 | --syscon | --sysco | --sysc | --sys | --sy)
1466 ac_prev=sysconfdir ;;
1467 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1468 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1469 sysconfdir=$ac_optarg ;;
1471 -target | --target | --targe | --targ | --tar | --ta | --t)
1472 ac_prev=target_alias ;;
1473 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1474 target_alias=$ac_optarg ;;
1476 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1479 -version | --version | --versio | --versi | --vers | -V)
1480 ac_init_version=: ;;
1483 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1484 # Reject names that are not valid shell variable names.
1485 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1486 { echo "$as_me: error: invalid package name: $ac_package" >&2
1487 { (exit 1); exit 1; }; }
1488 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1489 eval with_$ac_package=\$ac_optarg ;;
1491 -without-* | --without-*)
1492 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1493 # Reject names that are not valid shell variable names.
1494 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1495 { echo "$as_me: error: invalid package name: $ac_package" >&2
1496 { (exit 1); exit 1; }; }
1497 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1498 eval with_$ac_package=no ;;
1501 # Obsolete; use --with-x.
1504 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1505 | --x-incl | --x-inc | --x-in | --x-i)
1506 ac_prev=x_includes ;;
1507 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1508 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1509 x_includes=$ac_optarg ;;
1511 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1512 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1513 ac_prev=x_libraries ;;
1514 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1515 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1516 x_libraries=$ac_optarg ;;
1518 -*) { echo "$as_me: error: unrecognized option: $ac_option
1519 Try \`$0 --help' for more information." >&2
1520 { (exit 1); exit 1; }; }
1524 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1525 # Reject names that are not valid shell variable names.
1526 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1527 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1528 { (exit 1); exit 1; }; }
1529 eval $ac_envvar=\$ac_optarg
1530 export $ac_envvar ;;
1533 # FIXME: should be removed in autoconf 3.0.
1534 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1535 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1536 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1537 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1543 if test -n "$ac_prev"; then
1544 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1545 { echo "$as_me: error: missing argument to $ac_option" >&2
1546 { (exit 1); exit 1; }; }
1549 # Be sure to have absolute directory names.
1550 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1551 datadir sysconfdir sharedstatedir localstatedir includedir \
1552 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1553 libdir localedir mandir
1555 eval ac_val=\$$ac_var
1557 [\\/$]* | ?:[\\/]* ) continue;;
1558 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1560 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1561 { (exit 1); exit 1; }; }
1564 # There might be people who depend on the old broken behavior: `$host'
1565 # used to hold the argument of --host etc.
1566 # FIXME: To remove some day.
1569 target=$target_alias
1571 # FIXME: To remove some day.
1572 if test "x$host_alias" != x; then
1573 if test "x$build_alias" = x; then
1574 cross_compiling=maybe
1575 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1576 If a cross compiler is detected then cross compile mode will be used." >&2
1577 elif test "x$build_alias" != "x$host_alias"; then
1583 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1585 test "$silent" = yes && exec 6>/dev/null
1588 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1589 ac_ls_di=`ls -di .` &&
1590 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1591 { echo "$as_me: error: Working directory cannot be determined" >&2
1592 { (exit 1); exit 1; }; }
1593 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1594 { echo "$as_me: error: pwd does not report name of working directory" >&2
1595 { (exit 1); exit 1; }; }
1598 # Find the source files, if location was not specified.
1599 if test -z "$srcdir"; then
1600 ac_srcdir_defaulted=yes
1601 # Try the directory containing this script, then the parent directory.
1602 ac_confdir=`$as_dirname -- "$0" ||
1603 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1604 X"$0" : 'X\(//\)[^/]' \| \
1605 X"$0" : 'X\(//\)$' \| \
1606 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1626 if test ! -r "$srcdir/$ac_unique_file"; then
1630 ac_srcdir_defaulted=no
1632 if test ! -r "$srcdir/$ac_unique_file"; then
1633 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1634 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1635 { (exit 1); exit 1; }; }
1637 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1639 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1640 { (exit 1); exit 1; }; }
1642 # When building in place, set srcdir=.
1643 if test "$ac_abs_confdir" = "$ac_pwd"; then
1646 # Remove unnecessary trailing slashes from srcdir.
1647 # Double slashes in file names in object file debugging info
1648 # mess up M-x gdb in Emacs.
1650 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1652 for ac_var in $ac_precious_vars; do
1653 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1654 eval ac_env_${ac_var}_value=\$${ac_var}
1655 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1656 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1660 # Report the --help message.
1662 if test "$ac_init_help" = "long"; then
1663 # Omit some internal or obsolete options to make the list less imposing.
1664 # This message is too long to be a string in the A/UX 3.1 sh.
1666 \`configure' configures asterisk trunk to adapt to many kinds of systems.
1668 Usage: $0 [OPTION]... [VAR=VALUE]...
1670 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1671 VAR=VALUE. See below for descriptions of some of the useful variables.
1673 Defaults for the options are specified in brackets.
1676 -h, --help display this help and exit
1677 --help=short display options specific to this package
1678 --help=recursive display the short help of all the included packages
1679 -V, --version display version information and exit
1680 -q, --quiet, --silent do not print \`checking...' messages
1681 --cache-file=FILE cache test results in FILE [disabled]
1682 -C, --config-cache alias for \`--cache-file=config.cache'
1683 -n, --no-create do not create output files
1684 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1686 Installation directories:
1687 --prefix=PREFIX install architecture-independent files in PREFIX
1688 [$ac_default_prefix]
1689 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1692 By default, \`make install' will install all the files in
1693 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1694 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1695 for instance \`--prefix=\$HOME'.
1697 For better control, use the options below.
1699 Fine tuning of the installation directories:
1700 --bindir=DIR user executables [EPREFIX/bin]
1701 --sbindir=DIR system admin executables [EPREFIX/sbin]
1702 --libexecdir=DIR program executables [EPREFIX/libexec]
1703 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1704 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1705 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1706 --libdir=DIR object code libraries [EPREFIX/lib]
1707 --includedir=DIR C header files [PREFIX/include]
1708 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1709 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1710 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1711 --infodir=DIR info documentation [DATAROOTDIR/info]
1712 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1713 --mandir=DIR man documentation [DATAROOTDIR/man]
1714 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1715 --htmldir=DIR html documentation [DOCDIR]
1716 --dvidir=DIR dvi documentation [DOCDIR]
1717 --pdfdir=DIR pdf documentation [DOCDIR]
1718 --psdir=DIR ps documentation [DOCDIR]
1724 --build=BUILD configure for building on BUILD [guessed]
1725 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1729 if test -n "$ac_init_help"; then
1730 case $ac_init_help in
1731 short | recursive ) echo "Configuration of asterisk trunk:";;
1736 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1737 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1738 --enable-dev-mode Turn on developer mode
1739 --disable-largefile omit support for large files
1740 --enable-internal-poll Use Asterisk's poll implementation
1741 --disable-xmldoc Explicity disable XML documentation
1744 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1745 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1746 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1747 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1748 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
1749 --with-bluetooth=PATH use Bluetooth files in PATH
1750 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1751 --with-curses=PATH use curses files in PATH
1752 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1753 --with-dahdi=PATH use DAHDI files in PATH
1754 --with-execinfo=PATH use Stack Backtrace files in PATH
1755 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
1757 --with-gtk2=PATH use gtk2 files in PATH
1758 --with-gmime=PATH use GMime files in PATH
1759 --with-h323=PATH use OpenH323 files in PATH
1760 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1761 --with-ical=PATH use iCal files in PATH
1762 --with-iconv=PATH use Iconv files in PATH
1763 --with-iksemel=PATH use Iksemel Jabber files in PATH
1764 --with-imap=PATH use UW IMAP Toolkit files in PATH
1765 --with-inotify=PATH use inotify support files in PATH
1766 --with-iodbc=PATH use iODBC files in PATH
1767 --with-isdnnet=PATH use ISDN4Linux files in PATH
1768 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1769 --with-kqueue=PATH use kqueue support files in PATH
1770 --with-ldap=PATH use OpenLDAP files in PATH
1771 --with-libcurl=DIR look for the curl library in DIR
1772 --with-libxml2=PATH use LibXML2 files in PATH
1773 --with-ltdl=PATH use libtool files in PATH
1774 --with-lua=PATH use Lua files in PATH
1775 --with-misdn=PATH use mISDN user files in PATH
1776 --with-mysqlclient=PATH use MySQL client files in PATH
1777 --with-nbs=PATH use Network Broadcast Sound files in PATH
1778 --with-ncurses=PATH use ncurses files in PATH
1779 --with-neon=PATH use neon files in PATH
1780 --with-neon29=PATH use neon29 files in PATH
1781 --with-netsnmp=PATH use Net-SNMP files in PATH
1782 --with-newt=PATH use newt files in PATH
1783 --with-ogg=PATH use OGG files in PATH
1784 --with-openais=PATH use OpenAIS files in PATH
1785 --with-openr2=PATH use MFR2 files in PATH
1786 --with-osptk=PATH use OSP Toolkit files in PATH
1787 --with-oss=PATH use Open Sound System files in PATH
1788 --with-postgres=PATH use PostgreSQL files in PATH
1789 --with-popt=PATH use popt files in PATH
1790 --with-portaudio=PATH use PortAudio files in PATH
1791 --with-pri=PATH use ISDN PRI files in PATH
1792 --with-pwlib=PATH use PWlib files in PATH
1793 --with-radius=PATH use Radius Client files in PATH
1794 --with-resample=PATH use LIBRESAMPLE files in PATH
1795 --with-sdl=PATH use Sdl files in PATH
1796 --with-SDL_image=PATH use Sdl Image files in PATH
1797 --with-sounds-cache=PATH
1798 use cached sound tarfiles in PATH
1799 --with-spandsp=PATH use SPANDSP files in PATH
1800 --with-ss7=PATH use ISDN SS7 files in PATH
1801 --with-speex=PATH use Speex files in PATH
1802 --with-speex=PATH use Speex preprocess routines files in PATH
1803 --with-speexdsp=PATH use SpeexDSP files in PATH
1804 --with-sqlite=PATH use SQLite files in PATH
1805 --with-sqlite3=PATH use SQLite files in PATH
1806 --with-srtp=PATH use Secure RTP files in PATH
1807 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
1808 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1809 --with-tds=PATH use FreeTDS files in PATH
1810 --with-termcap=PATH use Termcap files in PATH
1811 --with-timerfd=PATH use timerfd files in PATH
1812 --with-tinfo=PATH use Term Info files in PATH
1813 --with-tonezone=PATH use tonezone files in PATH
1814 --with-unixodbc=PATH use unixODBC files in PATH
1815 --with-usb=PATH use usb files in PATH
1816 --with-vorbis=PATH use Vorbis files in PATH
1817 --with-vpb=PATH use Voicetronix API files in PATH
1818 --with-x11=PATH use X11 files in PATH
1819 --with-z=PATH use zlib compression files in PATH
1821 Some influential environment variables:
1822 CC C compiler command
1823 CFLAGS C compiler flags
1824 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1825 nonstandard directory <lib dir>
1826 LIBS libraries to pass to the linker, e.g. -l<library>
1827 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1828 you have headers in a nonstandard directory <include dir>
1830 CXX C++ compiler command
1831 CXXFLAGS C++ compiler flags
1832 CXXCPP C++ preprocessor
1834 Use these variables to override the choices made by `configure' or to help
1835 it to find libraries and programs with nonstandard names/locations.
1837 Report bugs to <https://issues.asterisk.org>.
1842 if test "$ac_init_help" = "recursive"; then
1843 # If there are subdirs, report their specific --help.
1844 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1845 test -d "$ac_dir" || continue
1849 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1851 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1852 # A ".." for each directory in $ac_dir_suffix.
1853 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1854 case $ac_top_builddir_sub in
1855 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1856 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1859 ac_abs_top_builddir=$ac_pwd
1860 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1861 # for backward compatibility:
1862 ac_top_builddir=$ac_top_build_prefix
1865 .) # We are building in place.
1867 ac_top_srcdir=$ac_top_builddir_sub
1868 ac_abs_top_srcdir=$ac_pwd ;;
1869 [\\/]* | ?:[\\/]* ) # Absolute name.
1870 ac_srcdir=$srcdir$ac_dir_suffix;
1871 ac_top_srcdir=$srcdir
1872 ac_abs_top_srcdir=$srcdir ;;
1874 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1875 ac_top_srcdir=$ac_top_build_prefix$srcdir
1876 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1878 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1880 cd "$ac_dir" || { ac_status=$?; continue; }
1881 # Check for guested configure.
1882 if test -f "$ac_srcdir/configure.gnu"; then
1884 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1885 elif test -f "$ac_srcdir/configure"; then
1887 $SHELL "$ac_srcdir/configure" --help=recursive
1889 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1891 cd "$ac_pwd" || { ac_status=$?; break; }
1895 test -n "$ac_init_help" && exit $ac_status
1896 if $ac_init_version; then
1898 asterisk configure trunk
1899 generated by GNU Autoconf 2.61
1901 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1902 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1903 This configure script is free software; the Free Software Foundation
1904 gives unlimited permission to copy, distribute and modify it.
1910 cat >config.log <<_ACEOF
1911 This file contains any messages produced by compilers while
1912 running configure, to aid debugging if configure makes a mistake.
1914 It was created by asterisk $as_me trunk, which was
1915 generated by GNU Autoconf 2.61. Invocation command line was
1927 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1928 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1929 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1930 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1931 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1933 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1934 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1936 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1937 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1938 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1939 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1940 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1941 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1942 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 test -z "$as_dir" && as_dir=.
1951 echo "PATH: $as_dir"
1967 # Keep a trace of the command line.
1968 # Strip out --no-create and --no-recursion so they do not pile up.
1969 # Strip out --silent because we don't want to record it for future runs.
1970 # Also quote any args containing shell meta-characters.
1971 # Make two passes to allow for proper duplicate-argument suppression.
1975 ac_must_keep_next=false
1981 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1983 | -silent | --silent | --silen | --sile | --sil)
1986 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1989 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1991 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1992 if test $ac_must_keep_next = true; then
1993 ac_must_keep_next=false # Got value, back to normal.
1996 *=* | --config-cache | -C | -disable-* | --disable-* \
1997 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1998 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1999 | -with-* | --with-* | -without-* | --without-* | --x)
2000 case "$ac_configure_args0 " in
2001 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2004 -* ) ac_must_keep_next=true ;;
2007 ac_configure_args="$ac_configure_args '$ac_arg'"
2012 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2013 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2015 # When interrupted or exit'd, cleanup temporary files, and complete
2016 # config.log. We remove comments because anyway the quotes in there
2017 # would cause problems or look ugly.
2018 # WARNING: Use '\'' to represent an apostrophe within the trap.
2019 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2020 trap 'exit_status=$?
2021 # Save into config.log some information that might help in debugging.
2026 ## ---------------- ##
2027 ## Cache variables. ##
2028 ## ---------------- ##
2031 # The following way of writing the cache mishandles newlines in values,
2033 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2034 eval ac_val=\$$ac_var
2038 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2039 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2042 _ | IFS | as_nl) ;; #(
2043 *) $as_unset $ac_var ;;
2048 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2049 *${as_nl}ac_space=\ *)
2051 "s/'\''/'\''\\\\'\'''\''/g;
2052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2055 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2063 ## ----------------- ##
2064 ## Output variables. ##
2065 ## ----------------- ##
2068 for ac_var in $ac_subst_vars
2070 eval ac_val=\$$ac_var
2072 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2074 echo "$ac_var='\''$ac_val'\''"
2078 if test -n "$ac_subst_files"; then
2080 ## ------------------- ##
2081 ## File substitutions. ##
2082 ## ------------------- ##
2085 for ac_var in $ac_subst_files
2087 eval ac_val=\$$ac_var
2089 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2091 echo "$ac_var='\''$ac_val'\''"
2096 if test -s confdefs.h; then
2106 test "$ac_signal" != 0 &&
2107 echo "$as_me: caught signal $ac_signal"
2108 echo "$as_me: exit $exit_status"
2110 rm -f core *.core core.conftest.* &&
2111 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2114 for ac_signal in 1 2 13 15; do
2115 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2119 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2120 rm -f -r conftest* confdefs.h
2122 # Predefined preprocessor variables.
2124 cat >>confdefs.h <<_ACEOF
2125 #define PACKAGE_NAME "$PACKAGE_NAME"
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2134 cat >>confdefs.h <<_ACEOF
2135 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_STRING "$PACKAGE_STRING"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2149 # Let the site file select an alternate cache file if it wants to.
2150 # Prefer explicitly selected file to automatically selected ones.
2151 if test -n "$CONFIG_SITE"; then
2152 set x "$CONFIG_SITE"
2153 elif test "x$prefix" != xNONE; then
2154 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2156 set x "$ac_default_prefix/share/config.site" \
2157 "$ac_default_prefix/etc/config.site"
2162 if test -r "$ac_site_file"; then
2163 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2164 echo "$as_me: loading site script $ac_site_file" >&6;}
2165 sed 's/^/| /' "$ac_site_file" >&5
2170 if test -r "$cache_file"; then
2171 # Some versions of bash will fail to source /dev/null (special
2172 # files actually), so we avoid doing that.
2173 if test -f "$cache_file"; then
2174 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2175 echo "$as_me: loading cache $cache_file" >&6;}
2177 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2178 *) . "./$cache_file";;
2182 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2183 echo "$as_me: creating cache $cache_file" >&6;}
2187 ac_header_list="$ac_header_list utime.h"
2188 # Check that the precious variables saved in the cache have kept the same
2190 ac_cache_corrupted=false
2191 for ac_var in $ac_precious_vars; do
2192 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2193 eval ac_new_set=\$ac_env_${ac_var}_set
2194 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2195 eval ac_new_val=\$ac_env_${ac_var}_value
2196 case $ac_old_set,$ac_new_set in
2198 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2199 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2200 ac_cache_corrupted=: ;;
2202 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2203 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2204 ac_cache_corrupted=: ;;
2207 if test "x$ac_old_val" != "x$ac_new_val"; then
2208 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2209 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2210 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2211 echo "$as_me: former value: $ac_old_val" >&2;}
2212 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2213 echo "$as_me: current value: $ac_new_val" >&2;}
2214 ac_cache_corrupted=:
2217 # Pass precious variables to config.status.
2218 if test "$ac_new_set" = set; then
2220 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2221 *) ac_arg=$ac_var=$ac_new_val ;;
2223 case " $ac_configure_args " in
2224 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2225 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2229 if $ac_cache_corrupted; then
2230 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2231 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2232 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2233 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2234 { (exit 1); exit 1; }; }
2262 ac_cpp='$CPP $CPPFLAGS'
2263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2269 # cross-compile macros
2271 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2272 if test -f "$ac_dir/install-sh"; then
2274 ac_install_sh="$ac_aux_dir/install-sh -c"
2276 elif test -f "$ac_dir/install.sh"; then
2278 ac_install_sh="$ac_aux_dir/install.sh -c"
2280 elif test -f "$ac_dir/shtool"; then
2282 ac_install_sh="$ac_aux_dir/shtool install -c"
2286 if test -z "$ac_aux_dir"; then
2287 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2288 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2289 { (exit 1); exit 1; }; }
2292 # These three variables are undocumented and unsupported,
2293 # and are intended to be withdrawn in a future Autoconf release.
2294 # They can cause serious problems if a builder's source tree is in a directory
2295 # whose full name contains unusual characters.
2296 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2297 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2298 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2301 # Make sure we can run config.sub.
2302 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2303 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2304 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2305 { (exit 1); exit 1; }; }
2307 { echo "$as_me:$LINENO: checking build system type" >&5
2308 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2309 if test "${ac_cv_build+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 ac_build_alias=$build_alias
2313 test "x$ac_build_alias" = x &&
2314 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2315 test "x$ac_build_alias" = x &&
2316 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2317 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2318 { (exit 1); exit 1; }; }
2319 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2320 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2321 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2322 { (exit 1); exit 1; }; }
2325 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2326 echo "${ECHO_T}$ac_cv_build" >&6; }
2327 case $ac_cv_build in
2329 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2330 echo "$as_me: error: invalid value of canonical build" >&2;}
2331 { (exit 1); exit 1; }; };;
2334 ac_save_IFS=$IFS; IFS='-'
2340 # Remember, the first character of IFS is used to create $*,
2341 # except with old shells:
2344 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2347 { echo "$as_me:$LINENO: checking host system type" >&5
2348 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2349 if test "${ac_cv_host+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 if test "x$host_alias" = x; then
2353 ac_cv_host=$ac_cv_build
2355 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2356 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2357 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2358 { (exit 1); exit 1; }; }
2362 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2363 echo "${ECHO_T}$ac_cv_host" >&6; }
2366 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2367 echo "$as_me: error: invalid value of canonical host" >&2;}
2368 { (exit 1); exit 1; }; };;
2371 ac_save_IFS=$IFS; IFS='-'
2377 # Remember, the first character of IFS is used to create $*,
2378 # except with old shells:
2381 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2385 # check existence of the package
2389 for ac_dir in `pwd` "$srcdir"/`pwd`; do
2390 if test -f "$ac_dir/install-sh"; then
2392 ac_install_sh="$ac_aux_dir/install-sh -c"
2394 elif test -f "$ac_dir/install.sh"; then
2396 ac_install_sh="$ac_aux_dir/install.sh -c"
2398 elif test -f "$ac_dir/shtool"; then
2400 ac_install_sh="$ac_aux_dir/shtool install -c"
2404 if test -z "$ac_aux_dir"; then
2405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&5
2406 echo "$as_me: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&2;}
2407 { (exit 1); exit 1; }; }
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2423 # preserve any CFLAGS or LDFLAGS that may be set
2424 # NOTE: This must be done before calling any macros that end up
2425 # calling AC_PROG_CC or the like, since they will set a default
2426 # set of CFLAGS ("-g -O2") if the user did not supply any, and
2427 # we don't want those default flags to be carried over into the
2428 # rest of the build system since we have other means of controlling
2429 # debugging symbol generation and optimization.
2430 CONFIG_CFLAGS="${CFLAGS}"
2431 CONFIG_LDFLAGS="${LDFLAGS}"
2435 # specify output header file
2436 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2440 cat >>confdefs.h <<\_ACEOF
2441 #define _GNU_SOURCE 1
2446 ac_cpp='$CPP $CPPFLAGS'
2447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450 if test -n "$ac_tool_prefix"; then
2451 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2452 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2455 if test "${ac_cv_prog_CC+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 if test -n "$CC"; then
2459 ac_cv_prog_CC="$CC" # Let the user override the test.
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir=.
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 if test -n "$CC"; then
2480 { echo "$as_me:$LINENO: result: $CC" >&5
2481 echo "${ECHO_T}$CC" >&6; }
2483 { echo "$as_me:$LINENO: result: no" >&5
2484 echo "${ECHO_T}no" >&6; }
2489 if test -z "$ac_cv_prog_CC"; then
2491 # Extract the first word of "gcc", so it can be a program name with args.
2492 set dummy gcc; ac_word=$2
2493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2495 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 if test -n "$ac_ct_CC"; then
2499 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2508 ac_cv_prog_ac_ct_CC="gcc"
2509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2519 if test -n "$ac_ct_CC"; then
2520 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2521 echo "${ECHO_T}$ac_ct_CC" >&6; }
2523 { echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6; }
2527 if test "x$ac_ct_CC" = x; then
2530 case $cross_compiling:$ac_tool_warned in
2532 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2533 whose name does not start with the host triplet. If you think this
2534 configuration is useful to you, please write to autoconf@gnu.org." >&5
2535 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2536 whose name does not start with the host triplet. If you think this
2537 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2538 ac_tool_warned=yes ;;
2546 if test -z "$CC"; then
2547 if test -n "$ac_tool_prefix"; then
2548 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2549 set dummy ${ac_tool_prefix}cc; ac_word=$2
2550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2552 if test "${ac_cv_prog_CC+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 if test -n "$CC"; then
2556 ac_cv_prog_CC="$CC" # Let the user override the test.
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir=.
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2565 ac_cv_prog_CC="${ac_tool_prefix}cc"
2566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 if test -n "$CC"; then
2577 { echo "$as_me:$LINENO: result: $CC" >&5
2578 echo "${ECHO_T}$CC" >&6; }
2580 { echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6; }
2587 if test -z "$CC"; then
2588 # Extract the first word of "cc", so it can be a program name with args.
2589 set dummy cc; ac_word=$2
2590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2592 if test "${ac_cv_prog_CC+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 if test -n "$CC"; then
2596 ac_cv_prog_CC="$CC" # Let the user override the test.
2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir=.
2604 for ac_exec_ext in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2606 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2607 ac_prog_rejected=yes
2611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 if test $ac_prog_rejected = yes; then
2619 # We found a bogon in the path, so make sure we never use it.
2620 set dummy $ac_cv_prog_CC
2622 if test $# != 0; then
2623 # We chose a different compiler from the bogus one.
2624 # However, it has the same basename, so the bogon will be chosen
2625 # first if we set CC to just the basename; use the full file name.
2627 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2633 if test -n "$CC"; then
2634 { echo "$as_me:$LINENO: result: $CC" >&5
2635 echo "${ECHO_T}$CC" >&6; }
2637 { echo "$as_me:$LINENO: result: no" >&5
2638 echo "${ECHO_T}no" >&6; }
2643 if test -z "$CC"; then
2644 if test -n "$ac_tool_prefix"; then
2645 for ac_prog in cl.exe
2647 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2651 if test "${ac_cv_prog_CC+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 if test -n "$CC"; then
2655 ac_cv_prog_CC="$CC" # Let the user override the test.
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir=.
2662 for ac_exec_ext in '' $ac_executable_extensions; do
2663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 if test -n "$CC"; then
2676 { echo "$as_me:$LINENO: result: $CC" >&5
2677 echo "${ECHO_T}$CC" >&6; }
2679 { echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6; }
2684 test -n "$CC" && break
2687 if test -z "$CC"; then
2689 for ac_prog in cl.exe
2691 # Extract the first word of "$ac_prog", so it can be a program name with args.
2692 set dummy $ac_prog; ac_word=$2
2693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -n "$ac_ct_CC"; then
2699 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_ac_ct_CC="$ac_prog"
2709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2719 if test -n "$ac_ct_CC"; then
2720 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2721 echo "${ECHO_T}$ac_ct_CC" >&6; }
2723 { echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6; }
2728 test -n "$ac_ct_CC" && break
2731 if test "x$ac_ct_CC" = x; then
2734 case $cross_compiling:$ac_tool_warned in
2736 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2737 whose name does not start with the host triplet. If you think this
2738 configuration is useful to you, please write to autoconf@gnu.org." >&5
2739 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2740 whose name does not start with the host triplet. If you think this
2741 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2742 ac_tool_warned=yes ;;
2751 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2752 See \`config.log' for more details." >&5
2753 echo "$as_me: error: no acceptable C compiler found in \$PATH
2754 See \`config.log' for more details." >&2;}
2755 { (exit 1); exit 1; }; }
2757 # Provide some information about the compiler.
2758 echo "$as_me:$LINENO: checking for C compiler version" >&5
2759 ac_compiler=`set X $ac_compile; echo $2`
2760 { (ac_try="$ac_compiler --version >&5"
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_compiler --version >&5") 2>&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }
2770 { (ac_try="$ac_compiler -v >&5"
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2776 (eval "$ac_compiler -v >&5") 2>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }
2780 { (ac_try="$ac_compiler -V >&5"
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2786 (eval "$ac_compiler -V >&5") 2>&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }
2791 cat >conftest.$ac_ext <<_ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2806 ac_clean_files_save=$ac_clean_files
2807 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2808 # Try to create an executable without -o first, disregard a.out.
2809 # It will help us diagnose broken compilers, and finding out an intuition
2811 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2812 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2813 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2815 # List of possible output files, starting from the most likely.
2816 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2817 # only as a last resort. b.out is created by i960 compilers.
2818 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2820 # The IRIX 6 linker writes into existing files which may not be
2821 # executable, retaining their permissions. Remove them first so a
2822 # subsequent execution test works.
2824 for ac_file in $ac_files
2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2828 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2833 if { (ac_try="$ac_link_default"
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_link_default") 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2844 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2845 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2846 # so that the user can short-circuit this test for compilers unknown to
2848 for ac_file in $ac_files ''
2850 test -f "$ac_file" || continue
2852 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2855 # We found the default executable, but exeext='' is most
2859 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2861 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2863 # We set ac_cv_exeext here because the later test for it is not
2864 # safe: cross compilers may not add the suffix if given an `-o'
2865 # argument, so we may need to know it at that point already.
2866 # Even if this section looks crufty: it has the advantage of
2873 test "$ac_cv_exeext" = no && ac_cv_exeext=
2879 { echo "$as_me:$LINENO: result: $ac_file" >&5
2880 echo "${ECHO_T}$ac_file" >&6; }
2881 if test -z "$ac_file"; then
2882 echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2885 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2886 See \`config.log' for more details." >&5
2887 echo "$as_me: error: C compiler cannot create executables
2888 See \`config.log' for more details." >&2;}
2889 { (exit 77); exit 77; }; }
2892 ac_exeext=$ac_cv_exeext
2894 # Check that the compiler produces executables we can run. If not, either
2895 # the compiler is broken, or we cross compile.
2896 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2897 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2898 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2899 # If not cross compiling, check that we can run a simple program.
2900 if test "$cross_compiling" != yes; then
2901 if { ac_try='./$ac_file'
2902 { (case "(($ac_try" in
2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904 *) ac_try_echo=$ac_try;;
2906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2907 (eval "$ac_try") 2>&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); }; }; then
2913 if test "$cross_compiling" = maybe; then
2916 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2917 If you meant to cross compile, use \`--host'.
2918 See \`config.log' for more details." >&5
2919 echo "$as_me: error: cannot run C compiled programs.
2920 If you meant to cross compile, use \`--host'.
2921 See \`config.log' for more details." >&2;}
2922 { (exit 1); exit 1; }; }
2926 { echo "$as_me:$LINENO: result: yes" >&5
2927 echo "${ECHO_T}yes" >&6; }
2929 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2930 ac_clean_files=$ac_clean_files_save
2931 # Check that the compiler produces executables we can run. If not, either
2932 # the compiler is broken, or we cross compile.
2933 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2934 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2935 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2936 echo "${ECHO_T}$cross_compiling" >&6; }
2938 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2939 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2940 if { (ac_try="$ac_link"
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2946 (eval "$ac_link") 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; then
2950 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2951 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2952 # work properly (i.e., refer to `conftest.exe'), while it won't with
2954 for ac_file in conftest.exe conftest conftest.*; do
2955 test -f "$ac_file" || continue
2957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2958 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2964 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2965 See \`config.log' for more details." >&5
2966 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2967 See \`config.log' for more details." >&2;}
2968 { (exit 1); exit 1; }; }
2971 rm -f conftest$ac_cv_exeext
2972 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2973 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2975 rm -f conftest.$ac_ext
2976 EXEEXT=$ac_cv_exeext
2978 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2979 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2980 if test "${ac_cv_objext+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 cat >conftest.$ac_ext <<_ACEOF
2986 cat confdefs.h >>conftest.$ac_ext
2987 cat >>conftest.$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2998 rm -f conftest.o conftest.obj
2999 if { (ac_try="$ac_compile"
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3005 (eval "$ac_compile") 2>&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; then
3009 for ac_file in conftest.o conftest.obj conftest.*; do
3010 test -f "$ac_file" || continue;
3012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3013 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3022 See \`config.log' for more details." >&5
3023 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3024 See \`config.log' for more details." >&2;}
3025 { (exit 1); exit 1; }; }
3028 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3030 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3031 echo "${ECHO_T}$ac_cv_objext" >&6; }
3032 OBJEXT=$ac_cv_objext
3034 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3035 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3036 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3037 echo $ECHO_N "(cached) $ECHO_C" >&6
3039 cat >conftest.$ac_ext <<_ACEOF
3042 cat confdefs.h >>conftest.$ac_ext
3043 cat >>conftest.$ac_ext <<_ACEOF
3044 /* end confdefs.h. */
3057 rm -f conftest.$ac_objext
3058 if { (ac_try="$ac_compile"
3060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3061 *) ac_try_echo=$ac_try;;
3063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3064 (eval "$ac_compile") 2>conftest.er1
3066 grep -v '^ *+' conftest.er1 >conftest.err
3068 cat conftest.err >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); } && {
3071 test -z "$ac_c_werror_flag" ||
3072 test ! -s conftest.err
3073 } && test -s conftest.$ac_objext; then
3076 echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.$ac_ext >&5
3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3083 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3086 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3087 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3088 GCC=`test $ac_compiler_gnu = yes && echo yes`
3089 ac_test_CFLAGS=${CFLAGS+set}
3090 ac_save_CFLAGS=$CFLAGS
3091 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3092 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3093 if test "${ac_cv_prog_cc_g+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 ac_save_c_werror_flag=$ac_c_werror_flag
3097 ac_c_werror_flag=yes
3100 cat >conftest.$ac_ext <<_ACEOF
3103 cat confdefs.h >>conftest.$ac_ext
3104 cat >>conftest.$ac_ext <<_ACEOF
3105 /* end confdefs.h. */
3115 rm -f conftest.$ac_objext
3116 if { (ac_try="$ac_compile"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compile") 2>conftest.er1
3124 grep -v '^ *+' conftest.er1 >conftest.err
3126 cat conftest.err >&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } && {
3129 test -z "$ac_c_werror_flag" ||
3130 test ! -s conftest.err
3131 } && test -s conftest.$ac_objext; then
3134 echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3138 cat >conftest.$ac_ext <<_ACEOF
3141 cat confdefs.h >>conftest.$ac_ext
3142 cat >>conftest.$ac_ext <<_ACEOF
3143 /* end confdefs.h. */
3153 rm -f conftest.$ac_objext
3154 if { (ac_try="$ac_compile"
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3160 (eval "$ac_compile") 2>conftest.er1
3162 grep -v '^ *+' conftest.er1 >conftest.err
3164 cat conftest.err >&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); } && {
3167 test -z "$ac_c_werror_flag" ||
3168 test ! -s conftest.err
3169 } && test -s conftest.$ac_objext; then
3172 echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 ac_c_werror_flag=$ac_save_c_werror_flag
3177 cat >conftest.$ac_ext <<_ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3192 rm -f conftest.$ac_objext
3193 if { (ac_try="$ac_compile"
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3199 (eval "$ac_compile") 2>conftest.er1
3201 grep -v '^ *+' conftest.er1 >conftest.err
3203 cat conftest.err >&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); } && {
3206 test -z "$ac_c_werror_flag" ||
3207 test ! -s conftest.err
3208 } && test -s conftest.$ac_objext; then
3211 echo "$as_me: failed program was:" >&5
3212 sed 's/^/| /' conftest.$ac_ext >&5
3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3224 ac_c_werror_flag=$ac_save_c_werror_flag
3226 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3227 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3228 if test "$ac_test_CFLAGS" = set; then
3229 CFLAGS=$ac_save_CFLAGS
3230 elif test $ac_cv_prog_cc_g = yes; then
3231 if test "$GCC" = yes; then
3237 if test "$GCC" = yes; then
3243 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3244 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3245 if test "${ac_cv_prog_cc_c89+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 ac_cv_prog_cc_c89=no
3250 cat >conftest.$ac_ext <<_ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3258 #include <sys/types.h>
3259 #include <sys/stat.h>
3260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3261 struct buf { int x; };
3262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3263 static char *e (p, i)
3269 static char *f (char * (*g) (char **, int), char **p, ...)
3274 s = g (p, va_arg (v,int));
3279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3280 function prototypes and stuff, but not '\xHH' hex character constants.
3281 These don't provoke an error unfortunately, instead are silently treated
3282 as 'x'. The following induces an error, until -std is added to get
3283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3284 array size at least. It's necessary to write '\x00'==0 to get something
3285 that's true only with -std. */
3286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3288 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3289 inside strings and character constants. */
3291 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3293 int test (int i, double x);
3294 struct s1 {int (*f) (int a);};
3295 struct s2 {int (*f) (double a);};
3296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3307 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3308 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3310 CC="$ac_save_CC $ac_arg"
3311 rm -f conftest.$ac_objext
3312 if { (ac_try="$ac_compile"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3318 (eval "$ac_compile") 2>conftest.er1
3320 grep -v '^ *+' conftest.er1 >conftest.err
3322 cat conftest.err >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } && {
3325 test -z "$ac_c_werror_flag" ||
3326 test ! -s conftest.err
3327 } && test -s conftest.$ac_objext; then
3328 ac_cv_prog_cc_c89=$ac_arg
3330 echo "$as_me: failed program was:" >&5
3331 sed 's/^/| /' conftest.$ac_ext >&5
3336 rm -f core conftest.err conftest.$ac_objext
3337 test "x$ac_cv_prog_cc_c89" != "xno" && break
3339 rm -f conftest.$ac_ext
3344 case "x$ac_cv_prog_cc_c89" in
3346 { echo "$as_me:$LINENO: result: none needed" >&5
3347 echo "${ECHO_T}none needed" >&6; } ;;
3349 { echo "$as_me:$LINENO: result: unsupported" >&5
3350 echo "${ECHO_T}unsupported" >&6; } ;;
3352 CC="$CC $ac_cv_prog_cc_c89"
3353 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3354 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3359 ac_cpp='$CPP $CPPFLAGS'
3360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3366 ac_cpp='$CPP $CPPFLAGS'
3367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3370 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3371 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3372 # On Suns, sometimes $CPP names a directory.
3373 if test -n "$CPP" && test -d "$CPP"; then
3376 if test -z "$CPP"; then
3377 if test "${ac_cv_prog_CPP+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 # Double quotes because CPP needs to be expanded
3381 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3384 for ac_c_preproc_warn_flag in '' yes
3386 # Use a header file that comes with gcc, so configuring glibc
3387 # with a fresh cross-compiler works.
3388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3389 # <limits.h> exists even on freestanding compilers.
3390 # On the NeXT, cc -E runs the code through the compiler's parser,
3391 # not just through cpp. "Syntax error" is here to catch this case.
3392 cat >conftest.$ac_ext <<_ACEOF
3395 cat confdefs.h >>conftest.$ac_ext
3396 cat >>conftest.$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3399 # include <limits.h>
3401 # include <assert.h>
3405 if { (ac_try="$ac_cpp conftest.$ac_ext"
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3411 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3413 grep -v '^ *+' conftest.er1 >conftest.err
3415 cat conftest.err >&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } >/dev/null && {
3418 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3419 test ! -s conftest.err
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3426 # Broken: fails on valid input.
3430 rm -f conftest.err conftest.$ac_ext
3432 # OK, works on sane cases. Now check whether nonexistent headers
3433 # can be detected and how.
3434 cat >conftest.$ac_ext <<_ACEOF
3437 cat confdefs.h >>conftest.$ac_ext
3438 cat >>conftest.$ac_ext <<_ACEOF
3439 /* end confdefs.h. */
3440 #include <ac_nonexistent.h>
3442 if { (ac_try="$ac_cpp conftest.$ac_ext"
3444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3450 grep -v '^ *+' conftest.er1 >conftest.err
3452 cat conftest.err >&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } >/dev/null && {
3455 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3456 test ! -s conftest.err
3458 # Broken: success on invalid input.
3461 echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 # Passes both tests.
3469 rm -f conftest.err conftest.$ac_ext
3472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3473 rm -f conftest.err conftest.$ac_ext
3474 if $ac_preproc_ok; then
3486 { echo "$as_me:$LINENO: result: $CPP" >&5
3487 echo "${ECHO_T}$CPP" >&6; }
3489 for ac_c_preproc_warn_flag in '' yes
3491 # Use a header file that comes with gcc, so configuring glibc
3492 # with a fresh cross-compiler works.
3493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3494 # <limits.h> exists even on freestanding compilers.
3495 # On the NeXT, cc -E runs the code through the compiler's parser,
3496 # not just through cpp. "Syntax error" is here to catch this case.
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3504 # include <limits.h>
3506 # include <assert.h>
3510 if { (ac_try="$ac_cpp conftest.$ac_ext"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3518 grep -v '^ *+' conftest.er1 >conftest.err
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); } >/dev/null && {
3523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3524 test ! -s conftest.err
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 # Broken: fails on valid input.
3535 rm -f conftest.err conftest.$ac_ext
3537 # OK, works on sane cases. Now check whether nonexistent headers
3538 # can be detected and how.
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <ac_nonexistent.h>
3547 if { (ac_try="$ac_cpp conftest.$ac_ext"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3563 # Broken: success on invalid input.
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3574 rm -f conftest.err conftest.$ac_ext
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3582 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3583 See \`config.log' for more details." >&5
3584 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3585 See \`config.log' for more details." >&2;}
3586 { (exit 1); exit 1; }; }
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3597 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3598 if test "${ac_cv_path_GREP+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 # Extract the first word of "grep ggrep" to use in msg output
3602 if test -z "$GREP"; then
3603 set dummy grep ggrep; ac_prog_name=$2
3604 if test "${ac_cv_path_GREP+set}" = set; then
3605 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 ac_path_GREP_found=false
3608 # Loop through the user's path and test for each of PROGNAME-LIST
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3613 test -z "$as_dir" && as_dir=.
3614 for ac_prog in grep ggrep; do
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3617 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3618 # Check for GNU ac_path_GREP and select it if it is found.
3619 # Check for GNU $ac_path_GREP
3620 case `"$ac_path_GREP" --version 2>&1` in
3622 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3625 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3628 cat "conftest.in" "conftest.in" >"conftest.tmp"
3629 mv "conftest.tmp" "conftest.in"
3630 cp "conftest.in" "conftest.nl"
3631 echo 'GREP' >> "conftest.nl"
3632 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3633 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3634 ac_count=`expr $ac_count + 1`
3635 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3636 # Best one so far, save it but keep looking for a better one
3637 ac_cv_path_GREP="$ac_path_GREP"
3638 ac_path_GREP_max=$ac_count
3640 # 10*(2^10) chars as input seems more than enough
3641 test $ac_count -gt 10 && break
3643 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3647 $ac_path_GREP_found && break 3
3657 GREP="$ac_cv_path_GREP"
3658 if test -z "$GREP"; then
3659 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3660 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3661 { (exit 1); exit 1; }; }
3665 ac_cv_path_GREP=$GREP
3670 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3671 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3672 GREP="$ac_cv_path_GREP"
3675 { echo "$as_me:$LINENO: checking for egrep" >&5
3676 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3677 if test "${ac_cv_path_EGREP+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3681 then ac_cv_path_EGREP="$GREP -E"
3683 # Extract the first word of "egrep" to use in msg output
3684 if test -z "$EGREP"; then
3685 set dummy egrep; ac_prog_name=$2
3686 if test "${ac_cv_path_EGREP+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 ac_path_EGREP_found=false
3690 # Loop through the user's path and test for each of PROGNAME-LIST
3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3695 test -z "$as_dir" && as_dir=.
3696 for ac_prog in egrep; do
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3699 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3700 # Check for GNU ac_path_EGREP and select it if it is found.
3701 # Check for GNU $ac_path_EGREP
3702 case `"$ac_path_EGREP" --version 2>&1` in
3704 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3707 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3710 cat "conftest.in" "conftest.in" >"conftest.tmp"
3711 mv "conftest.tmp" "conftest.in"
3712 cp "conftest.in" "conftest.nl"
3713 echo 'EGREP' >> "conftest.nl"
3714 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3715 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3716 ac_count=`expr $ac_count + 1`
3717 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3718 # Best one so far, save it but keep looking for a better one
3719 ac_cv_path_EGREP="$ac_path_EGREP"
3720 ac_path_EGREP_max=$ac_count
3722 # 10*(2^10) chars as input seems more than enough
3723 test $ac_count -gt 10 && break
3725 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3729 $ac_path_EGREP_found && break 3
3739 EGREP="$ac_cv_path_EGREP"
3740 if test -z "$EGREP"; then
3741 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3742 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3743 { (exit 1); exit 1; }; }
3747 ac_cv_path_EGREP=$EGREP
3753 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3754 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3755 EGREP="$ac_cv_path_EGREP"
3759 { echo "$as_me:$LINENO: checking for AIX" >&5
3760 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3761 cat >conftest.$ac_ext <<_ACEOF
3764 cat confdefs.h >>conftest.$ac_ext
3765 cat >>conftest.$ac_ext <<_ACEOF
3766 /* end confdefs.h. */
3772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3773 $EGREP "yes" >/dev/null 2>&1; then
3774 { echo "$as_me:$LINENO: result: yes" >&5
3775 echo "${ECHO_T}yes" >&6; }
3776 cat >>confdefs.h <<\_ACEOF
3777 #define _ALL_SOURCE 1
3781 { echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6; }
3787 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3788 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3789 if test "${ac_cv_header_stdc+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 cat >conftest.$ac_ext <<_ACEOF
3795 cat confdefs.h >>conftest.$ac_ext
3796 cat >>conftest.$ac_ext <<_ACEOF
3797 /* end confdefs.h. */
3811 rm -f conftest.$ac_objext
3812 if { (ac_try="$ac_compile"
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3818 (eval "$ac_compile") 2>conftest.er1
3820 grep -v '^ *+' conftest.er1 >conftest.err
3822 cat conftest.err >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); } && {
3825 test -z "$ac_c_werror_flag" ||
3826 test ! -s conftest.err
3827 } && test -s conftest.$ac_objext; then
3828 ac_cv_header_stdc=yes
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3833 ac_cv_header_stdc=no
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838 if test $ac_cv_header_stdc = yes; then
3839 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3840 cat >conftest.$ac_ext <<_ACEOF
3843 cat confdefs.h >>conftest.$ac_ext
3844 cat >>conftest.$ac_ext <<_ACEOF
3845 /* end confdefs.h. */
3849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3850 $EGREP "memchr" >/dev/null 2>&1; then
3853 ac_cv_header_stdc=no
3859 if test $ac_cv_header_stdc = yes; then
3860 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3861 cat >conftest.$ac_ext <<_ACEOF
3864 cat confdefs.h >>conftest.$ac_ext
3865 cat >>conftest.$ac_ext <<_ACEOF
3866 /* end confdefs.h. */
3870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3871 $EGREP "free" >/dev/null 2>&1; then
3874 ac_cv_header_stdc=no
3880 if test $ac_cv_header_stdc = yes; then
3881 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3882 if test "$cross_compiling" = yes; then
3885 cat >conftest.$ac_ext <<_ACEOF
3888 cat confdefs.h >>conftest.$ac_ext
3889 cat >>conftest.$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3893 #if ((' ' & 0x0FF) == 0x020)
3894 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3895 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3897 # define ISLOWER(c) \
3898 (('a' <= (c) && (c) <= 'i') \
3899 || ('j' <= (c) && (c) <= 'r') \
3900 || ('s' <= (c) && (c) <= 'z'))
3901 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3904 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3909 for (i = 0; i < 256; i++)
3910 if (XOR (islower (i), ISLOWER (i))
3911 || toupper (i) != TOUPPER (i))
3916 rm -f conftest$ac_exeext
3917 if { (ac_try="$ac_link"
3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3923 (eval "$ac_link") 2>&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3927 { (case "(($ac_try" in
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3932 (eval "$ac_try") 2>&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3938 echo "$as_me: program exited with status $ac_status" >&5
3939 echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3943 ac_cv_header_stdc=no
3945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3951 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3952 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3953 if test $ac_cv_header_stdc = yes; then
3955 cat >>confdefs.h <<\_ACEOF
3956 #define STDC_HEADERS 1
3961 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3971 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3972 inttypes.h stdint.h unistd.h
3974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3980 cat >conftest.$ac_ext <<_ACEOF
3983 cat confdefs.h >>conftest.$ac_ext
3984 cat >>conftest.$ac_ext <<_ACEOF
3985 /* end confdefs.h. */
3986 $ac_includes_default
3988 #include <$ac_header>
3990 rm -f conftest.$ac_objext
3991 if { (ac_try="$ac_compile"
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3997 (eval "$ac_compile") 2>conftest.er1
3999 grep -v '^ *+' conftest.er1 >conftest.err
4001 cat conftest.err >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); } && {
4004 test -z "$ac_c_werror_flag" ||
4005 test ! -s conftest.err
4006 } && test -s conftest.$ac_objext; then
4007 eval "$as_ac_Header=yes"
4009 echo "$as_me: failed program was:" >&5
4010 sed 's/^/| /' conftest.$ac_ext >&5
4012 eval "$as_ac_Header=no"
4015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4017 ac_res=`eval echo '${'$as_ac_Header'}'`
4018 { echo "$as_me:$LINENO: result: $ac_res" >&5
4019 echo "${ECHO_T}$ac_res" >&6; }
4020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4021 cat >>confdefs.h <<_ACEOF
4022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4030 if test "${ac_cv_header_minix_config_h+set}" = set; then
4031 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4032 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4033 if test "${ac_cv_header_minix_config_h+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4037 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4039 # Is the header compilable?
4040 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4041 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4042 cat >conftest.$ac_ext <<_ACEOF
4045 cat confdefs.h >>conftest.$ac_ext
4046 cat >>conftest.$ac_ext <<_ACEOF
4047 /* end confdefs.h. */
4048 $ac_includes_default
4049 #include <minix/config.h>
4051 rm -f conftest.$ac_objext
4052 if { (ac_try="$ac_compile"
4054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055 *) ac_try_echo=$ac_try;;
4057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4058 (eval "$ac_compile") 2>conftest.er1
4060 grep -v '^ *+' conftest.er1 >conftest.err
4062 cat conftest.err >&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); } && {
4065 test -z "$ac_c_werror_flag" ||
4066 test ! -s conftest.err
4067 } && test -s conftest.$ac_objext; then
4068 ac_header_compiler=yes
4070 echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.$ac_ext >&5
4073 ac_header_compiler=no
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4078 echo "${ECHO_T}$ac_header_compiler" >&6; }
4080 # Is the header present?
4081 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4082 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4083 cat >conftest.$ac_ext <<_ACEOF
4086 cat confdefs.h >>conftest.$ac_ext
4087 cat >>conftest.$ac_ext <<_ACEOF
4088 /* end confdefs.h. */
4089 #include <minix/config.h>
4091 if { (ac_try="$ac_cpp conftest.$ac_ext"
4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4099 grep -v '^ *+' conftest.er1 >conftest.err
4101 cat conftest.err >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } >/dev/null && {
4104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4107 ac_header_preproc=yes
4109 echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.$ac_ext >&5
4112 ac_header_preproc=no
4115 rm -f conftest.err conftest.$ac_ext
4116 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4117 echo "${ECHO_T}$ac_header_preproc" >&6; }
4119 # So? What about this header?
4120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4122 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4123 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4124 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4125 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4126 ac_header_preproc=yes
4129 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4130 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4131 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4132 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4133 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4134 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4135 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4136 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4137 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4138 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4139 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4140 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4142 ## ------------------------------------------ ##
4143 ## Report this to https://issues.asterisk.org ##
4144 ## ------------------------------------------ ##
4146 ) | sed "s/^/$as_me: WARNING: /" >&2
4149 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4150 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4151 if test "${ac_cv_header_minix_config_h+set}" = set; then
4152 echo $ECHO_N "(cached) $ECHO_C" >&6
4154 ac_cv_header_minix_config_h=$ac_header_preproc
4156 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4157 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4160 if test $ac_cv_header_minix_config_h = yes; then
4167 if test "$MINIX" = yes; then
4169 cat >>confdefs.h <<\_ACEOF
4170 #define _POSIX_SOURCE 1
4174 cat >>confdefs.h <<\_ACEOF
4175 #define _POSIX_1_SOURCE 2
4179 cat >>confdefs.h <<\_ACEOF
4195 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4196 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4197 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 cat >conftest.$ac_ext <<_ACEOF
4203 cat confdefs.h >>conftest.$ac_ext
4204 cat >>conftest.$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4207 # define __EXTENSIONS__ 1
4208 $ac_includes_default
4217 rm -f conftest.$ac_objext
4218 if { (ac_try="$ac_compile"
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4224 (eval "$ac_compile") 2>conftest.er1
4226 grep -v '^ *+' conftest.er1 >conftest.err
4228 cat conftest.err >&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); } && {
4231 test -z "$ac_c_werror_flag" ||
4232 test ! -s conftest.err
4233 } && test -s conftest.$ac_objext; then
4234 ac_cv_safe_to_define___extensions__=yes
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.$ac_ext >&5
4239 ac_cv_safe_to_define___extensions__=no
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4245 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4246 test $ac_cv_safe_to_define___extensions__ = yes &&
4247 cat >>confdefs.h <<\_ACEOF
4248 #define __EXTENSIONS__ 1
4251 cat >>confdefs.h <<\_ACEOF
4252 #define _POSIX_PTHREAD_SEMANTICS 1
4255 cat >>confdefs.h <<\_ACEOF
4256 #define _TANDEM_SOURCE 1
4259 # note- does not work on FreeBSD
4261 case "${host_os}" in
4264 CPPFLAGS=-I/usr/local/include
4265 LDFLAGS=-L/usr/local/lib
4269 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4270 if test ${sysconfdir} = '${prefix}/etc'; then
4273 if test ${mandir} = '${prefix}/man'; then
4274 mandir=/usr/share/man
4277 CPPFLAGS=-I/usr/local/include
4278 LDFLAGS=-L/usr/local/lib
4282 cat >>confdefs.h <<\_ACEOF
4283 #define AST_POLL_COMPAT 1
4289 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4290 if test ${sysconfdir} = '${prefix}/etc'; then
4293 if test ${mandir} = '${prefix}/man'; then
4294 mandir=/usr/share/man
4300 if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
4301 if test ${localstatedir} = '${prefix}/var'; then
4306 BUILD_PLATFORM=${build}
4307 BUILD_CPU=${build_cpu}
4308 BUILD_VENDOR=${build_vendor}
4309 BUILD_OS=${build_os}
4316 HOST_PLATFORM=${host}
4317 HOST_CPU=${host_cpu}
4318 HOST_VENDOR=${host_vendor}
4328 case "${host_os}" in
4361 if test -n "$ac_tool_prefix"; then
4362 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4363 set dummy ${ac_tool_prefix}uname; ac_word=$2
4364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4366 if test "${ac_cv_path_UNAME+set}" = set; then
4367 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 UNAME=$ac_cv_path_UNAME
4393 if test -n "$UNAME"; then
4394 { echo "$as_me:$LINENO: result: $UNAME" >&5
4395 echo "${ECHO_T}$UNAME" >&6; }
4397 { echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6; }
4403 if test -z "$ac_cv_path_UNAME"; then
4405 # Extract the first word of "uname", so it can be a program name with args.
4406 set dummy uname; ac_word=$2
4407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4409 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 case $ac_pt_UNAME in
4414 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir=.
4422 for ac_exec_ext in '' $ac_executable_extensions; do
4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4436 if test -n "$ac_pt_UNAME"; then
4437 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4438 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4440 { echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6; }
4444 if test "x$ac_pt_UNAME" = x; then
4447 case $cross_compiling:$ac_tool_warned in
4449 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4450 whose name does not start with the host triplet. If you think this
4451 configuration is useful to you, please write to autoconf@gnu.org." >&5
4452 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4453 whose name does not start with the host triplet. If you think this
4454 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4455 ac_tool_warned=yes ;;
4460 UNAME="$ac_cv_path_UNAME"
4463 if test ! x"${UNAME}" = xNo; then
4464 PBX_OSREV=$(${UNAME} -r)
4474 # cross-compile checks
4475 if test "${cross_compiling}" = "yes";
4477 if test -n "$ac_tool_prefix"; then
4478 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4479 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4482 if test "${ac_cv_prog_CC+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC="$CC" # Let the user override the test.
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4506 if test -n "$CC"; then
4507 { echo "$as_me:$LINENO: result: $CC" >&5
4508 echo "${ECHO_T}$CC" >&6; }
4510 { echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6; }
4516 if test -z "$ac_cv_prog_CC"; then
4518 # Extract the first word of "gcc", so it can be a program name with args.
4519 set dummy gcc; ac_word=$2
4520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4522 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 if test -n "$ac_ct_CC"; then
4526 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4535 ac_cv_prog_ac_ct_CC="gcc"
4536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4546 if test -n "$ac_ct_CC"; then
4547 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4548 echo "${ECHO_T}$ac_ct_CC" >&6; }
4550 { echo "$as_me:$LINENO: result: no" >&5
4551 echo "${ECHO_T}no" >&6; }
4554 if test "x$ac_ct_CC" = x; then
4557 case $cross_compiling:$ac_tool_warned in
4559 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4560 whose name does not start with the host triplet. If you think this
4561 configuration is useful to you, please write to autoconf@gnu.org." >&5
4562 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4563 whose name does not start with the host triplet. If you think this
4564 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4565 ac_tool_warned=yes ;;
4573 if test -n "$ac_tool_prefix"; then
4574 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4575 set dummy ${ac_tool_prefix}g++; ac_word=$2
4576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4578 if test "${ac_cv_prog_CXX+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 if test -n "$CXX"; then
4582 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 if test -n "$CXX"; then
4603 { echo "$as_me:$LINENO: result: $CXX" >&5
4604 echo "${ECHO_T}$CXX" >&6; }
4606 { echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6; }
4612 if test -z "$ac_cv_prog_CXX"; then
4614 # Extract the first word of "g++", so it can be a program name with args.
4615 set dummy g++; ac_word=$2
4616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4618 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 if test -n "$ac_ct_CXX"; then
4622 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4631 ac_cv_prog_ac_ct_CXX="g++"
4632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4642 if test -n "$ac_ct_CXX"; then
4643 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4644 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4646 { echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6; }
4650 if test "x$ac_ct_CXX" = x; then
4653 case $cross_compiling:$ac_tool_warned in
4655 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4656 whose name does not start with the host triplet. If you think this
4657 configuration is useful to you, please write to autoconf@gnu.org." >&5
4658 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4659 whose name does not start with the host triplet. If you think this
4660 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4661 ac_tool_warned=yes ;;
4666 CXX="$ac_cv_prog_CXX"
4669 if test -n "$ac_tool_prefix"; then
4670 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4671 set dummy ${ac_tool_prefix}ld; ac_word=$2
4672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4674 if test "${ac_cv_prog_LD+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4677 if test -n "$LD"; then
4678 ac_cv_prog_LD="$LD" # Let the user override the test.
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684 test -z "$as_dir" && as_dir=.
4685 for ac_exec_ext in '' $ac_executable_extensions; do
4686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4687 ac_cv_prog_LD="${ac_tool_prefix}ld"
4688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 if test -n "$LD"; then
4699 { echo "$as_me:$LINENO: result: $LD" >&5
4700 echo "${ECHO_T}$LD" >&6; }
4702 { echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6; }
4708 if test -z "$ac_cv_prog_LD"; then
4710 # Extract the first word of "ld", so it can be a program name with args.
4711 set dummy ld; ac_word=$2
4712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4714 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4715 echo $ECHO_N "(cached) $ECHO_C" >&6
4717 if test -n "$ac_ct_LD"; then
4718 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724 test -z "$as_dir" && as_dir=.
4725 for ac_exec_ext in '' $ac_executable_extensions; do
4726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4727 ac_cv_prog_ac_ct_LD="ld"
4728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4738 if test -n "$ac_ct_LD"; then
4739 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4740 echo "${ECHO_T}$ac_ct_LD" >&6; }