2 # From configure.ac Revision: 200985 .
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
681 AST_NO_STRICT_OVERFLOW
683 AST_DECLARATION_AFTER_STATEMENT
686 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
687 PBX_PTHREAD_RWLOCK_INITIALIZER
759 SPEEX_PREPROCESS_INCLUDE
1051 program_transform_name
1063 enable_option_checking
1132 enable_internal_poll
1135 ac_precious_vars='build_alias
1150 # Initialize some variables set by options.
1152 ac_init_version=false
1153 ac_unrecognized_opts=
1154 ac_unrecognized_sep=
1155 # The variables have the same names as the options, with
1156 # dashes changed to underlines.
1157 cache_file=/dev/null
1164 program_transform_name=s,x,x,
1172 # Installation directory options.
1173 # These are left unexpanded so users can "make install exec_prefix=/foo"
1174 # and all the variables that are supposed to be based on exec_prefix
1175 # by default will actually change.
1176 # Use braces instead of parens because sh, perl, etc. also accept them.
1177 # (The list follows the same order as the GNU Coding Standards.)
1178 bindir='${exec_prefix}/bin'
1179 sbindir='${exec_prefix}/sbin'
1180 libexecdir='${exec_prefix}/libexec'
1181 datarootdir='${prefix}/share'
1182 datadir='${datarootdir}'
1183 sysconfdir='${prefix}/etc'
1184 sharedstatedir='${prefix}/com'
1185 localstatedir='${prefix}/var'
1186 includedir='${prefix}/include'
1187 oldincludedir='/usr/include'
1188 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1189 infodir='${datarootdir}/info'
1194 libdir='${exec_prefix}/lib'
1195 localedir='${datarootdir}/locale'
1196 mandir='${datarootdir}/man'
1202 # If the previous option needs an argument, assign it.
1203 if test -n "$ac_prev"; then
1204 eval $ac_prev=\$ac_option
1210 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1214 # Accept the important Cygnus configure options, so we can diagnose typos.
1216 case $ac_dashdash$ac_option in
1220 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1222 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1223 bindir=$ac_optarg ;;
1225 -build | --build | --buil | --bui | --bu)
1226 ac_prev=build_alias ;;
1227 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1228 build_alias=$ac_optarg ;;
1230 -cache-file | --cache-file | --cache-fil | --cache-fi \
1231 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1232 ac_prev=cache_file ;;
1233 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1234 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1235 cache_file=$ac_optarg ;;
1237 --config-cache | -C)
1238 cache_file=config.cache ;;
1240 -datadir | --datadir | --datadi | --datad)
1242 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1243 datadir=$ac_optarg ;;
1245 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1246 | --dataroo | --dataro | --datar)
1247 ac_prev=datarootdir ;;
1248 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1249 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1250 datarootdir=$ac_optarg ;;
1252 -disable-* | --disable-*)
1253 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1257 { (exit 1); exit 1; }; }
1258 ac_useropt_orig=$ac_useropt
1259 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1260 case $ac_user_opts in
1262 "enable_$ac_useropt"
1264 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1265 ac_unrecognized_sep=', ';;
1267 eval enable_$ac_useropt=no ;;
1269 -docdir | --docdir | --docdi | --doc | --do)
1271 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1272 docdir=$ac_optarg ;;
1274 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1276 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1277 dvidir=$ac_optarg ;;
1279 -enable-* | --enable-*)
1280 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1283 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1284 { (exit 1); exit 1; }; }
1285 ac_useropt_orig=$ac_useropt
1286 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1289 "enable_$ac_useropt"
1291 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1292 ac_unrecognized_sep=', ';;
1294 eval enable_$ac_useropt=\$ac_optarg ;;
1296 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1297 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1298 | --exec | --exe | --ex)
1299 ac_prev=exec_prefix ;;
1300 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1301 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1302 | --exec=* | --exe=* | --ex=*)
1303 exec_prefix=$ac_optarg ;;
1305 -gas | --gas | --ga | --g)
1306 # Obsolete; use --with-gas.
1309 -help | --help | --hel | --he | -h)
1310 ac_init_help=long ;;
1311 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1312 ac_init_help=recursive ;;
1313 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1314 ac_init_help=short ;;
1316 -host | --host | --hos | --ho)
1317 ac_prev=host_alias ;;
1318 -host=* | --host=* | --hos=* | --ho=*)
1319 host_alias=$ac_optarg ;;
1321 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1323 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1325 htmldir=$ac_optarg ;;
1327 -includedir | --includedir | --includedi | --included | --include \
1328 | --includ | --inclu | --incl | --inc)
1329 ac_prev=includedir ;;
1330 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1331 | --includ=* | --inclu=* | --incl=* | --inc=*)
1332 includedir=$ac_optarg ;;
1334 -infodir | --infodir | --infodi | --infod | --info | --inf)
1336 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1337 infodir=$ac_optarg ;;
1339 -libdir | --libdir | --libdi | --libd)
1341 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1342 libdir=$ac_optarg ;;
1344 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1345 | --libexe | --libex | --libe)
1346 ac_prev=libexecdir ;;
1347 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1348 | --libexe=* | --libex=* | --libe=*)
1349 libexecdir=$ac_optarg ;;
1351 -localedir | --localedir | --localedi | --localed | --locale)
1352 ac_prev=localedir ;;
1353 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1354 localedir=$ac_optarg ;;
1356 -localstatedir | --localstatedir | --localstatedi | --localstated \
1357 | --localstate | --localstat | --localsta | --localst | --locals)
1358 ac_prev=localstatedir ;;
1359 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1360 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1361 localstatedir=$ac_optarg ;;
1363 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1365 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1366 mandir=$ac_optarg ;;
1368 -nfp | --nfp | --nf)
1369 # Obsolete; use --without-fp.
1372 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1373 | --no-cr | --no-c | -n)
1376 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1377 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1380 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1381 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1382 | --oldin | --oldi | --old | --ol | --o)
1383 ac_prev=oldincludedir ;;
1384 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1385 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1386 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1387 oldincludedir=$ac_optarg ;;
1389 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1391 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1392 prefix=$ac_optarg ;;
1394 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1395 | --program-pre | --program-pr | --program-p)
1396 ac_prev=program_prefix ;;
1397 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1398 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1399 program_prefix=$ac_optarg ;;
1401 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1402 | --program-suf | --program-su | --program-s)
1403 ac_prev=program_suffix ;;
1404 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1405 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1406 program_suffix=$ac_optarg ;;
1408 -program-transform-name | --program-transform-name \
1409 | --program-transform-nam | --program-transform-na \
1410 | --program-transform-n | --program-transform- \
1411 | --program-transform | --program-transfor \
1412 | --program-transfo | --program-transf \
1413 | --program-trans | --program-tran \
1414 | --progr-tra | --program-tr | --program-t)
1415 ac_prev=program_transform_name ;;
1416 -program-transform-name=* | --program-transform-name=* \
1417 | --program-transform-nam=* | --program-transform-na=* \
1418 | --program-transform-n=* | --program-transform-=* \
1419 | --program-transform=* | --program-transfor=* \
1420 | --program-transfo=* | --program-transf=* \
1421 | --program-trans=* | --program-tran=* \
1422 | --progr-tra=* | --program-tr=* | --program-t=*)
1423 program_transform_name=$ac_optarg ;;
1425 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1427 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1428 pdfdir=$ac_optarg ;;
1430 -psdir | --psdir | --psdi | --psd | --ps)
1432 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1435 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1436 | -silent | --silent | --silen | --sile | --sil)
1439 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1441 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1443 sbindir=$ac_optarg ;;
1445 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1446 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1447 | --sharedst | --shareds | --shared | --share | --shar \
1449 ac_prev=sharedstatedir ;;
1450 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1451 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1452 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1454 sharedstatedir=$ac_optarg ;;
1456 -site | --site | --sit)
1458 -site=* | --site=* | --sit=*)
1461 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1463 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1464 srcdir=$ac_optarg ;;
1466 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1467 | --syscon | --sysco | --sysc | --sys | --sy)
1468 ac_prev=sysconfdir ;;
1469 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1470 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1471 sysconfdir=$ac_optarg ;;
1473 -target | --target | --targe | --targ | --tar | --ta | --t)
1474 ac_prev=target_alias ;;
1475 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1476 target_alias=$ac_optarg ;;
1478 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1481 -version | --version | --versio | --versi | --vers | -V)
1482 ac_init_version=: ;;
1485 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1486 # Reject names that are not valid shell variable names.
1487 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1488 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1489 { (exit 1); exit 1; }; }
1490 ac_useropt_orig=$ac_useropt
1491 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1492 case $ac_user_opts in
1496 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1497 ac_unrecognized_sep=', ';;
1499 eval with_$ac_useropt=\$ac_optarg ;;
1501 -without-* | --without-*)
1502 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1503 # Reject names that are not valid shell variable names.
1504 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1505 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1506 { (exit 1); exit 1; }; }
1507 ac_useropt_orig=$ac_useropt
1508 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1509 case $ac_user_opts in
1513 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1514 ac_unrecognized_sep=', ';;
1516 eval with_$ac_useropt=no ;;
1519 # Obsolete; use --with-x.
1522 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1523 | --x-incl | --x-inc | --x-in | --x-i)
1524 ac_prev=x_includes ;;
1525 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1526 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1527 x_includes=$ac_optarg ;;
1529 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1530 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1531 ac_prev=x_libraries ;;
1532 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1533 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1534 x_libraries=$ac_optarg ;;
1536 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1537 Try \`$0 --help' for more information." >&2
1538 { (exit 1); exit 1; }; }
1542 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1543 # Reject names that are not valid shell variable names.
1544 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1545 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1546 { (exit 1); exit 1; }; }
1547 eval $ac_envvar=\$ac_optarg
1548 export $ac_envvar ;;
1551 # FIXME: should be removed in autoconf 3.0.
1552 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1553 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1554 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1555 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1561 if test -n "$ac_prev"; then
1562 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1563 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1564 { (exit 1); exit 1; }; }
1567 if test -n "$ac_unrecognized_opts"; then
1568 case $enable_option_checking in
1570 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1571 { (exit 1); exit 1; }; } ;;
1572 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1576 # Check all directory arguments for consistency.
1577 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1578 datadir sysconfdir sharedstatedir localstatedir includedir \
1579 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1580 libdir localedir mandir
1582 eval ac_val=\$$ac_var
1583 # Remove trailing slashes.
1586 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1587 eval $ac_var=\$ac_val;;
1589 # Be sure to have absolute directory names.
1591 [\\/$]* | ?:[\\/]* ) continue;;
1592 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1594 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1595 { (exit 1); exit 1; }; }
1598 # There might be people who depend on the old broken behavior: `$host'
1599 # used to hold the argument of --host etc.
1600 # FIXME: To remove some day.
1603 target=$target_alias
1605 # FIXME: To remove some day.
1606 if test "x$host_alias" != x; then
1607 if test "x$build_alias" = x; then
1608 cross_compiling=maybe
1609 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1610 If a cross compiler is detected then cross compile mode will be used." >&2
1611 elif test "x$build_alias" != "x$host_alias"; then
1617 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1619 test "$silent" = yes && exec 6>/dev/null
1622 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1623 ac_ls_di=`ls -di .` &&
1624 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1625 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1626 { (exit 1); exit 1; }; }
1627 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1628 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1629 { (exit 1); exit 1; }; }
1632 # Find the source files, if location was not specified.
1633 if test -z "$srcdir"; then
1634 ac_srcdir_defaulted=yes
1635 # Try the directory containing this script, then the parent directory.
1636 ac_confdir=`$as_dirname -- "$as_myself" ||
1637 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1638 X"$as_myself" : 'X\(//\)[^/]' \| \
1639 X"$as_myself" : 'X\(//\)$' \| \
1640 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1641 $as_echo X"$as_myself" |
1642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1660 if test ! -r "$srcdir/$ac_unique_file"; then
1664 ac_srcdir_defaulted=no
1666 if test ! -r "$srcdir/$ac_unique_file"; then
1667 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1668 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1669 { (exit 1); exit 1; }; }
1671 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1673 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1674 { (exit 1); exit 1; }; }
1676 # When building in place, set srcdir=.
1677 if test "$ac_abs_confdir" = "$ac_pwd"; then
1680 # Remove unnecessary trailing slashes from srcdir.
1681 # Double slashes in file names in object file debugging info
1682 # mess up M-x gdb in Emacs.
1684 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1686 for ac_var in $ac_precious_vars; do
1687 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1688 eval ac_env_${ac_var}_value=\$${ac_var}
1689 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1690 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1694 # Report the --help message.
1696 if test "$ac_init_help" = "long"; then
1697 # Omit some internal or obsolete options to make the list less imposing.
1698 # This message is too long to be a string in the A/UX 3.1 sh.
1700 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1702 Usage: $0 [OPTION]... [VAR=VALUE]...
1704 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1705 VAR=VALUE. See below for descriptions of some of the useful variables.
1707 Defaults for the options are specified in brackets.
1710 -h, --help display this help and exit
1711 --help=short display options specific to this package
1712 --help=recursive display the short help of all the included packages
1713 -V, --version display version information and exit
1714 -q, --quiet, --silent do not print \`checking...' messages
1715 --cache-file=FILE cache test results in FILE [disabled]
1716 -C, --config-cache alias for \`--cache-file=config.cache'
1717 -n, --no-create do not create output files
1718 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1720 Installation directories:
1721 --prefix=PREFIX install architecture-independent files in PREFIX
1722 [$ac_default_prefix]
1723 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1726 By default, \`make install' will install all the files in
1727 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1728 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1729 for instance \`--prefix=\$HOME'.
1731 For better control, use the options below.
1733 Fine tuning of the installation directories:
1734 --bindir=DIR user executables [EPREFIX/bin]
1735 --sbindir=DIR system admin executables [EPREFIX/sbin]
1736 --libexecdir=DIR program executables [EPREFIX/libexec]
1737 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1738 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1739 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1740 --libdir=DIR object code libraries [EPREFIX/lib]
1741 --includedir=DIR C header files [PREFIX/include]
1742 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1743 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1744 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1745 --infodir=DIR info documentation [DATAROOTDIR/info]
1746 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1747 --mandir=DIR man documentation [DATAROOTDIR/man]
1748 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1749 --htmldir=DIR html documentation [DOCDIR]
1750 --dvidir=DIR dvi documentation [DOCDIR]
1751 --pdfdir=DIR pdf documentation [DOCDIR]
1752 --psdir=DIR ps documentation [DOCDIR]
1758 --build=BUILD configure for building on BUILD [guessed]
1759 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1763 if test -n "$ac_init_help"; then
1764 case $ac_init_help in
1765 short | recursive ) echo "Configuration of asterisk 1.6:";;
1770 --disable-option-checking ignore unrecognized --enable/--with options
1771 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1772 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1773 --enable-dev-mode Turn on developer mode
1774 --disable-largefile omit support for large files
1775 --enable-internal-poll Use Asterisk's poll implementation
1776 --disable-xmldoc Explicity disable XML documentation
1779 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1780 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1781 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1782 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1783 --with-execinfo=PATH use Stack Backtrace support files in PATH
1784 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1785 --with-curl=PATH use cURL files in PATH
1786 --with-curses=PATH use curses files in PATH
1787 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1788 --with-dahdi=PATH use DAHDI files in PATH
1789 --with-avcodec=PATH use Ffmpeg and avcodec library files in PATH
1790 --with-gsm=PATH use External GSM library files in PATH, use
1791 'internal' GSM otherwise
1792 --with-gtk=PATH use gtk libraries files in PATH
1793 --with-gtk2=PATH use gtk2 libraries files in PATH
1794 --with-gmime=PATH use GMime library files in PATH
1795 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1796 --with-ical=PATH use ical libraries files in PATH
1797 --with-iconv=PATH use Iconv Library files in PATH
1798 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1799 --with-imap=PATH use UW IMAP Toolkit files in PATH
1800 --with-inotify=PATH use inotify support files in PATH
1801 --with-iodbc=PATH use iODBC files in PATH
1802 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1803 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1804 --with-ldap=PATH use OpenLDAP files in PATH
1805 --with-libxml2=PATH use LibXML2 files in PATH
1806 --with-ltdl=PATH use libtool files in PATH
1807 --with-lua=PATH use Lua files in PATH
1808 --with-misdn=PATH use mISDN User Library files in PATH
1809 --with-nbs=PATH use Network Broadcast Sound files in PATH
1810 --with-ncurses=PATH use ncurses files in PATH
1811 --with-neon=PATH use neon files in PATH
1812 --with-netsnmp=PATH use Net-SNMP files in PATH
1813 --with-newt=PATH use newt files in PATH
1814 --with-ogg=PATH use OGG files in PATH
1815 --with-osptk=PATH use OSP Toolkit files in PATH
1816 --with-oss=PATH use Open Sound System files in PATH
1817 --with-postgres=PATH use PostgreSQL files in PATH
1818 --with-popt=PATH use popt files in PATH
1819 --with-portaudio=PATH use PortAudio files in PATH
1820 --with-pri=PATH use ISDN PRI files in PATH
1821 --with-resample=PATH use LIBRESAMPLE files in PATH
1822 --with-spandsp=PATH use SPANDSP files in PATH
1823 --with-ss7=PATH use ISDN SS7 files in PATH
1824 --with-openr2=PATH use MFR2 files in PATH
1825 --with-pwlib=PATH use PWlib files in PATH
1826 --with-h323=PATH use OpenH323 files in PATH
1827 --with-radius=PATH use Radius Client files in PATH
1828 --with-sdl=PATH use Sdl files in PATH
1829 --with-SDL_image=PATH use Sdl Image library files in PATH
1830 --with-openais=PATH use OpenAIS files in PATH
1831 --with-speex=PATH use Speex files in PATH
1832 --with-speex=PATH use Speex preprocess routines files in PATH
1833 --with-speexdsp=PATH use Speexdsp files in PATH
1834 --with-sqlite=PATH use SQLite files in PATH
1835 --with-sqlite3=PATH use SQLite files in PATH
1836 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1837 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1839 --with-tds=PATH use FreeTDS files in PATH
1840 --with-termcap=PATH use Termcap files in PATH
1841 --with-tinfo=PATH use Term Info files in PATH
1842 --with-tonezone=PATH use tonezone files in PATH
1843 --with-unixodbc=PATH use unixODBC files in PATH
1844 --with-usb=PATH use usb files in PATH
1845 --with-vorbis=PATH use Vorbis files in PATH
1846 --with-vpb=PATH use Voicetronix API files in PATH
1847 --with-x11=PATH use X11 support files in PATH
1848 --with-z=PATH use zlib files in PATH
1849 --with-timerfd=PATH use timerfd files in PATH
1851 Some influential environment variables:
1852 CC C compiler command
1853 CFLAGS C compiler flags
1854 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1855 nonstandard directory <lib dir>
1856 LIBS libraries to pass to the linker, e.g. -l<library>
1857 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1858 you have headers in a nonstandard directory <include dir>
1860 CXX C++ compiler command
1861 CXXFLAGS C++ compiler flags
1862 CXXCPP C++ preprocessor
1864 Use these variables to override the choices made by `configure' or to help
1865 it to find libraries and programs with nonstandard names/locations.
1867 Report bugs to <www.asterisk.org>.
1872 if test "$ac_init_help" = "recursive"; then
1873 # If there are subdirs, report their specific --help.
1874 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1875 test -d "$ac_dir" ||
1876 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1881 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1883 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1884 # A ".." for each directory in $ac_dir_suffix.
1885 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1886 case $ac_top_builddir_sub in
1887 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1888 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1891 ac_abs_top_builddir=$ac_pwd
1892 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1893 # for backward compatibility:
1894 ac_top_builddir=$ac_top_build_prefix
1897 .) # We are building in place.
1899 ac_top_srcdir=$ac_top_builddir_sub
1900 ac_abs_top_srcdir=$ac_pwd ;;
1901 [\\/]* | ?:[\\/]* ) # Absolute name.
1902 ac_srcdir=$srcdir$ac_dir_suffix;
1903 ac_top_srcdir=$srcdir
1904 ac_abs_top_srcdir=$srcdir ;;
1906 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1907 ac_top_srcdir=$ac_top_build_prefix$srcdir
1908 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1910 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1912 cd "$ac_dir" || { ac_status=$?; continue; }
1913 # Check for guested configure.
1914 if test -f "$ac_srcdir/configure.gnu"; then
1916 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1917 elif test -f "$ac_srcdir/configure"; then
1919 $SHELL "$ac_srcdir/configure" --help=recursive
1921 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1923 cd "$ac_pwd" || { ac_status=$?; break; }
1927 test -n "$ac_init_help" && exit $ac_status
1928 if $ac_init_version; then
1930 asterisk configure 1.6
1931 generated by GNU Autoconf 2.63
1933 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1934 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1935 This configure script is free software; the Free Software Foundation
1936 gives unlimited permission to copy, distribute and modify it.
1942 cat >config.log <<_ACEOF
1943 This file contains any messages produced by compilers while
1944 running configure, to aid debugging if configure makes a mistake.
1946 It was created by asterisk $as_me 1.6, which was
1947 generated by GNU Autoconf 2.63. Invocation command line was
1959 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1960 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1961 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1962 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1963 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1965 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1966 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1968 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1969 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1970 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1971 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1972 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1973 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1974 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir=.
1983 $as_echo "PATH: $as_dir"
1999 # Keep a trace of the command line.
2000 # Strip out --no-create and --no-recursion so they do not pile up.
2001 # Strip out --silent because we don't want to record it for future runs.
2002 # Also quote any args containing shell meta-characters.
2003 # Make two passes to allow for proper duplicate-argument suppression.
2007 ac_must_keep_next=false
2013 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2015 | -silent | --silent | --silen | --sile | --sil)
2018 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2021 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2023 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2024 if test $ac_must_keep_next = true; then
2025 ac_must_keep_next=false # Got value, back to normal.
2028 *=* | --config-cache | -C | -disable-* | --disable-* \
2029 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2030 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2031 | -with-* | --with-* | -without-* | --without-* | --x)
2032 case "$ac_configure_args0 " in
2033 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2036 -* ) ac_must_keep_next=true ;;
2039 ac_configure_args="$ac_configure_args '$ac_arg'"
2044 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2045 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2047 # When interrupted or exit'd, cleanup temporary files, and complete
2048 # config.log. We remove comments because anyway the quotes in there
2049 # would cause problems or look ugly.
2050 # WARNING: Use '\'' to represent an apostrophe within the trap.
2051 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2052 trap 'exit_status=$?
2053 # Save into config.log some information that might help in debugging.
2058 ## ---------------- ##
2059 ## Cache variables. ##
2060 ## ---------------- ##
2063 # The following way of writing the cache mishandles newlines in values,
2065 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2066 eval ac_val=\$$ac_var
2070 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2074 _ | IFS | as_nl) ;; #(
2075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2076 *) $as_unset $ac_var ;;
2081 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2082 *${as_nl}ac_space=\ *)
2084 "s/'\''/'\''\\\\'\'''\''/g;
2085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2096 ## ----------------- ##
2097 ## Output variables. ##
2098 ## ----------------- ##
2101 for ac_var in $ac_subst_vars
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2111 if test -n "$ac_subst_files"; then
2113 ## ------------------- ##
2114 ## File substitutions. ##
2115 ## ------------------- ##
2118 for ac_var in $ac_subst_files
2120 eval ac_val=\$$ac_var
2122 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2124 $as_echo "$ac_var='\''$ac_val'\''"
2129 if test -s confdefs.h; then
2139 test "$ac_signal" != 0 &&
2140 $as_echo "$as_me: caught signal $ac_signal"
2141 $as_echo "$as_me: exit $exit_status"
2143 rm -f core *.core core.conftest.* &&
2144 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2147 for ac_signal in 1 2 13 15; do
2148 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2153 rm -f -r conftest* confdefs.h
2155 # Predefined preprocessor variables.
2157 cat >>confdefs.h <<_ACEOF
2158 #define PACKAGE_NAME "$PACKAGE_NAME"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2172 cat >>confdefs.h <<_ACEOF
2173 #define PACKAGE_STRING "$PACKAGE_STRING"
2177 cat >>confdefs.h <<_ACEOF
2178 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2182 # Let the site file select an alternate cache file if it wants to.
2183 # Prefer an explicitly selected file to automatically selected ones.
2186 if test -n "$CONFIG_SITE"; then
2187 ac_site_file1=$CONFIG_SITE
2188 elif test "x$prefix" != xNONE; then
2189 ac_site_file1=$prefix/share/config.site
2190 ac_site_file2=$prefix/etc/config.site
2192 ac_site_file1=$ac_default_prefix/share/config.site
2193 ac_site_file2=$ac_default_prefix/etc/config.site
2195 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2197 test "x$ac_site_file" = xNONE && continue
2198 if test -r "$ac_site_file"; then
2199 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2200 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2201 sed 's/^/| /' "$ac_site_file" >&5
2206 if test -r "$cache_file"; then
2207 # Some versions of bash will fail to source /dev/null (special
2208 # files actually), so we avoid doing that.
2209 if test -f "$cache_file"; then
2210 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2211 $as_echo "$as_me: loading cache $cache_file" >&6;}
2213 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2214 *) . "./$cache_file";;
2218 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2219 $as_echo "$as_me: creating cache $cache_file" >&6;}
2223 ac_header_list="$ac_header_list utime.h"
2224 # Check that the precious variables saved in the cache have kept the same
2226 ac_cache_corrupted=false
2227 for ac_var in $ac_precious_vars; do
2228 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2229 eval ac_new_set=\$ac_env_${ac_var}_set
2230 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2231 eval ac_new_val=\$ac_env_${ac_var}_value
2232 case $ac_old_set,$ac_new_set in
2234 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2235 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2236 ac_cache_corrupted=: ;;
2238 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2239 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2240 ac_cache_corrupted=: ;;
2243 if test "x$ac_old_val" != "x$ac_new_val"; then
2244 # differences in whitespace do not lead to failure.
2245 ac_old_val_w=`echo x $ac_old_val`
2246 ac_new_val_w=`echo x $ac_new_val`
2247 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2248 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2249 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2250 ac_cache_corrupted=:
2252 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2253 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2254 eval $ac_var=\$ac_old_val
2256 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2257 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2258 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2259 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2262 # Pass precious variables to config.status.
2263 if test "$ac_new_set" = set; then
2265 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2266 *) ac_arg=$ac_var=$ac_new_val ;;
2268 case " $ac_configure_args " in
2269 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2270 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2274 if $ac_cache_corrupted; then
2275 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2277 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2278 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2279 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2280 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2281 { (exit 1); exit 1; }; }
2309 ac_cpp='$CPP $CPPFLAGS'
2310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2316 # cross-compile macros
2318 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2319 if test -f "$ac_dir/install-sh"; then
2321 ac_install_sh="$ac_aux_dir/install-sh -c"
2323 elif test -f "$ac_dir/install.sh"; then
2325 ac_install_sh="$ac_aux_dir/install.sh -c"
2327 elif test -f "$ac_dir/shtool"; then
2329 ac_install_sh="$ac_aux_dir/shtool install -c"
2333 if test -z "$ac_aux_dir"; then
2334 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2335 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2336 { (exit 1); exit 1; }; }
2339 # These three variables are undocumented and unsupported,
2340 # and are intended to be withdrawn in a future Autoconf release.
2341 # They can cause serious problems if a builder's source tree is in a directory
2342 # whose full name contains unusual characters.
2343 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2344 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2345 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2348 # Make sure we can run config.sub.
2349 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2350 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2351 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2352 { (exit 1); exit 1; }; }
2354 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2355 $as_echo_n "checking build system type... " >&6; }
2356 if test "${ac_cv_build+set}" = set; then
2357 $as_echo_n "(cached) " >&6
2359 ac_build_alias=$build_alias
2360 test "x$ac_build_alias" = x &&
2361 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2362 test "x$ac_build_alias" = x &&
2363 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2364 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2365 { (exit 1); exit 1; }; }
2366 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2367 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2368 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2369 { (exit 1); exit 1; }; }
2372 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2373 $as_echo "$ac_cv_build" >&6; }
2374 case $ac_cv_build in
2376 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2377 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2378 { (exit 1); exit 1; }; };;
2381 ac_save_IFS=$IFS; IFS='-'
2387 # Remember, the first character of IFS is used to create $*,
2388 # except with old shells:
2391 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2394 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2395 $as_echo_n "checking host system type... " >&6; }
2396 if test "${ac_cv_host+set}" = set; then
2397 $as_echo_n "(cached) " >&6
2399 if test "x$host_alias" = x; then
2400 ac_cv_host=$ac_cv_build
2402 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2403 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2404 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2405 { (exit 1); exit 1; }; }
2409 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2410 $as_echo "$ac_cv_host" >&6; }
2413 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2414 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2415 { (exit 1); exit 1; }; };;
2418 ac_save_IFS=$IFS; IFS='-'
2424 # Remember, the first character of IFS is used to create $*,
2425 # except with old shells:
2428 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2432 # check existence of the package
2435 # specify output header file
2436 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2447 if test -n "$ac_tool_prefix"; then
2448 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2449 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2450 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if test "${ac_cv_prog_CC+set}" = set; then
2453 $as_echo_n "(cached) " >&6
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC="$CC" # Let the user override the test.
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2466 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 if test -n "$CC"; then
2477 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2478 $as_echo "$CC" >&6; }
2480 { $as_echo "$as_me:$LINENO: result: no" >&5
2481 $as_echo "no" >&6; }
2486 if test -z "$ac_cv_prog_CC"; then
2488 # Extract the first word of "gcc", so it can be a program name with args.
2489 set dummy gcc; ac_word=$2
2490 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2493 $as_echo_n "(cached) " >&6
2495 if test -n "$ac_ct_CC"; then
2496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_ac_ct_CC="gcc"
2506 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2516 if test -n "$ac_ct_CC"; then
2517 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2518 $as_echo "$ac_ct_CC" >&6; }
2520 { $as_echo "$as_me:$LINENO: result: no" >&5
2521 $as_echo "no" >&6; }
2524 if test "x$ac_ct_CC" = x; then
2527 case $cross_compiling:$ac_tool_warned in
2529 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2531 ac_tool_warned=yes ;;
2539 if test -z "$CC"; then
2540 if test -n "$ac_tool_prefix"; then
2541 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2542 set dummy ${ac_tool_prefix}cc; ac_word=$2
2543 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2544 $as_echo_n "checking for $ac_word... " >&6; }
2545 if test "${ac_cv_prog_CC+set}" = set; then
2546 $as_echo_n "(cached) " >&6
2548 if test -n "$CC"; then
2549 ac_cv_prog_CC="$CC" # Let the user override the test.
2551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir=.
2556 for ac_exec_ext in '' $ac_executable_extensions; do
2557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2558 ac_cv_prog_CC="${ac_tool_prefix}cc"
2559 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 if test -n "$CC"; then
2570 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2571 $as_echo "$CC" >&6; }
2573 { $as_echo "$as_me:$LINENO: result: no" >&5
2574 $as_echo "no" >&6; }
2580 if test -z "$CC"; then
2581 # Extract the first word of "cc", so it can be a program name with args.
2582 set dummy cc; ac_word=$2
2583 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 $as_echo_n "checking for $ac_word... " >&6; }
2585 if test "${ac_cv_prog_CC+set}" = set; then
2586 $as_echo_n "(cached) " >&6
2588 if test -n "$CC"; then
2589 ac_cv_prog_CC="$CC" # Let the user override the test.
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 test -z "$as_dir" && as_dir=.
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2599 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2600 ac_prog_rejected=yes
2604 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 if test $ac_prog_rejected = yes; then
2612 # We found a bogon in the path, so make sure we never use it.
2613 set dummy $ac_cv_prog_CC
2615 if test $# != 0; then
2616 # We chose a different compiler from the bogus one.
2617 # However, it has the same basename, so the bogon will be chosen
2618 # first if we set CC to just the basename; use the full file name.
2620 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2626 if test -n "$CC"; then
2627 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2628 $as_echo "$CC" >&6; }
2630 { $as_echo "$as_me:$LINENO: result: no" >&5
2631 $as_echo "no" >&6; }
2636 if test -z "$CC"; then
2637 if test -n "$ac_tool_prefix"; then
2638 for ac_prog in cl.exe
2640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2641 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2642 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if test "${ac_cv_prog_CC+set}" = set; then
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$CC"; then
2648 ac_cv_prog_CC="$CC" # Let the user override the test.
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2658 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 if test -n "$CC"; then
2669 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2670 $as_echo "$CC" >&6; }
2672 { $as_echo "$as_me:$LINENO: result: no" >&5
2673 $as_echo "no" >&6; }
2677 test -n "$CC" && break
2680 if test -z "$CC"; then
2682 for ac_prog in cl.exe
2684 # Extract the first word of "$ac_prog", so it can be a program name with args.
2685 set dummy $ac_prog; ac_word=$2
2686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2689 $as_echo_n "(cached) " >&6
2691 if test -n "$ac_ct_CC"; then
2692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701 ac_cv_prog_ac_ct_CC="$ac_prog"
2702 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2712 if test -n "$ac_ct_CC"; then
2713 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2714 $as_echo "$ac_ct_CC" >&6; }
2716 { $as_echo "$as_me:$LINENO: result: no" >&5
2717 $as_echo "no" >&6; }
2721 test -n "$ac_ct_CC" && break
2724 if test "x$ac_ct_CC" = x; then
2727 case $cross_compiling:$ac_tool_warned in
2729 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2731 ac_tool_warned=yes ;;
2740 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2742 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2743 See \`config.log' for more details." >&5
2744 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2745 See \`config.log' for more details." >&2;}
2746 { (exit 1); exit 1; }; }; }
2748 # Provide some information about the compiler.
2749 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2752 { (ac_try="$ac_compiler --version >&5"
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2758 $as_echo "$ac_try_echo") >&5
2759 (eval "$ac_compiler --version >&5") 2>&5
2761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }
2763 { (ac_try="$ac_compiler -v >&5"
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2769 $as_echo "$ac_try_echo") >&5
2770 (eval "$ac_compiler -v >&5") 2>&5
2772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }
2774 { (ac_try="$ac_compiler -V >&5"
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2780 $as_echo "$ac_try_echo") >&5
2781 (eval "$ac_compiler -V >&5") 2>&5
2783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }
2786 cat >conftest.$ac_ext <<_ACEOF
2789 cat confdefs.h >>conftest.$ac_ext
2790 cat >>conftest.$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2801 ac_clean_files_save=$ac_clean_files
2802 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2803 # Try to create an executable without -o first, disregard a.out.
2804 # It will help us diagnose broken compilers, and finding out an intuition
2806 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2807 $as_echo_n "checking for C compiler default output file name... " >&6; }
2808 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2810 # The possible output files:
2811 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2814 for ac_file in $ac_files
2817 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2818 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2823 if { (ac_try="$ac_link_default"
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2829 $as_echo "$ac_try_echo") >&5
2830 (eval "$ac_link_default") 2>&5
2832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; then
2834 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2835 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2836 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2837 # so that the user can short-circuit this test for compilers unknown to
2839 for ac_file in $ac_files ''
2841 test -f "$ac_file" || continue
2843 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2846 # We found the default executable, but exeext='' is most
2850 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2852 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2854 # We set ac_cv_exeext here because the later test for it is not
2855 # safe: cross compilers may not add the suffix if given an `-o'
2856 # argument, so we may need to know it at that point already.
2857 # Even if this section looks crufty: it has the advantage of
2864 test "$ac_cv_exeext" = no && ac_cv_exeext=
2870 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2871 $as_echo "$ac_file" >&6; }
2872 if test -z "$ac_file"; then
2873 $as_echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.$ac_ext >&5
2876 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2878 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2879 See \`config.log' for more details." >&5
2880 $as_echo "$as_me: error: C compiler cannot create executables
2881 See \`config.log' for more details." >&2;}
2882 { (exit 77); exit 77; }; }; }
2885 ac_exeext=$ac_cv_exeext
2887 # Check that the compiler produces executables we can run. If not, either
2888 # the compiler is broken, or we cross compile.
2889 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2890 $as_echo_n "checking whether the C compiler works... " >&6; }
2891 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2892 # If not cross compiling, check that we can run a simple program.
2893 if test "$cross_compiling" != yes; then
2894 if { ac_try='./$ac_file'
2895 { (case "(($ac_try" in
2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2900 $as_echo "$ac_try_echo") >&5
2901 (eval "$ac_try") 2>&5
2903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); }; }; then
2907 if test "$cross_compiling" = maybe; then
2910 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2912 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2913 If you meant to cross compile, use \`--host'.
2914 See \`config.log' for more details." >&5
2915 $as_echo "$as_me: error: cannot run C compiled programs.
2916 If you meant to cross compile, use \`--host'.
2917 See \`config.log' for more details." >&2;}
2918 { (exit 1); exit 1; }; }; }
2922 { $as_echo "$as_me:$LINENO: result: yes" >&5
2923 $as_echo "yes" >&6; }
2925 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2926 ac_clean_files=$ac_clean_files_save
2927 # Check that the compiler produces executables we can run. If not, either
2928 # the compiler is broken, or we cross compile.
2929 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2930 $as_echo_n "checking whether we are cross compiling... " >&6; }
2931 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2932 $as_echo "$cross_compiling" >&6; }
2934 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2935 $as_echo_n "checking for suffix of executables... " >&6; }
2936 if { (ac_try="$ac_link"
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2942 $as_echo "$ac_try_echo") >&5
2943 (eval "$ac_link") 2>&5
2945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; then
2947 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2948 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2949 # work properly (i.e., refer to `conftest.exe'), while it won't with
2951 for ac_file in conftest.exe conftest conftest.*; do
2952 test -f "$ac_file" || continue
2954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2955 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2961 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2963 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2964 See \`config.log' for more details." >&5
2965 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2966 See \`config.log' for more details." >&2;}
2967 { (exit 1); exit 1; }; }; }
2970 rm -f conftest$ac_cv_exeext
2971 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2972 $as_echo "$ac_cv_exeext" >&6; }
2974 rm -f conftest.$ac_ext
2975 EXEEXT=$ac_cv_exeext
2977 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2978 $as_echo_n "checking for suffix of object files... " >&6; }
2979 if test "${ac_cv_objext+set}" = set; then
2980 $as_echo_n "(cached) " >&6
2982 cat >conftest.$ac_ext <<_ACEOF
2985 cat confdefs.h >>conftest.$ac_ext
2986 cat >>conftest.$ac_ext <<_ACEOF
2987 /* end confdefs.h. */
2997 rm -f conftest.o conftest.obj
2998 if { (ac_try="$ac_compile"
3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001 *) ac_try_echo=$ac_try;;
3003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3004 $as_echo "$ac_try_echo") >&5
3005 (eval "$ac_compile") 2>&5
3007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; then
3009 for ac_file in conftest.o conftest.obj conftest.*; do
3010 test -f "$ac_file" || continue;
3012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3013 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3024 See \`config.log' for more details." >&5
3025 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3026 See \`config.log' for more details." >&2;}
3027 { (exit 1); exit 1; }; }; }
3030 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3032 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3033 $as_echo "$ac_cv_objext" >&6; }
3034 OBJEXT=$ac_cv_objext
3036 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3037 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3038 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3039 $as_echo_n "(cached) " >&6
3041 cat >conftest.$ac_ext <<_ACEOF
3044 cat confdefs.h >>conftest.$ac_ext
3045 cat >>conftest.$ac_ext <<_ACEOF
3046 /* end confdefs.h. */
3059 rm -f conftest.$ac_objext
3060 if { (ac_try="$ac_compile"
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3066 $as_echo "$ac_try_echo") >&5
3067 (eval "$ac_compile") 2>conftest.er1
3069 grep -v '^ *+' conftest.er1 >conftest.err
3071 cat conftest.err >&5
3072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } && {
3074 test -z "$ac_c_werror_flag" ||
3075 test ! -s conftest.err
3076 } && test -s conftest.$ac_objext; then
3079 $as_echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3089 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3090 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3091 if test $ac_compiler_gnu = yes; then
3096 ac_test_CFLAGS=${CFLAGS+set}
3097 ac_save_CFLAGS=$CFLAGS
3098 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3099 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3100 if test "${ac_cv_prog_cc_g+set}" = set; then
3101 $as_echo_n "(cached) " >&6
3103 ac_save_c_werror_flag=$ac_c_werror_flag
3104 ac_c_werror_flag=yes
3107 cat >conftest.$ac_ext <<_ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3122 rm -f conftest.$ac_objext
3123 if { (ac_try="$ac_compile"
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3129 $as_echo "$ac_try_echo") >&5
3130 (eval "$ac_compile") 2>conftest.er1
3132 grep -v '^ *+' conftest.er1 >conftest.err
3134 cat conftest.err >&5
3135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } && {
3137 test -z "$ac_c_werror_flag" ||
3138 test ! -s conftest.err
3139 } && test -s conftest.$ac_objext; then
3142 $as_echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3146 cat >conftest.$ac_ext <<_ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3161 rm -f conftest.$ac_objext
3162 if { (ac_try="$ac_compile"
3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165 *) ac_try_echo=$ac_try;;
3167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3168 $as_echo "$ac_try_echo") >&5
3169 (eval "$ac_compile") 2>conftest.er1
3171 grep -v '^ *+' conftest.er1 >conftest.err
3173 cat conftest.err >&5
3174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } && {
3176 test -z "$ac_c_werror_flag" ||
3177 test ! -s conftest.err
3178 } && test -s conftest.$ac_objext; then
3181 $as_echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 ac_c_werror_flag=$ac_save_c_werror_flag
3186 cat >conftest.$ac_ext <<_ACEOF
3189 cat confdefs.h >>conftest.$ac_ext
3190 cat >>conftest.$ac_ext <<_ACEOF
3191 /* end confdefs.h. */
3201 rm -f conftest.$ac_objext
3202 if { (ac_try="$ac_compile"
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3208 $as_echo "$ac_try_echo") >&5
3209 (eval "$ac_compile") 2>conftest.er1
3211 grep -v '^ *+' conftest.er1 >conftest.err
3213 cat conftest.err >&5
3214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); } && {
3216 test -z "$ac_c_werror_flag" ||
3217 test ! -s conftest.err
3218 } && test -s conftest.$ac_objext; then
3221 $as_echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 ac_c_werror_flag=$ac_save_c_werror_flag
3236 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3237 $as_echo "$ac_cv_prog_cc_g" >&6; }
3238 if test "$ac_test_CFLAGS" = set; then
3239 CFLAGS=$ac_save_CFLAGS
3240 elif test $ac_cv_prog_cc_g = yes; then
3241 if test "$GCC" = yes; then
3247 if test "$GCC" = yes; then
3253 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3254 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3255 if test "${ac_cv_prog_cc_c89+set}" = set; then
3256 $as_echo_n "(cached) " >&6
3258 ac_cv_prog_cc_c89=no
3260 cat >conftest.$ac_ext <<_ACEOF
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3268 #include <sys/types.h>
3269 #include <sys/stat.h>
3270 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3271 struct buf { int x; };
3272 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3273 static char *e (p, i)
3279 static char *f (char * (*g) (char **, int), char **p, ...)
3284 s = g (p, va_arg (v,int));
3289 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3290 function prototypes and stuff, but not '\xHH' hex character constants.
3291 These don't provoke an error unfortunately, instead are silently treated
3292 as 'x'. The following induces an error, until -std is added to get
3293 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3294 array size at least. It's necessary to write '\x00'==0 to get something
3295 that's true only with -std. */
3296 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3298 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3299 inside strings and character constants. */
3301 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3303 int test (int i, double x);
3304 struct s1 {int (*f) (int a);};
3305 struct s2 {int (*f) (double a);};
3306 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3312 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3317 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3318 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3320 CC="$ac_save_CC $ac_arg"
3321 rm -f conftest.$ac_objext
3322 if { (ac_try="$ac_compile"
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3328 $as_echo "$ac_try_echo") >&5
3329 (eval "$ac_compile") 2>conftest.er1
3331 grep -v '^ *+' conftest.er1 >conftest.err
3333 cat conftest.err >&5
3334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } && {
3336 test -z "$ac_c_werror_flag" ||
3337 test ! -s conftest.err
3338 } && test -s conftest.$ac_objext; then
3339 ac_cv_prog_cc_c89=$ac_arg
3341 $as_echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3347 rm -f core conftest.err conftest.$ac_objext
3348 test "x$ac_cv_prog_cc_c89" != "xno" && break
3350 rm -f conftest.$ac_ext
3355 case "x$ac_cv_prog_cc_c89" in
3357 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3358 $as_echo "none needed" >&6; } ;;
3360 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3361 $as_echo "unsupported" >&6; } ;;
3363 CC="$CC $ac_cv_prog_cc_c89"
3364 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3365 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3370 ac_cpp='$CPP $CPPFLAGS'
3371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3377 ac_cpp='$CPP $CPPFLAGS'
3378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3381 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3382 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3383 # On Suns, sometimes $CPP names a directory.
3384 if test -n "$CPP" && test -d "$CPP"; then
3387 if test -z "$CPP"; then
3388 if test "${ac_cv_prog_CPP+set}" = set; then
3389 $as_echo_n "(cached) " >&6
3391 # Double quotes because CPP needs to be expanded
3392 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3395 for ac_c_preproc_warn_flag in '' yes
3397 # Use a header file that comes with gcc, so configuring glibc
3398 # with a fresh cross-compiler works.
3399 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3400 # <limits.h> exists even on freestanding compilers.
3401 # On the NeXT, cc -E runs the code through the compiler's parser,
3402 # not just through cpp. "Syntax error" is here to catch this case.
3403 cat >conftest.$ac_ext <<_ACEOF
3406 cat confdefs.h >>conftest.$ac_ext
3407 cat >>conftest.$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3410 # include <limits.h>
3412 # include <assert.h>
3416 if { (ac_try="$ac_cpp conftest.$ac_ext"
3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3422 $as_echo "$ac_try_echo") >&5
3423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3425 grep -v '^ *+' conftest.er1 >conftest.err
3427 cat conftest.err >&5
3428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); } >/dev/null && {
3430 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3431 test ! -s conftest.err
3435 $as_echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3438 # Broken: fails on valid input.
3442 rm -f conftest.err conftest.$ac_ext
3444 # OK, works on sane cases. Now check whether nonexistent headers
3445 # can be detected and how.
3446 cat >conftest.$ac_ext <<_ACEOF
3449 cat confdefs.h >>conftest.$ac_ext
3450 cat >>conftest.$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3452 #include <ac_nonexistent.h>
3454 if { (ac_try="$ac_cpp conftest.$ac_ext"
3456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457 *) ac_try_echo=$ac_try;;
3459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3460 $as_echo "$ac_try_echo") >&5
3461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3463 grep -v '^ *+' conftest.er1 >conftest.err
3465 cat conftest.err >&5
3466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); } >/dev/null && {
3468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3469 test ! -s conftest.err
3471 # Broken: success on invalid input.
3474 $as_echo "$as_me: failed program was:" >&5
3475 sed 's/^/| /' conftest.$ac_ext >&5
3477 # Passes both tests.
3482 rm -f conftest.err conftest.$ac_ext
3485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3486 rm -f conftest.err conftest.$ac_ext
3487 if $ac_preproc_ok; then
3499 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3500 $as_echo "$CPP" >&6; }
3502 for ac_c_preproc_warn_flag in '' yes
3504 # Use a header file that comes with gcc, so configuring glibc
3505 # with a fresh cross-compiler works.
3506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3507 # <limits.h> exists even on freestanding compilers.
3508 # On the NeXT, cc -E runs the code through the compiler's parser,
3509 # not just through cpp. "Syntax error" is here to catch this case.
3510 cat >conftest.$ac_ext <<_ACEOF
3513 cat confdefs.h >>conftest.$ac_ext
3514 cat >>conftest.$ac_ext <<_ACEOF
3515 /* end confdefs.h. */
3517 # include <limits.h>
3519 # include <assert.h>
3523 if { (ac_try="$ac_cpp conftest.$ac_ext"
3525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526 *) ac_try_echo=$ac_try;;
3528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3529 $as_echo "$ac_try_echo") >&5
3530 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3532 grep -v '^ *+' conftest.er1 >conftest.err
3534 cat conftest.err >&5
3535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); } >/dev/null && {
3537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3538 test ! -s conftest.err
3542 $as_echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.$ac_ext >&5
3545 # Broken: fails on valid input.
3549 rm -f conftest.err conftest.$ac_ext
3551 # OK, works on sane cases. Now check whether nonexistent headers
3552 # can be detected and how.
3553 cat >conftest.$ac_ext <<_ACEOF
3556 cat confdefs.h >>conftest.$ac_ext
3557 cat >>conftest.$ac_ext <<_ACEOF
3558 /* end confdefs.h. */
3559 #include <ac_nonexistent.h>
3561 if { (ac_try="$ac_cpp conftest.$ac_ext"
3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564 *) ac_try_echo=$ac_try;;
3566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3567 $as_echo "$ac_try_echo") >&5
3568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3570 grep -v '^ *+' conftest.er1 >conftest.err
3572 cat conftest.err >&5
3573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); } >/dev/null && {
3575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3576 test ! -s conftest.err
3578 # Broken: success on invalid input.
3581 $as_echo "$as_me: failed program was:" >&5
3582 sed 's/^/| /' conftest.$ac_ext >&5
3584 # Passes both tests.
3589 rm -f conftest.err conftest.$ac_ext
3592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3593 rm -f conftest.err conftest.$ac_ext
3594 if $ac_preproc_ok; then
3597 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3599 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3600 See \`config.log' for more details." >&5
3601 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3602 See \`config.log' for more details." >&2;}
3603 { (exit 1); exit 1; }; }; }
3607 ac_cpp='$CPP $CPPFLAGS'
3608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3613 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3614 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3615 if test "${ac_cv_path_GREP+set}" = set; then
3616 $as_echo_n "(cached) " >&6
3618 if test -z "$GREP"; then
3619 ac_path_GREP_found=false
3620 # Loop through the user's path and test for each of PROGNAME-LIST
3621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3625 test -z "$as_dir" && as_dir=.
3626 for ac_prog in grep ggrep; do
3627 for ac_exec_ext in '' $ac_executable_extensions; do
3628 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3629 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3630 # Check for GNU ac_path_GREP and select it if it is found.
3631 # Check for GNU $ac_path_GREP
3632 case `"$ac_path_GREP" --version 2>&1` in
3634 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3637 $as_echo_n 0123456789 >"conftest.in"
3640 cat "conftest.in" "conftest.in" >"conftest.tmp"
3641 mv "conftest.tmp" "conftest.in"
3642 cp "conftest.in" "conftest.nl"
3643 $as_echo 'GREP' >> "conftest.nl"
3644 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3646 ac_count=`expr $ac_count + 1`
3647 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3648 # Best one so far, save it but keep looking for a better one
3649 ac_cv_path_GREP="$ac_path_GREP"
3650 ac_path_GREP_max=$ac_count
3652 # 10*(2^10) chars as input seems more than enough
3653 test $ac_count -gt 10 && break
3655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3658 $ac_path_GREP_found && break 3
3663 if test -z "$ac_cv_path_GREP"; then
3664 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3665 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3666 { (exit 1); exit 1; }; }
3669 ac_cv_path_GREP=$GREP
3673 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3674 $as_echo "$ac_cv_path_GREP" >&6; }
3675 GREP="$ac_cv_path_GREP"
3678 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3679 $as_echo_n "checking for egrep... " >&6; }
3680 if test "${ac_cv_path_EGREP+set}" = set; then
3681 $as_echo_n "(cached) " >&6
3683 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3684 then ac_cv_path_EGREP="$GREP -E"
3686 if test -z "$EGREP"; then
3687 ac_path_EGREP_found=false
3688 # Loop through the user's path and test for each of PROGNAME-LIST
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3693 test -z "$as_dir" && as_dir=.
3694 for ac_prog in egrep; do
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3697 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3698 # Check for GNU ac_path_EGREP and select it if it is found.
3699 # Check for GNU $ac_path_EGREP
3700 case `"$ac_path_EGREP" --version 2>&1` in
3702 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3705 $as_echo_n 0123456789 >"conftest.in"
3708 cat "conftest.in" "conftest.in" >"conftest.tmp"
3709 mv "conftest.tmp" "conftest.in"
3710 cp "conftest.in" "conftest.nl"
3711 $as_echo 'EGREP' >> "conftest.nl"
3712 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3714 ac_count=`expr $ac_count + 1`
3715 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3716 # Best one so far, save it but keep looking for a better one
3717 ac_cv_path_EGREP="$ac_path_EGREP"
3718 ac_path_EGREP_max=$ac_count
3720 # 10*(2^10) chars as input seems more than enough
3721 test $ac_count -gt 10 && break
3723 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3726 $ac_path_EGREP_found && break 3
3731 if test -z "$ac_cv_path_EGREP"; then
3732 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3733 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3734 { (exit 1); exit 1; }; }
3737 ac_cv_path_EGREP=$EGREP
3742 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3743 $as_echo "$ac_cv_path_EGREP" >&6; }
3744 EGREP="$ac_cv_path_EGREP"
3747 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3748 $as_echo_n "checking for ANSI C header files... " >&6; }
3749 if test "${ac_cv_header_stdc+set}" = set; then
3750 $as_echo_n "(cached) " >&6
3752 cat >conftest.$ac_ext <<_ACEOF
3755 cat confdefs.h >>conftest.$ac_ext
3756 cat >>conftest.$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3771 rm -f conftest.$ac_objext
3772 if { (ac_try="$ac_compile"
3774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3775 *) ac_try_echo=$ac_try;;
3777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3778 $as_echo "$ac_try_echo") >&5
3779 (eval "$ac_compile") 2>conftest.er1
3781 grep -v '^ *+' conftest.er1 >conftest.err
3783 cat conftest.err >&5
3784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } && {
3786 test -z "$ac_c_werror_flag" ||
3787 test ! -s conftest.err
3788 } && test -s conftest.$ac_objext; then
3789 ac_cv_header_stdc=yes
3791 $as_echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.$ac_ext >&5
3794 ac_cv_header_stdc=no
3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 if test $ac_cv_header_stdc = yes; then
3800 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3801 cat >conftest.$ac_ext <<_ACEOF
3804 cat confdefs.h >>conftest.$ac_ext
3805 cat >>conftest.$ac_ext <<_ACEOF
3806 /* end confdefs.h. */
3810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3811 $EGREP "memchr" >/dev/null 2>&1; then
3814 ac_cv_header_stdc=no
3820 if test $ac_cv_header_stdc = yes; then
3821 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3822 cat >conftest.$ac_ext <<_ACEOF
3825 cat confdefs.h >>conftest.$ac_ext
3826 cat >>conftest.$ac_ext <<_ACEOF
3827 /* end confdefs.h. */
3831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3832 $EGREP "free" >/dev/null 2>&1; then
3835 ac_cv_header_stdc=no
3841 if test $ac_cv_header_stdc = yes; then
3842 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3843 if test "$cross_compiling" = yes; then
3846 cat >conftest.$ac_ext <<_ACEOF
3849 cat confdefs.h >>conftest.$ac_ext
3850 cat >>conftest.$ac_ext <<_ACEOF
3851 /* end confdefs.h. */
3854 #if ((' ' & 0x0FF) == 0x020)
3855 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3856 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3858 # define ISLOWER(c) \
3859 (('a' <= (c) && (c) <= 'i') \
3860 || ('j' <= (c) && (c) <= 'r') \
3861 || ('s' <= (c) && (c) <= 'z'))
3862 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3865 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3870 for (i = 0; i < 256; i++)
3871 if (XOR (islower (i), ISLOWER (i))
3872 || toupper (i) != TOUPPER (i))
3877 rm -f conftest$ac_exeext
3878 if { (ac_try="$ac_link"
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3884 $as_echo "$ac_try_echo") >&5
3885 (eval "$ac_link") 2>&5
3887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3889 { (case "(($ac_try" in
3890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3894 $as_echo "$ac_try_echo") >&5
3895 (eval "$ac_try") 2>&5
3897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; }; then
3901 $as_echo "$as_me: program exited with status $ac_status" >&5
3902 $as_echo "$as_me: failed program was:" >&5
3903 sed 's/^/| /' conftest.$ac_ext >&5
3906 ac_cv_header_stdc=no
3908 rm -rf conftest.dSYM
3909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3915 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3916 $as_echo "$ac_cv_header_stdc" >&6; }
3917 if test $ac_cv_header_stdc = yes; then
3919 cat >>confdefs.h <<\_ACEOF
3920 #define STDC_HEADERS 1
3925 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3935 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3936 inttypes.h stdint.h unistd.h
3938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3939 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3940 $as_echo_n "checking for $ac_header... " >&6; }
3941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3942 $as_echo_n "(cached) " >&6
3944 cat >conftest.$ac_ext <<_ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3950 $ac_includes_default
3952 #include <$ac_header>
3954 rm -f conftest.$ac_objext
3955 if { (ac_try="$ac_compile"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3961 $as_echo "$ac_try_echo") >&5
3962 (eval "$ac_compile") 2>conftest.er1
3964 grep -v '^ *+' conftest.er1 >conftest.err
3966 cat conftest.err >&5
3967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } && {
3969 test -z "$ac_c_werror_flag" ||
3970 test ! -s conftest.err
3971 } && test -s conftest.$ac_objext; then
3972 eval "$as_ac_Header=yes"
3974 $as_echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.$ac_ext >&5
3977 eval "$as_ac_Header=no"
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3982 ac_res=`eval 'as_val=${'$as_ac_Header'}
3983 $as_echo "$as_val"'`
3984 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3985 $as_echo "$ac_res" >&6; }
3986 as_val=`eval 'as_val=${'$as_ac_Header'}
3987 $as_echo "$as_val"'`
3988 if test "x$as_val" = x""yes; then
3989 cat >>confdefs.h <<_ACEOF
3990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3999 if test "${ac_cv_header_minix_config_h+set}" = set; then
4000 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4001 $as_echo_n "checking for minix/config.h... " >&6; }
4002 if test "${ac_cv_header_minix_config_h+set}" = set; then
4003 $as_echo_n "(cached) " >&6
4005 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4006 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4008 # Is the header compilable?
4009 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4010 $as_echo_n "checking minix/config.h usability... " >&6; }
4011 cat >conftest.$ac_ext <<_ACEOF
4014 cat confdefs.h >>conftest.$ac_ext
4015 cat >>conftest.$ac_ext <<_ACEOF
4016 /* end confdefs.h. */
4017 $ac_includes_default
4018 #include <minix/config.h>
4020 rm -f conftest.$ac_objext
4021 if { (ac_try="$ac_compile"
4023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4027 $as_echo "$ac_try_echo") >&5
4028 (eval "$ac_compile") 2>conftest.er1
4030 grep -v '^ *+' conftest.er1 >conftest.err
4032 cat conftest.err >&5
4033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); } && {
4035 test -z "$ac_c_werror_flag" ||
4036 test ! -s conftest.err
4037 } && test -s conftest.$ac_objext; then
4038 ac_header_compiler=yes
4040 $as_echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 ac_header_compiler=no
4046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4047 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4048 $as_echo "$ac_header_compiler" >&6; }
4050 # Is the header present?
4051 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4052 $as_echo_n "checking minix/config.h presence... " >&6; }
4053 cat >conftest.$ac_ext <<_ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4059 #include <minix/config.h>
4061 if { (ac_try="$ac_cpp conftest.$ac_ext"
4063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4067 $as_echo "$ac_try_echo") >&5
4068 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4070 grep -v '^ *+' conftest.er1 >conftest.err
4072 cat conftest.err >&5
4073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); } >/dev/null && {
4075 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4076 test ! -s conftest.err
4078 ac_header_preproc=yes
4080 $as_echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.$ac_ext >&5
4083 ac_header_preproc=no
4086 rm -f conftest.err conftest.$ac_ext
4087 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4088 $as_echo "$ac_header_preproc" >&6; }
4090 # So? What about this header?
4091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4093 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4094 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4095 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4096 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4097 ac_header_preproc=yes
4100 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4101 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4102 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4103 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4104 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4105 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4106 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4107 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4108 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4109 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4110 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4111 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4113 ## ------------------------------- ##
4114 ## Report this to www.asterisk.org ##
4115 ## ------------------------------- ##
4117 ) | sed "s/^/$as_me: WARNING: /" >&2
4120 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4121 $as_echo_n "checking for minix/config.h... " >&6; }
4122 if test "${ac_cv_header_minix_config_h+set}" = set; then
4123 $as_echo_n "(cached) " >&6
4125 ac_cv_header_minix_config_h=$ac_header_preproc
4127 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4128 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4131 if test "x$ac_cv_header_minix_config_h" = x""yes; then
4138 if test "$MINIX" = yes; then
4140 cat >>confdefs.h <<\_ACEOF
4141 #define _POSIX_SOURCE 1
4145 cat >>confdefs.h <<\_ACEOF
4146 #define _POSIX_1_SOURCE 2
4150 cat >>confdefs.h <<\_ACEOF
4158 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4159 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4160 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4161 $as_echo_n "(cached) " >&6
4163 cat >conftest.$ac_ext <<_ACEOF
4166 cat confdefs.h >>conftest.$ac_ext
4167 cat >>conftest.$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4170 # define __EXTENSIONS__ 1
4171 $ac_includes_default
4180 rm -f conftest.$ac_objext
4181 if { (ac_try="$ac_compile"
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4187 $as_echo "$ac_try_echo") >&5
4188 (eval "$ac_compile") 2>conftest.er1
4190 grep -v '^ *+' conftest.er1 >conftest.err
4192 cat conftest.err >&5
4193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && {
4195 test -z "$ac_c_werror_flag" ||
4196 test ! -s conftest.err
4197 } && test -s conftest.$ac_objext; then
4198 ac_cv_safe_to_define___extensions__=yes
4200 $as_echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.$ac_ext >&5
4203 ac_cv_safe_to_define___extensions__=no
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4209 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4210 test $ac_cv_safe_to_define___extensions__ = yes &&
4211 cat >>confdefs.h <<\_ACEOF
4212 #define __EXTENSIONS__ 1
4215 cat >>confdefs.h <<\_ACEOF
4216 #define _ALL_SOURCE 1
4219 cat >>confdefs.h <<\_ACEOF
4220 #define _GNU_SOURCE 1
4223 cat >>confdefs.h <<\_ACEOF
4224 #define _POSIX_PTHREAD_SEMANTICS 1
4227 cat >>confdefs.h <<\_ACEOF
4228 #define _TANDEM_SOURCE 1
4231 # note- does not work on FreeBSD
4233 case "${host_os}" in
4235 ac_default_prefix=/usr/local
4236 CPPFLAGS=-I/usr/local/include
4237 LDFLAGS=-L/usr/local/lib
4240 ac_default_prefix=/usr/local
4241 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4242 if test ${sysconfdir} = '${prefix}/etc'; then
4245 if test ${mandir} = '${prefix}/man'; then
4246 mandir=/usr/share/man
4249 CPPFLAGS=-I/usr/local/include
4250 LDFLAGS=-L/usr/local/lib
4254 cat >>confdefs.h <<\_ACEOF
4255 #define AST_POLL_COMPAT 1
4260 ac_default_prefix=/usr
4261 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4262 if test ${sysconfdir} = '${prefix}/etc'; then
4265 if test ${mandir} = '${prefix}/man'; then
4266 mandir=/usr/share/man
4272 if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
4273 if test ${localstatedir} = '${prefix}/var'; then
4278 BUILD_PLATFORM=${build}
4279 BUILD_CPU=${build_cpu}
4280 BUILD_VENDOR=${build_vendor}
4281 BUILD_OS=${build_os}
4288 HOST_PLATFORM=${host}
4289 HOST_CPU=${host_cpu}
4290 HOST_VENDOR=${host_vendor}
4300 case "${host_os}" in
4330 if test -n "$ac_tool_prefix"; then
4331 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4332 set dummy ${ac_tool_prefix}uname; ac_word=$2
4333 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4334 $as_echo_n "checking for $ac_word... " >&6; }
4335 if test "${ac_cv_path_UNAME+set}" = set; then
4336 $as_echo_n "(cached) " >&6
4340 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir=.
4348 for ac_exec_ext in '' $ac_executable_extensions; do
4349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4350 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4351 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4361 UNAME=$ac_cv_path_UNAME
4362 if test -n "$UNAME"; then
4363 { $as_echo "$as_me:$LINENO: result: $UNAME" >&5
4364 $as_echo "$UNAME" >&6; }
4366 { $as_echo "$as_me:$LINENO: result: no" >&5
4367 $as_echo "no" >&6; }
4372 if test -z "$ac_cv_path_UNAME"; then
4374 # Extract the first word of "uname", so it can be a program name with args.
4375 set dummy uname; ac_word=$2
4376 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4379 $as_echo_n "(cached) " >&6
4381 case $ac_pt_UNAME in
4383 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390 test -z "$as_dir" && as_dir=.
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4393 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4394 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4405 if test -n "$ac_pt_UNAME"; then
4406 { $as_echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4407 $as_echo "$ac_pt_UNAME" >&6; }
4409 { $as_echo "$as_me:$LINENO: result: no" >&5
4410 $as_echo "no" >&6; }
4413 if test "x$ac_pt_UNAME" = x; then
4416 case $cross_compiling:$ac_tool_warned in
4418 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4420 ac_tool_warned=yes ;;
4425 UNAME="$ac_cv_path_UNAME"
4428 if test ! x"${UNAME}" = xNo; then
4429 PBX_OSREV=$(${UNAME} -r)
4439 # cross-compile checks
4440 if test "${cross_compiling}" = "yes";
4442 if test -n "$ac_tool_prefix"; then
4443 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4444 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4445 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if test "${ac_cv_prog_CC+set}" = set; then
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$CC"; then
4451 ac_cv_prog_CC="$CC" # Let the user override the test.
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4461 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4471 if test -n "$CC"; then
4472 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4473 $as_echo "$CC" >&6; }
4475 { $as_echo "$as_me:$LINENO: result: no" >&5
4476 $as_echo "no" >&6; }
4481 if test -z "$ac_cv_prog_CC"; then
4483 # Extract the first word of "gcc", so it can be a program name with args.
4484 set dummy gcc; ac_word=$2
4485 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4488 $as_echo_n "(cached) " >&6
4490 if test -n "$ac_ct_CC"; then
4491 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4500 ac_cv_prog_ac_ct_CC="gcc"
4501 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4510 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4511 if test -n "$ac_ct_CC"; then
4512 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4513 $as_echo "$ac_ct_CC" >&6; }
4515 { $as_echo "$as_me:$LINENO: result: no" >&5
4516 $as_echo "no" >&6; }
4519 if test "x$ac_ct_CC" = x; then
4522 case $cross_compiling:$ac_tool_warned in
4524 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4526 ac_tool_warned=yes ;;
4534 if test -n "$ac_tool_prefix"; then
4535 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4536 set dummy ${ac_tool_prefix}g++; ac_word=$2
4537 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if test "${ac_cv_prog_CXX+set}" = set; then
4540 $as_echo_n "(cached) " >&6
4542 if test -n "$CXX"; then
4543 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir=.
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4553 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 if test -n "$CXX"; then
4564 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
4565 $as_echo "$CXX" >&6; }
4567 { $as_echo "$as_me:$LINENO: result: no" >&5
4568 $as_echo "no" >&6; }
4573 if test -z "$ac_cv_prog_CXX"; then
4575 # Extract the first word of "g++", so it can be a program name with args.
4576 set dummy g++; ac_word=$2
4577 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4578 $as_echo_n "checking for $ac_word... " >&6; }
4579 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4580 $as_echo_n "(cached) " >&6
4582 if test -n "$ac_ct_CXX"; then
4583 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589 test -z "$as_dir" && as_dir=.
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4592 ac_cv_prog_ac_ct_CXX="g++"
4593 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4603 if test -n "$ac_ct_CXX"; then
4604 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4605 $as_echo "$ac_ct_CXX" >&6; }
4607 { $as_echo "$as_me:$LINENO: result: no" >&5
4608 $as_echo "no" >&6; }
4611 if test "x$ac_ct_CXX" = x; then
4614 case $cross_compiling:$ac_tool_warned in
4616 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4618 ac_tool_warned=yes ;;
4623 CXX="$ac_cv_prog_CXX"
4626 if test -n "$ac_tool_prefix"; then
4627 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4628 set dummy ${ac_tool_prefix}ld; ac_word=$2
4629 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if test "${ac_cv_prog_LD+set}" = set; then
4632 $as_echo_n "(cached) " >&6
4634 if test -n "$LD"; then
4635 ac_cv_prog_LD="$LD" # Let the user override the test.
4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir=.
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4644 ac_cv_prog_LD="${ac_tool_prefix}ld"
4645 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 if test -n "$LD"; then
4656 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4657 $as_echo "$LD" >&6; }
4659 { $as_echo "$as_me:$LINENO: result: no" >&5
4660 $as_echo "no" >&6; }
4665 if test -z "$ac_cv_prog_LD"; then
4667 # Extract the first word of "ld", so it can be a program name with args.
4668 set dummy ld; ac_word=$2
4669 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4672 $as_echo_n "(cached) " >&6
4674 if test -n "$ac_ct_LD"; then
4675 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 test -z "$as_dir" && as_dir=.
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4684 ac_cv_prog_ac_ct_LD="ld"
4685 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4695 if test -n "$ac_ct_LD"; then
4696 { $as_echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4697 $as_echo "$ac_ct_LD" >&6; }
4699 { $as_echo "$as_me:$LINENO: result: no" >&5
4700 $as_echo "no" >&6; }
4703 if test "x$ac_ct_LD" = x; then
4706 case $cross_compiling:$ac_tool_warned in
4708 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4710 ac_tool_warned=yes ;;
4718 if test -n "$ac_tool_prefix"; then
4719 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4720 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4721 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if test "${ac_cv_prog_RANLIB+set}" = set; then
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$RANLIB"; then
4727 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4737 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 RANLIB=$ac_cv_prog_RANLIB
4747 if test -n "$RANLIB"; then
4748 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4749 $as_echo "$RANLIB" >&6; }
4751 { $as_echo "$as_me:$LINENO: result: no" >&5
4752 $as_echo "no" >&6; }
4757 if test -z "$ac_cv_prog_RANLIB"; then