2 # From configure.ac Revision: 276769 .
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
927 PRI_CALL_WAITING_INCLUDE
931 PRI_AOC_EVENTS_INCLUDE
943 PRI_HANGUP_FIX_INCLUDE
951 PRI_CALL_HOLD_INCLUDE
954 PRI_CALL_REROUTING_LIB
955 PRI_CALL_REROUTING_INCLUDE
956 PRI_CALL_REROUTING_DIR
957 PBX_PRI_CALL_REROUTING
959 PRI_SETUP_KEYPAD_INCLUDE
962 PRI_INBANDDISCONNECT_LIB
963 PRI_INBANDDISCONNECT_INCLUDE
964 PRI_INBANDDISCONNECT_DIR
965 PBX_PRI_INBANDDISCONNECT
967 PRI_PROG_W_CAUSE_INCLUDE
970 PRI_SERVICE_MESSAGES_LIB
971 PRI_SERVICE_MESSAGES_INCLUDE
972 PRI_SERVICE_MESSAGES_DIR
973 PBX_PRI_SERVICE_MESSAGES
974 PRI_REVERSE_CHARGE_LIB
975 PRI_REVERSE_CHARGE_INCLUDE
976 PRI_REVERSE_CHARGE_DIR
977 PBX_PRI_REVERSE_CHARGE
1011 SPEEX_PREPROCESS_LIB
1012 SPEEX_PREPROCESS_INCLUDE
1013 SPEEX_PREPROCESS_DIR
1014 PBX_SPEEX_PREPROCESS
1088 PBX_PTHREAD_RWLOCK_INITIALIZER
1089 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
1093 AST_DECLARATION_AFTER_STATEMENT
1095 AST_NO_STRICT_OVERFLOW
1103 PBX_MISDN_FAC_RESULT
1133 GENERIC_ODBC_INCLUDE
1135 PBX_SYSLOG_FACILITY_LOG_AUTH
1136 PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
1137 PBX_SYSLOG_FACILITY_LOG_CRON
1138 PBX_SYSLOG_FACILITY_LOG_DAEMON
1139 PBX_SYSLOG_FACILITY_LOG_FTP
1140 PBX_SYSLOG_FACILITY_LOG_KERN
1141 PBX_SYSLOG_FACILITY_LOG_LPR
1142 PBX_SYSLOG_FACILITY_LOG_MAIL
1143 PBX_SYSLOG_FACILITY_LOG_NEWS
1144 PBX_SYSLOG_FACILITY_LOG_SYSLOG
1145 PBX_SYSLOG_FACILITY_LOG_UUCP
1149 ac_precious_vars='build_alias
1164 # Initialize some variables set by options.
1166 ac_init_version=false
1167 # The variables have the same names as the options, with
1168 # dashes changed to underlines.
1169 cache_file=/dev/null
1176 program_transform_name=s,x,x,
1184 # Installation directory options.
1185 # These are left unexpanded so users can "make install exec_prefix=/foo"
1186 # and all the variables that are supposed to be based on exec_prefix
1187 # by default will actually change.
1188 # Use braces instead of parens because sh, perl, etc. also accept them.
1189 # (The list follows the same order as the GNU Coding Standards.)
1190 bindir='${exec_prefix}/bin'
1191 sbindir='${exec_prefix}/sbin'
1192 libexecdir='${exec_prefix}/libexec'
1193 datarootdir='${prefix}/share'
1194 datadir='${datarootdir}'
1195 sysconfdir='${prefix}/etc'
1196 sharedstatedir='${prefix}/com'
1197 localstatedir='${prefix}/var'
1198 includedir='${prefix}/include'
1199 oldincludedir='/usr/include'
1200 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1201 infodir='${datarootdir}/info'
1206 libdir='${exec_prefix}/lib'
1207 localedir='${datarootdir}/locale'
1208 mandir='${datarootdir}/man'
1214 # If the previous option needs an argument, assign it.
1215 if test -n "$ac_prev"; then
1216 eval $ac_prev=\$ac_option
1222 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1226 # Accept the important Cygnus configure options, so we can diagnose typos.
1228 case $ac_dashdash$ac_option in
1232 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1234 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1235 bindir=$ac_optarg ;;
1237 -build | --build | --buil | --bui | --bu)
1238 ac_prev=build_alias ;;
1239 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1240 build_alias=$ac_optarg ;;
1242 -cache-file | --cache-file | --cache-fil | --cache-fi \
1243 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1244 ac_prev=cache_file ;;
1245 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1246 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1247 cache_file=$ac_optarg ;;
1249 --config-cache | -C)
1250 cache_file=config.cache ;;
1252 -datadir | --datadir | --datadi | --datad)
1254 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1255 datadir=$ac_optarg ;;
1257 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1258 | --dataroo | --dataro | --datar)
1259 ac_prev=datarootdir ;;
1260 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1261 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1262 datarootdir=$ac_optarg ;;
1264 -disable-* | --disable-*)
1265 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1268 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1269 { (exit 1); exit 1; }; }
1270 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1271 eval enable_$ac_feature=no ;;
1273 -docdir | --docdir | --docdi | --doc | --do)
1275 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1276 docdir=$ac_optarg ;;
1278 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1280 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1281 dvidir=$ac_optarg ;;
1283 -enable-* | --enable-*)
1284 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1285 # Reject names that are not valid shell variable names.
1286 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1287 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1288 { (exit 1); exit 1; }; }
1289 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1290 eval enable_$ac_feature=\$ac_optarg ;;
1292 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1293 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1294 | --exec | --exe | --ex)
1295 ac_prev=exec_prefix ;;
1296 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1297 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1298 | --exec=* | --exe=* | --ex=*)
1299 exec_prefix=$ac_optarg ;;
1301 -gas | --gas | --ga | --g)
1302 # Obsolete; use --with-gas.
1305 -help | --help | --hel | --he | -h)
1306 ac_init_help=long ;;
1307 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1308 ac_init_help=recursive ;;
1309 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1310 ac_init_help=short ;;
1312 -host | --host | --hos | --ho)
1313 ac_prev=host_alias ;;
1314 -host=* | --host=* | --hos=* | --ho=*)
1315 host_alias=$ac_optarg ;;
1317 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1319 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1321 htmldir=$ac_optarg ;;
1323 -includedir | --includedir | --includedi | --included | --include \
1324 | --includ | --inclu | --incl | --inc)
1325 ac_prev=includedir ;;
1326 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1327 | --includ=* | --inclu=* | --incl=* | --inc=*)
1328 includedir=$ac_optarg ;;
1330 -infodir | --infodir | --infodi | --infod | --info | --inf)
1332 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1333 infodir=$ac_optarg ;;
1335 -libdir | --libdir | --libdi | --libd)
1337 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1338 libdir=$ac_optarg ;;
1340 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1341 | --libexe | --libex | --libe)
1342 ac_prev=libexecdir ;;
1343 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1344 | --libexe=* | --libex=* | --libe=*)
1345 libexecdir=$ac_optarg ;;
1347 -localedir | --localedir | --localedi | --localed | --locale)
1348 ac_prev=localedir ;;
1349 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1350 localedir=$ac_optarg ;;
1352 -localstatedir | --localstatedir | --localstatedi | --localstated \
1353 | --localstate | --localstat | --localsta | --localst | --locals)
1354 ac_prev=localstatedir ;;
1355 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1356 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1357 localstatedir=$ac_optarg ;;
1359 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1361 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1362 mandir=$ac_optarg ;;
1364 -nfp | --nfp | --nf)
1365 # Obsolete; use --without-fp.
1368 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1369 | --no-cr | --no-c | -n)
1372 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1373 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1376 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1377 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1378 | --oldin | --oldi | --old | --ol | --o)
1379 ac_prev=oldincludedir ;;
1380 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1381 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1382 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1383 oldincludedir=$ac_optarg ;;
1385 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1387 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1388 prefix=$ac_optarg ;;
1390 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1391 | --program-pre | --program-pr | --program-p)
1392 ac_prev=program_prefix ;;
1393 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1394 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1395 program_prefix=$ac_optarg ;;
1397 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1398 | --program-suf | --program-su | --program-s)
1399 ac_prev=program_suffix ;;
1400 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1401 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1402 program_suffix=$ac_optarg ;;
1404 -program-transform-name | --program-transform-name \
1405 | --program-transform-nam | --program-transform-na \
1406 | --program-transform-n | --program-transform- \
1407 | --program-transform | --program-transfor \
1408 | --program-transfo | --program-transf \
1409 | --program-trans | --program-tran \
1410 | --progr-tra | --program-tr | --program-t)
1411 ac_prev=program_transform_name ;;
1412 -program-transform-name=* | --program-transform-name=* \
1413 | --program-transform-nam=* | --program-transform-na=* \
1414 | --program-transform-n=* | --program-transform-=* \
1415 | --program-transform=* | --program-transfor=* \
1416 | --program-transfo=* | --program-transf=* \
1417 | --program-trans=* | --program-tran=* \
1418 | --progr-tra=* | --program-tr=* | --program-t=*)
1419 program_transform_name=$ac_optarg ;;
1421 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1423 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1424 pdfdir=$ac_optarg ;;
1426 -psdir | --psdir | --psdi | --psd | --ps)
1428 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1432 | -silent | --silent | --silen | --sile | --sil)
1435 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1437 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1439 sbindir=$ac_optarg ;;
1441 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1442 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1443 | --sharedst | --shareds | --shared | --share | --shar \
1445 ac_prev=sharedstatedir ;;
1446 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1447 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1448 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1450 sharedstatedir=$ac_optarg ;;
1452 -site | --site | --sit)
1454 -site=* | --site=* | --sit=*)
1457 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1459 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1460 srcdir=$ac_optarg ;;
1462 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1463 | --syscon | --sysco | --sysc | --sys | --sy)
1464 ac_prev=sysconfdir ;;
1465 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1466 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1467 sysconfdir=$ac_optarg ;;
1469 -target | --target | --targe | --targ | --tar | --ta | --t)
1470 ac_prev=target_alias ;;
1471 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1472 target_alias=$ac_optarg ;;
1474 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1477 -version | --version | --versio | --versi | --vers | -V)
1478 ac_init_version=: ;;
1481 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1482 # Reject names that are not valid shell variable names.
1483 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1484 { echo "$as_me: error: invalid package name: $ac_package" >&2
1485 { (exit 1); exit 1; }; }
1486 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1487 eval with_$ac_package=\$ac_optarg ;;
1489 -without-* | --without-*)
1490 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1491 # Reject names that are not valid shell variable names.
1492 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1493 { echo "$as_me: error: invalid package name: $ac_package" >&2
1494 { (exit 1); exit 1; }; }
1495 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1496 eval with_$ac_package=no ;;
1499 # Obsolete; use --with-x.
1502 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1503 | --x-incl | --x-inc | --x-in | --x-i)
1504 ac_prev=x_includes ;;
1505 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1506 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1507 x_includes=$ac_optarg ;;
1509 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1510 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1511 ac_prev=x_libraries ;;
1512 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1513 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1514 x_libraries=$ac_optarg ;;
1516 -*) { echo "$as_me: error: unrecognized option: $ac_option
1517 Try \`$0 --help' for more information." >&2
1518 { (exit 1); exit 1; }; }
1522 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1523 # Reject names that are not valid shell variable names.
1524 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1525 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1526 { (exit 1); exit 1; }; }
1527 eval $ac_envvar=\$ac_optarg
1528 export $ac_envvar ;;
1531 # FIXME: should be removed in autoconf 3.0.
1532 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1533 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1534 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1535 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1541 if test -n "$ac_prev"; then
1542 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1543 { echo "$as_me: error: missing argument to $ac_option" >&2
1544 { (exit 1); exit 1; }; }
1547 # Be sure to have absolute directory names.
1548 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1549 datadir sysconfdir sharedstatedir localstatedir includedir \
1550 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1551 libdir localedir mandir
1553 eval ac_val=\$$ac_var
1555 [\\/$]* | ?:[\\/]* ) continue;;
1556 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1558 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1559 { (exit 1); exit 1; }; }
1562 # There might be people who depend on the old broken behavior: `$host'
1563 # used to hold the argument of --host etc.
1564 # FIXME: To remove some day.
1567 target=$target_alias
1569 # FIXME: To remove some day.
1570 if test "x$host_alias" != x; then
1571 if test "x$build_alias" = x; then
1572 cross_compiling=maybe
1573 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1574 If a cross compiler is detected then cross compile mode will be used." >&2
1575 elif test "x$build_alias" != "x$host_alias"; then
1581 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1583 test "$silent" = yes && exec 6>/dev/null
1586 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1587 ac_ls_di=`ls -di .` &&
1588 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1589 { echo "$as_me: error: Working directory cannot be determined" >&2
1590 { (exit 1); exit 1; }; }
1591 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1592 { echo "$as_me: error: pwd does not report name of working directory" >&2
1593 { (exit 1); exit 1; }; }
1596 # Find the source files, if location was not specified.
1597 if test -z "$srcdir"; then
1598 ac_srcdir_defaulted=yes
1599 # Try the directory containing this script, then the parent directory.
1600 ac_confdir=`$as_dirname -- "$0" ||
1601 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1602 X"$0" : 'X\(//\)[^/]' \| \
1603 X"$0" : 'X\(//\)$' \| \
1604 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1624 if test ! -r "$srcdir/$ac_unique_file"; then
1628 ac_srcdir_defaulted=no
1630 if test ! -r "$srcdir/$ac_unique_file"; then
1631 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1632 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1633 { (exit 1); exit 1; }; }
1635 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1637 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1638 { (exit 1); exit 1; }; }
1640 # When building in place, set srcdir=.
1641 if test "$ac_abs_confdir" = "$ac_pwd"; then
1644 # Remove unnecessary trailing slashes from srcdir.
1645 # Double slashes in file names in object file debugging info
1646 # mess up M-x gdb in Emacs.
1648 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1650 for ac_var in $ac_precious_vars; do
1651 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1652 eval ac_env_${ac_var}_value=\$${ac_var}
1653 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1654 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1658 # Report the --help message.
1660 if test "$ac_init_help" = "long"; then
1661 # Omit some internal or obsolete options to make the list less imposing.
1662 # This message is too long to be a string in the A/UX 3.1 sh.
1664 \`configure' configures asterisk trunk to adapt to many kinds of systems.
1666 Usage: $0 [OPTION]... [VAR=VALUE]...
1668 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1669 VAR=VALUE. See below for descriptions of some of the useful variables.
1671 Defaults for the options are specified in brackets.
1674 -h, --help display this help and exit
1675 --help=short display options specific to this package
1676 --help=recursive display the short help of all the included packages
1677 -V, --version display version information and exit
1678 -q, --quiet, --silent do not print \`checking...' messages
1679 --cache-file=FILE cache test results in FILE [disabled]
1680 -C, --config-cache alias for \`--cache-file=config.cache'
1681 -n, --no-create do not create output files
1682 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1684 Installation directories:
1685 --prefix=PREFIX install architecture-independent files in PREFIX
1686 [$ac_default_prefix]
1687 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1690 By default, \`make install' will install all the files in
1691 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1692 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1693 for instance \`--prefix=\$HOME'.
1695 For better control, use the options below.
1697 Fine tuning of the installation directories:
1698 --bindir=DIR user executables [EPREFIX/bin]
1699 --sbindir=DIR system admin executables [EPREFIX/sbin]
1700 --libexecdir=DIR program executables [EPREFIX/libexec]
1701 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1702 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1703 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1704 --libdir=DIR object code libraries [EPREFIX/lib]
1705 --includedir=DIR C header files [PREFIX/include]
1706 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1707 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1708 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1709 --infodir=DIR info documentation [DATAROOTDIR/info]
1710 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1711 --mandir=DIR man documentation [DATAROOTDIR/man]
1712 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1713 --htmldir=DIR html documentation [DOCDIR]
1714 --dvidir=DIR dvi documentation [DOCDIR]
1715 --pdfdir=DIR pdf documentation [DOCDIR]
1716 --psdir=DIR ps documentation [DOCDIR]
1722 --build=BUILD configure for building on BUILD [guessed]
1723 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1727 if test -n "$ac_init_help"; then
1728 case $ac_init_help in
1729 short | recursive ) echo "Configuration of asterisk trunk:";;
1734 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1735 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1736 --enable-dev-mode Turn on developer mode
1737 --disable-largefile omit support for large files
1738 --enable-internal-poll Use Asterisk's poll implementation
1739 --disable-xmldoc Explicity disable XML documentation
1742 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1743 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1744 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1745 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1746 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
1747 --with-bluetooth=PATH use Bluetooth files in PATH
1748 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1749 --with-curses=PATH use curses files in PATH
1750 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1751 --with-dahdi=PATH use DAHDI files in PATH
1752 --with-execinfo=PATH use Stack Backtrace files in PATH
1753 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
1755 --with-gtk2=PATH use gtk2 files in PATH
1756 --with-gmime=PATH use GMime files in PATH
1757 --with-h323=PATH use OpenH323 files in PATH
1758 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1759 --with-ical=PATH use iCal files in PATH
1760 --with-iconv=PATH use Iconv files in PATH
1761 --with-iksemel=PATH use Iksemel Jabber files in PATH
1762 --with-imap=PATH use UW IMAP Toolkit files in PATH
1763 --with-inotify=PATH use inotify support files in PATH
1764 --with-iodbc=PATH use iODBC files in PATH
1765 --with-isdnnet=PATH use ISDN4Linux files in PATH
1766 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1767 --with-kqueue=PATH use kqueue support files in PATH
1768 --with-ldap=PATH use OpenLDAP files in PATH
1769 --with-libcurl=DIR look for the curl library in DIR
1770 --with-libxml2=PATH use LibXML2 files in PATH
1771 --with-ltdl=PATH use libtool files in PATH
1772 --with-lua=PATH use Lua files in PATH
1773 --with-misdn=PATH use mISDN user files in PATH
1774 --with-mysqlclient=PATH use MySQL client files in PATH
1775 --with-nbs=PATH use Network Broadcast Sound files in PATH
1776 --with-ncurses=PATH use ncurses files in PATH
1777 --with-neon=PATH use neon files in PATH
1778 --with-neon29=PATH use neon29 files in PATH
1779 --with-netsnmp=PATH use Net-SNMP files in PATH
1780 --with-newt=PATH use newt files in PATH
1781 --with-ogg=PATH use OGG files in PATH
1782 --with-openais=PATH use OpenAIS files in PATH
1783 --with-openr2=PATH use MFR2 files in PATH
1784 --with-osptk=PATH use OSP Toolkit files in PATH
1785 --with-oss=PATH use Open Sound System files in PATH
1786 --with-postgres=PATH use PostgreSQL files in PATH
1787 --with-popt=PATH use popt files in PATH
1788 --with-portaudio=PATH use PortAudio files in PATH
1789 --with-pri=PATH use ISDN PRI files in PATH
1790 --with-pwlib=PATH use PWlib files in PATH
1791 --with-radius=PATH use Radius Client files in PATH
1792 --with-resample=PATH use LIBRESAMPLE files in PATH
1793 --with-sdl=PATH use Sdl files in PATH
1794 --with-SDL_image=PATH use Sdl Image files in PATH
1795 --with-sounds-cache=PATH
1796 use cached sound tarfiles in PATH
1797 --with-spandsp=PATH use SPANDSP files in PATH
1798 --with-ss7=PATH use ISDN SS7 files in PATH
1799 --with-speex=PATH use Speex files in PATH
1800 --with-speex=PATH use Speex preprocess routines files in PATH
1801 --with-speexdsp=PATH use SpeexDSP files in PATH
1802 --with-sqlite=PATH use SQLite files in PATH
1803 --with-sqlite3=PATH use SQLite files in PATH
1804 --with-srtp=PATH use Secure RTP files in PATH
1805 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
1806 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1807 --with-tds=PATH use FreeTDS files in PATH
1808 --with-termcap=PATH use Termcap files in PATH
1809 --with-timerfd=PATH use timerfd files in PATH
1810 --with-tinfo=PATH use Term Info files in PATH
1811 --with-tonezone=PATH use tonezone files in PATH
1812 --with-unixodbc=PATH use unixODBC files in PATH
1813 --with-usb=PATH use usb files in PATH
1814 --with-vorbis=PATH use Vorbis files in PATH
1815 --with-vpb=PATH use Voicetronix API files in PATH
1816 --with-x11=PATH use X11 files in PATH
1817 --with-z=PATH use zlib compression files in PATH
1819 Some influential environment variables:
1820 CC C compiler command
1821 CFLAGS C compiler flags
1822 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1823 nonstandard directory <lib dir>
1824 LIBS libraries to pass to the linker, e.g. -l<library>
1825 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1826 you have headers in a nonstandard directory <include dir>
1828 CXX C++ compiler command
1829 CXXFLAGS C++ compiler flags
1830 CXXCPP C++ preprocessor
1832 Use these variables to override the choices made by `configure' or to help
1833 it to find libraries and programs with nonstandard names/locations.
1835 Report bugs to <https://issues.asterisk.org>.
1840 if test "$ac_init_help" = "recursive"; then
1841 # If there are subdirs, report their specific --help.
1842 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1843 test -d "$ac_dir" || continue
1847 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1849 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1850 # A ".." for each directory in $ac_dir_suffix.
1851 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1852 case $ac_top_builddir_sub in
1853 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1854 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1857 ac_abs_top_builddir=$ac_pwd
1858 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1859 # for backward compatibility:
1860 ac_top_builddir=$ac_top_build_prefix
1863 .) # We are building in place.
1865 ac_top_srcdir=$ac_top_builddir_sub
1866 ac_abs_top_srcdir=$ac_pwd ;;
1867 [\\/]* | ?:[\\/]* ) # Absolute name.
1868 ac_srcdir=$srcdir$ac_dir_suffix;
1869 ac_top_srcdir=$srcdir
1870 ac_abs_top_srcdir=$srcdir ;;
1872 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1873 ac_top_srcdir=$ac_top_build_prefix$srcdir
1874 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1876 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1878 cd "$ac_dir" || { ac_status=$?; continue; }
1879 # Check for guested configure.
1880 if test -f "$ac_srcdir/configure.gnu"; then
1882 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1883 elif test -f "$ac_srcdir/configure"; then
1885 $SHELL "$ac_srcdir/configure" --help=recursive
1887 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1889 cd "$ac_pwd" || { ac_status=$?; break; }
1893 test -n "$ac_init_help" && exit $ac_status
1894 if $ac_init_version; then
1896 asterisk configure trunk
1897 generated by GNU Autoconf 2.61
1899 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1900 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1901 This configure script is free software; the Free Software Foundation
1902 gives unlimited permission to copy, distribute and modify it.
1908 cat >config.log <<_ACEOF
1909 This file contains any messages produced by compilers while
1910 running configure, to aid debugging if configure makes a mistake.
1912 It was created by asterisk $as_me trunk, which was
1913 generated by GNU Autoconf 2.61. Invocation command line was
1925 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1926 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1927 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1928 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1929 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1931 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1932 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1934 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1935 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1936 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1937 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1938 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1939 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1940 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 echo "PATH: $as_dir"
1965 # Keep a trace of the command line.
1966 # Strip out --no-create and --no-recursion so they do not pile up.
1967 # Strip out --silent because we don't want to record it for future runs.
1968 # Also quote any args containing shell meta-characters.
1969 # Make two passes to allow for proper duplicate-argument suppression.
1973 ac_must_keep_next=false
1979 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1981 | -silent | --silent | --silen | --sile | --sil)
1984 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1987 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1989 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1990 if test $ac_must_keep_next = true; then
1991 ac_must_keep_next=false # Got value, back to normal.
1994 *=* | --config-cache | -C | -disable-* | --disable-* \
1995 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1996 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1997 | -with-* | --with-* | -without-* | --without-* | --x)
1998 case "$ac_configure_args0 " in
1999 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2002 -* ) ac_must_keep_next=true ;;
2005 ac_configure_args="$ac_configure_args '$ac_arg'"
2010 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2011 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2013 # When interrupted or exit'd, cleanup temporary files, and complete
2014 # config.log. We remove comments because anyway the quotes in there
2015 # would cause problems or look ugly.
2016 # WARNING: Use '\'' to represent an apostrophe within the trap.
2017 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2018 trap 'exit_status=$?
2019 # Save into config.log some information that might help in debugging.
2024 ## ---------------- ##
2025 ## Cache variables. ##
2026 ## ---------------- ##
2029 # The following way of writing the cache mishandles newlines in values,
2031 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2032 eval ac_val=\$$ac_var
2036 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2037 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2040 _ | IFS | as_nl) ;; #(
2041 *) $as_unset $ac_var ;;
2046 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2047 *${as_nl}ac_space=\ *)
2049 "s/'\''/'\''\\\\'\'''\''/g;
2050 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2053 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2061 ## ----------------- ##
2062 ## Output variables. ##
2063 ## ----------------- ##
2066 for ac_var in $ac_subst_vars
2068 eval ac_val=\$$ac_var
2070 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2072 echo "$ac_var='\''$ac_val'\''"
2076 if test -n "$ac_subst_files"; then
2078 ## ------------------- ##
2079 ## File substitutions. ##
2080 ## ------------------- ##
2083 for ac_var in $ac_subst_files
2085 eval ac_val=\$$ac_var
2087 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2089 echo "$ac_var='\''$ac_val'\''"
2094 if test -s confdefs.h; then
2104 test "$ac_signal" != 0 &&
2105 echo "$as_me: caught signal $ac_signal"
2106 echo "$as_me: exit $exit_status"
2108 rm -f core *.core core.conftest.* &&
2109 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2112 for ac_signal in 1 2 13 15; do
2113 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2117 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2118 rm -f -r conftest* confdefs.h
2120 # Predefined preprocessor variables.
2122 cat >>confdefs.h <<_ACEOF
2123 #define PACKAGE_NAME "$PACKAGE_NAME"
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2132 cat >>confdefs.h <<_ACEOF
2133 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_STRING "$PACKAGE_STRING"
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2147 # Let the site file select an alternate cache file if it wants to.
2148 # Prefer explicitly selected file to automatically selected ones.
2149 if test -n "$CONFIG_SITE"; then
2150 set x "$CONFIG_SITE"
2151 elif test "x$prefix" != xNONE; then
2152 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2154 set x "$ac_default_prefix/share/config.site" \
2155 "$ac_default_prefix/etc/config.site"
2160 if test -r "$ac_site_file"; then
2161 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2162 echo "$as_me: loading site script $ac_site_file" >&6;}
2163 sed 's/^/| /' "$ac_site_file" >&5
2168 if test -r "$cache_file"; then
2169 # Some versions of bash will fail to source /dev/null (special
2170 # files actually), so we avoid doing that.
2171 if test -f "$cache_file"; then
2172 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2173 echo "$as_me: loading cache $cache_file" >&6;}
2175 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2176 *) . "./$cache_file";;
2180 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2181 echo "$as_me: creating cache $cache_file" >&6;}
2185 ac_header_list="$ac_header_list utime.h"
2186 # Check that the precious variables saved in the cache have kept the same
2188 ac_cache_corrupted=false
2189 for ac_var in $ac_precious_vars; do
2190 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2191 eval ac_new_set=\$ac_env_${ac_var}_set
2192 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2193 eval ac_new_val=\$ac_env_${ac_var}_value
2194 case $ac_old_set,$ac_new_set in
2196 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2197 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2198 ac_cache_corrupted=: ;;
2200 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2201 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2202 ac_cache_corrupted=: ;;
2205 if test "x$ac_old_val" != "x$ac_new_val"; then
2206 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2207 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2208 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2209 echo "$as_me: former value: $ac_old_val" >&2;}
2210 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2211 echo "$as_me: current value: $ac_new_val" >&2;}
2212 ac_cache_corrupted=:
2215 # Pass precious variables to config.status.
2216 if test "$ac_new_set" = set; then
2218 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2219 *) ac_arg=$ac_var=$ac_new_val ;;
2221 case " $ac_configure_args " in
2222 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2223 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2227 if $ac_cache_corrupted; then
2228 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2229 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2230 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2231 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2232 { (exit 1); exit 1; }; }
2260 ac_cpp='$CPP $CPPFLAGS'
2261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2267 # cross-compile macros
2269 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2270 if test -f "$ac_dir/install-sh"; then
2272 ac_install_sh="$ac_aux_dir/install-sh -c"
2274 elif test -f "$ac_dir/install.sh"; then
2276 ac_install_sh="$ac_aux_dir/install.sh -c"
2278 elif test -f "$ac_dir/shtool"; then
2280 ac_install_sh="$ac_aux_dir/shtool install -c"
2284 if test -z "$ac_aux_dir"; then
2285 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2286 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2287 { (exit 1); exit 1; }; }
2290 # These three variables are undocumented and unsupported,
2291 # and are intended to be withdrawn in a future Autoconf release.
2292 # They can cause serious problems if a builder's source tree is in a directory
2293 # whose full name contains unusual characters.
2294 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2295 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2296 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2299 # Make sure we can run config.sub.
2300 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2301 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2302 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2303 { (exit 1); exit 1; }; }
2305 { echo "$as_me:$LINENO: checking build system type" >&5
2306 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2307 if test "${ac_cv_build+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 ac_build_alias=$build_alias
2311 test "x$ac_build_alias" = x &&
2312 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2313 test "x$ac_build_alias" = x &&
2314 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2315 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2316 { (exit 1); exit 1; }; }
2317 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2318 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2319 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2320 { (exit 1); exit 1; }; }
2323 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2324 echo "${ECHO_T}$ac_cv_build" >&6; }
2325 case $ac_cv_build in
2327 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2328 echo "$as_me: error: invalid value of canonical build" >&2;}
2329 { (exit 1); exit 1; }; };;
2332 ac_save_IFS=$IFS; IFS='-'
2338 # Remember, the first character of IFS is used to create $*,
2339 # except with old shells:
2342 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2345 { echo "$as_me:$LINENO: checking host system type" >&5
2346 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2347 if test "${ac_cv_host+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 if test "x$host_alias" = x; then
2351 ac_cv_host=$ac_cv_build
2353 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2354 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2355 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2356 { (exit 1); exit 1; }; }
2360 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2361 echo "${ECHO_T}$ac_cv_host" >&6; }
2364 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2365 echo "$as_me: error: invalid value of canonical host" >&2;}
2366 { (exit 1); exit 1; }; };;
2369 ac_save_IFS=$IFS; IFS='-'
2375 # Remember, the first character of IFS is used to create $*,
2376 # except with old shells:
2379 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2383 # check existence of the package
2387 for ac_dir in `pwd` "$srcdir"/`pwd`; do
2388 if test -f "$ac_dir/install-sh"; then
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2392 elif test -f "$ac_dir/install.sh"; then
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2396 elif test -f "$ac_dir/shtool"; then
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&2;}
2405 { (exit 1); exit 1; }; }
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2421 # preserve any CFLAGS or LDFLAGS that may be set
2422 # NOTE: This must be done before calling any macros that end up
2423 # calling AC_PROG_CC or the like, since they will set a default
2424 # set of CFLAGS ("-g -O2") if the user did not supply any, and
2425 # we don't want those default flags to be carried over into the
2426 # rest of the build system since we have other means of controlling
2427 # debugging symbol generation and optimization.
2428 CONFIG_CFLAGS="${CFLAGS}"
2429 CONFIG_LDFLAGS="${LDFLAGS}"
2433 # specify output header file
2434 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2438 cat >>confdefs.h <<\_ACEOF
2439 #define _GNU_SOURCE 1
2444 ac_cpp='$CPP $CPPFLAGS'
2445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2448 if test -n "$ac_tool_prefix"; then
2449 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2450 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2453 if test "${ac_cv_prog_CC+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 if test -n "$CC"; then
2457 ac_cv_prog_CC="$CC" # Let the user override the test.
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir=.
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 if test -n "$CC"; then
2478 { echo "$as_me:$LINENO: result: $CC" >&5
2479 echo "${ECHO_T}$CC" >&6; }
2481 { echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6; }
2487 if test -z "$ac_cv_prog_CC"; then
2489 # Extract the first word of "gcc", so it can be a program name with args.
2490 set dummy gcc; ac_word=$2
2491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 if test -n "$ac_ct_CC"; then
2497 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir=.
2504 for ac_exec_ext in '' $ac_executable_extensions; do
2505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2506 ac_cv_prog_ac_ct_CC="gcc"
2507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2517 if test -n "$ac_ct_CC"; then
2518 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2519 echo "${ECHO_T}$ac_ct_CC" >&6; }
2521 { echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6; }
2525 if test "x$ac_ct_CC" = x; then
2528 case $cross_compiling:$ac_tool_warned in
2530 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2531 whose name does not start with the host triplet. If you think this
2532 configuration is useful to you, please write to autoconf@gnu.org." >&5
2533 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2534 whose name does not start with the host triplet. If you think this
2535 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2536 ac_tool_warned=yes ;;
2544 if test -z "$CC"; then
2545 if test -n "$ac_tool_prefix"; then
2546 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2547 set dummy ${ac_tool_prefix}cc; ac_word=$2
2548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2550 if test "${ac_cv_prog_CC+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 if test -n "$CC"; then
2554 ac_cv_prog_CC="$CC" # Let the user override the test.
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2563 ac_cv_prog_CC="${ac_tool_prefix}cc"
2564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 if test -n "$CC"; then
2575 { echo "$as_me:$LINENO: result: $CC" >&5
2576 echo "${ECHO_T}$CC" >&6; }
2578 { echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6; }
2585 if test -z "$CC"; then
2586 # Extract the first word of "cc", so it can be a program name with args.
2587 set dummy cc; ac_word=$2
2588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2590 if test "${ac_cv_prog_CC+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 if test -n "$CC"; then
2594 ac_cv_prog_CC="$CC" # Let the user override the test.
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2605 ac_prog_rejected=yes
2609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 if test $ac_prog_rejected = yes; then
2617 # We found a bogon in the path, so make sure we never use it.
2618 set dummy $ac_cv_prog_CC
2620 if test $# != 0; then
2621 # We chose a different compiler from the bogus one.
2622 # However, it has the same basename, so the bogon will be chosen
2623 # first if we set CC to just the basename; use the full file name.
2625 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2631 if test -n "$CC"; then
2632 { echo "$as_me:$LINENO: result: $CC" >&5
2633 echo "${ECHO_T}$CC" >&6; }
2635 { echo "$as_me:$LINENO: result: no" >&5
2636 echo "${ECHO_T}no" >&6; }
2641 if test -z "$CC"; then
2642 if test -n "$ac_tool_prefix"; then
2643 for ac_prog in cl.exe
2645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2649 if test "${ac_cv_prog_CC+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 if test -n "$CC"; then
2653 ac_cv_prog_CC="$CC" # Let the user override the test.
2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir=.
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test -n "$CC"; then
2674 { echo "$as_me:$LINENO: result: $CC" >&5
2675 echo "${ECHO_T}$CC" >&6; }
2677 { echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6; }
2682 test -n "$CC" && break
2685 if test -z "$CC"; then
2687 for ac_prog in cl.exe
2689 # Extract the first word of "$ac_prog", so it can be a program name with args.
2690 set dummy $ac_prog; ac_word=$2
2691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2696 if test -n "$ac_ct_CC"; then
2697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_ac_ct_CC="$ac_prog"
2707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2717 if test -n "$ac_ct_CC"; then
2718 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2719 echo "${ECHO_T}$ac_ct_CC" >&6; }
2721 { echo "$as_me:$LINENO: result: no" >&5
2722 echo "${ECHO_T}no" >&6; }
2726 test -n "$ac_ct_CC" && break
2729 if test "x$ac_ct_CC" = x; then
2732 case $cross_compiling:$ac_tool_warned in
2734 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2735 whose name does not start with the host triplet. If you think this
2736 configuration is useful to you, please write to autoconf@gnu.org." >&5
2737 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2738 whose name does not start with the host triplet. If you think this
2739 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2740 ac_tool_warned=yes ;;
2749 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2750 See \`config.log' for more details." >&5
2751 echo "$as_me: error: no acceptable C compiler found in \$PATH
2752 See \`config.log' for more details." >&2;}
2753 { (exit 1); exit 1; }; }
2755 # Provide some information about the compiler.
2756 echo "$as_me:$LINENO: checking for C compiler version" >&5
2757 ac_compiler=`set X $ac_compile; echo $2`
2758 { (ac_try="$ac_compiler --version >&5"
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_compiler --version >&5") 2>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }
2768 { (ac_try="$ac_compiler -v >&5"
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compiler -v >&5") 2>&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }
2778 { (ac_try="$ac_compiler -V >&5"
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_compiler -V >&5") 2>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }
2789 cat >conftest.$ac_ext <<_ACEOF
2792 cat confdefs.h >>conftest.$ac_ext
2793 cat >>conftest.$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2804 ac_clean_files_save=$ac_clean_files
2805 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2806 # Try to create an executable without -o first, disregard a.out.
2807 # It will help us diagnose broken compilers, and finding out an intuition
2809 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2810 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2811 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2813 # List of possible output files, starting from the most likely.
2814 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2815 # only as a last resort. b.out is created by i960 compilers.
2816 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2818 # The IRIX 6 linker writes into existing files which may not be
2819 # executable, retaining their permissions. Remove them first so a
2820 # subsequent execution test works.
2822 for ac_file in $ac_files
2825 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2826 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2831 if { (ac_try="$ac_link_default"
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_link_default") 2>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; then
2841 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2842 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2843 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2844 # so that the user can short-circuit this test for compilers unknown to
2846 for ac_file in $ac_files ''
2848 test -f "$ac_file" || continue
2850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2853 # We found the default executable, but exeext='' is most
2857 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2859 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2861 # We set ac_cv_exeext here because the later test for it is not
2862 # safe: cross compilers may not add the suffix if given an `-o'
2863 # argument, so we may need to know it at that point already.
2864 # Even if this section looks crufty: it has the advantage of
2871 test "$ac_cv_exeext" = no && ac_cv_exeext=
2877 { echo "$as_me:$LINENO: result: $ac_file" >&5
2878 echo "${ECHO_T}$ac_file" >&6; }
2879 if test -z "$ac_file"; then
2880 echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.$ac_ext >&5
2883 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2884 See \`config.log' for more details." >&5
2885 echo "$as_me: error: C compiler cannot create executables
2886 See \`config.log' for more details." >&2;}
2887 { (exit 77); exit 77; }; }
2890 ac_exeext=$ac_cv_exeext
2892 # Check that the compiler produces executables we can run. If not, either
2893 # the compiler is broken, or we cross compile.
2894 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2895 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2896 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2897 # If not cross compiling, check that we can run a simple program.
2898 if test "$cross_compiling" != yes; then
2899 if { ac_try='./$ac_file'
2900 { (case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_try") 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2911 if test "$cross_compiling" = maybe; then
2914 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2915 If you meant to cross compile, use \`--host'.
2916 See \`config.log' for more details." >&5
2917 echo "$as_me: error: cannot run C compiled programs.
2918 If you meant to cross compile, use \`--host'.
2919 See \`config.log' for more details." >&2;}
2920 { (exit 1); exit 1; }; }
2924 { echo "$as_me:$LINENO: result: yes" >&5
2925 echo "${ECHO_T}yes" >&6; }
2927 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2928 ac_clean_files=$ac_clean_files_save
2929 # Check that the compiler produces executables we can run. If not, either
2930 # the compiler is broken, or we cross compile.
2931 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2932 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2933 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2934 echo "${ECHO_T}$cross_compiling" >&6; }
2936 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2937 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2938 if { (ac_try="$ac_link"
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2944 (eval "$ac_link") 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; then
2948 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2949 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2950 # work properly (i.e., refer to `conftest.exe'), while it won't with
2952 for ac_file in conftest.exe conftest conftest.*; do
2953 test -f "$ac_file" || continue
2955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2956 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2962 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2963 See \`config.log' for more details." >&5
2964 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2965 See \`config.log' for more details." >&2;}
2966 { (exit 1); exit 1; }; }
2969 rm -f conftest$ac_cv_exeext
2970 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2971 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2973 rm -f conftest.$ac_ext
2974 EXEEXT=$ac_cv_exeext
2976 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2977 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2978 if test "${ac_cv_objext+set}" = set; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 cat >conftest.$ac_ext <<_ACEOF
2984 cat confdefs.h >>conftest.$ac_ext
2985 cat >>conftest.$ac_ext <<_ACEOF
2986 /* end confdefs.h. */
2996 rm -f conftest.o conftest.obj
2997 if { (ac_try="$ac_compile"
2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003 (eval "$ac_compile") 2>&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; then
3007 for ac_file in conftest.o conftest.obj conftest.*; do
3008 test -f "$ac_file" || continue;
3010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3011 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3016 echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.$ac_ext >&5
3019 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3020 See \`config.log' for more details." >&5
3021 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3022 See \`config.log' for more details." >&2;}
3023 { (exit 1); exit 1; }; }
3026 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3028 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3029 echo "${ECHO_T}$ac_cv_objext" >&6; }
3030 OBJEXT=$ac_cv_objext
3032 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3033 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3034 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3035 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 cat >conftest.$ac_ext <<_ACEOF
3040 cat confdefs.h >>conftest.$ac_ext
3041 cat >>conftest.$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3055 rm -f conftest.$ac_objext
3056 if { (ac_try="$ac_compile"
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3062 (eval "$ac_compile") 2>conftest.er1
3064 grep -v '^ *+' conftest.er1 >conftest.err
3066 cat conftest.err >&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } && {
3069 test -z "$ac_c_werror_flag" ||
3070 test ! -s conftest.err
3071 } && test -s conftest.$ac_objext; then
3074 echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3084 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3085 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3086 GCC=`test $ac_compiler_gnu = yes && echo yes`
3087 ac_test_CFLAGS=${CFLAGS+set}
3088 ac_save_CFLAGS=$CFLAGS
3089 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3090 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3091 if test "${ac_cv_prog_cc_g+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 ac_save_c_werror_flag=$ac_c_werror_flag
3095 ac_c_werror_flag=yes
3098 cat >conftest.$ac_ext <<_ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3113 rm -f conftest.$ac_objext
3114 if { (ac_try="$ac_compile"
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3120 (eval "$ac_compile") 2>conftest.er1
3122 grep -v '^ *+' conftest.er1 >conftest.err
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } && {
3127 test -z "$ac_c_werror_flag" ||
3128 test ! -s conftest.err
3129 } && test -s conftest.$ac_objext; then
3132 echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3136 cat >conftest.$ac_ext <<_ACEOF
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_c_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 ac_c_werror_flag=$ac_save_c_werror_flag
3175 cat >conftest.$ac_ext <<_ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^ *+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_c_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_c_werror_flag=$ac_save_c_werror_flag
3224 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3225 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3226 if test "$ac_test_CFLAGS" = set; then
3227 CFLAGS=$ac_save_CFLAGS
3228 elif test $ac_cv_prog_cc_g = yes; then
3229 if test "$GCC" = yes; then
3235 if test "$GCC" = yes; then
3241 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3242 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3243 if test "${ac_cv_prog_cc_c89+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 ac_cv_prog_cc_c89=no
3248 cat >conftest.$ac_ext <<_ACEOF
3251 cat confdefs.h >>conftest.$ac_ext
3252 cat >>conftest.$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3256 #include <sys/types.h>
3257 #include <sys/stat.h>
3258 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3259 struct buf { int x; };
3260 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3261 static char *e (p, i)
3267 static char *f (char * (*g) (char **, int), char **p, ...)
3272 s = g (p, va_arg (v,int));
3277 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3278 function prototypes and stuff, but not '\xHH' hex character constants.
3279 These don't provoke an error unfortunately, instead are silently treated
3280 as 'x'. The following induces an error, until -std is added to get
3281 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3282 array size at least. It's necessary to write '\x00'==0 to get something
3283 that's true only with -std. */
3284 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3286 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3287 inside strings and character constants. */
3289 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3291 int test (int i, double x);
3292 struct s1 {int (*f) (int a);};
3293 struct s2 {int (*f) (double a);};
3294 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3300 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3305 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3306 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3308 CC="$ac_save_CC $ac_arg"
3309 rm -f conftest.$ac_objext
3310 if { (ac_try="$ac_compile"
3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3316 (eval "$ac_compile") 2>conftest.er1
3318 grep -v '^ *+' conftest.er1 >conftest.err
3320 cat conftest.err >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); } && {
3323 test -z "$ac_c_werror_flag" ||
3324 test ! -s conftest.err
3325 } && test -s conftest.$ac_objext; then
3326 ac_cv_prog_cc_c89=$ac_arg
3328 echo "$as_me: failed program was:" >&5
3329 sed 's/^/| /' conftest.$ac_ext >&5
3334 rm -f core conftest.err conftest.$ac_objext
3335 test "x$ac_cv_prog_cc_c89" != "xno" && break
3337 rm -f conftest.$ac_ext
3342 case "x$ac_cv_prog_cc_c89" in
3344 { echo "$as_me:$LINENO: result: none needed" >&5
3345 echo "${ECHO_T}none needed" >&6; } ;;
3347 { echo "$as_me:$LINENO: result: unsupported" >&5
3348 echo "${ECHO_T}unsupported" >&6; } ;;
3350 CC="$CC $ac_cv_prog_cc_c89"
3351 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3352 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3357 ac_cpp='$CPP $CPPFLAGS'
3358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3364 ac_cpp='$CPP $CPPFLAGS'
3365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3368 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3369 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3370 # On Suns, sometimes $CPP names a directory.
3371 if test -n "$CPP" && test -d "$CPP"; then
3374 if test -z "$CPP"; then
3375 if test "${ac_cv_prog_CPP+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 # Double quotes because CPP needs to be expanded
3379 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3382 for ac_c_preproc_warn_flag in '' yes
3384 # Use a header file that comes with gcc, so configuring glibc
3385 # with a fresh cross-compiler works.
3386 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3387 # <limits.h> exists even on freestanding compilers.
3388 # On the NeXT, cc -E runs the code through the compiler's parser,
3389 # not just through cpp. "Syntax error" is here to catch this case.
3390 cat >conftest.$ac_ext <<_ACEOF
3393 cat confdefs.h >>conftest.$ac_ext
3394 cat >>conftest.$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3397 # include <limits.h>
3399 # include <assert.h>
3403 if { (ac_try="$ac_cpp conftest.$ac_ext"
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;;
3408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3409 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3411 grep -v '^ *+' conftest.er1 >conftest.err
3413 cat conftest.err >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } >/dev/null && {
3416 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3417 test ! -s conftest.err
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3424 # Broken: fails on valid input.
3428 rm -f conftest.err conftest.$ac_ext
3430 # OK, works on sane cases. Now check whether nonexistent headers
3431 # can be detected and how.
3432 cat >conftest.$ac_ext <<_ACEOF
3435 cat confdefs.h >>conftest.$ac_ext
3436 cat >>conftest.$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3438 #include <ac_nonexistent.h>
3440 if { (ac_try="$ac_cpp conftest.$ac_ext"
3442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3446 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3448 grep -v '^ *+' conftest.er1 >conftest.err
3450 cat conftest.err >&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } >/dev/null && {
3453 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3454 test ! -s conftest.err
3456 # Broken: success on invalid input.
3459 echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 # Passes both tests.
3467 rm -f conftest.err conftest.$ac_ext
3470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3471 rm -f conftest.err conftest.$ac_ext
3472 if $ac_preproc_ok; then
3484 { echo "$as_me:$LINENO: result: $CPP" >&5
3485 echo "${ECHO_T}$CPP" >&6; }
3487 for ac_c_preproc_warn_flag in '' yes
3489 # Use a header file that comes with gcc, so configuring glibc
3490 # with a fresh cross-compiler works.
3491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3492 # <limits.h> exists even on freestanding compilers.
3493 # On the NeXT, cc -E runs the code through the compiler's parser,
3494 # not just through cpp. "Syntax error" is here to catch this case.
3495 cat >conftest.$ac_ext <<_ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3502 # include <limits.h>
3504 # include <assert.h>
3508 if { (ac_try="$ac_cpp conftest.$ac_ext"
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3516 grep -v '^ *+' conftest.er1 >conftest.err
3518 cat conftest.err >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } >/dev/null && {
3521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3522 test ! -s conftest.err
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3529 # Broken: fails on valid input.
3533 rm -f conftest.err conftest.$ac_ext
3535 # OK, works on sane cases. Now check whether nonexistent headers
3536 # can be detected and how.
3537 cat >conftest.$ac_ext <<_ACEOF
3540 cat confdefs.h >>conftest.$ac_ext
3541 cat >>conftest.$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3543 #include <ac_nonexistent.h>
3545 if { (ac_try="$ac_cpp conftest.$ac_ext"
3547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3553 grep -v '^ *+' conftest.er1 >conftest.err
3555 cat conftest.err >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); } >/dev/null && {
3558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3559 test ! -s conftest.err
3561 # Broken: success on invalid input.
3564 echo "$as_me: failed program was:" >&5
3565 sed 's/^/| /' conftest.$ac_ext >&5
3567 # Passes both tests.
3572 rm -f conftest.err conftest.$ac_ext
3575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3576 rm -f conftest.err conftest.$ac_ext
3577 if $ac_preproc_ok; then
3580 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3581 See \`config.log' for more details." >&5
3582 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3583 See \`config.log' for more details." >&2;}
3584 { (exit 1); exit 1; }; }
3588 ac_cpp='$CPP $CPPFLAGS'
3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3595 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3596 if test "${ac_cv_path_GREP+set}" = set; then
3597 echo $ECHO_N "(cached) $ECHO_C" >&6
3599 # Extract the first word of "grep ggrep" to use in msg output
3600 if test -z "$GREP"; then
3601 set dummy grep ggrep; ac_prog_name=$2
3602 if test "${ac_cv_path_GREP+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 ac_path_GREP_found=false
3606 # Loop through the user's path and test for each of PROGNAME-LIST
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3611 test -z "$as_dir" && as_dir=.
3612 for ac_prog in grep ggrep; do
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3615 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3616 # Check for GNU ac_path_GREP and select it if it is found.
3617 # Check for GNU $ac_path_GREP
3618 case `"$ac_path_GREP" --version 2>&1` in
3620 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3623 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3626 cat "conftest.in" "conftest.in" >"conftest.tmp"
3627 mv "conftest.tmp" "conftest.in"
3628 cp "conftest.in" "conftest.nl"
3629 echo 'GREP' >> "conftest.nl"
3630 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3631 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3632 ac_count=`expr $ac_count + 1`
3633 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3634 # Best one so far, save it but keep looking for a better one
3635 ac_cv_path_GREP="$ac_path_GREP"
3636 ac_path_GREP_max=$ac_count
3638 # 10*(2^10) chars as input seems more than enough
3639 test $ac_count -gt 10 && break
3641 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3645 $ac_path_GREP_found && break 3
3655 GREP="$ac_cv_path_GREP"
3656 if test -z "$GREP"; then
3657 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3658 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3659 { (exit 1); exit 1; }; }
3663 ac_cv_path_GREP=$GREP
3668 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3669 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3670 GREP="$ac_cv_path_GREP"
3673 { echo "$as_me:$LINENO: checking for egrep" >&5
3674 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3675 if test "${ac_cv_path_EGREP+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3679 then ac_cv_path_EGREP="$GREP -E"
3681 # Extract the first word of "egrep" to use in msg output
3682 if test -z "$EGREP"; then
3683 set dummy egrep; ac_prog_name=$2
3684 if test "${ac_cv_path_EGREP+set}" = set; then
3685 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 ac_path_EGREP_found=false
3688 # Loop through the user's path and test for each of PROGNAME-LIST
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3693 test -z "$as_dir" && as_dir=.
3694 for ac_prog in egrep; do
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3697 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3698 # Check for GNU ac_path_EGREP and select it if it is found.
3699 # Check for GNU $ac_path_EGREP
3700 case `"$ac_path_EGREP" --version 2>&1` in
3702 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3705 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3708 cat "conftest.in" "conftest.in" >"conftest.tmp"
3709 mv "conftest.tmp" "conftest.in"
3710 cp "conftest.in" "conftest.nl"
3711 echo 'EGREP' >> "conftest.nl"
3712 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3714 ac_count=`expr $ac_count + 1`
3715 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3716 # Best one so far, save it but keep looking for a better one
3717 ac_cv_path_EGREP="$ac_path_EGREP"
3718 ac_path_EGREP_max=$ac_count
3720 # 10*(2^10) chars as input seems more than enough
3721 test $ac_count -gt 10 && break
3723 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3727 $ac_path_EGREP_found && break 3
3737 EGREP="$ac_cv_path_EGREP"
3738 if test -z "$EGREP"; then
3739 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3740 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3741 { (exit 1); exit 1; }; }
3745 ac_cv_path_EGREP=$EGREP
3751 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3752 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3753 EGREP="$ac_cv_path_EGREP"
3757 { echo "$as_me:$LINENO: checking for AIX" >&5
3758 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3759 cat >conftest.$ac_ext <<_ACEOF
3762 cat confdefs.h >>conftest.$ac_ext
3763 cat >>conftest.$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3771 $EGREP "yes" >/dev/null 2>&1; then
3772 { echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6; }
3774 cat >>confdefs.h <<\_ACEOF
3775 #define _ALL_SOURCE 1
3779 { echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6; }
3785 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3786 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3787 if test "${ac_cv_header_stdc+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 cat >conftest.$ac_ext <<_ACEOF
3793 cat confdefs.h >>conftest.$ac_ext
3794 cat >>conftest.$ac_ext <<_ACEOF
3795 /* end confdefs.h. */
3809 rm -f conftest.$ac_objext
3810 if { (ac_try="$ac_compile"
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3816 (eval "$ac_compile") 2>conftest.er1
3818 grep -v '^ *+' conftest.er1 >conftest.err
3820 cat conftest.err >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } && {
3823 test -z "$ac_c_werror_flag" ||
3824 test ! -s conftest.err
3825 } && test -s conftest.$ac_objext; then
3826 ac_cv_header_stdc=yes
3828 echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.$ac_ext >&5
3831 ac_cv_header_stdc=no
3834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836 if test $ac_cv_header_stdc = yes; then
3837 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3838 cat >conftest.$ac_ext <<_ACEOF
3841 cat confdefs.h >>conftest.$ac_ext
3842 cat >>conftest.$ac_ext <<_ACEOF
3843 /* end confdefs.h. */
3847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3848 $EGREP "memchr" >/dev/null 2>&1; then
3851 ac_cv_header_stdc=no
3857 if test $ac_cv_header_stdc = yes; then
3858 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3859 cat >conftest.$ac_ext <<_ACEOF
3862 cat confdefs.h >>conftest.$ac_ext
3863 cat >>conftest.$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3869 $EGREP "free" >/dev/null 2>&1; then
3872 ac_cv_header_stdc=no
3878 if test $ac_cv_header_stdc = yes; then
3879 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3880 if test "$cross_compiling" = yes; then
3883 cat >conftest.$ac_ext <<_ACEOF
3886 cat confdefs.h >>conftest.$ac_ext
3887 cat >>conftest.$ac_ext <<_ACEOF
3888 /* end confdefs.h. */
3891 #if ((' ' & 0x0FF) == 0x020)
3892 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3893 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3895 # define ISLOWER(c) \
3896 (('a' <= (c) && (c) <= 'i') \
3897 || ('j' <= (c) && (c) <= 'r') \
3898 || ('s' <= (c) && (c) <= 'z'))
3899 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3902 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3907 for (i = 0; i < 256; i++)
3908 if (XOR (islower (i), ISLOWER (i))
3909 || toupper (i) != TOUPPER (i))
3914 rm -f conftest$ac_exeext
3915 if { (ac_try="$ac_link"
3917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3918 *) ac_try_echo=$ac_try;;
3920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3921 (eval "$ac_link") 2>&5
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3925 { (case "(($ac_try" in
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3930 (eval "$ac_try") 2>&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3936 echo "$as_me: program exited with status $ac_status" >&5
3937 echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3941 ac_cv_header_stdc=no
3943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3949 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3950 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3951 if test $ac_cv_header_stdc = yes; then
3953 cat >>confdefs.h <<\_ACEOF
3954 #define STDC_HEADERS 1
3959 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3969 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3970 inttypes.h stdint.h unistd.h
3972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3976 echo $ECHO_N "(cached) $ECHO_C" >&6
3978 cat >conftest.$ac_ext <<_ACEOF
3981 cat confdefs.h >>conftest.$ac_ext
3982 cat >>conftest.$ac_ext <<_ACEOF
3983 /* end confdefs.h. */
3984 $ac_includes_default
3986 #include <$ac_header>
3988 rm -f conftest.$ac_objext
3989 if { (ac_try="$ac_compile"
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3995 (eval "$ac_compile") 2>conftest.er1
3997 grep -v '^ *+' conftest.er1 >conftest.err
3999 cat conftest.err >&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); } && {
4002 test -z "$ac_c_werror_flag" ||
4003 test ! -s conftest.err
4004 } && test -s conftest.$ac_objext; then
4005 eval "$as_ac_Header=yes"
4007 echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.$ac_ext >&5
4010 eval "$as_ac_Header=no"
4013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4015 ac_res=`eval echo '${'$as_ac_Header'}'`
4016 { echo "$as_me:$LINENO: result: $ac_res" >&5
4017 echo "${ECHO_T}$ac_res" >&6; }
4018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4019 cat >>confdefs.h <<_ACEOF
4020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4028 if test "${ac_cv_header_minix_config_h+set}" = set; then
4029 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4030 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4031 if test "${ac_cv_header_minix_config_h+set}" = set; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4035 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4037 # Is the header compilable?
4038 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4039 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4040 cat >conftest.$ac_ext <<_ACEOF
4043 cat confdefs.h >>conftest.$ac_ext
4044 cat >>conftest.$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4046 $ac_includes_default
4047 #include <minix/config.h>
4049 rm -f conftest.$ac_objext
4050 if { (ac_try="$ac_compile"
4052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053 *) ac_try_echo=$ac_try;;
4055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4056 (eval "$ac_compile") 2>conftest.er1
4058 grep -v '^ *+' conftest.er1 >conftest.err
4060 cat conftest.err >&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); } && {
4063 test -z "$ac_c_werror_flag" ||
4064 test ! -s conftest.err
4065 } && test -s conftest.$ac_objext; then
4066 ac_header_compiler=yes
4068 echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4071 ac_header_compiler=no
4074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4075 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4076 echo "${ECHO_T}$ac_header_compiler" >&6; }
4078 # Is the header present?
4079 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4080 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4081 cat >conftest.$ac_ext <<_ACEOF
4084 cat confdefs.h >>conftest.$ac_ext
4085 cat >>conftest.$ac_ext <<_ACEOF
4086 /* end confdefs.h. */
4087 #include <minix/config.h>
4089 if { (ac_try="$ac_cpp conftest.$ac_ext"
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4097 grep -v '^ *+' conftest.er1 >conftest.err
4099 cat conftest.err >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } >/dev/null && {
4102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4103 test ! -s conftest.err
4105 ac_header_preproc=yes
4107 echo "$as_me: failed program was:" >&5
4108 sed 's/^/| /' conftest.$ac_ext >&5
4110 ac_header_preproc=no
4113 rm -f conftest.err conftest.$ac_ext
4114 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4115 echo "${ECHO_T}$ac_header_preproc" >&6; }
4117 # So? What about this header?
4118 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4120 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4121 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4122 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4123 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4124 ac_header_preproc=yes
4127 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4128 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4129 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4130 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4131 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4132 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4133 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4134 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4135 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4136 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4137 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4138 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4140 ## ------------------------------------------ ##
4141 ## Report this to https://issues.asterisk.org ##
4142 ## ------------------------------------------ ##
4144 ) | sed "s/^/$as_me: WARNING: /" >&2
4147 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4148 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4149 if test "${ac_cv_header_minix_config_h+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 ac_cv_header_minix_config_h=$ac_header_preproc
4154 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4155 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4158 if test $ac_cv_header_minix_config_h = yes; then
4165 if test "$MINIX" = yes; then
4167 cat >>confdefs.h <<\_ACEOF
4168 #define _POSIX_SOURCE 1
4172 cat >>confdefs.h <<\_ACEOF
4173 #define _POSIX_1_SOURCE 2
4177 cat >>confdefs.h <<\_ACEOF
4193 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4194 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4195 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 cat >conftest.$ac_ext <<_ACEOF
4201 cat confdefs.h >>conftest.$ac_ext
4202 cat >>conftest.$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4205 # define __EXTENSIONS__ 1
4206 $ac_includes_default
4215 rm -f conftest.$ac_objext
4216 if { (ac_try="$ac_compile"
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222 (eval "$ac_compile") 2>conftest.er1
4224 grep -v '^ *+' conftest.er1 >conftest.err
4226 cat conftest.err >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); } && {
4229 test -z "$ac_c_werror_flag" ||
4230 test ! -s conftest.err
4231 } && test -s conftest.$ac_objext; then
4232 ac_cv_safe_to_define___extensions__=yes
4234 echo "$as_me: failed program was:" >&5
4235 sed 's/^/| /' conftest.$ac_ext >&5
4237 ac_cv_safe_to_define___extensions__=no
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4243 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4244 test $ac_cv_safe_to_define___extensions__ = yes &&
4245 cat >>confdefs.h <<\_ACEOF
4246 #define __EXTENSIONS__ 1
4249 cat >>confdefs.h <<\_ACEOF
4250 #define _POSIX_PTHREAD_SEMANTICS 1
4253 cat >>confdefs.h <<\_ACEOF
4254 #define _TANDEM_SOURCE 1
4257 # note- does not work on FreeBSD
4259 case "${host_os}" in
4262 CPPFLAGS=-I/usr/local/include
4263 LDFLAGS=-L/usr/local/lib
4267 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4268 if test ${sysconfdir} = '${prefix}/etc'; then
4271 if test ${mandir} = '${prefix}/man'; then
4272 mandir=/usr/share/man
4275 CPPFLAGS=-I/usr/local/include
4276 LDFLAGS=-L/usr/local/lib
4280 cat >>confdefs.h <<\_ACEOF
4281 #define AST_POLL_COMPAT 1
4287 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4288 if test ${sysconfdir} = '${prefix}/etc'; then
4291 if test ${mandir} = '${prefix}/man'; then
4292 mandir=/usr/share/man
4298 if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
4299 if test ${localstatedir} = '${prefix}/var'; then
4304 BUILD_PLATFORM=${build}
4305 BUILD_CPU=${build_cpu}
4306 BUILD_VENDOR=${build_vendor}
4307 BUILD_OS=${build_os}
4314 HOST_PLATFORM=${host}
4315 HOST_CPU=${host_cpu}
4316 HOST_VENDOR=${host_vendor}
4326 case "${host_os}" in
4359 if test -n "$ac_tool_prefix"; then
4360 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4361 set dummy ${ac_tool_prefix}uname; ac_word=$2
4362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4364 if test "${ac_cv_path_UNAME+set}" = set; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4369 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 test -z "$as_dir" && as_dir=.
4377 for ac_exec_ext in '' $ac_executable_extensions; do
4378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4379 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 UNAME=$ac_cv_path_UNAME
4391 if test -n "$UNAME"; then
4392 { echo "$as_me:$LINENO: result: $UNAME" >&5
4393 echo "${ECHO_T}$UNAME" >&6; }
4395 { echo "$as_me:$LINENO: result: no" >&5
4396 echo "${ECHO_T}no" >&6; }
4401 if test -z "$ac_cv_path_UNAME"; then
4403 # Extract the first word of "uname", so it can be a program name with args.
4404 set dummy uname; ac_word=$2
4405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4407 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 case $ac_pt_UNAME in
4412 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir=.
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4434 if test -n "$ac_pt_UNAME"; then
4435 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4436 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4438 { echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6; }
4442 if test "x$ac_pt_UNAME" = x; then
4445 case $cross_compiling:$ac_tool_warned in
4447 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4448 whose name does not start with the host triplet. If you think this
4449 configuration is useful to you, please write to autoconf@gnu.org." >&5
4450 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4451 whose name does not start with the host triplet. If you think this
4452 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4453 ac_tool_warned=yes ;;
4458 UNAME="$ac_cv_path_UNAME"
4461 if test ! x"${UNAME}" = xNo; then
4462 PBX_OSREV=$(${UNAME} -r)
4472 # cross-compile checks
4473 if test "${cross_compiling}" = "yes";
4475 if test -n "$ac_tool_prefix"; then
4476 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4477 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4480 if test "${ac_cv_prog_CC+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$CC"; then
4484 ac_cv_prog_CC="$CC" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4504 if test -n "$CC"; then
4505 { echo "$as_me:$LINENO: result: $CC" >&5
4506 echo "${ECHO_T}$CC" >&6; }
4508 { echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6; }
4514 if test -z "$ac_cv_prog_CC"; then
4516 # Extract the first word of "gcc", so it can be a program name with args.
4517 set dummy gcc; ac_word=$2
4518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4520 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4521 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 if test -n "$ac_ct_CC"; then
4524 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir=.
4531 for ac_exec_ext in '' $ac_executable_extensions; do
4532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4533 ac_cv_prog_ac_ct_CC="gcc"
4534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4544 if test -n "$ac_ct_CC"; then
4545 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4546 echo "${ECHO_T}$ac_ct_CC" >&6; }
4548 { echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6; }
4552 if test "x$ac_ct_CC" = x; then
4555 case $cross_compiling:$ac_tool_warned in
4557 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4558 whose name does not start with the host triplet. If you think this
4559 configuration is useful to you, please write to autoconf@gnu.org." >&5
4560 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4561 whose name does not start with the host triplet. If you think this
4562 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4563 ac_tool_warned=yes ;;
4571 if test -n "$ac_tool_prefix"; then
4572 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4573 set dummy ${ac_tool_prefix}g++; ac_word=$2
4574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4576 if test "${ac_cv_prog_CXX+set}" = set; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4579 if test -n "$CXX"; then
4580 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4589 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 if test -n "$CXX"; then
4601 { echo "$as_me:$LINENO: result: $CXX" >&5
4602 echo "${ECHO_T}$CXX" >&6; }
4604 { echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6; }
4610 if test -z "$ac_cv_prog_CXX"; then
4612 # Extract the first word of "g++", so it can be a program name with args.
4613 set dummy g++; ac_word=$2
4614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4616 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 if test -n "$ac_ct_CXX"; then
4620 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 test -z "$as_dir" && as_dir=.
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4629 ac_cv_prog_ac_ct_CXX="g++"
4630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4640 if test -n "$ac_ct_CXX"; then
4641 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4642 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4644 { echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6; }
4648 if test "x$ac_ct_CXX" = x; then
4651 case $cross_compiling:$ac_tool_warned in
4653 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4654 whose name does not start with the host triplet. If you think this
4655 configuration is useful to you, please write to autoconf@gnu.org." >&5
4656 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4657 whose name does not start with the host triplet. If you think this
4658 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4659 ac_tool_warned=yes ;;
4664 CXX="$ac_cv_prog_CXX"
4667 if test -n "$ac_tool_prefix"; then
4668 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4669 set dummy ${ac_tool_prefix}ld; ac_word=$2
4670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4672 if test "${ac_cv_prog_LD+set}" = set; then
4673 echo $ECHO_N "(cached) $ECHO_C" >&6
4675 if test -n "$LD"; then
4676 ac_cv_prog_LD="$LD" # Let the user override the test.
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir=.
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4685 ac_cv_prog_LD="${ac_tool_prefix}ld"
4686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 if test -n "$LD"; then
4697 { echo "$as_me:$LINENO: result: $LD" >&5
4698 echo "${ECHO_T}$LD" >&6; }
4700 { echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6; }
4706 if test -z "$ac_cv_prog_LD"; then
4708 # Extract the first word of "ld", so it can be a program name with args.
4709 set dummy ld; ac_word=$2
4710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4712 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 if test -n "$ac_ct_LD"; then
4716 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 test -z "$as_dir" && as_dir=.
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4725 ac_cv_prog_ac_ct_LD="ld"
4726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4736 if test -n "$ac_ct_LD"; then
4737 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4738 echo "${ECHO_T}$ac_ct_LD" >&6; }