2 # From configure.ac Revision: 313280 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 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, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
48 # Printing a long string crashes Solaris 7 /usr/bin/printf.
49 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
50 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
51 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
52 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # Support unset when possible.
87 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
95 # We need space, tab and new line, in precisely that order. Quoting is
96 # there to prevent editors from complaining about space-tab.
97 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
98 # splitting by setting IFS to empty value.)
101 # Find who we are. Look in the path if we contain no directory separator.
103 *[\\/]* ) as_myself=$0 ;;
104 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
108 test -z "$as_dir" && as_dir=.
109 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 # We did not find ourselves, most probably we were run as `sh COMMAND'
116 # in which case we are not to be found in the path.
117 if test "x$as_myself" = x; then
120 if test ! -f "$as_myself"; then
121 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
122 { (exit 1); exit 1; }
125 # Work around bugs in pre-3.0 UWIN ksh.
126 for as_var in ENV MAIL MAILPATH
127 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
139 # Required to use basename.
140 if expr a : '\(a\)' >/dev/null 2>&1 &&
141 test "X`expr 00001 : '.*\(...\)'`" = X001; then
147 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
154 # Name of the executable.
155 as_me=`$as_basename -- "$0" ||
156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
157 X"$0" : 'X\(//\)$' \| \
158 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
160 sed '/^.*\/\([^/][^/]*\)\/*$/{
178 if test "x$CONFIG_SHELL" = x; then
179 if (eval ":") 2>/dev/null; then
185 if test $as_have_required = yes && (eval ":
195 as_func_ret_success () {
198 as_func_ret_failure () {
203 if as_func_success; then
207 echo as_func_success failed.
210 if as_func_failure; then
212 echo as_func_failure succeeded.
215 if as_func_ret_success; then
219 echo as_func_ret_success failed.
222 if as_func_ret_failure; then
224 echo as_func_ret_failure succeeded.
227 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
231 echo positional parameters were not saved.
234 test \$exitcode = 0) || { (exit 1); exit 1; }
239 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
240 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
241 ") 2> /dev/null; then
245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
246 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
249 test -z "$as_dir" && as_dir=.
252 for as_base in sh bash ksh sh5; do
253 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
260 for as_shell in $as_candidate_shells $SHELL; do
261 # Try only shells that exist, to save several forks.
262 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
263 { ("$as_shell") 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
282 CONFIG_SHELL=$as_shell
284 if { "$as_shell" 2> /dev/null <<\_ASEOF
285 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
288 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
289 # is contrary to our usage. Disable this feature.
290 alias -g '${1+"$@"}'='"$@"'
293 case `(set -o) 2>/dev/null` in
294 *posix*) set -o posix ;;
310 as_func_ret_success () {
313 as_func_ret_failure () {
318 if as_func_success; then
322 echo as_func_success failed.
325 if as_func_failure; then
327 echo as_func_failure succeeded.
330 if as_func_ret_success; then
334 echo as_func_ret_success failed.
337 if as_func_ret_failure; then
339 echo as_func_ret_failure succeeded.
342 if ( set x; as_func_ret_success y && test x = "$1" ); then
346 echo positional parameters were not saved.
349 test $exitcode = 0) || { (exit 1); exit 1; }
354 test "x$as_lineno_1" != "x$as_lineno_2" &&
355 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
366 if test "x$CONFIG_SHELL" != x; then
367 for as_var in BASH_ENV ENV
368 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
371 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
375 if test $as_have_required = no; then
376 echo This script requires a shell more modern than all the
377 echo shells that I found on your system. Please install a
378 echo modern shell, or manually run the script under such a
379 echo shell if you do have one.
380 { (exit 1); exit 1; }
390 (eval "as_func_return () {
399 as_func_ret_success () {
402 as_func_ret_failure () {
407 if as_func_success; then
411 echo as_func_success failed.
414 if as_func_failure; then
416 echo as_func_failure succeeded.
419 if as_func_ret_success; then
423 echo as_func_ret_success failed.
426 if as_func_ret_failure; then
428 echo as_func_ret_failure succeeded.
431 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
435 echo positional parameters were not saved.
438 test \$exitcode = 0") || {
439 echo No shell found that supports shell functions.
440 echo Please tell bug-autoconf@gnu.org about your system,
441 echo including any error possibly output before this message.
442 echo This can help us improve future autoconf versions.
443 echo Configuration will now proceed without shell functions.
450 test "x$as_lineno_1" != "x$as_lineno_2" &&
451 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
453 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
454 # uniformly replaced by the line number. The first 'sed' inserts a
455 # line-number line after each line using $LINENO; the second 'sed'
456 # does the real work. The second script uses 'N' to pair each
457 # line-number line with the line containing $LINENO, and appends
458 # trailing '-' during substitution so that $LINENO is not a special
460 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
461 # scripts with optimization help from Paolo Bonzini. Blame Lee
462 # E. McMahon (1931-1989) for sed's syntax. :-)
474 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
478 chmod +x "$as_me.lineno" ||
479 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
480 { (exit 1); exit 1; }; }
482 # Don't try to exec as it changes $[0], causing all sort of problems
483 # (the dirname of $[0] is not the place where we might find the
484 # original and so on. Autoconf is especially sensitive to this).
486 # Exit status is that of the last command.
491 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
497 ECHO_C= ECHO_N= ECHO_T=
501 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 if expr a : '\(a\)' >/dev/null 2>&1 &&
508 test "X`expr 00001 : '.*\(...\)'`" = X001; then
514 rm -f conf$$ conf$$.exe conf$$.file
515 if test -d conf$$.dir; then
516 rm -f conf$$.dir/conf$$.file
519 mkdir conf$$.dir 2>/dev/null
521 if (echo >conf$$.file) 2>/dev/null; then
522 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 # ... but there are two gotchas:
525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
527 # In both cases, we have to default to `cp -p'.
528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 elif ln conf$$.file conf$$ 2>/dev/null; then
538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
539 rmdir conf$$.dir 2>/dev/null
541 if mkdir -p . 2>/dev/null; then
544 test -d ./-p && rmdir ./-p
548 if test -x / >/dev/null 2>&1; then
551 if ls -dL / >/dev/null 2>&1; then
558 if test -d "$1"; then
564 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
565 ???[sx]*):;;*)false;;esac;fi
569 as_executable_p=$as_test_x
571 # Sed expression to map a string onto a valid CPP name.
572 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
574 # Sed expression to map a string onto a valid variable name.
575 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
579 exec 7<&0 </dev/null 6>&1
582 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
583 # so uname gets run too.
584 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
589 ac_default_prefix=/usr/local
591 ac_config_libobj_dir=.
597 SHELL=${CONFIG_SHELL-/bin/sh}
599 # Identity of this package.
600 PACKAGE_NAME='asterisk'
601 PACKAGE_TARNAME='asterisk'
602 PACKAGE_VERSION='trunk'
603 PACKAGE_STRING='asterisk trunk'
604 PACKAGE_BUGREPORT='https://issues.asterisk.org'
606 ac_unique_file="main/asterisk.c"
607 # Factoring default headers for most tests.
608 ac_includes_default="\
610 #ifdef HAVE_SYS_TYPES_H
611 # include <sys/types.h>
613 #ifdef HAVE_SYS_STAT_H
614 # include <sys/stat.h>
620 # ifdef HAVE_STDLIB_H
625 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
630 #ifdef HAVE_STRINGS_H
631 # include <strings.h>
633 #ifdef HAVE_INTTYPES_H
634 # include <inttypes.h>
644 ac_subst_vars='LTLIBOBJS
646 PBX_SYSLOG_FACILITY_LOG_UUCP
647 PBX_SYSLOG_FACILITY_LOG_SYSLOG
648 PBX_SYSLOG_FACILITY_LOG_NEWS
649 PBX_SYSLOG_FACILITY_LOG_MAIL
650 PBX_SYSLOG_FACILITY_LOG_LPR
651 PBX_SYSLOG_FACILITY_LOG_KERN
652 PBX_SYSLOG_FACILITY_LOG_FTP
653 PBX_SYSLOG_FACILITY_LOG_DAEMON
654 PBX_SYSLOG_FACILITY_LOG_CRON
655 PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
656 PBX_SYSLOG_FACILITY_LOG_AUTH
698 AST_NO_STRICT_OVERFLOW
700 AST_DECLARATION_AFTER_STATEMENT
704 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
705 PBX_PTHREAD_RWLOCK_INITIALIZER
782 SPEEX_PREPROCESS_INCLUDE
817 PBX_PRI_REVERSE_CHARGE
818 PRI_REVERSE_CHARGE_DIR
819 PRI_REVERSE_CHARGE_INCLUDE
820 PRI_REVERSE_CHARGE_LIB
821 PBX_PRI_SERVICE_MESSAGES
822 PRI_SERVICE_MESSAGES_DIR
823 PRI_SERVICE_MESSAGES_INCLUDE
824 PRI_SERVICE_MESSAGES_LIB
827 PRI_PROG_W_CAUSE_INCLUDE
829 PBX_PRI_INBANDDISCONNECT
830 PRI_INBANDDISCONNECT_DIR
831 PRI_INBANDDISCONNECT_INCLUDE
832 PRI_INBANDDISCONNECT_LIB
835 PRI_SETUP_KEYPAD_INCLUDE
837 PBX_PRI_CALL_REROUTING
838 PRI_CALL_REROUTING_DIR
839 PRI_CALL_REROUTING_INCLUDE
840 PRI_CALL_REROUTING_LIB
843 PRI_CALL_HOLD_INCLUDE
851 PRI_HANGUP_FIX_INCLUDE
863 PRI_AOC_EVENTS_INCLUDE
867 PRI_CALL_WAITING_INCLUDE
879 PRI_DISPLAY_TEXT_INCLUDE
1187 program_transform_name
1199 enable_option_checking
1275 enable_internal_poll
1278 ac_precious_vars='build_alias
1293 # Initialize some variables set by options.
1295 ac_init_version=false
1296 ac_unrecognized_opts=
1297 ac_unrecognized_sep=
1298 # The variables have the same names as the options, with
1299 # dashes changed to underlines.
1300 cache_file=/dev/null
1307 program_transform_name=s,x,x,
1315 # Installation directory options.
1316 # These are left unexpanded so users can "make install exec_prefix=/foo"
1317 # and all the variables that are supposed to be based on exec_prefix
1318 # by default will actually change.
1319 # Use braces instead of parens because sh, perl, etc. also accept them.
1320 # (The list follows the same order as the GNU Coding Standards.)
1321 bindir='${exec_prefix}/bin'
1322 sbindir='${exec_prefix}/sbin'
1323 libexecdir='${exec_prefix}/libexec'
1324 datarootdir='${prefix}/share'
1325 datadir='${datarootdir}'
1326 sysconfdir='${prefix}/etc'
1327 sharedstatedir='${prefix}/com'
1328 localstatedir='${prefix}/var'
1329 includedir='${prefix}/include'
1330 oldincludedir='/usr/include'
1331 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1332 infodir='${datarootdir}/info'
1337 libdir='${exec_prefix}/lib'
1338 localedir='${datarootdir}/locale'
1339 mandir='${datarootdir}/man'
1345 # If the previous option needs an argument, assign it.
1346 if test -n "$ac_prev"; then
1347 eval $ac_prev=\$ac_option
1353 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1357 # Accept the important Cygnus configure options, so we can diagnose typos.
1359 case $ac_dashdash$ac_option in
1363 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1365 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1366 bindir=$ac_optarg ;;
1368 -build | --build | --buil | --bui | --bu)
1369 ac_prev=build_alias ;;
1370 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1371 build_alias=$ac_optarg ;;
1373 -cache-file | --cache-file | --cache-fil | --cache-fi \
1374 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1375 ac_prev=cache_file ;;
1376 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1377 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1378 cache_file=$ac_optarg ;;
1380 --config-cache | -C)
1381 cache_file=config.cache ;;
1383 -datadir | --datadir | --datadi | --datad)
1385 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1386 datadir=$ac_optarg ;;
1388 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1389 | --dataroo | --dataro | --datar)
1390 ac_prev=datarootdir ;;
1391 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1392 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1393 datarootdir=$ac_optarg ;;
1395 -disable-* | --disable-*)
1396 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1397 # Reject names that are not valid shell variable names.
1398 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1399 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1400 { (exit 1); exit 1; }; }
1401 ac_useropt_orig=$ac_useropt
1402 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1403 case $ac_user_opts in
1405 "enable_$ac_useropt"
1407 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1408 ac_unrecognized_sep=', ';;
1410 eval enable_$ac_useropt=no ;;
1412 -docdir | --docdir | --docdi | --doc | --do)
1414 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1415 docdir=$ac_optarg ;;
1417 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1419 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1420 dvidir=$ac_optarg ;;
1422 -enable-* | --enable-*)
1423 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1424 # Reject names that are not valid shell variable names.
1425 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1426 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1427 { (exit 1); exit 1; }; }
1428 ac_useropt_orig=$ac_useropt
1429 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1430 case $ac_user_opts in
1432 "enable_$ac_useropt"
1434 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1435 ac_unrecognized_sep=', ';;
1437 eval enable_$ac_useropt=\$ac_optarg ;;
1439 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1440 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1441 | --exec | --exe | --ex)
1442 ac_prev=exec_prefix ;;
1443 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1444 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1445 | --exec=* | --exe=* | --ex=*)
1446 exec_prefix=$ac_optarg ;;
1448 -gas | --gas | --ga | --g)
1449 # Obsolete; use --with-gas.
1452 -help | --help | --hel | --he | -h)
1453 ac_init_help=long ;;
1454 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1455 ac_init_help=recursive ;;
1456 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1457 ac_init_help=short ;;
1459 -host | --host | --hos | --ho)
1460 ac_prev=host_alias ;;
1461 -host=* | --host=* | --hos=* | --ho=*)
1462 host_alias=$ac_optarg ;;
1464 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1466 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1468 htmldir=$ac_optarg ;;
1470 -includedir | --includedir | --includedi | --included | --include \
1471 | --includ | --inclu | --incl | --inc)
1472 ac_prev=includedir ;;
1473 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1474 | --includ=* | --inclu=* | --incl=* | --inc=*)
1475 includedir=$ac_optarg ;;
1477 -infodir | --infodir | --infodi | --infod | --info | --inf)
1479 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1480 infodir=$ac_optarg ;;
1482 -libdir | --libdir | --libdi | --libd)
1484 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1485 libdir=$ac_optarg ;;
1487 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1488 | --libexe | --libex | --libe)
1489 ac_prev=libexecdir ;;
1490 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1491 | --libexe=* | --libex=* | --libe=*)
1492 libexecdir=$ac_optarg ;;
1494 -localedir | --localedir | --localedi | --localed | --locale)
1495 ac_prev=localedir ;;
1496 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1497 localedir=$ac_optarg ;;
1499 -localstatedir | --localstatedir | --localstatedi | --localstated \
1500 | --localstate | --localstat | --localsta | --localst | --locals)
1501 ac_prev=localstatedir ;;
1502 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1503 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1504 localstatedir=$ac_optarg ;;
1506 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1508 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1509 mandir=$ac_optarg ;;
1511 -nfp | --nfp | --nf)
1512 # Obsolete; use --without-fp.
1515 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1516 | --no-cr | --no-c | -n)
1519 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1520 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1523 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1524 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1525 | --oldin | --oldi | --old | --ol | --o)
1526 ac_prev=oldincludedir ;;
1527 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1528 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1529 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1530 oldincludedir=$ac_optarg ;;
1532 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1534 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1535 prefix=$ac_optarg ;;
1537 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1538 | --program-pre | --program-pr | --program-p)
1539 ac_prev=program_prefix ;;
1540 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1541 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1542 program_prefix=$ac_optarg ;;
1544 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1545 | --program-suf | --program-su | --program-s)
1546 ac_prev=program_suffix ;;
1547 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1548 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1549 program_suffix=$ac_optarg ;;
1551 -program-transform-name | --program-transform-name \
1552 | --program-transform-nam | --program-transform-na \
1553 | --program-transform-n | --program-transform- \
1554 | --program-transform | --program-transfor \
1555 | --program-transfo | --program-transf \
1556 | --program-trans | --program-tran \
1557 | --progr-tra | --program-tr | --program-t)
1558 ac_prev=program_transform_name ;;
1559 -program-transform-name=* | --program-transform-name=* \
1560 | --program-transform-nam=* | --program-transform-na=* \
1561 | --program-transform-n=* | --program-transform-=* \
1562 | --program-transform=* | --program-transfor=* \
1563 | --program-transfo=* | --program-transf=* \
1564 | --program-trans=* | --program-tran=* \
1565 | --progr-tra=* | --program-tr=* | --program-t=*)
1566 program_transform_name=$ac_optarg ;;
1568 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1570 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1571 pdfdir=$ac_optarg ;;
1573 -psdir | --psdir | --psdi | --psd | --ps)
1575 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1579 | -silent | --silent | --silen | --sile | --sil)
1582 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1584 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1586 sbindir=$ac_optarg ;;
1588 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1589 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1590 | --sharedst | --shareds | --shared | --share | --shar \
1592 ac_prev=sharedstatedir ;;
1593 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1594 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1595 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1597 sharedstatedir=$ac_optarg ;;
1599 -site | --site | --sit)
1601 -site=* | --site=* | --sit=*)
1604 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1606 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1607 srcdir=$ac_optarg ;;
1609 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1610 | --syscon | --sysco | --sysc | --sys | --sy)
1611 ac_prev=sysconfdir ;;
1612 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1613 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1614 sysconfdir=$ac_optarg ;;
1616 -target | --target | --targe | --targ | --tar | --ta | --t)
1617 ac_prev=target_alias ;;
1618 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1619 target_alias=$ac_optarg ;;
1621 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1624 -version | --version | --versio | --versi | --vers | -V)
1625 ac_init_version=: ;;
1628 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1629 # Reject names that are not valid shell variable names.
1630 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1631 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1632 { (exit 1); exit 1; }; }
1633 ac_useropt_orig=$ac_useropt
1634 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1635 case $ac_user_opts in
1639 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1640 ac_unrecognized_sep=', ';;
1642 eval with_$ac_useropt=\$ac_optarg ;;
1644 -without-* | --without-*)
1645 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1646 # Reject names that are not valid shell variable names.
1647 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1648 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1649 { (exit 1); exit 1; }; }
1650 ac_useropt_orig=$ac_useropt
1651 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1652 case $ac_user_opts in
1656 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1657 ac_unrecognized_sep=', ';;
1659 eval with_$ac_useropt=no ;;
1662 # Obsolete; use --with-x.
1665 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1666 | --x-incl | --x-inc | --x-in | --x-i)
1667 ac_prev=x_includes ;;
1668 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1669 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1670 x_includes=$ac_optarg ;;
1672 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1673 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1674 ac_prev=x_libraries ;;
1675 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1676 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1677 x_libraries=$ac_optarg ;;
1679 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1680 Try \`$0 --help' for more information." >&2
1681 { (exit 1); exit 1; }; }
1685 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1686 # Reject names that are not valid shell variable names.
1687 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1688 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1689 { (exit 1); exit 1; }; }
1690 eval $ac_envvar=\$ac_optarg
1691 export $ac_envvar ;;
1694 # FIXME: should be removed in autoconf 3.0.
1695 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1696 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1697 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1698 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1704 if test -n "$ac_prev"; then
1705 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1706 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1707 { (exit 1); exit 1; }; }
1710 if test -n "$ac_unrecognized_opts"; then
1711 case $enable_option_checking in
1713 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1714 { (exit 1); exit 1; }; } ;;
1715 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1719 # Check all directory arguments for consistency.
1720 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1721 datadir sysconfdir sharedstatedir localstatedir includedir \
1722 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1723 libdir localedir mandir
1725 eval ac_val=\$$ac_var
1726 # Remove trailing slashes.
1729 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1730 eval $ac_var=\$ac_val;;
1732 # Be sure to have absolute directory names.
1734 [\\/$]* | ?:[\\/]* ) continue;;
1735 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1737 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1738 { (exit 1); exit 1; }; }
1741 # There might be people who depend on the old broken behavior: `$host'
1742 # used to hold the argument of --host etc.
1743 # FIXME: To remove some day.
1746 target=$target_alias
1748 # FIXME: To remove some day.
1749 if test "x$host_alias" != x; then
1750 if test "x$build_alias" = x; then
1751 cross_compiling=maybe
1752 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1753 If a cross compiler is detected then cross compile mode will be used." >&2
1754 elif test "x$build_alias" != "x$host_alias"; then
1760 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1762 test "$silent" = yes && exec 6>/dev/null
1765 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1766 ac_ls_di=`ls -di .` &&
1767 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1768 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1769 { (exit 1); exit 1; }; }
1770 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1771 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1772 { (exit 1); exit 1; }; }
1775 # Find the source files, if location was not specified.
1776 if test -z "$srcdir"; then
1777 ac_srcdir_defaulted=yes
1778 # Try the directory containing this script, then the parent directory.
1779 ac_confdir=`$as_dirname -- "$as_myself" ||
1780 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1781 X"$as_myself" : 'X\(//\)[^/]' \| \
1782 X"$as_myself" : 'X\(//\)$' \| \
1783 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1784 $as_echo X"$as_myself" |
1785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1803 if test ! -r "$srcdir/$ac_unique_file"; then
1807 ac_srcdir_defaulted=no
1809 if test ! -r "$srcdir/$ac_unique_file"; then
1810 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1811 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1812 { (exit 1); exit 1; }; }
1814 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1816 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1817 { (exit 1); exit 1; }; }
1819 # When building in place, set srcdir=.
1820 if test "$ac_abs_confdir" = "$ac_pwd"; then
1823 # Remove unnecessary trailing slashes from srcdir.
1824 # Double slashes in file names in object file debugging info
1825 # mess up M-x gdb in Emacs.
1827 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1829 for ac_var in $ac_precious_vars; do
1830 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1831 eval ac_env_${ac_var}_value=\$${ac_var}
1832 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1833 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1837 # Report the --help message.
1839 if test "$ac_init_help" = "long"; then
1840 # Omit some internal or obsolete options to make the list less imposing.
1841 # This message is too long to be a string in the A/UX 3.1 sh.
1843 \`configure' configures asterisk trunk to adapt to many kinds of systems.
1845 Usage: $0 [OPTION]... [VAR=VALUE]...
1847 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1848 VAR=VALUE. See below for descriptions of some of the useful variables.
1850 Defaults for the options are specified in brackets.
1853 -h, --help display this help and exit
1854 --help=short display options specific to this package
1855 --help=recursive display the short help of all the included packages
1856 -V, --version display version information and exit
1857 -q, --quiet, --silent do not print \`checking...' messages
1858 --cache-file=FILE cache test results in FILE [disabled]
1859 -C, --config-cache alias for \`--cache-file=config.cache'
1860 -n, --no-create do not create output files
1861 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1863 Installation directories:
1864 --prefix=PREFIX install architecture-independent files in PREFIX
1865 [$ac_default_prefix]
1866 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1869 By default, \`make install' will install all the files in
1870 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1871 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1872 for instance \`--prefix=\$HOME'.
1874 For better control, use the options below.
1876 Fine tuning of the installation directories:
1877 --bindir=DIR user executables [EPREFIX/bin]
1878 --sbindir=DIR system admin executables [EPREFIX/sbin]
1879 --libexecdir=DIR program executables [EPREFIX/libexec]
1880 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1881 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1882 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1883 --libdir=DIR object code libraries [EPREFIX/lib]
1884 --includedir=DIR C header files [PREFIX/include]
1885 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1886 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1887 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1888 --infodir=DIR info documentation [DATAROOTDIR/info]
1889 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1890 --mandir=DIR man documentation [DATAROOTDIR/man]
1891 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1892 --htmldir=DIR html documentation [DOCDIR]
1893 --dvidir=DIR dvi documentation [DOCDIR]
1894 --pdfdir=DIR pdf documentation [DOCDIR]
1895 --psdir=DIR ps documentation [DOCDIR]
1901 --build=BUILD configure for building on BUILD [guessed]
1902 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1906 if test -n "$ac_init_help"; then
1907 case $ac_init_help in
1908 short | recursive ) echo "Configuration of asterisk trunk:";;
1913 --disable-option-checking ignore unrecognized --enable/--with options
1914 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1915 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1916 --enable-dev-mode Turn on developer mode
1917 --enable-coverage Turn on code coverage tracking (for gcov)
1918 --disable-largefile omit support for large files
1919 --enable-internal-poll Use Asterisk's poll implementation
1920 --disable-xmldoc Explicity disable XML documentation
1923 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1924 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1925 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1926 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1927 --with-bfd=PATH use Debug symbol decoding files in PATH
1928 --with-execinfo=PATH use Stack Backtrace files in PATH
1929 --with-bluetooth=PATH use Bluetooth files in PATH
1930 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1931 --with-curses=PATH use curses files in PATH
1932 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1933 --with-dahdi=PATH use DAHDI files in PATH
1934 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
1935 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
1937 --with-gtk2=PATH use gtk2 files in PATH
1938 --with-gmime=PATH use GMime files in PATH
1939 --with-h323=PATH use OpenH323 files in PATH
1940 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1941 --with-ical=PATH use iCal files in PATH
1942 --with-iconv=PATH use Iconv files in PATH
1943 --with-iksemel=PATH use Iksemel Jabber files in PATH
1944 --with-imap=PATH use UW IMAP Toolkit files in PATH
1945 --with-inotify=PATH use inotify support files in PATH
1946 --with-iodbc=PATH use iODBC files in PATH
1947 --with-isdnnet=PATH use ISDN4Linux files in PATH
1948 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1949 --with-kqueue=PATH use kqueue support files in PATH
1950 --with-ldap=PATH use OpenLDAP files in PATH
1951 --with-libcurl=DIR look for the curl library in DIR
1952 --with-libxml2=PATH use LibXML2 files in PATH
1953 --with-ltdl=PATH use libtool files in PATH
1954 --with-lua=PATH use Lua files in PATH
1955 --with-misdn=PATH use mISDN user files in PATH
1956 --with-mysqlclient=PATH use MySQL client files in PATH
1957 --with-nbs=PATH use Network Broadcast Sound files in PATH
1958 --with-ncurses=PATH use ncurses files in PATH
1959 --with-neon=PATH use neon files in PATH
1960 --with-neon29=PATH use neon29 files in PATH
1961 --with-netsnmp=PATH use Net-SNMP files in PATH
1962 --with-newt=PATH use newt files in PATH
1963 --with-ogg=PATH use OGG files in PATH
1964 --with-openais=PATH use OpenAIS files in PATH
1965 --with-openr2=PATH use MFR2 files in PATH
1966 --with-osptk=PATH use OSP Toolkit files in PATH
1967 --with-oss=PATH use Open Sound System files in PATH
1968 --with-postgres=PATH use PostgreSQL files in PATH
1969 --with-popt=PATH use popt files in PATH
1970 --with-portaudio=PATH use PortAudio files in PATH
1971 --with-pri=PATH use ISDN PRI files in PATH
1972 --with-pwlib=PATH use PWlib files in PATH
1973 --with-radius=PATH use Radius Client files in PATH
1974 --with-resample=PATH use LIBRESAMPLE files in PATH
1975 --with-sdl=PATH use Sdl files in PATH
1976 --with-SDL_image=PATH use Sdl Image files in PATH
1977 --with-sounds-cache=PATH
1978 use cached sound tarfiles in PATH
1979 --with-spandsp=PATH use SPANDSP files in PATH
1980 --with-ss7=PATH use ISDN SS7 files in PATH
1981 --with-speex=PATH use Speex files in PATH
1982 --with-speex=PATH use Speex preprocess routines files in PATH
1983 --with-speexdsp=PATH use SpeexDSP files in PATH
1984 --with-sqlite=PATH use SQLite files in PATH
1985 --with-sqlite3=PATH use SQLite files in PATH
1986 --with-srtp=PATH use Secure RTP files in PATH
1987 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
1988 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1989 --with-tds=PATH use FreeTDS files in PATH
1990 --with-termcap=PATH use Termcap files in PATH
1991 --with-timerfd=PATH use timerfd files in PATH
1992 --with-tinfo=PATH use Term Info files in PATH
1993 --with-tonezone=PATH use tonezone files in PATH
1994 --with-unixodbc=PATH use unixODBC files in PATH
1995 --with-usb=PATH use usb files in PATH
1996 --with-vorbis=PATH use Vorbis files in PATH
1997 --with-vpb=PATH use Voicetronix API files in PATH
1998 --with-x11=PATH use X11 files in PATH
1999 --with-z=PATH use zlib compression files in PATH
2001 Some influential environment variables:
2002 CC C compiler command
2003 CFLAGS C compiler flags
2004 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2005 nonstandard directory <lib dir>
2006 LIBS libraries to pass to the linker, e.g. -l<library>
2007 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2008 you have headers in a nonstandard directory <include dir>
2010 CXX C++ compiler command
2011 CXXFLAGS C++ compiler flags
2012 CXXCPP C++ preprocessor
2014 Use these variables to override the choices made by `configure' or to help
2015 it to find libraries and programs with nonstandard names/locations.
2017 Report bugs to <https://issues.asterisk.org>.
2022 if test "$ac_init_help" = "recursive"; then
2023 # If there are subdirs, report their specific --help.
2024 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2025 test -d "$ac_dir" ||
2026 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2031 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2033 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2034 # A ".." for each directory in $ac_dir_suffix.
2035 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2036 case $ac_top_builddir_sub in
2037 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2038 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2041 ac_abs_top_builddir=$ac_pwd
2042 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2043 # for backward compatibility:
2044 ac_top_builddir=$ac_top_build_prefix
2047 .) # We are building in place.
2049 ac_top_srcdir=$ac_top_builddir_sub
2050 ac_abs_top_srcdir=$ac_pwd ;;
2051 [\\/]* | ?:[\\/]* ) # Absolute name.
2052 ac_srcdir=$srcdir$ac_dir_suffix;
2053 ac_top_srcdir=$srcdir
2054 ac_abs_top_srcdir=$srcdir ;;
2056 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2057 ac_top_srcdir=$ac_top_build_prefix$srcdir
2058 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2060 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2062 cd "$ac_dir" || { ac_status=$?; continue; }
2063 # Check for guested configure.
2064 if test -f "$ac_srcdir/configure.gnu"; then
2066 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2067 elif test -f "$ac_srcdir/configure"; then
2069 $SHELL "$ac_srcdir/configure" --help=recursive
2071 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2073 cd "$ac_pwd" || { ac_status=$?; break; }
2077 test -n "$ac_init_help" && exit $ac_status
2078 if $ac_init_version; then
2080 asterisk configure trunk
2081 generated by GNU Autoconf 2.63
2083 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2084 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2085 This configure script is free software; the Free Software Foundation
2086 gives unlimited permission to copy, distribute and modify it.
2092 cat >config.log <<_ACEOF
2093 This file contains any messages produced by compilers while
2094 running configure, to aid debugging if configure makes a mistake.
2096 It was created by asterisk $as_me trunk, which was
2097 generated by GNU Autoconf 2.63. Invocation command line was
2109 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2110 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2111 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2112 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2113 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2115 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2116 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2118 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2119 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2120 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2121 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2122 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2123 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2124 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir=.
2133 $as_echo "PATH: $as_dir"
2149 # Keep a trace of the command line.
2150 # Strip out --no-create and --no-recursion so they do not pile up.
2151 # Strip out --silent because we don't want to record it for future runs.
2152 # Also quote any args containing shell meta-characters.
2153 # Make two passes to allow for proper duplicate-argument suppression.
2157 ac_must_keep_next=false
2163 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2164 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2165 | -silent | --silent | --silen | --sile | --sil)
2168 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2171 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2173 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2174 if test $ac_must_keep_next = true; then
2175 ac_must_keep_next=false # Got value, back to normal.
2178 *=* | --config-cache | -C | -disable-* | --disable-* \
2179 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2180 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2181 | -with-* | --with-* | -without-* | --without-* | --x)
2182 case "$ac_configure_args0 " in
2183 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2186 -* ) ac_must_keep_next=true ;;
2189 ac_configure_args="$ac_configure_args '$ac_arg'"
2194 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2195 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2197 # When interrupted or exit'd, cleanup temporary files, and complete
2198 # config.log. We remove comments because anyway the quotes in there
2199 # would cause problems or look ugly.
2200 # WARNING: Use '\'' to represent an apostrophe within the trap.
2201 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2202 trap 'exit_status=$?
2203 # Save into config.log some information that might help in debugging.
2208 ## ---------------- ##
2209 ## Cache variables. ##
2210 ## ---------------- ##
2213 # The following way of writing the cache mishandles newlines in values,
2215 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2216 eval ac_val=\$$ac_var
2220 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2221 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2224 _ | IFS | as_nl) ;; #(
2225 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2226 *) $as_unset $ac_var ;;
2231 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2232 *${as_nl}ac_space=\ *)
2234 "s/'\''/'\''\\\\'\'''\''/g;
2235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2246 ## ----------------- ##
2247 ## Output variables. ##
2248 ## ----------------- ##
2251 for ac_var in $ac_subst_vars
2253 eval ac_val=\$$ac_var
2255 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2257 $as_echo "$ac_var='\''$ac_val'\''"
2261 if test -n "$ac_subst_files"; then
2263 ## ------------------- ##
2264 ## File substitutions. ##
2265 ## ------------------- ##
2268 for ac_var in $ac_subst_files
2270 eval ac_val=\$$ac_var
2272 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2274 $as_echo "$ac_var='\''$ac_val'\''"
2279 if test -s confdefs.h; then
2289 test "$ac_signal" != 0 &&
2290 $as_echo "$as_me: caught signal $ac_signal"
2291 $as_echo "$as_me: exit $exit_status"
2293 rm -f core *.core core.conftest.* &&
2294 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2297 for ac_signal in 1 2 13 15; do
2298 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2302 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2303 rm -f -r conftest* confdefs.h
2305 # Predefined preprocessor variables.
2307 cat >>confdefs.h <<_ACEOF
2308 #define PACKAGE_NAME "$PACKAGE_NAME"
2312 cat >>confdefs.h <<_ACEOF
2313 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2317 cat >>confdefs.h <<_ACEOF
2318 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_STRING "$PACKAGE_STRING"
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2332 # Let the site file select an alternate cache file if it wants to.
2333 # Prefer an explicitly selected file to automatically selected ones.
2336 if test -n "$CONFIG_SITE"; then
2337 ac_site_file1=$CONFIG_SITE
2338 elif test "x$prefix" != xNONE; then
2339 ac_site_file1=$prefix/share/config.site
2340 ac_site_file2=$prefix/etc/config.site
2342 ac_site_file1=$ac_default_prefix/share/config.site
2343 ac_site_file2=$ac_default_prefix/etc/config.site
2345 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2347 test "x$ac_site_file" = xNONE && continue
2348 if test -r "$ac_site_file"; then
2349 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2350 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2351 sed 's/^/| /' "$ac_site_file" >&5
2356 if test -r "$cache_file"; then
2357 # Some versions of bash will fail to source /dev/null (special
2358 # files actually), so we avoid doing that.
2359 if test -f "$cache_file"; then
2360 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2361 $as_echo "$as_me: loading cache $cache_file" >&6;}
2363 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2364 *) . "./$cache_file";;
2368 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2369 $as_echo "$as_me: creating cache $cache_file" >&6;}
2373 ac_header_list="$ac_header_list utime.h"
2374 # Check that the precious variables saved in the cache have kept the same
2376 ac_cache_corrupted=false
2377 for ac_var in $ac_precious_vars; do
2378 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2379 eval ac_new_set=\$ac_env_${ac_var}_set
2380 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2381 eval ac_new_val=\$ac_env_${ac_var}_value
2382 case $ac_old_set,$ac_new_set in
2384 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2385 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2386 ac_cache_corrupted=: ;;
2388 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2389 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2390 ac_cache_corrupted=: ;;
2393 if test "x$ac_old_val" != "x$ac_new_val"; then
2394 # differences in whitespace do not lead to failure.
2395 ac_old_val_w=`echo x $ac_old_val`
2396 ac_new_val_w=`echo x $ac_new_val`
2397 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2398 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2399 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2400 ac_cache_corrupted=:
2402 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2403 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2404 eval $ac_var=\$ac_old_val
2406 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2407 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2408 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2409 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2412 # Pass precious variables to config.status.
2413 if test "$ac_new_set" = set; then
2415 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2416 *) ac_arg=$ac_var=$ac_new_val ;;
2418 case " $ac_configure_args " in
2419 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2420 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2424 if $ac_cache_corrupted; then
2425 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2428 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2429 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2430 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2431 { (exit 1); exit 1; }; }
2459 ac_cpp='$CPP $CPPFLAGS'
2460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2466 # cross-compile macros
2468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2469 if test -f "$ac_dir/install-sh"; then
2471 ac_install_sh="$ac_aux_dir/install-sh -c"
2473 elif test -f "$ac_dir/install.sh"; then
2475 ac_install_sh="$ac_aux_dir/install.sh -c"
2477 elif test -f "$ac_dir/shtool"; then
2479 ac_install_sh="$ac_aux_dir/shtool install -c"
2483 if test -z "$ac_aux_dir"; then
2484 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2485 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2486 { (exit 1); exit 1; }; }
2489 # These three variables are undocumented and unsupported,
2490 # and are intended to be withdrawn in a future Autoconf release.
2491 # They can cause serious problems if a builder's source tree is in a directory
2492 # whose full name contains unusual characters.
2493 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2494 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2495 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2498 # Make sure we can run config.sub.
2499 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2500 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2501 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2502 { (exit 1); exit 1; }; }
2504 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2505 $as_echo_n "checking build system type... " >&6; }
2506 if test "${ac_cv_build+set}" = set; then
2507 $as_echo_n "(cached) " >&6
2509 ac_build_alias=$build_alias
2510 test "x$ac_build_alias" = x &&
2511 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2512 test "x$ac_build_alias" = x &&
2513 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2514 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2515 { (exit 1); exit 1; }; }
2516 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2517 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2518 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2519 { (exit 1); exit 1; }; }
2522 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2523 $as_echo "$ac_cv_build" >&6; }
2524 case $ac_cv_build in
2526 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2527 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2528 { (exit 1); exit 1; }; };;
2531 ac_save_IFS=$IFS; IFS='-'
2537 # Remember, the first character of IFS is used to create $*,
2538 # except with old shells:
2541 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2544 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2545 $as_echo_n "checking host system type... " >&6; }
2546 if test "${ac_cv_host+set}" = set; then
2547 $as_echo_n "(cached) " >&6
2549 if test "x$host_alias" = x; then
2550 ac_cv_host=$ac_cv_build
2552 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2553 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2554 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2555 { (exit 1); exit 1; }; }
2559 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2560 $as_echo "$ac_cv_host" >&6; }
2563 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2564 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2565 { (exit 1); exit 1; }; };;
2568 ac_save_IFS=$IFS; IFS='-'
2574 # Remember, the first character of IFS is used to create $*,
2575 # except with old shells:
2578 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2582 # check existence of the package
2586 for ac_dir in `pwd` "$srcdir"/`pwd`; do
2587 if test -f "$ac_dir/install-sh"; then
2589 ac_install_sh="$ac_aux_dir/install-sh -c"
2591 elif test -f "$ac_dir/install.sh"; then
2593 ac_install_sh="$ac_aux_dir/install.sh -c"
2595 elif test -f "$ac_dir/shtool"; then
2597 ac_install_sh="$ac_aux_dir/shtool install -c"
2601 if test -z "$ac_aux_dir"; then
2602 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&5
2603 $as_echo "$as_me: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&2;}
2604 { (exit 1); exit 1; }; }
2607 # These three variables are undocumented and unsupported,
2608 # and are intended to be withdrawn in a future Autoconf release.
2609 # They can cause serious problems if a builder's source tree is in a directory
2610 # whose full name contains unusual characters.
2611 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2612 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2613 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2620 # preserve any CFLAGS or LDFLAGS that may be set
2621 # NOTE: This must be done before calling any macros that end up
2622 # calling AC_PROG_CC or the like, since they will set a default
2623 # set of CFLAGS ("-g -O2") if the user did not supply any, and
2624 # we don't want those default flags to be carried over into the
2625 # rest of the build system since we have other means of controlling
2626 # debugging symbol generation and optimization.
2627 CONFIG_CFLAGS="${CFLAGS}"
2628 CONFIG_LDFLAGS="${LDFLAGS}"
2632 # specify output header file
2633 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2636 # Note: AC_PROG_CC *must* be specified before AC_USE_SYSTEM_EXTENSIONS or any
2637 # other macro that uses the C compiler, or the default order will be used.
2639 ac_cpp='$CPP $CPPFLAGS'
2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643 if test -n "$ac_tool_prefix"; then
2644 for ac_prog in gcc cc
2646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2648 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if test "${ac_cv_prog_CC+set}" = set; then
2651 $as_echo_n "(cached) " >&6
2653 if test -n "$CC"; then
2654 ac_cv_prog_CC="$CC" # Let the user override the test.
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2664 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 if test -n "$CC"; then
2675 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2676 $as_echo "$CC" >&6; }
2678 { $as_echo "$as_me:$LINENO: result: no" >&5
2679 $as_echo "no" >&6; }
2683 test -n "$CC" && break
2686 if test -z "$CC"; then
2688 for ac_prog in gcc cc
2690 # Extract the first word of "$ac_prog", so it can be a program name with args.
2691 set dummy $ac_prog; ac_word=$2
2692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2693 $as_echo_n "checking for $ac_word... " >&6; }
2694 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2695 $as_echo_n "(cached) " >&6
2697 if test -n "$ac_ct_CC"; then
2698 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir=.
2705 for ac_exec_ext in '' $ac_executable_extensions; do
2706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2707 ac_cv_prog_ac_ct_CC="$ac_prog"
2708 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2718 if test -n "$ac_ct_CC"; then
2719 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2720 $as_echo "$ac_ct_CC" >&6; }
2722 { $as_echo "$as_me:$LINENO: result: no" >&5
2723 $as_echo "no" >&6; }
2727 test -n "$ac_ct_CC" && break
2730 if test "x$ac_ct_CC" = x; then
2733 case $cross_compiling:$ac_tool_warned in
2735 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737 ac_tool_warned=yes ;;
2744 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2746 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2747 See \`config.log' for more details." >&5
2748 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2749 See \`config.log' for more details." >&2;}
2750 { (exit 1); exit 1; }; }; }
2752 # Provide some information about the compiler.
2753 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2756 { (ac_try="$ac_compiler --version >&5"
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2762 $as_echo "$ac_try_echo") >&5
2763 (eval "$ac_compiler --version >&5") 2>&5
2765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }
2767 { (ac_try="$ac_compiler -v >&5"
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2773 $as_echo "$ac_try_echo") >&5
2774 (eval "$ac_compiler -v >&5") 2>&5
2776 $as_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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2784 $as_echo "$ac_try_echo") >&5
2785 (eval "$ac_compiler -V >&5") 2>&5
2787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }
2790 cat >conftest.$ac_ext <<_ACEOF
2793 cat confdefs.h >>conftest.$ac_ext
2794 cat >>conftest.$ac_ext <<_ACEOF
2795 /* end confdefs.h. */
2805 ac_clean_files_save=$ac_clean_files
2806 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2807 # Try to create an executable without -o first, disregard a.out.
2808 # It will help us diagnose broken compilers, and finding out an intuition
2810 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2811 $as_echo_n "checking for C compiler default output file name... " >&6; }
2812 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2814 # The possible output files:
2815 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2818 for ac_file in $ac_files
2821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2822 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2827 if { (ac_try="$ac_link_default"
2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2833 $as_echo "$ac_try_echo") >&5
2834 (eval "$ac_link_default") 2>&5
2836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; then
2838 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2839 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2840 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2841 # so that the user can short-circuit this test for compilers unknown to
2843 for ac_file in $ac_files ''
2845 test -f "$ac_file" || continue
2847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2850 # We found the default executable, but exeext='' is most
2854 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2856 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2858 # We set ac_cv_exeext here because the later test for it is not
2859 # safe: cross compilers may not add the suffix if given an `-o'
2860 # argument, so we may need to know it at that point already.
2861 # Even if this section looks crufty: it has the advantage of
2868 test "$ac_cv_exeext" = no && ac_cv_exeext=
2874 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2875 $as_echo "$ac_file" >&6; }
2876 if test -z "$ac_file"; then
2877 $as_echo "$as_me: failed program was:" >&5
2878 sed 's/^/| /' conftest.$ac_ext >&5
2880 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2882 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2883 See \`config.log' for more details." >&5
2884 $as_echo "$as_me: error: C compiler cannot create executables
2885 See \`config.log' for more details." >&2;}
2886 { (exit 77); exit 77; }; }; }
2889 ac_exeext=$ac_cv_exeext
2891 # Check that the compiler produces executables we can run. If not, either
2892 # the compiler is broken, or we cross compile.
2893 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2894 $as_echo_n "checking whether the C compiler works... " >&6; }
2895 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2896 # If not cross compiling, check that we can run a simple program.
2897 if test "$cross_compiling" != yes; then
2898 if { ac_try='./$ac_file'
2899 { (case "(($ac_try" in
2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901 *) ac_try_echo=$ac_try;;
2903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2904 $as_echo "$ac_try_echo") >&5
2905 (eval "$ac_try") 2>&5
2907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2911 if test "$cross_compiling" = maybe; then
2914 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2916 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2917 If you meant to cross compile, use \`--host'.
2918 See \`config.log' for more details." >&5
2919 $as_echo "$as_me: error: cannot run C compiled programs.
2920 If you meant to cross compile, use \`--host'.
2921 See \`config.log' for more details." >&2;}
2922 { (exit 1); exit 1; }; }; }
2926 { $as_echo "$as_me:$LINENO: result: yes" >&5
2927 $as_echo "yes" >&6; }
2929 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2930 ac_clean_files=$ac_clean_files_save
2931 # Check that the compiler produces executables we can run. If not, either
2932 # the compiler is broken, or we cross compile.
2933 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2934 $as_echo_n "checking whether we are cross compiling... " >&6; }
2935 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2936 $as_echo "$cross_compiling" >&6; }
2938 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2939 $as_echo_n "checking for suffix of executables... " >&6; }
2940 if { (ac_try="$ac_link"
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2946 $as_echo "$ac_try_echo") >&5
2947 (eval "$ac_link") 2>&5
2949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }; then
2951 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2952 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2953 # work properly (i.e., refer to `conftest.exe'), while it won't with
2955 for ac_file in conftest.exe conftest conftest.*; do
2956 test -f "$ac_file" || continue
2958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2959 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2965 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2968 See \`config.log' for more details." >&5
2969 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2970 See \`config.log' for more details." >&2;}
2971 { (exit 1); exit 1; }; }; }
2974 rm -f conftest$ac_cv_exeext
2975 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2976 $as_echo "$ac_cv_exeext" >&6; }
2978 rm -f conftest.$ac_ext
2979 EXEEXT=$ac_cv_exeext
2981 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2982 $as_echo_n "checking for suffix of object files... " >&6; }
2983 if test "${ac_cv_objext+set}" = set; then
2984 $as_echo_n "(cached) " >&6
2986 cat >conftest.$ac_ext <<_ACEOF
2989 cat confdefs.h >>conftest.$ac_ext
2990 cat >>conftest.$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
3001 rm -f conftest.o conftest.obj
3002 if { (ac_try="$ac_compile"
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3008 $as_echo "$ac_try_echo") >&5
3009 (eval "$ac_compile") 2>&5
3011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }; then
3013 for ac_file in conftest.o conftest.obj conftest.*; do
3014 test -f "$ac_file" || continue;
3016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3017 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3022 $as_echo "$as_me: failed program was:" >&5
3023 sed 's/^/| /' conftest.$ac_ext >&5
3025 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3028 See \`config.log' for more details." >&5
3029 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3030 See \`config.log' for more details." >&2;}
3031 { (exit 1); exit 1; }; }; }
3034 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3036 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3037 $as_echo "$ac_cv_objext" >&6; }
3038 OBJEXT=$ac_cv_objext
3040 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3041 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3042 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3043 $as_echo_n "(cached) " >&6
3045 cat >conftest.$ac_ext <<_ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3063 rm -f conftest.$ac_objext
3064 if { (ac_try="$ac_compile"
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3070 $as_echo "$ac_try_echo") >&5
3071 (eval "$ac_compile") 2>conftest.er1
3073 grep -v '^ *+' conftest.er1 >conftest.err
3075 cat conftest.err >&5
3076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); } && {
3078 test -z "$ac_c_werror_flag" ||
3079 test ! -s conftest.err
3080 } && test -s conftest.$ac_objext; then
3083 $as_echo "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3090 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3093 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3094 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3095 if test $ac_compiler_gnu = yes; then
3100 ac_test_CFLAGS=${CFLAGS+set}
3101 ac_save_CFLAGS=$CFLAGS
3102 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3103 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3104 if test "${ac_cv_prog_cc_g+set}" = set; then
3105 $as_echo_n "(cached) " >&6
3107 ac_save_c_werror_flag=$ac_c_werror_flag
3108 ac_c_werror_flag=yes
3111 cat >conftest.$ac_ext <<_ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3133 $as_echo "$ac_try_echo") >&5
3134 (eval "$ac_compile") 2>conftest.er1
3136 grep -v '^ *+' conftest.er1 >conftest.err
3138 cat conftest.err >&5
3139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } && {
3141 test -z "$ac_c_werror_flag" ||
3142 test ! -s conftest.err
3143 } && test -s conftest.$ac_objext; then
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3150 cat >conftest.$ac_ext <<_ACEOF
3153 cat confdefs.h >>conftest.$ac_ext
3154 cat >>conftest.$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3165 rm -f conftest.$ac_objext
3166 if { (ac_try="$ac_compile"
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3172 $as_echo "$ac_try_echo") >&5
3173 (eval "$ac_compile") 2>conftest.er1
3175 grep -v '^ *+' conftest.er1 >conftest.err
3177 cat conftest.err >&5
3178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } && {
3180 test -z "$ac_c_werror_flag" ||
3181 test ! -s conftest.err
3182 } && test -s conftest.$ac_objext; then
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3188 ac_c_werror_flag=$ac_save_c_werror_flag
3190 cat >conftest.$ac_ext <<_ACEOF
3193 cat confdefs.h >>conftest.$ac_ext
3194 cat >>conftest.$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3205 rm -f conftest.$ac_objext
3206 if { (ac_try="$ac_compile"
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3212 $as_echo "$ac_try_echo") >&5
3213 (eval "$ac_compile") 2>conftest.er1
3215 grep -v '^ *+' conftest.er1 >conftest.err
3217 cat conftest.err >&5
3218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } && {
3220 test -z "$ac_c_werror_flag" ||
3221 test ! -s conftest.err
3222 } && test -s conftest.$ac_objext; then
3225 $as_echo "$as_me: failed program was:" >&5
3226 sed 's/^/| /' conftest.$ac_ext >&5
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3238 ac_c_werror_flag=$ac_save_c_werror_flag
3240 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3241 $as_echo "$ac_cv_prog_cc_g" >&6; }
3242 if test "$ac_test_CFLAGS" = set; then
3243 CFLAGS=$ac_save_CFLAGS
3244 elif test $ac_cv_prog_cc_g = yes; then
3245 if test "$GCC" = yes; then
3251 if test "$GCC" = yes; then
3257 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3258 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3259 if test "${ac_cv_prog_cc_c89+set}" = set; then
3260 $as_echo_n "(cached) " >&6
3262 ac_cv_prog_cc_c89=no
3264 cat >conftest.$ac_ext <<_ACEOF
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3272 #include <sys/types.h>
3273 #include <sys/stat.h>
3274 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3275 struct buf { int x; };
3276 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3277 static char *e (p, i)
3283 static char *f (char * (*g) (char **, int), char **p, ...)
3288 s = g (p, va_arg (v,int));
3293 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3294 function prototypes and stuff, but not '\xHH' hex character constants.
3295 These don't provoke an error unfortunately, instead are silently treated
3296 as 'x'. The following induces an error, until -std is added to get
3297 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3298 array size at least. It's necessary to write '\x00'==0 to get something
3299 that's true only with -std. */
3300 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3302 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3303 inside strings and character constants. */
3305 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3307 int test (int i, double x);
3308 struct s1 {int (*f) (int a);};
3309 struct s2 {int (*f) (double a);};
3310 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3316 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3321 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3322 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3324 CC="$ac_save_CC $ac_arg"
3325 rm -f conftest.$ac_objext
3326 if { (ac_try="$ac_compile"
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3332 $as_echo "$ac_try_echo") >&5
3333 (eval "$ac_compile") 2>conftest.er1
3335 grep -v '^ *+' conftest.er1 >conftest.err
3337 cat conftest.err >&5
3338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } && {
3340 test -z "$ac_c_werror_flag" ||
3341 test ! -s conftest.err
3342 } && test -s conftest.$ac_objext; then
3343 ac_cv_prog_cc_c89=$ac_arg
3345 $as_echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3351 rm -f core conftest.err conftest.$ac_objext
3352 test "x$ac_cv_prog_cc_c89" != "xno" && break
3354 rm -f conftest.$ac_ext
3359 case "x$ac_cv_prog_cc_c89" in
3361 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3362 $as_echo "none needed" >&6; } ;;
3364 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3365 $as_echo "unsupported" >&6; } ;;
3367 CC="$CC $ac_cv_prog_cc_c89"
3368 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3369 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3374 ac_cpp='$CPP $CPPFLAGS'
3375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3382 ac_cpp='$CPP $CPPFLAGS'
3383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3386 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3387 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3388 # On Suns, sometimes $CPP names a directory.
3389 if test -n "$CPP" && test -d "$CPP"; then
3392 if test -z "$CPP"; then
3393 if test "${ac_cv_prog_CPP+set}" = set; then
3394 $as_echo_n "(cached) " >&6
3396 # Double quotes because CPP needs to be expanded
3397 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3400 for ac_c_preproc_warn_flag in '' yes
3402 # Use a header file that comes with gcc, so configuring glibc
3403 # with a fresh cross-compiler works.
3404 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3405 # <limits.h> exists even on freestanding compilers.
3406 # On the NeXT, cc -E runs the code through the compiler's parser,
3407 # not just through cpp. "Syntax error" is here to catch this case.
3408 cat >conftest.$ac_ext <<_ACEOF
3411 cat confdefs.h >>conftest.$ac_ext
3412 cat >>conftest.$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3415 # include <limits.h>
3417 # include <assert.h>
3421 if { (ac_try="$ac_cpp conftest.$ac_ext"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3427 $as_echo "$ac_try_echo") >&5
3428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3430 grep -v '^ *+' conftest.er1 >conftest.err
3432 cat conftest.err >&5
3433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } >/dev/null && {
3435 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3436 test ! -s conftest.err
3440 $as_echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 # Broken: fails on valid input.
3447 rm -f conftest.err conftest.$ac_ext
3449 # OK, works on sane cases. Now check whether nonexistent headers
3450 # can be detected and how.
3451 cat >conftest.$ac_ext <<_ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3457 #include <ac_nonexistent.h>
3459 if { (ac_try="$ac_cpp conftest.$ac_ext"
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3465 $as_echo "$ac_try_echo") >&5
3466 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3468 grep -v '^ *+' conftest.er1 >conftest.err
3470 cat conftest.err >&5
3471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } >/dev/null && {
3473 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3474 test ! -s conftest.err
3476 # Broken: success on invalid input.
3479 $as_echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3482 # Passes both tests.
3487 rm -f conftest.err conftest.$ac_ext
3490 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3491 rm -f conftest.err conftest.$ac_ext
3492 if $ac_preproc_ok; then
3504 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3505 $as_echo "$CPP" >&6; }
3507 for ac_c_preproc_warn_flag in '' yes
3509 # Use a header file that comes with gcc, so configuring glibc
3510 # with a fresh cross-compiler works.
3511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3512 # <limits.h> exists even on freestanding compilers.
3513 # On the NeXT, cc -E runs the code through the compiler's parser,
3514 # not just through cpp. "Syntax error" is here to catch this case.
3515 cat >conftest.$ac_ext <<_ACEOF
3518 cat confdefs.h >>conftest.$ac_ext
3519 cat >>conftest.$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3522 # include <limits.h>
3524 # include <assert.h>
3528 if { (ac_try="$ac_cpp conftest.$ac_ext"
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3534 $as_echo "$ac_try_echo") >&5
3535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3537 grep -v '^ *+' conftest.er1 >conftest.err
3539 cat conftest.err >&5
3540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } >/dev/null && {
3542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3543 test ! -s conftest.err
3547 $as_echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3550 # Broken: fails on valid input.
3554 rm -f conftest.err conftest.$ac_ext
3556 # OK, works on sane cases. Now check whether nonexistent headers
3557 # can be detected and how.
3558 cat >conftest.$ac_ext <<_ACEOF
3561 cat confdefs.h >>conftest.$ac_ext
3562 cat >>conftest.$ac_ext <<_ACEOF
3563 /* end confdefs.h. */
3564 #include <ac_nonexistent.h>
3566 if { (ac_try="$ac_cpp conftest.$ac_ext"
3568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3572 $as_echo "$ac_try_echo") >&5
3573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3575 grep -v '^ *+' conftest.er1 >conftest.err
3577 cat conftest.err >&5
3578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } >/dev/null && {
3580 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3581 test ! -s conftest.err
3583 # Broken: success on invalid input.
3586 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3589 # Passes both tests.
3594 rm -f conftest.err conftest.$ac_ext
3597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3598 rm -f conftest.err conftest.$ac_ext
3599 if $ac_preproc_ok; then
3602 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3604 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3605 See \`config.log' for more details." >&5
3606 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3607 See \`config.log' for more details." >&2;}
3608 { (exit 1); exit 1; }; }; }
3612 ac_cpp='$CPP $CPPFLAGS'
3613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3618 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3619 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3620 if test "${ac_cv_path_GREP+set}" = set; then
3621 $as_echo_n "(cached) " >&6
3623 if test -z "$GREP"; then
3624 ac_path_GREP_found=false
3625 # Loop through the user's path and test for each of PROGNAME-LIST
3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3627 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3630 test -z "$as_dir" && as_dir=.
3631 for ac_prog in grep ggrep; do
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3634 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3635 # Check for GNU ac_path_GREP and select it if it is found.
3636 # Check for GNU $ac_path_GREP
3637 case `"$ac_path_GREP" --version 2>&1` in
3639 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3642 $as_echo_n 0123456789 >"conftest.in"
3645 cat "conftest.in" "conftest.in" >"conftest.tmp"
3646 mv "conftest.tmp" "conftest.in"
3647 cp "conftest.in" "conftest.nl"
3648 $as_echo 'GREP' >> "conftest.nl"
3649 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3650 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3651 ac_count=`expr $ac_count + 1`
3652 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3653 # Best one so far, save it but keep looking for a better one
3654 ac_cv_path_GREP="$ac_path_GREP"
3655 ac_path_GREP_max=$ac_count
3657 # 10*(2^10) chars as input seems more than enough
3658 test $ac_count -gt 10 && break
3660 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3663 $ac_path_GREP_found && break 3
3668 if test -z "$ac_cv_path_GREP"; then
3669 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3670 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3671 { (exit 1); exit 1; }; }
3674 ac_cv_path_GREP=$GREP
3678 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3679 $as_echo "$ac_cv_path_GREP" >&6; }
3680 GREP="$ac_cv_path_GREP"
3683 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3684 $as_echo_n "checking for egrep... " >&6; }
3685 if test "${ac_cv_path_EGREP+set}" = set; then
3686 $as_echo_n "(cached) " >&6
3688 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3689 then ac_cv_path_EGREP="$GREP -E"
3691 if test -z "$EGREP"; then
3692 ac_path_EGREP_found=false
3693 # Loop through the user's path and test for each of PROGNAME-LIST
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3698 test -z "$as_dir" && as_dir=.
3699 for ac_prog in egrep; do
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3702 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3703 # Check for GNU ac_path_EGREP and select it if it is found.
3704 # Check for GNU $ac_path_EGREP
3705 case `"$ac_path_EGREP" --version 2>&1` in
3707 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3710 $as_echo_n 0123456789 >"conftest.in"
3713 cat "conftest.in" "conftest.in" >"conftest.tmp"
3714 mv "conftest.tmp" "conftest.in"
3715 cp "conftest.in" "conftest.nl"
3716 $as_echo 'EGREP' >> "conftest.nl"
3717 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3718 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3719 ac_count=`expr $ac_count + 1`
3720 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3721 # Best one so far, save it but keep looking for a better one
3722 ac_cv_path_EGREP="$ac_path_EGREP"
3723 ac_path_EGREP_max=$ac_count
3725 # 10*(2^10) chars as input seems more than enough
3726 test $ac_count -gt 10 && break
3728 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3731 $ac_path_EGREP_found && break 3
3736 if test -z "$ac_cv_path_EGREP"; then
3737 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3738 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3739 { (exit 1); exit 1; }; }
3742 ac_cv_path_EGREP=$EGREP
3747 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3748 $as_echo "$ac_cv_path_EGREP" >&6; }
3749 EGREP="$ac_cv_path_EGREP"
3752 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3753 $as_echo_n "checking for ANSI C header files... " >&6; }
3754 if test "${ac_cv_header_stdc+set}" = set; then
3755 $as_echo_n "(cached) " >&6
3757 cat >conftest.$ac_ext <<_ACEOF
3760 cat confdefs.h >>conftest.$ac_ext
3761 cat >>conftest.$ac_ext <<_ACEOF
3762 /* end confdefs.h. */
3776 rm -f conftest.$ac_objext
3777 if { (ac_try="$ac_compile"
3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780 *) ac_try_echo=$ac_try;;
3782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3783 $as_echo "$ac_try_echo") >&5
3784 (eval "$ac_compile") 2>conftest.er1
3786 grep -v '^ *+' conftest.er1 >conftest.err
3788 cat conftest.err >&5
3789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } && {
3791 test -z "$ac_c_werror_flag" ||
3792 test ! -s conftest.err
3793 } && test -s conftest.$ac_objext; then
3794 ac_cv_header_stdc=yes
3796 $as_echo "$as_me: failed program was:" >&5
3797 sed 's/^/| /' conftest.$ac_ext >&5
3799 ac_cv_header_stdc=no
3802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3804 if test $ac_cv_header_stdc = yes; then
3805 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3806 cat >conftest.$ac_ext <<_ACEOF
3809 cat confdefs.h >>conftest.$ac_ext
3810 cat >>conftest.$ac_ext <<_ACEOF
3811 /* end confdefs.h. */
3815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3816 $EGREP "memchr" >/dev/null 2>&1; then
3819 ac_cv_header_stdc=no
3825 if test $ac_cv_header_stdc = yes; then
3826 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3827 cat >conftest.$ac_ext <<_ACEOF
3830 cat confdefs.h >>conftest.$ac_ext
3831 cat >>conftest.$ac_ext <<_ACEOF
3832 /* end confdefs.h. */
3836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3837 $EGREP "free" >/dev/null 2>&1; then
3840 ac_cv_header_stdc=no
3846 if test $ac_cv_header_stdc = yes; then
3847 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3848 if test "$cross_compiling" = yes; then
3851 cat >conftest.$ac_ext <<_ACEOF
3854 cat confdefs.h >>conftest.$ac_ext
3855 cat >>conftest.$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3859 #if ((' ' & 0x0FF) == 0x020)
3860 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3861 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3863 # define ISLOWER(c) \
3864 (('a' <= (c) && (c) <= 'i') \
3865 || ('j' <= (c) && (c) <= 'r') \
3866 || ('s' <= (c) && (c) <= 'z'))
3867 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3870 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3875 for (i = 0; i < 256; i++)
3876 if (XOR (islower (i), ISLOWER (i))
3877 || toupper (i) != TOUPPER (i))
3882 rm -f conftest$ac_exeext
3883 if { (ac_try="$ac_link"
3885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3886 *) ac_try_echo=$ac_try;;
3888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3889 $as_echo "$ac_try_echo") >&5
3890 (eval "$ac_link") 2>&5
3892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3894 { (case "(($ac_try" in
3895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896 *) ac_try_echo=$ac_try;;
3898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3899 $as_echo "$ac_try_echo") >&5
3900 (eval "$ac_try") 2>&5
3902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); }; }; then
3906 $as_echo "$as_me: program exited with status $ac_status" >&5
3907 $as_echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3911 ac_cv_header_stdc=no
3913 rm -rf conftest.dSYM
3914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3920 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3921 $as_echo "$ac_cv_header_stdc" >&6; }
3922 if test $ac_cv_header_stdc = yes; then
3924 cat >>confdefs.h <<\_ACEOF
3925 #define STDC_HEADERS 1
3930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3940 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3941 inttypes.h stdint.h unistd.h
3943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3944 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3945 $as_echo_n "checking for $ac_header... " >&6; }
3946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3947 $as_echo_n "(cached) " >&6
3949 cat >conftest.$ac_ext <<_ACEOF
3952 cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3955 $ac_includes_default
3957 #include <$ac_header>
3959 rm -f conftest.$ac_objext
3960 if { (ac_try="$ac_compile"
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3966 $as_echo "$ac_try_echo") >&5
3967 (eval "$ac_compile") 2>conftest.er1
3969 grep -v '^ *+' conftest.er1 >conftest.err
3971 cat conftest.err >&5
3972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } && {
3974 test -z "$ac_c_werror_flag" ||
3975 test ! -s conftest.err
3976 } && test -s conftest.$ac_objext; then
3977 eval "$as_ac_Header=yes"
3979 $as_echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 eval "$as_ac_Header=no"
3985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3987 ac_res=`eval 'as_val=${'$as_ac_Header'}
3988 $as_echo "$as_val"'`
3989 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3990 $as_echo "$ac_res" >&6; }
3991 as_val=`eval 'as_val=${'$as_ac_Header'}
3992 $as_echo "$as_val"'`
3993 if test "x$as_val" = x""yes; then
3994 cat >>confdefs.h <<_ACEOF
3995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4004 if test "${ac_cv_header_minix_config_h+set}" = set; then
4005 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4006 $as_echo_n "checking for minix/config.h... " >&6; }
4007 if test "${ac_cv_header_minix_config_h+set}" = set; then
4008 $as_echo_n "(cached) " >&6
4010 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4011 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4013 # Is the header compilable?
4014 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4015 $as_echo_n "checking minix/config.h usability... " >&6; }
4016 cat >conftest.$ac_ext <<_ACEOF
4019 cat confdefs.h >>conftest.$ac_ext
4020 cat >>conftest.$ac_ext <<_ACEOF
4021 /* end confdefs.h. */
4022 $ac_includes_default
4023 #include <minix/config.h>
4025 rm -f conftest.$ac_objext
4026 if { (ac_try="$ac_compile"
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4032 $as_echo "$ac_try_echo") >&5
4033 (eval "$ac_compile") 2>conftest.er1
4035 grep -v '^ *+' conftest.er1 >conftest.err
4037 cat conftest.err >&5
4038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } && {
4040 test -z "$ac_c_werror_flag" ||
4041 test ! -s conftest.err
4042 } && test -s conftest.$ac_objext; then
4043 ac_header_compiler=yes
4045 $as_echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5
4048 ac_header_compiler=no
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4053 $as_echo "$ac_header_compiler" >&6; }
4055 # Is the header present?
4056 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4057 $as_echo_n "checking minix/config.h presence... " >&6; }
4058 cat >conftest.$ac_ext <<_ACEOF
4061 cat confdefs.h >>conftest.$ac_ext
4062 cat >>conftest.$ac_ext <<_ACEOF
4063 /* end confdefs.h. */
4064 #include <minix/config.h>
4066 if { (ac_try="$ac_cpp conftest.$ac_ext"
4068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4069 *) ac_try_echo=$ac_try;;
4071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4072 $as_echo "$ac_try_echo") >&5
4073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4075 grep -v '^ *+' conftest.er1 >conftest.err
4077 cat conftest.err >&5
4078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } >/dev/null && {
4080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4081 test ! -s conftest.err
4083 ac_header_preproc=yes
4085 $as_echo "$as_me: failed program was:" >&5
4086 sed 's/^/| /' conftest.$ac_ext >&5
4088 ac_header_preproc=no
4091 rm -f conftest.err conftest.$ac_ext
4092 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4093 $as_echo "$ac_header_preproc" >&6; }
4095 # So? What about this header?
4096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4098 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4099 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4100 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4101 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4102 ac_header_preproc=yes
4105 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4106 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4107 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4108 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4109 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4110 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4111 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4112 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4113 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4114 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4115 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4116 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4118 ## ------------------------------------------ ##
4119 ## Report this to https://issues.asterisk.org ##
4120 ## ------------------------------------------ ##
4122 ) | sed "s/^/$as_me: WARNING: /" >&2
4125 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4126 $as_echo_n "checking for minix/config.h... " >&6; }
4127 if test "${ac_cv_header_minix_config_h+set}" = set; then
4128 $as_echo_n "(cached) " >&6
4130 ac_cv_header_minix_config_h=$ac_header_preproc
4132 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4133 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4136 if test "x$ac_cv_header_minix_config_h" = x""yes; then
4143 if test "$MINIX" = yes; then
4145 cat >>confdefs.h <<\_ACEOF
4146 #define _POSIX_SOURCE 1
4150 cat >>confdefs.h <<\_ACEOF
4151 #define _POSIX_1_SOURCE 2
4155 cat >>confdefs.h <<\_ACEOF
4163 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4164 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4165 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4166 $as_echo_n "(cached) " >&6
4168 cat >conftest.$ac_ext <<_ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4175 # define __EXTENSIONS__ 1
4176 $ac_includes_default
4185 rm -f conftest.$ac_objext
4186 if { (ac_try="$ac_compile"
4188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4189 *) ac_try_echo=$ac_try;;
4191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4192 $as_echo "$ac_try_echo") >&5
4193 (eval "$ac_compile") 2>conftest.er1
4195 grep -v '^ *+' conftest.er1 >conftest.err
4197 cat conftest.err >&5
4198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); } && {
4200 test -z "$ac_c_werror_flag" ||
4201 test ! -s conftest.err
4202 } && test -s conftest.$ac_objext; then
4203 ac_cv_safe_to_define___extensions__=yes
4205 $as_echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4208 ac_cv_safe_to_define___extensions__=no
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4214 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4215 test $ac_cv_safe_to_define___extensions__ = yes &&
4216 cat >>confdefs.h <<\_ACEOF
4217 #define __EXTENSIONS__ 1
4220 cat >>confdefs.h <<\_ACEOF
4221 #define _ALL_SOURCE 1
4224 cat >>confdefs.h <<\_ACEOF
4225 #define _GNU_SOURCE 1
4228 cat >>confdefs.h <<\_ACEOF
4229 #define _POSIX_PTHREAD_SEMANTICS 1
4232 cat >>confdefs.h <<\_ACEOF
4233 #define _TANDEM_SOURCE 1
4237 # System default paths
4238 astsbindir='${sbindir}'
4239 astetcdir='${sysconfdir}/asterisk'
4240 astheaderdir='${includedir}/asterisk'
4241 astlibdir='${libdir}/asterisk'
4242 astmandir='${mandir}'
4243 astvarlibdir='${localstatedir}/lib/asterisk'
4244 astdatadir='${astvarlibdir}'
4245 astdbdir='${astvarlibdir}'
4246 astkeydir='${astvarlibdir}'
4247 astspooldir='${localstatedir}/spool/asterisk'
4248 astlogdir='${localstatedir}/log/asterisk'
4249 astvarrundir='${localstatedir}/run/asterisk'
4251 case "${host_os}" in
4253 if test ${prefix} = 'NONE'; then
4254 astvarlibdir='${prefix}/share/asterisk'
4255 astdbdir='${localstatedir}/db/asterisk'
4259 if test ${prefix} = 'NONE'; then
4260 astvarrundir='/Library/Application Support/Asterisk/Run'
4265 case "${host_os}" in
4267 ac_default_prefix=/usr/local
4268 CPPFLAGS=-I/usr/local/include
4269 LDFLAGS=-L/usr/local/lib
4272 ac_default_prefix=/usr/local
4273 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4274 if test ${sysconfdir} = '${prefix}/etc'; then
4275 astetcdir=/etc/asterisk
4277 if test ${mandir} = '${prefix}/man'; then
4278 astmandir=/usr/share/man
4281 CPPFLAGS=-I/usr/local/include
4282 LDFLAGS=-L/usr/local/lib
4285 ac_default_prefix=/usr/local
4286 if test ${prefix} = 'NONE'; then
4287 astlibdir='/Library/Application Support/Asterisk/Modules'
4288 astvarlibdir='/Library/Application Support/Asterisk'
4289 astlogdir=/Library/Logs/Asterisk
4290 astvarrundir='/Library/Application Support/Asterisk/Run'
4293 cat >>confdefs.h <<\_ACEOF
4294 #define AST_POLL_COMPAT 1
4298 cat >>confdefs.h <<\_ACEOF
4299 #define _DARWIN_UNLIMITED_SELECT 1
4304 if test ${prefix} = 'NONE'; then
4305 astetcdir=/var/etc/asterisk
4306 astsbindir=/opt/asterisk/sbin
4307 astlibdir=/opt/asterisk/lib
4308 astheaderdir=/opt/asterisk/include
4309 astmandir=/opt/asterisk/man
4310 astvarlibdir=/var/opt/asterisk
4311 astspooldir=/var/spool/asterisk
4312 astlogdir=/var/log/asterisk
4313 astvarrundir=/var/run/asterisk
4317 ac_default_prefix=/usr
4318 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4319 if test ${sysconfdir} = '${prefix}/etc'; then
4322 if test ${mandir} = '${prefix}/man'; then
4323 mandir=/usr/share/man
4329 if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
4330 if test ${localstatedir} = '${prefix}/var'; then
4335 BUILD_PLATFORM=${build}
4336 BUILD_CPU=${build_cpu}
4337 BUILD_VENDOR=${build_vendor}
4338 BUILD_OS=${build_os}
4345 HOST_PLATFORM=${host}
4346 HOST_CPU=${host_cpu}
4347 HOST_VENDOR=${host_vendor}
4357 case "${host_os}" in
4393 if test -n "$ac_tool_prefix"; then
4394 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4395 set dummy ${ac_tool_prefix}uname; ac_word=$2
4396 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if test "${ac_cv_path_UNAME+set}" = set; then
4399 $as_echo_n "(cached) " >&6
4403 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4414 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 UNAME=$ac_cv_path_UNAME
4425 if test -n "$UNAME"; then
4426 { $as_echo "$as_me:$LINENO: result: $UNAME" >&5
4427 $as_echo "$UNAME" >&6; }
4429 { $as_echo "$as_me:$LINENO: result: no" >&5
4430 $as_echo "no" >&6; }
4435 if test -z "$ac_cv_path_UNAME"; then
4437 # Extract the first word of "uname", so it can be a program name with args.
4438 set dummy uname; ac_word=$2
4439 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4442 $as_echo_n "(cached) " >&6
4444 case $ac_pt_UNAME in
4446 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4456 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4457 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4468 if test -n "$ac_pt_UNAME"; then
4469 { $as_echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4470 $as_echo "$ac_pt_UNAME" >&6; }
4472 { $as_echo "$as_me:$LINENO: result: no" >&5
4473 $as_echo "no" >&6; }
4476 if test "x$ac_pt_UNAME" = x; then
4479 case $cross_compiling:$ac_tool_warned in
4481 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4483 ac_tool_warned=yes ;;
4488 UNAME="$ac_cv_path_UNAME"
4491 if test ! x"${UNAME}" = xNo; then
4492 PBX_OSREV=$(${UNAME} -r)
4502 # cross-compile checks
4503 if test "${cross_compiling}" = "yes";
4505 if test -n "$ac_tool_prefix"; then
4506 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4507 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4508 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if test "${ac_cv_prog_CC+set}" = set; then
4511 $as_echo_n "(cached) " >&6
4513 if test -n "$CC"; then
4514 ac_cv_prog_CC="$CC" # Let the user override the test.
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 test -z "$as_dir" && as_dir=.
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4523 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4524 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 if test -n "$CC"; then
4535 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4536 $as_echo "$CC" >&6; }
4538 { $as_echo "$as_me:$LINENO: result: no" >&5
4539 $as_echo "no" >&6; }
4544 if test -z "$ac_cv_prog_CC"; then
4546 # Extract the first word of "gcc", so it can be a program name with args.
4547 set dummy gcc; ac_word=$2
4548 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4551 $as_echo_n "(cached) " >&6
4553 if test -n "$ac_ct_CC"; then
4554 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir=.
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4563 ac_cv_prog_ac_ct_CC="gcc"
4564 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4574 if test -n "$ac_ct_CC"; then
4575 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4576 $as_echo "$ac_ct_CC" >&6; }
4578 { $as_echo "$as_me:$LINENO: result: no" >&5
4579 $as_echo "no" >&6; }
4582 if test "x$ac_ct_CC" = x; then
4585 case $cross_compiling:$ac_tool_warned in
4587 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4589 ac_tool_warned=yes ;;
4597 if test -n "$ac_tool_prefix"; then
4598 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4599 set dummy ${ac_tool_prefix}g++; ac_word=$2
4600 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if test "${ac_cv_prog_CXX+set}" = set; then
4603 $as_echo_n "(cached) " >&6
4605 if test -n "$CXX"; then
4606 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir=.
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4615 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4616 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 if test -n "$CXX"; then
4627 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
4628 $as_echo "$CXX" >&6; }
4630 { $as_echo "$as_me:$LINENO: result: no" >&5
4631 $as_echo "no" >&6; }
4636 if test -z "$ac_cv_prog_CXX"; then
4638 # Extract the first word of "g++", so it can be a program name with args.
4639 set dummy g++; ac_word=$2
4640 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$ac_ct_CXX"; then
4646 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4655 ac_cv_prog_ac_ct_CXX="g++"
4656 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4666 if test -n "$ac_ct_CXX"; then
4667 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4668 $as_echo "$ac_ct_CXX" >&6; }
4670 { $as_echo "$as_me:$LINENO: result: no" >&5
4671 $as_echo "no" >&6; }
4674 if test "x$ac_ct_CXX" = x; then
4677 case $cross_compiling:$ac_tool_warned in
4679 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4681 ac_tool_warned=yes ;;
4686 CXX="$ac_cv_prog_CXX"
4689 if test -n "$ac_tool_prefix"; then
4690 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4691 set dummy ${ac_tool_prefix}ld; ac_word=$2
4692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if test "${ac_cv_prog_LD+set}" = set; then
4695 $as_echo_n "(cached) " >&6
4697 if test -n "$LD"; then
4698 ac_cv_prog_LD="$LD" # Let the user override the test.
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir=.
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4707 ac_cv_prog_LD="${ac_tool_prefix}ld"
4708 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 if test -n "$LD"; then
4719 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4720 $as_echo "$LD" >&6; }
4722 { $as_echo "$as_me:$LINENO: result: no" >&5
4723 $as_echo "no" >&6; }
4728 if test -z "$ac_cv_prog_LD"; then
4730 # Extract the first word of "ld", so it can be a program name with args.
4731 set dummy ld; ac_word=$2
4732 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4735 $as_echo_n "(cached) " >&6
4737 if test -n "$ac_ct_LD"; then
4738 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747 ac_cv_prog_ac_ct_LD="ld"
4748 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4758 if test -n "$ac_ct_LD"; then
4759 { $as_echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4760 $as_echo "$ac_ct_LD" >&6; }
4762 { $as_echo "$as_me:$LINENO: result: no" >&5
4763 $as_echo "no" >&6; }
4766 if test "x$ac_ct_LD" = x; then
4769 case $cross_compiling:$ac_tool_warned in
4771 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4773 ac_tool_warned=yes ;;