2 # From configure.ac Revision: 267350 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for asterisk 1.6.
6 # Report bugs to <www.asterisk.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 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='1.6'
603 PACKAGE_STRING='asterisk 1.6'
604 PACKAGE_BUGREPORT='www.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
696 AST_NO_STRICT_OVERFLOW
698 AST_DECLARATION_AFTER_STATEMENT
701 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
702 PBX_PTHREAD_RWLOCK_INITIALIZER
774 SPEEX_PREPROCESS_INCLUDE
821 PBX_PRI_REVERSE_CHARGE
822 PRI_REVERSE_CHARGE_DIR
823 PRI_REVERSE_CHARGE_INCLUDE
824 PRI_REVERSE_CHARGE_LIB
825 PBX_PRI_SERVICE_MESSAGES
826 PRI_SERVICE_MESSAGES_DIR
827 PRI_SERVICE_MESSAGES_INCLUDE
828 PRI_SERVICE_MESSAGES_LIB
831 PRI_PROG_W_CAUSE_INCLUDE
833 PBX_PRI_INBANDDISCONNECT
834 PRI_INBANDDISCONNECT_DIR
835 PRI_INBANDDISCONNECT_INCLUDE
836 PRI_INBANDDISCONNECT_LIB
839 PRI_SETUP_KEYPAD_INCLUDE
841 PBX_PRI_CALL_REROUTING
842 PRI_CALL_REROUTING_DIR
843 PRI_CALL_REROUTING_INCLUDE
844 PRI_CALL_REROUTING_LIB
847 PRI_CALL_HOLD_INCLUDE
855 PRI_HANGUP_FIX_INCLUDE
867 PRI_AOC_EVENTS_INCLUDE
871 PRI_CALL_WAITING_INCLUDE
1152 program_transform_name
1164 enable_option_checking
1237 enable_internal_poll
1241 ac_precious_vars='build_alias
1256 # Initialize some variables set by options.
1258 ac_init_version=false
1259 ac_unrecognized_opts=
1260 ac_unrecognized_sep=
1261 # The variables have the same names as the options, with
1262 # dashes changed to underlines.
1263 cache_file=/dev/null
1270 program_transform_name=s,x,x,
1278 # Installation directory options.
1279 # These are left unexpanded so users can "make install exec_prefix=/foo"
1280 # and all the variables that are supposed to be based on exec_prefix
1281 # by default will actually change.
1282 # Use braces instead of parens because sh, perl, etc. also accept them.
1283 # (The list follows the same order as the GNU Coding Standards.)
1284 bindir='${exec_prefix}/bin'
1285 sbindir='${exec_prefix}/sbin'
1286 libexecdir='${exec_prefix}/libexec'
1287 datarootdir='${prefix}/share'
1288 datadir='${datarootdir}'
1289 sysconfdir='${prefix}/etc'
1290 sharedstatedir='${prefix}/com'
1291 localstatedir='${prefix}/var'
1292 includedir='${prefix}/include'
1293 oldincludedir='/usr/include'
1294 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1295 infodir='${datarootdir}/info'
1300 libdir='${exec_prefix}/lib'
1301 localedir='${datarootdir}/locale'
1302 mandir='${datarootdir}/man'
1308 # If the previous option needs an argument, assign it.
1309 if test -n "$ac_prev"; then
1310 eval $ac_prev=\$ac_option
1316 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1320 # Accept the important Cygnus configure options, so we can diagnose typos.
1322 case $ac_dashdash$ac_option in
1326 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1328 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1329 bindir=$ac_optarg ;;
1331 -build | --build | --buil | --bui | --bu)
1332 ac_prev=build_alias ;;
1333 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1334 build_alias=$ac_optarg ;;
1336 -cache-file | --cache-file | --cache-fil | --cache-fi \
1337 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1338 ac_prev=cache_file ;;
1339 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1340 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1341 cache_file=$ac_optarg ;;
1343 --config-cache | -C)
1344 cache_file=config.cache ;;
1346 -datadir | --datadir | --datadi | --datad)
1348 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1349 datadir=$ac_optarg ;;
1351 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1352 | --dataroo | --dataro | --datar)
1353 ac_prev=datarootdir ;;
1354 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1355 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1356 datarootdir=$ac_optarg ;;
1358 -disable-* | --disable-*)
1359 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1360 # Reject names that are not valid shell variable names.
1361 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1362 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1363 { (exit 1); exit 1; }; }
1364 ac_useropt_orig=$ac_useropt
1365 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1366 case $ac_user_opts in
1368 "enable_$ac_useropt"
1370 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1371 ac_unrecognized_sep=', ';;
1373 eval enable_$ac_useropt=no ;;
1375 -docdir | --docdir | --docdi | --doc | --do)
1377 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1378 docdir=$ac_optarg ;;
1380 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1382 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1383 dvidir=$ac_optarg ;;
1385 -enable-* | --enable-*)
1386 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1387 # Reject names that are not valid shell variable names.
1388 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1389 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1390 { (exit 1); exit 1; }; }
1391 ac_useropt_orig=$ac_useropt
1392 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1393 case $ac_user_opts in
1395 "enable_$ac_useropt"
1397 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1398 ac_unrecognized_sep=', ';;
1400 eval enable_$ac_useropt=\$ac_optarg ;;
1402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1404 | --exec | --exe | --ex)
1405 ac_prev=exec_prefix ;;
1406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1408 | --exec=* | --exe=* | --ex=*)
1409 exec_prefix=$ac_optarg ;;
1411 -gas | --gas | --ga | --g)
1412 # Obsolete; use --with-gas.
1415 -help | --help | --hel | --he | -h)
1416 ac_init_help=long ;;
1417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1418 ac_init_help=recursive ;;
1419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1420 ac_init_help=short ;;
1422 -host | --host | --hos | --ho)
1423 ac_prev=host_alias ;;
1424 -host=* | --host=* | --hos=* | --ho=*)
1425 host_alias=$ac_optarg ;;
1427 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1429 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1431 htmldir=$ac_optarg ;;
1433 -includedir | --includedir | --includedi | --included | --include \
1434 | --includ | --inclu | --incl | --inc)
1435 ac_prev=includedir ;;
1436 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1437 | --includ=* | --inclu=* | --incl=* | --inc=*)
1438 includedir=$ac_optarg ;;
1440 -infodir | --infodir | --infodi | --infod | --info | --inf)
1442 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1443 infodir=$ac_optarg ;;
1445 -libdir | --libdir | --libdi | --libd)
1447 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1448 libdir=$ac_optarg ;;
1450 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1451 | --libexe | --libex | --libe)
1452 ac_prev=libexecdir ;;
1453 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1454 | --libexe=* | --libex=* | --libe=*)
1455 libexecdir=$ac_optarg ;;
1457 -localedir | --localedir | --localedi | --localed | --locale)
1458 ac_prev=localedir ;;
1459 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1460 localedir=$ac_optarg ;;
1462 -localstatedir | --localstatedir | --localstatedi | --localstated \
1463 | --localstate | --localstat | --localsta | --localst | --locals)
1464 ac_prev=localstatedir ;;
1465 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1466 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1467 localstatedir=$ac_optarg ;;
1469 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1471 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1472 mandir=$ac_optarg ;;
1474 -nfp | --nfp | --nf)
1475 # Obsolete; use --without-fp.
1478 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1479 | --no-cr | --no-c | -n)
1482 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1483 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1486 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1487 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1488 | --oldin | --oldi | --old | --ol | --o)
1489 ac_prev=oldincludedir ;;
1490 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1491 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1492 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1493 oldincludedir=$ac_optarg ;;
1495 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1497 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1498 prefix=$ac_optarg ;;
1500 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1501 | --program-pre | --program-pr | --program-p)
1502 ac_prev=program_prefix ;;
1503 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1504 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1505 program_prefix=$ac_optarg ;;
1507 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1508 | --program-suf | --program-su | --program-s)
1509 ac_prev=program_suffix ;;
1510 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1511 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1512 program_suffix=$ac_optarg ;;
1514 -program-transform-name | --program-transform-name \
1515 | --program-transform-nam | --program-transform-na \
1516 | --program-transform-n | --program-transform- \
1517 | --program-transform | --program-transfor \
1518 | --program-transfo | --program-transf \
1519 | --program-trans | --program-tran \
1520 | --progr-tra | --program-tr | --program-t)
1521 ac_prev=program_transform_name ;;
1522 -program-transform-name=* | --program-transform-name=* \
1523 | --program-transform-nam=* | --program-transform-na=* \
1524 | --program-transform-n=* | --program-transform-=* \
1525 | --program-transform=* | --program-transfor=* \
1526 | --program-transfo=* | --program-transf=* \
1527 | --program-trans=* | --program-tran=* \
1528 | --progr-tra=* | --program-tr=* | --program-t=*)
1529 program_transform_name=$ac_optarg ;;
1531 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1533 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1534 pdfdir=$ac_optarg ;;
1536 -psdir | --psdir | --psdi | --psd | --ps)
1538 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1542 | -silent | --silent | --silen | --sile | --sil)
1545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1549 sbindir=$ac_optarg ;;
1551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1553 | --sharedst | --shareds | --shared | --share | --shar \
1555 ac_prev=sharedstatedir ;;
1556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1560 sharedstatedir=$ac_optarg ;;
1562 -site | --site | --sit)
1564 -site=* | --site=* | --sit=*)
1567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1570 srcdir=$ac_optarg ;;
1572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1573 | --syscon | --sysco | --sysc | --sys | --sy)
1574 ac_prev=sysconfdir ;;
1575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1577 sysconfdir=$ac_optarg ;;
1579 -target | --target | --targe | --targ | --tar | --ta | --t)
1580 ac_prev=target_alias ;;
1581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1582 target_alias=$ac_optarg ;;
1584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1587 -version | --version | --versio | --versi | --vers | -V)
1588 ac_init_version=: ;;
1591 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1592 # Reject names that are not valid shell variable names.
1593 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1594 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1595 { (exit 1); exit 1; }; }
1596 ac_useropt_orig=$ac_useropt
1597 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1598 case $ac_user_opts in
1602 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1603 ac_unrecognized_sep=', ';;
1605 eval with_$ac_useropt=\$ac_optarg ;;
1607 -without-* | --without-*)
1608 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1609 # Reject names that are not valid shell variable names.
1610 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1611 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1612 { (exit 1); exit 1; }; }
1613 ac_useropt_orig=$ac_useropt
1614 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1615 case $ac_user_opts in
1619 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1620 ac_unrecognized_sep=', ';;
1622 eval with_$ac_useropt=no ;;
1625 # Obsolete; use --with-x.
1628 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1629 | --x-incl | --x-inc | --x-in | --x-i)
1630 ac_prev=x_includes ;;
1631 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1632 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1633 x_includes=$ac_optarg ;;
1635 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1636 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1637 ac_prev=x_libraries ;;
1638 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1639 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1640 x_libraries=$ac_optarg ;;
1642 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1643 Try \`$0 --help' for more information." >&2
1644 { (exit 1); exit 1; }; }
1648 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1649 # Reject names that are not valid shell variable names.
1650 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1651 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1652 { (exit 1); exit 1; }; }
1653 eval $ac_envvar=\$ac_optarg
1654 export $ac_envvar ;;
1657 # FIXME: should be removed in autoconf 3.0.
1658 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1659 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1660 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1661 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1667 if test -n "$ac_prev"; then
1668 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1669 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1670 { (exit 1); exit 1; }; }
1673 if test -n "$ac_unrecognized_opts"; then
1674 case $enable_option_checking in
1676 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1677 { (exit 1); exit 1; }; } ;;
1678 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1682 # Check all directory arguments for consistency.
1683 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1684 datadir sysconfdir sharedstatedir localstatedir includedir \
1685 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1686 libdir localedir mandir
1688 eval ac_val=\$$ac_var
1689 # Remove trailing slashes.
1692 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1693 eval $ac_var=\$ac_val;;
1695 # Be sure to have absolute directory names.
1697 [\\/$]* | ?:[\\/]* ) continue;;
1698 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1700 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1701 { (exit 1); exit 1; }; }
1704 # There might be people who depend on the old broken behavior: `$host'
1705 # used to hold the argument of --host etc.
1706 # FIXME: To remove some day.
1709 target=$target_alias
1711 # FIXME: To remove some day.
1712 if test "x$host_alias" != x; then
1713 if test "x$build_alias" = x; then
1714 cross_compiling=maybe
1715 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1716 If a cross compiler is detected then cross compile mode will be used." >&2
1717 elif test "x$build_alias" != "x$host_alias"; then
1723 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1725 test "$silent" = yes && exec 6>/dev/null
1728 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1729 ac_ls_di=`ls -di .` &&
1730 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1731 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1732 { (exit 1); exit 1; }; }
1733 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1734 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1735 { (exit 1); exit 1; }; }
1738 # Find the source files, if location was not specified.
1739 if test -z "$srcdir"; then
1740 ac_srcdir_defaulted=yes
1741 # Try the directory containing this script, then the parent directory.
1742 ac_confdir=`$as_dirname -- "$as_myself" ||
1743 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1744 X"$as_myself" : 'X\(//\)[^/]' \| \
1745 X"$as_myself" : 'X\(//\)$' \| \
1746 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1747 $as_echo X"$as_myself" |
1748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1766 if test ! -r "$srcdir/$ac_unique_file"; then
1770 ac_srcdir_defaulted=no
1772 if test ! -r "$srcdir/$ac_unique_file"; then
1773 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1774 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1775 { (exit 1); exit 1; }; }
1777 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1779 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1780 { (exit 1); exit 1; }; }
1782 # When building in place, set srcdir=.
1783 if test "$ac_abs_confdir" = "$ac_pwd"; then
1786 # Remove unnecessary trailing slashes from srcdir.
1787 # Double slashes in file names in object file debugging info
1788 # mess up M-x gdb in Emacs.
1790 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1792 for ac_var in $ac_precious_vars; do
1793 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1794 eval ac_env_${ac_var}_value=\$${ac_var}
1795 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1796 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1800 # Report the --help message.
1802 if test "$ac_init_help" = "long"; then
1803 # Omit some internal or obsolete options to make the list less imposing.
1804 # This message is too long to be a string in the A/UX 3.1 sh.
1806 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1808 Usage: $0 [OPTION]... [VAR=VALUE]...
1810 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1811 VAR=VALUE. See below for descriptions of some of the useful variables.
1813 Defaults for the options are specified in brackets.
1816 -h, --help display this help and exit
1817 --help=short display options specific to this package
1818 --help=recursive display the short help of all the included packages
1819 -V, --version display version information and exit
1820 -q, --quiet, --silent do not print \`checking...' messages
1821 --cache-file=FILE cache test results in FILE [disabled]
1822 -C, --config-cache alias for \`--cache-file=config.cache'
1823 -n, --no-create do not create output files
1824 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1826 Installation directories:
1827 --prefix=PREFIX install architecture-independent files in PREFIX
1828 [$ac_default_prefix]
1829 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1832 By default, \`make install' will install all the files in
1833 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1834 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1835 for instance \`--prefix=\$HOME'.
1837 For better control, use the options below.
1839 Fine tuning of the installation directories:
1840 --bindir=DIR user executables [EPREFIX/bin]
1841 --sbindir=DIR system admin executables [EPREFIX/sbin]
1842 --libexecdir=DIR program executables [EPREFIX/libexec]
1843 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1844 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1845 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1846 --libdir=DIR object code libraries [EPREFIX/lib]
1847 --includedir=DIR C header files [PREFIX/include]
1848 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1849 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1850 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1851 --infodir=DIR info documentation [DATAROOTDIR/info]
1852 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1853 --mandir=DIR man documentation [DATAROOTDIR/man]
1854 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1855 --htmldir=DIR html documentation [DOCDIR]
1856 --dvidir=DIR dvi documentation [DOCDIR]
1857 --pdfdir=DIR pdf documentation [DOCDIR]
1858 --psdir=DIR ps documentation [DOCDIR]
1864 --build=BUILD configure for building on BUILD [guessed]
1865 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1869 if test -n "$ac_init_help"; then
1870 case $ac_init_help in
1871 short | recursive ) echo "Configuration of asterisk 1.6:";;
1876 --disable-option-checking ignore unrecognized --enable/--with options
1877 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1878 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1879 --enable-dev-mode Turn on developer mode
1880 --disable-largefile omit support for large files
1881 --enable-internal-poll Use Asterisk's poll implementation
1882 --disable-xmldoc Explicity disable XML documentation
1885 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1886 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1887 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1888 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1889 --with-execinfo=PATH use Stack Backtrace files in PATH
1890 --with-bluetooth=PATH use Bluetooth files in PATH
1891 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1892 --with-curl=PATH use cURL files in PATH
1893 --with-curses=PATH use curses files in PATH
1894 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1895 --with-dahdi=PATH use DAHDI files in PATH
1896 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
1897 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
1899 --with-gtk2=PATH use gtk2 files in PATH
1900 --with-gmime=PATH use GMime files in PATH
1901 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1902 --with-ical=PATH use iCal files in PATH
1903 --with-iconv=PATH use Iconv files in PATH
1904 --with-iksemel=PATH use Iksemel Jabber files in PATH
1905 --with-imap=PATH use UW IMAP Toolkit files in PATH
1906 --with-inotify=PATH use inotify support files in PATH
1907 --with-iodbc=PATH use iODBC files in PATH
1908 --with-isdnnet=PATH use ISDN4Linux files in PATH
1909 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1910 --with-kqueue=PATH use kqueue support files in PATH
1911 --with-ldap=PATH use OpenLDAP files in PATH
1912 --with-libxml2=PATH use LibXML2 files in PATH
1913 --with-ltdl=PATH use libtool files in PATH
1914 --with-lua=PATH use Lua files in PATH
1915 --with-misdn=PATH use mISDN user files in PATH
1916 --with-mysqlclient=PATH use MySQL client files in PATH
1917 --with-nbs=PATH use Network Broadcast Sound files in PATH
1918 --with-ncurses=PATH use ncurses files in PATH
1919 --with-neon=PATH use neon files in PATH
1920 --with-neon29=PATH use neon29 files in PATH
1921 --with-netsnmp=PATH use Net-SNMP files in PATH
1922 --with-newt=PATH use newt files in PATH
1923 --with-ogg=PATH use OGG files in PATH
1924 --with-osptk=PATH use OSP Toolkit files in PATH
1925 --with-oss=PATH use Open Sound System files in PATH
1926 --with-postgres=PATH use PostgreSQL files in PATH
1927 --with-popt=PATH use popt files in PATH
1928 --with-portaudio=PATH use PortAudio files in PATH
1929 --with-pri=PATH use ISDN PRI files in PATH
1930 --with-resample=PATH use LIBRESAMPLE files in PATH
1931 --with-sounds-cache=PATH
1932 use cached sound tarfiles in PATH
1933 --with-spandsp=PATH use SPANDSP files in PATH
1934 --with-ss7=PATH use ISDN SS7 files in PATH
1935 --with-openr2=PATH use MFR2 files in PATH
1936 --with-pwlib=PATH use PWlib files in PATH
1937 --with-h323=PATH use OpenH323 files in PATH
1938 --with-radius=PATH use Radius Client files in PATH
1939 --with-sdl=PATH use Sdl files in PATH
1940 --with-SDL_image=PATH use Sdl Image files in PATH
1941 --with-openais=PATH use OpenAIS files in PATH
1942 --with-speex=PATH use Speex files in PATH
1943 --with-speex=PATH use Speex preprocess routines files in PATH
1944 --with-speexdsp=PATH use SpeexDSP files in PATH
1945 --with-sqlite=PATH use SQLite files in PATH
1946 --with-sqlite3=PATH use SQLite files in PATH
1947 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1948 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
1949 --with-tds=PATH use FreeTDS files in PATH
1950 --with-termcap=PATH use Termcap files in PATH
1951 --with-tinfo=PATH use Term Info files in PATH
1952 --with-tonezone=PATH use tonezone files in PATH
1953 --with-unixodbc=PATH use unixODBC files in PATH
1954 --with-usb=PATH use usb files in PATH
1955 --with-vorbis=PATH use Vorbis files in PATH
1956 --with-vpb=PATH use Voicetronix API files in PATH
1957 --with-x11=PATH use X11 files in PATH
1958 --with-z=PATH use zlib compression files in PATH
1959 --with-timerfd=PATH use timerfd files in PATH
1960 --with-libcurl=DIR look for the curl library in DIR
1962 Some influential environment variables:
1963 CC C compiler command
1964 CFLAGS C compiler flags
1965 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1966 nonstandard directory <lib dir>
1967 LIBS libraries to pass to the linker, e.g. -l<library>
1968 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1969 you have headers in a nonstandard directory <include dir>
1971 CXX C++ compiler command
1972 CXXFLAGS C++ compiler flags
1973 CXXCPP C++ preprocessor
1975 Use these variables to override the choices made by `configure' or to help
1976 it to find libraries and programs with nonstandard names/locations.
1978 Report bugs to <www.asterisk.org>.
1983 if test "$ac_init_help" = "recursive"; then
1984 # If there are subdirs, report their specific --help.
1985 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1986 test -d "$ac_dir" ||
1987 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1992 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1994 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1995 # A ".." for each directory in $ac_dir_suffix.
1996 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1997 case $ac_top_builddir_sub in
1998 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1999 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2002 ac_abs_top_builddir=$ac_pwd
2003 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2004 # for backward compatibility:
2005 ac_top_builddir=$ac_top_build_prefix
2008 .) # We are building in place.
2010 ac_top_srcdir=$ac_top_builddir_sub
2011 ac_abs_top_srcdir=$ac_pwd ;;
2012 [\\/]* | ?:[\\/]* ) # Absolute name.
2013 ac_srcdir=$srcdir$ac_dir_suffix;
2014 ac_top_srcdir=$srcdir
2015 ac_abs_top_srcdir=$srcdir ;;
2017 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2018 ac_top_srcdir=$ac_top_build_prefix$srcdir
2019 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2021 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2023 cd "$ac_dir" || { ac_status=$?; continue; }
2024 # Check for guested configure.
2025 if test -f "$ac_srcdir/configure.gnu"; then
2027 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2028 elif test -f "$ac_srcdir/configure"; then
2030 $SHELL "$ac_srcdir/configure" --help=recursive
2032 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2034 cd "$ac_pwd" || { ac_status=$?; break; }
2038 test -n "$ac_init_help" && exit $ac_status
2039 if $ac_init_version; then
2041 asterisk configure 1.6
2042 generated by GNU Autoconf 2.63
2044 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2045 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2046 This configure script is free software; the Free Software Foundation
2047 gives unlimited permission to copy, distribute and modify it.
2053 cat >config.log <<_ACEOF
2054 This file contains any messages produced by compilers while
2055 running configure, to aid debugging if configure makes a mistake.
2057 It was created by asterisk $as_me 1.6, which was
2058 generated by GNU Autoconf 2.63. Invocation command line was
2070 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2071 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2072 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2073 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2074 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2076 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2077 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2079 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2080 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2081 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2082 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2083 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2084 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2085 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir=.
2094 $as_echo "PATH: $as_dir"
2110 # Keep a trace of the command line.
2111 # Strip out --no-create and --no-recursion so they do not pile up.
2112 # Strip out --silent because we don't want to record it for future runs.
2113 # Also quote any args containing shell meta-characters.
2114 # Make two passes to allow for proper duplicate-argument suppression.
2118 ac_must_keep_next=false
2124 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2126 | -silent | --silent | --silen | --sile | --sil)
2129 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2132 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2134 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2135 if test $ac_must_keep_next = true; then
2136 ac_must_keep_next=false # Got value, back to normal.
2139 *=* | --config-cache | -C | -disable-* | --disable-* \
2140 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2141 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2142 | -with-* | --with-* | -without-* | --without-* | --x)
2143 case "$ac_configure_args0 " in
2144 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2147 -* ) ac_must_keep_next=true ;;
2150 ac_configure_args="$ac_configure_args '$ac_arg'"
2155 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2156 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2158 # When interrupted or exit'd, cleanup temporary files, and complete
2159 # config.log. We remove comments because anyway the quotes in there
2160 # would cause problems or look ugly.
2161 # WARNING: Use '\'' to represent an apostrophe within the trap.
2162 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2163 trap 'exit_status=$?
2164 # Save into config.log some information that might help in debugging.
2169 ## ---------------- ##
2170 ## Cache variables. ##
2171 ## ---------------- ##
2174 # The following way of writing the cache mishandles newlines in values,
2176 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2177 eval ac_val=\$$ac_var
2181 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2182 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2185 _ | IFS | as_nl) ;; #(
2186 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2187 *) $as_unset $ac_var ;;
2192 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2193 *${as_nl}ac_space=\ *)
2195 "s/'\''/'\''\\\\'\'''\''/g;
2196 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2207 ## ----------------- ##
2208 ## Output variables. ##
2209 ## ----------------- ##
2212 for ac_var in $ac_subst_vars
2214 eval ac_val=\$$ac_var
2216 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218 $as_echo "$ac_var='\''$ac_val'\''"
2222 if test -n "$ac_subst_files"; then
2224 ## ------------------- ##
2225 ## File substitutions. ##
2226 ## ------------------- ##
2229 for ac_var in $ac_subst_files
2231 eval ac_val=\$$ac_var
2233 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2235 $as_echo "$ac_var='\''$ac_val'\''"
2240 if test -s confdefs.h; then
2250 test "$ac_signal" != 0 &&
2251 $as_echo "$as_me: caught signal $ac_signal"
2252 $as_echo "$as_me: exit $exit_status"
2254 rm -f core *.core core.conftest.* &&
2255 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2258 for ac_signal in 1 2 13 15; do
2259 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2263 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2264 rm -f -r conftest* confdefs.h
2266 # Predefined preprocessor variables.
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_NAME "$PACKAGE_NAME"
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_STRING "$PACKAGE_STRING"
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2293 # Let the site file select an alternate cache file if it wants to.
2294 # Prefer an explicitly selected file to automatically selected ones.
2297 if test -n "$CONFIG_SITE"; then
2298 ac_site_file1=$CONFIG_SITE
2299 elif test "x$prefix" != xNONE; then
2300 ac_site_file1=$prefix/share/config.site
2301 ac_site_file2=$prefix/etc/config.site
2303 ac_site_file1=$ac_default_prefix/share/config.site
2304 ac_site_file2=$ac_default_prefix/etc/config.site
2306 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2308 test "x$ac_site_file" = xNONE && continue
2309 if test -r "$ac_site_file"; then
2310 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2311 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2312 sed 's/^/| /' "$ac_site_file" >&5
2317 if test -r "$cache_file"; then
2318 # Some versions of bash will fail to source /dev/null (special
2319 # files actually), so we avoid doing that.
2320 if test -f "$cache_file"; then
2321 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2322 $as_echo "$as_me: loading cache $cache_file" >&6;}
2324 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2325 *) . "./$cache_file";;
2329 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2330 $as_echo "$as_me: creating cache $cache_file" >&6;}
2334 ac_header_list="$ac_header_list utime.h"
2335 # Check that the precious variables saved in the cache have kept the same
2337 ac_cache_corrupted=false
2338 for ac_var in $ac_precious_vars; do
2339 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2340 eval ac_new_set=\$ac_env_${ac_var}_set
2341 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2342 eval ac_new_val=\$ac_env_${ac_var}_value
2343 case $ac_old_set,$ac_new_set in
2345 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2346 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2347 ac_cache_corrupted=: ;;
2349 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2350 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2351 ac_cache_corrupted=: ;;
2354 if test "x$ac_old_val" != "x$ac_new_val"; then
2355 # differences in whitespace do not lead to failure.
2356 ac_old_val_w=`echo x $ac_old_val`
2357 ac_new_val_w=`echo x $ac_new_val`
2358 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2359 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2360 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2361 ac_cache_corrupted=:
2363 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2364 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2365 eval $ac_var=\$ac_old_val
2367 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2368 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2369 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2370 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2373 # Pass precious variables to config.status.
2374 if test "$ac_new_set" = set; then
2376 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2377 *) ac_arg=$ac_var=$ac_new_val ;;
2379 case " $ac_configure_args " in
2380 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2381 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2385 if $ac_cache_corrupted; then
2386 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2388 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2389 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2390 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2391 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2392 { (exit 1); exit 1; }; }
2420 ac_cpp='$CPP $CPPFLAGS'
2421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2427 # cross-compile macros
2429 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2430 if test -f "$ac_dir/install-sh"; then
2432 ac_install_sh="$ac_aux_dir/install-sh -c"
2434 elif test -f "$ac_dir/install.sh"; then
2436 ac_install_sh="$ac_aux_dir/install.sh -c"
2438 elif test -f "$ac_dir/shtool"; then
2440 ac_install_sh="$ac_aux_dir/shtool install -c"
2444 if test -z "$ac_aux_dir"; then
2445 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2446 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2447 { (exit 1); exit 1; }; }
2450 # These three variables are undocumented and unsupported,
2451 # and are intended to be withdrawn in a future Autoconf release.
2452 # They can cause serious problems if a builder's source tree is in a directory
2453 # whose full name contains unusual characters.
2454 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2455 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2456 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2459 # Make sure we can run config.sub.
2460 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2461 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2462 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2463 { (exit 1); exit 1; }; }
2465 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2466 $as_echo_n "checking build system type... " >&6; }
2467 if test "${ac_cv_build+set}" = set; then
2468 $as_echo_n "(cached) " >&6
2470 ac_build_alias=$build_alias
2471 test "x$ac_build_alias" = x &&
2472 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2473 test "x$ac_build_alias" = x &&
2474 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2475 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2476 { (exit 1); exit 1; }; }
2477 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2478 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2479 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2480 { (exit 1); exit 1; }; }
2483 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2484 $as_echo "$ac_cv_build" >&6; }
2485 case $ac_cv_build in
2487 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2488 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2489 { (exit 1); exit 1; }; };;
2492 ac_save_IFS=$IFS; IFS='-'
2498 # Remember, the first character of IFS is used to create $*,
2499 # except with old shells:
2502 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2505 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2506 $as_echo_n "checking host system type... " >&6; }
2507 if test "${ac_cv_host+set}" = set; then
2508 $as_echo_n "(cached) " >&6
2510 if test "x$host_alias" = x; then
2511 ac_cv_host=$ac_cv_build
2513 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2514 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2515 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2520 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2521 $as_echo "$ac_cv_host" >&6; }
2524 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2525 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2526 { (exit 1); exit 1; }; };;
2529 ac_save_IFS=$IFS; IFS='-'
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2539 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2543 # check existence of the package
2547 for ac_dir in `pwd` "$srcdir"/`pwd`; do
2548 if test -f "$ac_dir/install-sh"; then
2550 ac_install_sh="$ac_aux_dir/install-sh -c"
2552 elif test -f "$ac_dir/install.sh"; then
2554 ac_install_sh="$ac_aux_dir/install.sh -c"
2556 elif test -f "$ac_dir/shtool"; then
2558 ac_install_sh="$ac_aux_dir/shtool install -c"
2562 if test -z "$ac_aux_dir"; then
2563 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&5
2564 $as_echo "$as_me: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&2;}
2565 { (exit 1); exit 1; }; }
2568 # These three variables are undocumented and unsupported,
2569 # and are intended to be withdrawn in a future Autoconf release.
2570 # They can cause serious problems if a builder's source tree is in a directory
2571 # whose full name contains unusual characters.
2572 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2573 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2574 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2581 # preserve any CFLAGS or LDFLAGS that may be set
2582 # NOTE: This must be done before calling any macros that end up
2583 # calling AC_PROG_CC or the like, since they will set a default
2584 # set of CFLAGS ("-g -O2") if the user did not supply any, and
2585 # we don't want those default flags to be carried over into the
2586 # rest of the build system since we have other means of controlling
2587 # debugging symbol generation and optimization.
2588 CONFIG_CFLAGS="${CFLAGS}"
2589 CONFIG_LDFLAGS="${LDFLAGS}"
2593 # specify output header file
2594 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2598 ac_cpp='$CPP $CPPFLAGS'
2599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2602 if test -n "$ac_tool_prefix"; then
2603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2604 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2605 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if test "${ac_cv_prog_CC+set}" = set; then
2608 $as_echo_n "(cached) " >&6
2610 if test -n "$CC"; then
2611 ac_cv_prog_CC="$CC" # Let the user override the test.
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir=.
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2621 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 if test -n "$CC"; then
2632 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2633 $as_echo "$CC" >&6; }
2635 { $as_echo "$as_me:$LINENO: result: no" >&5
2636 $as_echo "no" >&6; }
2641 if test -z "$ac_cv_prog_CC"; then
2643 # Extract the first word of "gcc", so it can be a program name with args.
2644 set dummy gcc; ac_word=$2
2645 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2648 $as_echo_n "(cached) " >&6
2650 if test -n "$ac_ct_CC"; then
2651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660 ac_cv_prog_ac_ct_CC="gcc"
2661 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2671 if test -n "$ac_ct_CC"; then
2672 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2673 $as_echo "$ac_ct_CC" >&6; }
2675 { $as_echo "$as_me:$LINENO: result: no" >&5
2676 $as_echo "no" >&6; }
2679 if test "x$ac_ct_CC" = x; then
2682 case $cross_compiling:$ac_tool_warned in
2684 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2686 ac_tool_warned=yes ;;
2694 if test -z "$CC"; then
2695 if test -n "$ac_tool_prefix"; then
2696 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2697 set dummy ${ac_tool_prefix}cc; ac_word=$2
2698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2699 $as_echo_n "checking for $ac_word... " >&6; }
2700 if test "${ac_cv_prog_CC+set}" = set; then
2701 $as_echo_n "(cached) " >&6
2703 if test -n "$CC"; then
2704 ac_cv_prog_CC="$CC" # Let the user override the test.
2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir=.
2711 for ac_exec_ext in '' $ac_executable_extensions; do
2712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713 ac_cv_prog_CC="${ac_tool_prefix}cc"
2714 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 if test -n "$CC"; then
2725 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2726 $as_echo "$CC" >&6; }
2728 { $as_echo "$as_me:$LINENO: result: no" >&5
2729 $as_echo "no" >&6; }
2735 if test -z "$CC"; then
2736 # Extract the first word of "cc", so it can be a program name with args.
2737 set dummy cc; ac_word=$2
2738 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2739 $as_echo_n "checking for $ac_word... " >&6; }
2740 if test "${ac_cv_prog_CC+set}" = set; then
2741 $as_echo_n "(cached) " >&6
2743 if test -n "$CC"; then
2744 ac_cv_prog_CC="$CC" # Let the user override the test.
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir=.
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2755 ac_prog_rejected=yes
2759 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 if test $ac_prog_rejected = yes; then
2767 # We found a bogon in the path, so make sure we never use it.
2768 set dummy $ac_cv_prog_CC
2770 if test $# != 0; then
2771 # We chose a different compiler from the bogus one.
2772 # However, it has the same basename, so the bogon will be chosen
2773 # first if we set CC to just the basename; use the full file name.
2775 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2781 if test -n "$CC"; then
2782 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2783 $as_echo "$CC" >&6; }
2785 { $as_echo "$as_me:$LINENO: result: no" >&5
2786 $as_echo "no" >&6; }
2791 if test -z "$CC"; then
2792 if test -n "$ac_tool_prefix"; then
2793 for ac_prog in cl.exe
2795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2798 $as_echo_n "checking for $ac_word... " >&6; }
2799 if test "${ac_cv_prog_CC+set}" = set; then
2800 $as_echo_n "(cached) " >&6
2802 if test -n "$CC"; then
2803 ac_cv_prog_CC="$CC" # Let the user override the test.
2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir=.
2810 for ac_exec_ext in '' $ac_executable_extensions; do
2811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2812 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2813 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 if test -n "$CC"; then
2824 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2825 $as_echo "$CC" >&6; }
2827 { $as_echo "$as_me:$LINENO: result: no" >&5
2828 $as_echo "no" >&6; }
2832 test -n "$CC" && break
2835 if test -z "$CC"; then
2837 for ac_prog in cl.exe
2839 # Extract the first word of "$ac_prog", so it can be a program name with args.
2840 set dummy $ac_prog; ac_word=$2
2841 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$ac_ct_CC"; then
2847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_ac_ct_CC="$ac_prog"
2857 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2867 if test -n "$ac_ct_CC"; then
2868 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2869 $as_echo "$ac_ct_CC" >&6; }
2871 { $as_echo "$as_me:$LINENO: result: no" >&5
2872 $as_echo "no" >&6; }
2876 test -n "$ac_ct_CC" && break
2879 if test "x$ac_ct_CC" = x; then
2882 case $cross_compiling:$ac_tool_warned in
2884 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2886 ac_tool_warned=yes ;;
2895 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2897 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2898 See \`config.log' for more details." >&5
2899 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2900 See \`config.log' for more details." >&2;}
2901 { (exit 1); exit 1; }; }; }
2903 # Provide some information about the compiler.
2904 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2907 { (ac_try="$ac_compiler --version >&5"
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2913 $as_echo "$ac_try_echo") >&5
2914 (eval "$ac_compiler --version >&5") 2>&5
2916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }
2918 { (ac_try="$ac_compiler -v >&5"
2920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2924 $as_echo "$ac_try_echo") >&5
2925 (eval "$ac_compiler -v >&5") 2>&5
2927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }
2929 { (ac_try="$ac_compiler -V >&5"
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2935 $as_echo "$ac_try_echo") >&5
2936 (eval "$ac_compiler -V >&5") 2>&5
2938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }
2941 cat >conftest.$ac_ext <<_ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2956 ac_clean_files_save=$ac_clean_files
2957 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2958 # Try to create an executable without -o first, disregard a.out.
2959 # It will help us diagnose broken compilers, and finding out an intuition
2961 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2962 $as_echo_n "checking for C compiler default output file name... " >&6; }
2963 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2965 # The possible output files:
2966 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2969 for ac_file in $ac_files
2972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2973 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2978 if { (ac_try="$ac_link_default"
2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981 *) ac_try_echo=$ac_try;;
2983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2984 $as_echo "$ac_try_echo") >&5
2985 (eval "$ac_link_default") 2>&5
2987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); }; then
2989 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2990 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2991 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2992 # so that the user can short-circuit this test for compilers unknown to
2994 for ac_file in $ac_files ''
2996 test -f "$ac_file" || continue
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3001 # We found the default executable, but exeext='' is most
3005 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3007 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3009 # We set ac_cv_exeext here because the later test for it is not
3010 # safe: cross compilers may not add the suffix if given an `-o'
3011 # argument, so we may need to know it at that point already.
3012 # Even if this section looks crufty: it has the advantage of
3019 test "$ac_cv_exeext" = no && ac_cv_exeext=
3025 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3026 $as_echo "$ac_file" >&6; }
3027 if test -z "$ac_file"; then
3028 $as_echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3031 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3034 See \`config.log' for more details." >&5
3035 $as_echo "$as_me: error: C compiler cannot create executables
3036 See \`config.log' for more details." >&2;}
3037 { (exit 77); exit 77; }; }; }
3040 ac_exeext=$ac_cv_exeext
3042 # Check that the compiler produces executables we can run. If not, either
3043 # the compiler is broken, or we cross compile.
3044 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3045 $as_echo_n "checking whether the C compiler works... " >&6; }
3046 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3047 # If not cross compiling, check that we can run a simple program.
3048 if test "$cross_compiling" != yes; then
3049 if { ac_try='./$ac_file'
3050 { (case "(($ac_try" in
3051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052 *) ac_try_echo=$ac_try;;
3054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3055 $as_echo "$ac_try_echo") >&5
3056 (eval "$ac_try") 2>&5
3058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }; }; then
3062 if test "$cross_compiling" = maybe; then
3065 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3067 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3068 If you meant to cross compile, use \`--host'.
3069 See \`config.log' for more details." >&5
3070 $as_echo "$as_me: error: cannot run C compiled programs.
3071 If you meant to cross compile, use \`--host'.
3072 See \`config.log' for more details." >&2;}
3073 { (exit 1); exit 1; }; }; }
3077 { $as_echo "$as_me:$LINENO: result: yes" >&5
3078 $as_echo "yes" >&6; }
3080 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3081 ac_clean_files=$ac_clean_files_save
3082 # Check that the compiler produces executables we can run. If not, either
3083 # the compiler is broken, or we cross compile.
3084 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3085 $as_echo_n "checking whether we are cross compiling... " >&6; }
3086 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3087 $as_echo "$cross_compiling" >&6; }
3089 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3090 $as_echo_n "checking for suffix of executables... " >&6; }
3091 if { (ac_try="$ac_link"
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3097 $as_echo "$ac_try_echo") >&5
3098 (eval "$ac_link") 2>&5
3100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }; then
3102 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3103 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3104 # work properly (i.e., refer to `conftest.exe'), while it won't with
3106 for ac_file in conftest.exe conftest conftest.*; do
3107 test -f "$ac_file" || continue
3109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3110 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3116 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3119 See \`config.log' for more details." >&5
3120 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3121 See \`config.log' for more details." >&2;}
3122 { (exit 1); exit 1; }; }; }
3125 rm -f conftest$ac_cv_exeext
3126 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3127 $as_echo "$ac_cv_exeext" >&6; }
3129 rm -f conftest.$ac_ext
3130 EXEEXT=$ac_cv_exeext
3132 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3133 $as_echo_n "checking for suffix of object files... " >&6; }
3134 if test "${ac_cv_objext+set}" = set; then
3135 $as_echo_n "(cached) " >&6
3137 cat >conftest.$ac_ext <<_ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3152 rm -f conftest.o conftest.obj
3153 if { (ac_try="$ac_compile"
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3159 $as_echo "$ac_try_echo") >&5
3160 (eval "$ac_compile") 2>&5
3162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; then
3164 for ac_file in conftest.o conftest.obj conftest.*; do
3165 test -f "$ac_file" || continue;
3167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3168 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3173 $as_echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3179 See \`config.log' for more details." >&5
3180 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3181 See \`config.log' for more details." >&2;}
3182 { (exit 1); exit 1; }; }; }
3185 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3187 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3188 $as_echo "$ac_cv_objext" >&6; }
3189 OBJEXT=$ac_cv_objext
3191 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3192 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3193 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3194 $as_echo_n "(cached) " >&6
3196 cat >conftest.$ac_ext <<_ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3214 rm -f conftest.$ac_objext
3215 if { (ac_try="$ac_compile"
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3221 $as_echo "$ac_try_echo") >&5
3222 (eval "$ac_compile") 2>conftest.er1
3224 grep -v '^ *+' conftest.er1 >conftest.err
3226 cat conftest.err >&5
3227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } && {
3229 test -z "$ac_c_werror_flag" ||
3230 test ! -s conftest.err
3231 } && test -s conftest.$ac_objext; then
3234 $as_echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3244 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3245 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3246 if test $ac_compiler_gnu = yes; then
3251 ac_test_CFLAGS=${CFLAGS+set}
3252 ac_save_CFLAGS=$CFLAGS
3253 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3254 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3255 if test "${ac_cv_prog_cc_g+set}" = set; then
3256 $as_echo_n "(cached) " >&6
3258 ac_save_c_werror_flag=$ac_c_werror_flag
3259 ac_c_werror_flag=yes
3262 cat >conftest.$ac_ext <<_ACEOF
3265 cat confdefs.h >>conftest.$ac_ext
3266 cat >>conftest.$ac_ext <<_ACEOF
3267 /* end confdefs.h. */
3277 rm -f conftest.$ac_objext
3278 if { (ac_try="$ac_compile"
3280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281 *) ac_try_echo=$ac_try;;
3283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3284 $as_echo "$ac_try_echo") >&5
3285 (eval "$ac_compile") 2>conftest.er1
3287 grep -v '^ *+' conftest.er1 >conftest.err
3289 cat conftest.err >&5
3290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } && {
3292 test -z "$ac_c_werror_flag" ||
3293 test ! -s conftest.err
3294 } && test -s conftest.$ac_objext; then
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3301 cat >conftest.$ac_ext <<_ACEOF
3304 cat confdefs.h >>conftest.$ac_ext
3305 cat >>conftest.$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3316 rm -f conftest.$ac_objext
3317 if { (ac_try="$ac_compile"
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3323 $as_echo "$ac_try_echo") >&5
3324 (eval "$ac_compile") 2>conftest.er1
3326 grep -v '^ *+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } && {
3331 test -z "$ac_c_werror_flag" ||
3332 test ! -s conftest.err
3333 } && test -s conftest.$ac_objext; then
3336 $as_echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3339 ac_c_werror_flag=$ac_save_c_werror_flag
3341 cat >conftest.$ac_ext <<_ACEOF
3344 cat confdefs.h >>conftest.$ac_ext
3345 cat >>conftest.$ac_ext <<_ACEOF
3346 /* end confdefs.h. */
3356 rm -f conftest.$ac_objext
3357 if { (ac_try="$ac_compile"
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3363 $as_echo "$ac_try_echo") >&5
3364 (eval "$ac_compile") 2>conftest.er1
3366 grep -v '^ *+' conftest.er1 >conftest.err
3368 cat conftest.err >&5
3369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); } && {
3371 test -z "$ac_c_werror_flag" ||
3372 test ! -s conftest.err
3373 } && test -s conftest.$ac_objext; then
3376 $as_echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.$ac_ext >&5
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 ac_c_werror_flag=$ac_save_c_werror_flag
3391 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3392 $as_echo "$ac_cv_prog_cc_g" >&6; }
3393 if test "$ac_test_CFLAGS" = set; then
3394 CFLAGS=$ac_save_CFLAGS
3395 elif test $ac_cv_prog_cc_g = yes; then
3396 if test "$GCC" = yes; then
3402 if test "$GCC" = yes; then
3408 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3409 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3410 if test "${ac_cv_prog_cc_c89+set}" = set; then
3411 $as_echo_n "(cached) " >&6
3413 ac_cv_prog_cc_c89=no
3415 cat >conftest.$ac_ext <<_ACEOF
3418 cat confdefs.h >>conftest.$ac_ext
3419 cat >>conftest.$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3423 #include <sys/types.h>
3424 #include <sys/stat.h>
3425 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3426 struct buf { int x; };
3427 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3428 static char *e (p, i)
3434 static char *f (char * (*g) (char **, int), char **p, ...)
3439 s = g (p, va_arg (v,int));
3444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3445 function prototypes and stuff, but not '\xHH' hex character constants.
3446 These don't provoke an error unfortunately, instead are silently treated
3447 as 'x'. The following induces an error, until -std is added to get
3448 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3449 array size at least. It's necessary to write '\x00'==0 to get something
3450 that's true only with -std. */
3451 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3453 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3454 inside strings and character constants. */
3456 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3458 int test (int i, double x);
3459 struct s1 {int (*f) (int a);};
3460 struct s2 {int (*f) (double a);};
3461 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3467 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3472 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3473 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3475 CC="$ac_save_CC $ac_arg"
3476 rm -f conftest.$ac_objext
3477 if { (ac_try="$ac_compile"
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3483 $as_echo "$ac_try_echo") >&5
3484 (eval "$ac_compile") 2>conftest.er1
3486 grep -v '^ *+' conftest.er1 >conftest.err
3488 cat conftest.err >&5
3489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } && {
3491 test -z "$ac_c_werror_flag" ||
3492 test ! -s conftest.err
3493 } && test -s conftest.$ac_objext; then
3494 ac_cv_prog_cc_c89=$ac_arg
3496 $as_echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3502 rm -f core conftest.err conftest.$ac_objext
3503 test "x$ac_cv_prog_cc_c89" != "xno" && break
3505 rm -f conftest.$ac_ext
3510 case "x$ac_cv_prog_cc_c89" in
3512 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3513 $as_echo "none needed" >&6; } ;;
3515 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3516 $as_echo "unsupported" >&6; } ;;
3518 CC="$CC $ac_cv_prog_cc_c89"
3519 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3520 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3525 ac_cpp='$CPP $CPPFLAGS'
3526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3532 ac_cpp='$CPP $CPPFLAGS'
3533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3536 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3537 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3538 # On Suns, sometimes $CPP names a directory.
3539 if test -n "$CPP" && test -d "$CPP"; then
3542 if test -z "$CPP"; then
3543 if test "${ac_cv_prog_CPP+set}" = set; then
3544 $as_echo_n "(cached) " >&6
3546 # Double quotes because CPP needs to be expanded
3547 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3550 for ac_c_preproc_warn_flag in '' yes
3552 # Use a header file that comes with gcc, so configuring glibc
3553 # with a fresh cross-compiler works.
3554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3555 # <limits.h> exists even on freestanding compilers.
3556 # On the NeXT, cc -E runs the code through the compiler's parser,
3557 # not just through cpp. "Syntax error" is here to catch this case.
3558 cat >conftest.$ac_ext <<_ACEOF
3561 cat confdefs.h >>conftest.$ac_ext
3562 cat >>conftest.$ac_ext <<_ACEOF
3563 /* end confdefs.h. */
3565 # include <limits.h>
3567 # include <assert.h>
3571 if { (ac_try="$ac_cpp conftest.$ac_ext"
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3577 $as_echo "$ac_try_echo") >&5
3578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3580 grep -v '^ *+' conftest.er1 >conftest.err
3582 cat conftest.err >&5
3583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } >/dev/null && {
3585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3586 test ! -s conftest.err
3590 $as_echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.$ac_ext >&5
3593 # Broken: fails on valid input.
3597 rm -f conftest.err conftest.$ac_ext
3599 # OK, works on sane cases. Now check whether nonexistent headers
3600 # can be detected and how.
3601 cat >conftest.$ac_ext <<_ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3607 #include <ac_nonexistent.h>
3609 if { (ac_try="$ac_cpp conftest.$ac_ext"
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3615 $as_echo "$ac_try_echo") >&5
3616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3618 grep -v '^ *+' conftest.er1 >conftest.err
3620 cat conftest.err >&5
3621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); } >/dev/null && {
3623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3624 test ! -s conftest.err
3626 # Broken: success on invalid input.
3629 $as_echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 # Passes both tests.
3637 rm -f conftest.err conftest.$ac_ext
3640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3641 rm -f conftest.err conftest.$ac_ext
3642 if $ac_preproc_ok; then
3654 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3655 $as_echo "$CPP" >&6; }
3657 for ac_c_preproc_warn_flag in '' yes
3659 # Use a header file that comes with gcc, so configuring glibc
3660 # with a fresh cross-compiler works.
3661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3662 # <limits.h> exists even on freestanding compilers.
3663 # On the NeXT, cc -E runs the code through the compiler's parser,
3664 # not just through cpp. "Syntax error" is here to catch this case.
3665 cat >conftest.$ac_ext <<_ACEOF
3668 cat confdefs.h >>conftest.$ac_ext
3669 cat >>conftest.$ac_ext <<_ACEOF
3670 /* end confdefs.h. */
3672 # include <limits.h>
3674 # include <assert.h>
3678 if { (ac_try="$ac_cpp conftest.$ac_ext"
3680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681 *) ac_try_echo=$ac_try;;
3683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3684 $as_echo "$ac_try_echo") >&5
3685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3687 grep -v '^ *+' conftest.er1 >conftest.err
3689 cat conftest.err >&5
3690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } >/dev/null && {
3692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3693 test ! -s conftest.err
3697 $as_echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 # Broken: fails on valid input.
3704 rm -f conftest.err conftest.$ac_ext
3706 # OK, works on sane cases. Now check whether nonexistent headers
3707 # can be detected and how.
3708 cat >conftest.$ac_ext <<_ACEOF
3711 cat confdefs.h >>conftest.$ac_ext
3712 cat >>conftest.$ac_ext <<_ACEOF
3713 /* end confdefs.h. */
3714 #include <ac_nonexistent.h>
3716 if { (ac_try="$ac_cpp conftest.$ac_ext"
3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3722 $as_echo "$ac_try_echo") >&5
3723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3725 grep -v '^ *+' conftest.er1 >conftest.err
3727 cat conftest.err >&5
3728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } >/dev/null && {
3730 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3731 test ! -s conftest.err
3733 # Broken: success on invalid input.
3736 $as_echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3739 # Passes both tests.
3744 rm -f conftest.err conftest.$ac_ext
3747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3748 rm -f conftest.err conftest.$ac_ext
3749 if $ac_preproc_ok; then
3752 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3754 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3755 See \`config.log' for more details." >&5
3756 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3757 See \`config.log' for more details." >&2;}
3758 { (exit 1); exit 1; }; }; }
3762 ac_cpp='$CPP $CPPFLAGS'
3763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3769 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3770 if test "${ac_cv_path_GREP+set}" = set; then
3771 $as_echo_n "(cached) " >&6
3773 if test -z "$GREP"; then
3774 ac_path_GREP_found=false
3775 # Loop through the user's path and test for each of PROGNAME-LIST
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3780 test -z "$as_dir" && as_dir=.
3781 for ac_prog in grep ggrep; do
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3784 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3785 # Check for GNU ac_path_GREP and select it if it is found.
3786 # Check for GNU $ac_path_GREP
3787 case `"$ac_path_GREP" --version 2>&1` in
3789 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3792 $as_echo_n 0123456789 >"conftest.in"
3795 cat "conftest.in" "conftest.in" >"conftest.tmp"
3796 mv "conftest.tmp" "conftest.in"
3797 cp "conftest.in" "conftest.nl"
3798 $as_echo 'GREP' >> "conftest.nl"
3799 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3800 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3801 ac_count=`expr $ac_count + 1`
3802 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3803 # Best one so far, save it but keep looking for a better one
3804 ac_cv_path_GREP="$ac_path_GREP"
3805 ac_path_GREP_max=$ac_count
3807 # 10*(2^10) chars as input seems more than enough
3808 test $ac_count -gt 10 && break
3810 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3813 $ac_path_GREP_found && break 3
3818 if test -z "$ac_cv_path_GREP"; then
3819 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3820 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3821 { (exit 1); exit 1; }; }
3824 ac_cv_path_GREP=$GREP
3828 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3829 $as_echo "$ac_cv_path_GREP" >&6; }
3830 GREP="$ac_cv_path_GREP"
3833 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3834 $as_echo_n "checking for egrep... " >&6; }
3835 if test "${ac_cv_path_EGREP+set}" = set; then
3836 $as_echo_n "(cached) " >&6
3838 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3839 then ac_cv_path_EGREP="$GREP -E"
3841 if test -z "$EGREP"; then
3842 ac_path_EGREP_found=false
3843 # Loop through the user's path and test for each of PROGNAME-LIST
3844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3848 test -z "$as_dir" && as_dir=.
3849 for ac_prog in egrep; do
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3852 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3853 # Check for GNU ac_path_EGREP and select it if it is found.
3854 # Check for GNU $ac_path_EGREP
3855 case `"$ac_path_EGREP" --version 2>&1` in
3857 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3860 $as_echo_n 0123456789 >"conftest.in"
3863 cat "conftest.in" "conftest.in" >"conftest.tmp"
3864 mv "conftest.tmp" "conftest.in"
3865 cp "conftest.in" "conftest.nl"
3866 $as_echo 'EGREP' >> "conftest.nl"
3867 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3868 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3869 ac_count=`expr $ac_count + 1`
3870 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3871 # Best one so far, save it but keep looking for a better one
3872 ac_cv_path_EGREP="$ac_path_EGREP"
3873 ac_path_EGREP_max=$ac_count
3875 # 10*(2^10) chars as input seems more than enough
3876 test $ac_count -gt 10 && break
3878 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3881 $ac_path_EGREP_found && break 3
3886 if test -z "$ac_cv_path_EGREP"; then
3887 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3888 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3889 { (exit 1); exit 1; }; }
3892 ac_cv_path_EGREP=$EGREP
3897 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3898 $as_echo "$ac_cv_path_EGREP" >&6; }
3899 EGREP="$ac_cv_path_EGREP"
3902 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3903 $as_echo_n "checking for ANSI C header files... " >&6; }
3904 if test "${ac_cv_header_stdc+set}" = set; then
3905 $as_echo_n "(cached) " >&6
3907 cat >conftest.$ac_ext <<_ACEOF
3910 cat confdefs.h >>conftest.$ac_ext
3911 cat >>conftest.$ac_ext <<_ACEOF
3912 /* end confdefs.h. */
3926 rm -f conftest.$ac_objext
3927 if { (ac_try="$ac_compile"
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3933 $as_echo "$ac_try_echo") >&5
3934 (eval "$ac_compile") 2>conftest.er1
3936 grep -v '^ *+' conftest.er1 >conftest.err
3938 cat conftest.err >&5
3939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); } && {
3941 test -z "$ac_c_werror_flag" ||
3942 test ! -s conftest.err
3943 } && test -s conftest.$ac_objext; then
3944 ac_cv_header_stdc=yes
3946 $as_echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5
3949 ac_cv_header_stdc=no
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 if test $ac_cv_header_stdc = yes; then
3955 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3956 cat >conftest.$ac_ext <<_ACEOF
3959 cat confdefs.h >>conftest.$ac_ext
3960 cat >>conftest.$ac_ext <<_ACEOF
3961 /* end confdefs.h. */
3965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3966 $EGREP "memchr" >/dev/null 2>&1; then
3969 ac_cv_header_stdc=no
3975 if test $ac_cv_header_stdc = yes; then
3976 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3977 cat >conftest.$ac_ext <<_ACEOF
3980 cat confdefs.h >>conftest.$ac_ext
3981 cat >>conftest.$ac_ext <<_ACEOF
3982 /* end confdefs.h. */
3986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3987 $EGREP "free" >/dev/null 2>&1; then
3990 ac_cv_header_stdc=no
3996 if test $ac_cv_header_stdc = yes; then
3997 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3998 if test "$cross_compiling" = yes; then
4001 cat >conftest.$ac_ext <<_ACEOF
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4009 #if ((' ' & 0x0FF) == 0x020)
4010 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4011 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4013 # define ISLOWER(c) \
4014 (('a' <= (c) && (c) <= 'i') \
4015 || ('j' <= (c) && (c) <= 'r') \
4016 || ('s' <= (c) && (c) <= 'z'))
4017 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4020 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4025 for (i = 0; i < 256; i++)
4026 if (XOR (islower (i), ISLOWER (i))
4027 || toupper (i) != TOUPPER (i))
4032 rm -f conftest$ac_exeext
4033 if { (ac_try="$ac_link"
4035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4039 $as_echo "$ac_try_echo") >&5
4040 (eval "$ac_link") 2>&5
4042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4044 { (case "(($ac_try" in
4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4049 $as_echo "$ac_try_echo") >&5
4050 (eval "$ac_try") 2>&5
4052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; }; then
4056 $as_echo "$as_me: program exited with status $ac_status" >&5
4057 $as_echo "$as_me: failed program was:" >&5
4058 sed 's/^/| /' conftest.$ac_ext >&5
4061 ac_cv_header_stdc=no
4063 rm -rf conftest.dSYM
4064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4070 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4071 $as_echo "$ac_cv_header_stdc" >&6; }
4072 if test $ac_cv_header_stdc = yes; then
4074 cat >>confdefs.h <<\_ACEOF
4075 #define STDC_HEADERS 1
4080 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4090 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4091 inttypes.h stdint.h unistd.h
4093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4094 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4095 $as_echo_n "checking for $ac_header... " >&6; }
4096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4097 $as_echo_n "(cached) " >&6
4099 cat >conftest.$ac_ext <<_ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4105 $ac_includes_default
4107 #include <$ac_header>
4109 rm -f conftest.$ac_objext
4110 if { (ac_try="$ac_compile"
4112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113 *) ac_try_echo=$ac_try;;
4115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4116 $as_echo "$ac_try_echo") >&5
4117 (eval "$ac_compile") 2>conftest.er1
4119 grep -v '^ *+' conftest.er1 >conftest.err
4121 cat conftest.err >&5
4122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); } && {
4124 test -z "$ac_c_werror_flag" ||
4125 test ! -s conftest.err
4126 } && test -s conftest.$ac_objext; then
4127 eval "$as_ac_Header=yes"
4129 $as_echo "$as_me: failed program was:" >&5
4130 sed 's/^/| /' conftest.$ac_ext >&5
4132 eval "$as_ac_Header=no"
4135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 ac_res=`eval 'as_val=${'$as_ac_Header'}
4138 $as_echo "$as_val"'`
4139 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4140 $as_echo "$ac_res" >&6; }
4141 as_val=`eval 'as_val=${'$as_ac_Header'}
4142 $as_echo "$as_val"'`
4143 if test "x$as_val" = x""yes; then
4144 cat >>confdefs.h <<_ACEOF
4145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4154 if test "${ac_cv_header_minix_config_h+set}" = set; then
4155 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4156 $as_echo_n "checking for minix/config.h... " >&6; }
4157 if test "${ac_cv_header_minix_config_h+set}" = set; then
4158 $as_echo_n "(cached) " >&6
4160 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4161 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4163 # Is the header compilable?
4164 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4165 $as_echo_n "checking minix/config.h usability... " >&6; }
4166 cat >conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 $ac_includes_default
4173 #include <minix/config.h>
4175 rm -f conftest.$ac_objext
4176 if { (ac_try="$ac_compile"
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4182 $as_echo "$ac_try_echo") >&5
4183 (eval "$ac_compile") 2>conftest.er1
4185 grep -v '^ *+' conftest.er1 >conftest.err
4187 cat conftest.err >&5
4188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); } && {
4190 test -z "$ac_c_werror_flag" ||
4191 test ! -s conftest.err
4192 } && test -s conftest.$ac_objext; then
4193 ac_header_compiler=yes
4195 $as_echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.$ac_ext >&5
4198 ac_header_compiler=no
4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4203 $as_echo "$ac_header_compiler" >&6; }
4205 # Is the header present?
4206 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4207 $as_echo_n "checking minix/config.h presence... " >&6; }
4208 cat >conftest.$ac_ext <<_ACEOF
4211 cat confdefs.h >>conftest.$ac_ext
4212 cat >>conftest.$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4214 #include <minix/config.h>
4216 if { (ac_try="$ac_cpp conftest.$ac_ext"
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4222 $as_echo "$ac_try_echo") >&5
4223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4225 grep -v '^ *+' conftest.er1 >conftest.err
4227 cat conftest.err >&5
4228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } >/dev/null && {
4230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4231 test ! -s conftest.err
4233 ac_header_preproc=yes
4235 $as_echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.$ac_ext >&5
4238 ac_header_preproc=no
4241 rm -f conftest.err conftest.$ac_ext
4242 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4243 $as_echo "$ac_header_preproc" >&6; }
4245 # So? What about this header?
4246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4248 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4249 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4250 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4251 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4252 ac_header_preproc=yes
4255 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4256 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4257 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4258 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4259 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4260 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4261 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4262 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4263 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4264 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4265 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4266 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4268 ## ------------------------------- ##
4269 ## Report this to www.asterisk.org ##
4270 ## ------------------------------- ##
4272 ) | sed "s/^/$as_me: WARNING: /" >&2
4275 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4276 $as_echo_n "checking for minix/config.h... " >&6; }
4277 if test "${ac_cv_header_minix_config_h+set}" = set; then
4278 $as_echo_n "(cached) " >&6
4280 ac_cv_header_minix_config_h=$ac_header_preproc
4282 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4283 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4286 if test "x$ac_cv_header_minix_config_h" = x""yes; then
4293 if test "$MINIX" = yes; then
4295 cat >>confdefs.h <<\_ACEOF
4296 #define _POSIX_SOURCE 1
4300 cat >>confdefs.h <<\_ACEOF
4301 #define _POSIX_1_SOURCE 2
4305 cat >>confdefs.h <<\_ACEOF
4313 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4314 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4315 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4316 $as_echo_n "(cached) " >&6
4318 cat >conftest.$ac_ext <<_ACEOF
4321 cat confdefs.h >>conftest.$ac_ext
4322 cat >>conftest.$ac_ext <<_ACEOF
4323 /* end confdefs.h. */
4325 # define __EXTENSIONS__ 1
4326 $ac_includes_default
4335 rm -f conftest.$ac_objext
4336 if { (ac_try="$ac_compile"
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4342 $as_echo "$ac_try_echo") >&5
4343 (eval "$ac_compile") 2>conftest.er1
4345 grep -v '^ *+' conftest.er1 >conftest.err
4347 cat conftest.err >&5
4348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } && {
4350 test -z "$ac_c_werror_flag" ||
4351 test ! -s conftest.err
4352 } && test -s conftest.$ac_objext; then
4353 ac_cv_safe_to_define___extensions__=yes
4355 $as_echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.$ac_ext >&5
4358 ac_cv_safe_to_define___extensions__=no
4361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4364 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4365 test $ac_cv_safe_to_define___extensions__ = yes &&
4366 cat >>confdefs.h <<\_ACEOF
4367 #define __EXTENSIONS__ 1
4370 cat >>confdefs.h <<\_ACEOF
4371 #define _ALL_SOURCE 1
4374 cat >>confdefs.h <<\_ACEOF
4375 #define _GNU_SOURCE 1
4378 cat >>confdefs.h <<\_ACEOF
4379 #define _POSIX_PTHREAD_SEMANTICS 1
4382 cat >>confdefs.h <<\_ACEOF
4383 #define _TANDEM_SOURCE 1
4386 # note- does not work on FreeBSD
4388 case "${host_os}" in
4390 ac_default_prefix=/usr/local
4391 CPPFLAGS=-I/usr/local/include
4392 LDFLAGS=-L/usr/local/lib
4395 ac_default_prefix=/usr/local
4396 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4397 if test ${sysconfdir} = '${prefix}/etc'; then
4400 if test ${mandir} = '${prefix}/man'; then
4401 mandir=/usr/share/man
4404 CPPFLAGS=-I/usr/local/include
4405 LDFLAGS=-L/usr/local/lib
4409 cat >>confdefs.h <<\_ACEOF
4410 #define AST_POLL_COMPAT 1
4415 ac_default_prefix=/usr
4416 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4417 if test ${sysconfdir} = '${prefix}/etc'; then
4420 if test ${mandir} = '${prefix}/man'; then
4421 mandir=/usr/share/man
4427 if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
4428 if test ${localstatedir} = '${prefix}/var'; then
4433 BUILD_PLATFORM=${build}
4434 BUILD_CPU=${build_cpu}
4435 BUILD_VENDOR=${build_vendor}
4436 BUILD_OS=${build_os}
4443 HOST_PLATFORM=${host}
4444 HOST_CPU=${host_cpu}
4445 HOST_VENDOR=${host_vendor}
4455 case "${host_os}" in
4488 if test -n "$ac_tool_prefix"; then
4489 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4490 set dummy ${ac_tool_prefix}uname; ac_word=$2
4491 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if test "${ac_cv_path_UNAME+set}" = set; then
4494 $as_echo_n "(cached) " >&6
4498 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 test -z "$as_dir" && as_dir=.
4506 for ac_exec_ext in '' $ac_executable_extensions; do
4507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4508 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4509 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 UNAME=$ac_cv_path_UNAME
4520 if test -n "$UNAME"; then
4521 { $as_echo "$as_me:$LINENO: result: $UNAME" >&5
4522 $as_echo "$UNAME" >&6; }
4524 { $as_echo "$as_me:$LINENO: result: no" >&5
4525 $as_echo "no" >&6; }
4530 if test -z "$ac_cv_path_UNAME"; then
4532 # Extract the first word of "uname", so it can be a program name with args.
4533 set dummy uname; ac_word=$2
4534 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4535 $as_echo_n "checking for $ac_word... " >&6; }
4536 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4537 $as_echo_n "(cached) " >&6
4539 case $ac_pt_UNAME in
4541 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4552 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4563 if test -n "$ac_pt_UNAME"; then
4564 { $as_echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4565 $as_echo "$ac_pt_UNAME" >&6; }
4567 { $as_echo "$as_me:$LINENO: result: no" >&5
4568 $as_echo "no" >&6; }
4571 if test "x$ac_pt_UNAME" = x; then
4574 case $cross_compiling:$ac_tool_warned in
4576 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4578 ac_tool_warned=yes ;;
4583 UNAME="$ac_cv_path_UNAME"
4586 if test ! x"${UNAME}" = xNo; then
4587 PBX_OSREV=$(${UNAME} -r)
4597 # cross-compile checks
4598 if test "${cross_compiling}" = "yes";
4600 if test -n "$ac_tool_prefix"; then
4601 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4602 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4603 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if test "${ac_cv_prog_CC+set}" = set; then
4606 $as_echo_n "(cached) " >&6
4608 if test -n "$CC"; then
4609 ac_cv_prog_CC="$CC" # Let the user override the test.
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4618 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4619 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 if test -n "$CC"; then
4630 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4631 $as_echo "$CC" >&6; }
4633 { $as_echo "$as_me:$LINENO: result: no" >&5
4634 $as_echo "no" >&6; }
4639 if test -z "$ac_cv_prog_CC"; then
4641 # Extract the first word of "gcc", so it can be a program name with args.
4642 set dummy gcc; ac_word=$2
4643 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4646 $as_echo_n "(cached) " >&6
4648 if test -n "$ac_ct_CC"; then
4649 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir=.
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4658 ac_cv_prog_ac_ct_CC="gcc"
4659 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4669 if test -n "$ac_ct_CC"; then
4670 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4671 $as_echo "$ac_ct_CC" >&6; }
4673 { $as_echo "$as_me:$LINENO: result: no" >&5
4674 $as_echo "no" >&6; }
4677 if test "x$ac_ct_CC" = x; then
4680 case $cross_compiling:$ac_tool_warned in
4682 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4684 ac_tool_warned=yes ;;
4692 if test -n "$ac_tool_prefix"; then
4693 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4694 set dummy ${ac_tool_prefix}g++; ac_word=$2
4695 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if test "${ac_cv_prog_CXX+set}" = set; then
4698 $as_echo_n "(cached) " >&6
4700 if test -n "$CXX"; then
4701 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4710 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4711 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 if test -n "$CXX"; then
4722 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
4723 $as_echo "$CXX" >&6; }
4725 { $as_echo "$as_me:$LINENO: result: no" >&5
4726 $as_echo "no" >&6; }
4731 if test -z "$ac_cv_prog_CXX"; then
4733 # Extract the first word of "g++", so it can be a program name with args.
4734 set dummy g++; ac_word=$2
4735 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4736 $as_echo_n "checking for $ac_word... " >&6; }
4737 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4738 $as_echo_n "(cached) " >&6
4740 if test -n "$ac_ct_CXX"; then
4741 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 test -z "$as_dir" && as_dir=.
4748 for ac_exec_ext in '' $ac_executable_extensions; do
4749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4750 ac_cv_prog_ac_ct_CXX="g++"
4751 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4760 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4761 if test -n "$ac_ct_CXX"; then
4762 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4763 $as_echo "$ac_ct_CXX" >&6; }
4765 { $as_echo "$as_me:$LINENO: result: no" >&5
4766 $as_echo "no" >&6; }