2 # From configure.ac Revision: 157600 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 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 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
14 ## --------------------- ##
15 ## M4sh Initialization. ##
16 ## --------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in
29 *posix*) set -o posix ;;
38 # Avoid depending upon Character Ranges.
39 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42 as_cr_digits='0123456789'
43 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # The user is always right.
46 if test "${PATH_SEPARATOR+set}" != set; then
47 echo "#! /bin/sh" >conf$$.sh
48 echo "exit 0" >>conf$$.sh
50 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
58 # Support unset when possible.
59 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
67 # We need space, tab and new line, in precisely that order. Quoting is
68 # there to prevent editors from complaining about space-tab.
69 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
70 # splitting by setting IFS to empty value.)
75 # Find who we are. Look in the path if we contain no directory separator.
77 *[\\/]* ) as_myself=$0 ;;
78 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82 test -z "$as_dir" && as_dir=.
83 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89 # We did not find ourselves, most probably we were run as `sh COMMAND'
90 # in which case we are not to be found in the path.
91 if test "x$as_myself" = x; then
94 if test ! -f "$as_myself"; then
95 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
99 # Work around bugs in pre-3.0 UWIN ksh.
100 for as_var in ENV MAIL MAILPATH
101 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
113 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
114 eval $as_var=C; export $as_var
116 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
120 # Required to use basename.
121 if expr a : '\(a\)' >/dev/null 2>&1 &&
122 test "X`expr 00001 : '.*\(...\)'`" = X001; then
128 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
135 # Name of the executable.
136 as_me=`$as_basename -- "$0" ||
137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
138 X"$0" : 'X\(//\)$' \| \
139 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
141 sed '/^.*\/\([^/][^/]*\)\/*$/{
159 if test "x$CONFIG_SHELL" = x; then
160 if (eval ":") 2>/dev/null; then
166 if test $as_have_required = yes && (eval ":
176 as_func_ret_success () {
179 as_func_ret_failure () {
184 if as_func_success; then
188 echo as_func_success failed.
191 if as_func_failure; then
193 echo as_func_failure succeeded.
196 if as_func_ret_success; then
200 echo as_func_ret_success failed.
203 if as_func_ret_failure; then
205 echo as_func_ret_failure succeeded.
208 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
212 echo positional parameters were not saved.
215 test \$exitcode = 0) || { (exit 1); exit 1; }
220 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
221 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
222 ") 2> /dev/null; then
226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
227 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
230 test -z "$as_dir" && as_dir=.
233 for as_base in sh bash ksh sh5; do
234 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
241 for as_shell in $as_candidate_shells $SHELL; do
242 # Try only shells that exist, to save several forks.
243 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
244 { ("$as_shell") 2> /dev/null <<\_ASEOF
245 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
248 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
249 # is contrary to our usage. Disable this feature.
250 alias -g '${1+"$@"}'='"$@"'
253 case `(set -o) 2>/dev/null` in
254 *posix*) set -o posix ;;
263 CONFIG_SHELL=$as_shell
265 if { "$as_shell" 2> /dev/null <<\_ASEOF
266 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
269 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
270 # is contrary to our usage. Disable this feature.
271 alias -g '${1+"$@"}'='"$@"'
274 case `(set -o) 2>/dev/null` in
275 *posix*) set -o posix ;;
291 as_func_ret_success () {
294 as_func_ret_failure () {
299 if as_func_success; then
303 echo as_func_success failed.
306 if as_func_failure; then
308 echo as_func_failure succeeded.
311 if as_func_ret_success; then
315 echo as_func_ret_success failed.
318 if as_func_ret_failure; then
320 echo as_func_ret_failure succeeded.
323 if ( set x; as_func_ret_success y && test x = "$1" ); then
327 echo positional parameters were not saved.
330 test $exitcode = 0) || { (exit 1); exit 1; }
335 test "x$as_lineno_1" != "x$as_lineno_2" &&
336 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
347 if test "x$CONFIG_SHELL" != x; then
348 for as_var in BASH_ENV ENV
349 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
352 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
356 if test $as_have_required = no; then
357 echo This script requires a shell more modern than all the
358 echo shells that I found on your system. Please install a
359 echo modern shell, or manually run the script under such a
360 echo shell if you do have one.
361 { (exit 1); exit 1; }
371 (eval "as_func_return () {
380 as_func_ret_success () {
383 as_func_ret_failure () {
388 if as_func_success; then
392 echo as_func_success failed.
395 if as_func_failure; then
397 echo as_func_failure succeeded.
400 if as_func_ret_success; then
404 echo as_func_ret_success failed.
407 if as_func_ret_failure; then
409 echo as_func_ret_failure succeeded.
412 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
416 echo positional parameters were not saved.
419 test \$exitcode = 0") || {
420 echo No shell found that supports shell functions.
421 echo Please tell autoconf@gnu.org about your system,
422 echo including any error possibly output before this
430 test "x$as_lineno_1" != "x$as_lineno_2" &&
431 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
433 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
434 # uniformly replaced by the line number. The first 'sed' inserts a
435 # line-number line after each line using $LINENO; the second 'sed'
436 # does the real work. The second script uses 'N' to pair each
437 # line-number line with the line containing $LINENO, and appends
438 # trailing '-' during substitution so that $LINENO is not a special
440 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
441 # scripts with optimization help from Paolo Bonzini. Blame Lee
442 # E. McMahon (1931-1989) for sed's syntax. :-)
454 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458 chmod +x "$as_me.lineno" ||
459 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
460 { (exit 1); exit 1; }; }
462 # Don't try to exec as it changes $[0], causing all sort of problems
463 # (the dirname of $[0] is not the place where we might find the
464 # original and so on. Autoconf is especially sensitive to this).
466 # Exit status is that of the last command.
471 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
477 ECHO_C= ECHO_N= ECHO_T=
481 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
488 if expr a : '\(a\)' >/dev/null 2>&1 &&
489 test "X`expr 00001 : '.*\(...\)'`" = X001; then
495 rm -f conf$$ conf$$.exe conf$$.file
496 if test -d conf$$.dir; then
497 rm -f conf$$.dir/conf$$.file
503 if ln -s conf$$.file conf$$ 2>/dev/null; then
505 # ... but there are two gotchas:
506 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
507 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
508 # In both cases, we have to default to `cp -p'.
509 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
511 elif ln conf$$.file conf$$ 2>/dev/null; then
516 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
517 rmdir conf$$.dir 2>/dev/null
519 if mkdir -p . 2>/dev/null; then
522 test -d ./-p && rmdir ./-p
526 if test -x / >/dev/null 2>&1; then
529 if ls -dL / >/dev/null 2>&1; then
536 if test -d "$1"; then
542 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
543 ???[sx]*):;;*)false;;esac;fi
547 as_executable_p=$as_test_x
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 exec 7<&0 </dev/null 6>&1
560 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix=/usr/local
569 ac_config_libobj_dir=.
575 SHELL=${CONFIG_SHELL-/bin/sh}
577 # Identity of this package.
578 PACKAGE_NAME='asterisk'
579 PACKAGE_TARNAME='asterisk'
580 PACKAGE_VERSION='1.6'
581 PACKAGE_STRING='asterisk 1.6'
582 PACKAGE_BUGREPORT='www.asterisk.org'
584 ac_unique_file="main/asterisk.c"
585 # Factoring default headers for most tests.
586 ac_includes_default="\
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
598 # ifdef HAVE_STDLIB_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
631 program_transform_name
969 PBX_PTHREAD_RWLOCK_INITIALIZER
970 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
973 AST_DECLARATION_AFTER_STATEMENT
974 AST_NO_STRICT_OVERFLOW
1009 ac_precious_vars='build_alias
1024 # Initialize some variables set by options.
1026 ac_init_version=false
1027 # The variables have the same names as the options, with
1028 # dashes changed to underlines.
1029 cache_file=/dev/null
1036 program_transform_name=s,x,x,
1044 # Installation directory options.
1045 # These are left unexpanded so users can "make install exec_prefix=/foo"
1046 # and all the variables that are supposed to be based on exec_prefix
1047 # by default will actually change.
1048 # Use braces instead of parens because sh, perl, etc. also accept them.
1049 # (The list follows the same order as the GNU Coding Standards.)
1050 bindir='${exec_prefix}/bin'
1051 sbindir='${exec_prefix}/sbin'
1052 libexecdir='${exec_prefix}/libexec'
1053 datarootdir='${prefix}/share'
1054 datadir='${datarootdir}'
1055 sysconfdir='${prefix}/etc'
1056 sharedstatedir='${prefix}/com'
1057 localstatedir='${prefix}/var'
1058 includedir='${prefix}/include'
1059 oldincludedir='/usr/include'
1060 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1061 infodir='${datarootdir}/info'
1066 libdir='${exec_prefix}/lib'
1067 localedir='${datarootdir}/locale'
1068 mandir='${datarootdir}/man'
1074 # If the previous option needs an argument, assign it.
1075 if test -n "$ac_prev"; then
1076 eval $ac_prev=\$ac_option
1082 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1086 # Accept the important Cygnus configure options, so we can diagnose typos.
1088 case $ac_dashdash$ac_option in
1092 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1094 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1095 bindir=$ac_optarg ;;
1097 -build | --build | --buil | --bui | --bu)
1098 ac_prev=build_alias ;;
1099 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1100 build_alias=$ac_optarg ;;
1102 -cache-file | --cache-file | --cache-fil | --cache-fi \
1103 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1104 ac_prev=cache_file ;;
1105 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1106 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1107 cache_file=$ac_optarg ;;
1109 --config-cache | -C)
1110 cache_file=config.cache ;;
1112 -datadir | --datadir | --datadi | --datad)
1114 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1115 datadir=$ac_optarg ;;
1117 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1118 | --dataroo | --dataro | --datar)
1119 ac_prev=datarootdir ;;
1120 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1121 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1122 datarootdir=$ac_optarg ;;
1124 -disable-* | --disable-*)
1125 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1128 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1129 { (exit 1); exit 1; }; }
1130 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1131 eval enable_$ac_feature=no ;;
1133 -docdir | --docdir | --docdi | --doc | --do)
1135 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1136 docdir=$ac_optarg ;;
1138 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1140 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1141 dvidir=$ac_optarg ;;
1143 -enable-* | --enable-*)
1144 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1147 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1148 { (exit 1); exit 1; }; }
1149 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1150 eval enable_$ac_feature=\$ac_optarg ;;
1152 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1153 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1154 | --exec | --exe | --ex)
1155 ac_prev=exec_prefix ;;
1156 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1157 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1158 | --exec=* | --exe=* | --ex=*)
1159 exec_prefix=$ac_optarg ;;
1161 -gas | --gas | --ga | --g)
1162 # Obsolete; use --with-gas.
1165 -help | --help | --hel | --he | -h)
1166 ac_init_help=long ;;
1167 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1168 ac_init_help=recursive ;;
1169 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1170 ac_init_help=short ;;
1172 -host | --host | --hos | --ho)
1173 ac_prev=host_alias ;;
1174 -host=* | --host=* | --hos=* | --ho=*)
1175 host_alias=$ac_optarg ;;
1177 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1179 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1181 htmldir=$ac_optarg ;;
1183 -includedir | --includedir | --includedi | --included | --include \
1184 | --includ | --inclu | --incl | --inc)
1185 ac_prev=includedir ;;
1186 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1187 | --includ=* | --inclu=* | --incl=* | --inc=*)
1188 includedir=$ac_optarg ;;
1190 -infodir | --infodir | --infodi | --infod | --info | --inf)
1192 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1193 infodir=$ac_optarg ;;
1195 -libdir | --libdir | --libdi | --libd)
1197 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1198 libdir=$ac_optarg ;;
1200 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1201 | --libexe | --libex | --libe)
1202 ac_prev=libexecdir ;;
1203 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1204 | --libexe=* | --libex=* | --libe=*)
1205 libexecdir=$ac_optarg ;;
1207 -localedir | --localedir | --localedi | --localed | --locale)
1208 ac_prev=localedir ;;
1209 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1210 localedir=$ac_optarg ;;
1212 -localstatedir | --localstatedir | --localstatedi | --localstated \
1213 | --localstate | --localstat | --localsta | --localst | --locals)
1214 ac_prev=localstatedir ;;
1215 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1216 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1217 localstatedir=$ac_optarg ;;
1219 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1221 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1222 mandir=$ac_optarg ;;
1224 -nfp | --nfp | --nf)
1225 # Obsolete; use --without-fp.
1228 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1229 | --no-cr | --no-c | -n)
1232 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1233 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1236 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1237 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1238 | --oldin | --oldi | --old | --ol | --o)
1239 ac_prev=oldincludedir ;;
1240 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1241 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1242 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1243 oldincludedir=$ac_optarg ;;
1245 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1247 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1248 prefix=$ac_optarg ;;
1250 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1251 | --program-pre | --program-pr | --program-p)
1252 ac_prev=program_prefix ;;
1253 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1254 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1255 program_prefix=$ac_optarg ;;
1257 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1258 | --program-suf | --program-su | --program-s)
1259 ac_prev=program_suffix ;;
1260 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1261 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1262 program_suffix=$ac_optarg ;;
1264 -program-transform-name | --program-transform-name \
1265 | --program-transform-nam | --program-transform-na \
1266 | --program-transform-n | --program-transform- \
1267 | --program-transform | --program-transfor \
1268 | --program-transfo | --program-transf \
1269 | --program-trans | --program-tran \
1270 | --progr-tra | --program-tr | --program-t)
1271 ac_prev=program_transform_name ;;
1272 -program-transform-name=* | --program-transform-name=* \
1273 | --program-transform-nam=* | --program-transform-na=* \
1274 | --program-transform-n=* | --program-transform-=* \
1275 | --program-transform=* | --program-transfor=* \
1276 | --program-transfo=* | --program-transf=* \
1277 | --program-trans=* | --program-tran=* \
1278 | --progr-tra=* | --program-tr=* | --program-t=*)
1279 program_transform_name=$ac_optarg ;;
1281 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1283 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1284 pdfdir=$ac_optarg ;;
1286 -psdir | --psdir | --psdi | --psd | --ps)
1288 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1292 | -silent | --silent | --silen | --sile | --sil)
1295 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1297 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1299 sbindir=$ac_optarg ;;
1301 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1302 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1303 | --sharedst | --shareds | --shared | --share | --shar \
1305 ac_prev=sharedstatedir ;;
1306 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1307 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1308 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1310 sharedstatedir=$ac_optarg ;;
1312 -site | --site | --sit)
1314 -site=* | --site=* | --sit=*)
1317 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1319 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1320 srcdir=$ac_optarg ;;
1322 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1323 | --syscon | --sysco | --sysc | --sys | --sy)
1324 ac_prev=sysconfdir ;;
1325 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1326 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1327 sysconfdir=$ac_optarg ;;
1329 -target | --target | --targe | --targ | --tar | --ta | --t)
1330 ac_prev=target_alias ;;
1331 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1332 target_alias=$ac_optarg ;;
1334 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1337 -version | --version | --versio | --versi | --vers | -V)
1338 ac_init_version=: ;;
1341 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1342 # Reject names that are not valid shell variable names.
1343 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1344 { echo "$as_me: error: invalid package name: $ac_package" >&2
1345 { (exit 1); exit 1; }; }
1346 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1347 eval with_$ac_package=\$ac_optarg ;;
1349 -without-* | --without-*)
1350 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1351 # Reject names that are not valid shell variable names.
1352 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1353 { echo "$as_me: error: invalid package name: $ac_package" >&2
1354 { (exit 1); exit 1; }; }
1355 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1356 eval with_$ac_package=no ;;
1359 # Obsolete; use --with-x.
1362 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1363 | --x-incl | --x-inc | --x-in | --x-i)
1364 ac_prev=x_includes ;;
1365 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1366 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1367 x_includes=$ac_optarg ;;
1369 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1370 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1371 ac_prev=x_libraries ;;
1372 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1373 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1374 x_libraries=$ac_optarg ;;
1376 -*) { echo "$as_me: error: unrecognized option: $ac_option
1377 Try \`$0 --help' for more information." >&2
1378 { (exit 1); exit 1; }; }
1382 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1383 # Reject names that are not valid shell variable names.
1384 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1385 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1386 { (exit 1); exit 1; }; }
1387 eval $ac_envvar=\$ac_optarg
1388 export $ac_envvar ;;
1391 # FIXME: should be removed in autoconf 3.0.
1392 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1393 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1394 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1395 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1401 if test -n "$ac_prev"; then
1402 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1403 { echo "$as_me: error: missing argument to $ac_option" >&2
1404 { (exit 1); exit 1; }; }
1407 # Be sure to have absolute directory names.
1408 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1409 datadir sysconfdir sharedstatedir localstatedir includedir \
1410 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1411 libdir localedir mandir
1413 eval ac_val=\$$ac_var
1415 [\\/$]* | ?:[\\/]* ) continue;;
1416 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1418 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1419 { (exit 1); exit 1; }; }
1422 # There might be people who depend on the old broken behavior: `$host'
1423 # used to hold the argument of --host etc.
1424 # FIXME: To remove some day.
1427 target=$target_alias
1429 # FIXME: To remove some day.
1430 if test "x$host_alias" != x; then
1431 if test "x$build_alias" = x; then
1432 cross_compiling=maybe
1433 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1434 If a cross compiler is detected then cross compile mode will be used." >&2
1435 elif test "x$build_alias" != "x$host_alias"; then
1441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1443 test "$silent" = yes && exec 6>/dev/null
1446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1447 ac_ls_di=`ls -di .` &&
1448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1449 { echo "$as_me: error: Working directory cannot be determined" >&2
1450 { (exit 1); exit 1; }; }
1451 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1452 { echo "$as_me: error: pwd does not report name of working directory" >&2
1453 { (exit 1); exit 1; }; }
1456 # Find the source files, if location was not specified.
1457 if test -z "$srcdir"; then
1458 ac_srcdir_defaulted=yes
1459 # Try the directory containing this script, then the parent directory.
1460 ac_confdir=`$as_dirname -- "$0" ||
1461 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1462 X"$0" : 'X\(//\)[^/]' \| \
1463 X"$0" : 'X\(//\)$' \| \
1464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1484 if test ! -r "$srcdir/$ac_unique_file"; then
1488 ac_srcdir_defaulted=no
1490 if test ! -r "$srcdir/$ac_unique_file"; then
1491 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1492 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1493 { (exit 1); exit 1; }; }
1495 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1497 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1498 { (exit 1); exit 1; }; }
1500 # When building in place, set srcdir=.
1501 if test "$ac_abs_confdir" = "$ac_pwd"; then
1504 # Remove unnecessary trailing slashes from srcdir.
1505 # Double slashes in file names in object file debugging info
1506 # mess up M-x gdb in Emacs.
1508 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1510 for ac_var in $ac_precious_vars; do
1511 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1512 eval ac_env_${ac_var}_value=\$${ac_var}
1513 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1514 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1518 # Report the --help message.
1520 if test "$ac_init_help" = "long"; then
1521 # Omit some internal or obsolete options to make the list less imposing.
1522 # This message is too long to be a string in the A/UX 3.1 sh.
1524 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1526 Usage: $0 [OPTION]... [VAR=VALUE]...
1528 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1529 VAR=VALUE. See below for descriptions of some of the useful variables.
1531 Defaults for the options are specified in brackets.
1534 -h, --help display this help and exit
1535 --help=short display options specific to this package
1536 --help=recursive display the short help of all the included packages
1537 -V, --version display version information and exit
1538 -q, --quiet, --silent do not print \`checking...' messages
1539 --cache-file=FILE cache test results in FILE [disabled]
1540 -C, --config-cache alias for \`--cache-file=config.cache'
1541 -n, --no-create do not create output files
1542 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1544 Installation directories:
1545 --prefix=PREFIX install architecture-independent files in PREFIX
1546 [$ac_default_prefix]
1547 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1550 By default, \`make install' will install all the files in
1551 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1552 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1553 for instance \`--prefix=\$HOME'.
1555 For better control, use the options below.
1557 Fine tuning of the installation directories:
1558 --bindir=DIR user executables [EPREFIX/bin]
1559 --sbindir=DIR system admin executables [EPREFIX/sbin]
1560 --libexecdir=DIR program executables [EPREFIX/libexec]
1561 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1562 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1563 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1564 --libdir=DIR object code libraries [EPREFIX/lib]
1565 --includedir=DIR C header files [PREFIX/include]
1566 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1567 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1568 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1569 --infodir=DIR info documentation [DATAROOTDIR/info]
1570 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1571 --mandir=DIR man documentation [DATAROOTDIR/man]
1572 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1573 --htmldir=DIR html documentation [DOCDIR]
1574 --dvidir=DIR dvi documentation [DOCDIR]
1575 --pdfdir=DIR pdf documentation [DOCDIR]
1576 --psdir=DIR ps documentation [DOCDIR]
1582 --build=BUILD configure for building on BUILD [guessed]
1583 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1587 if test -n "$ac_init_help"; then
1588 case $ac_init_help in
1589 short | recursive ) echo "Configuration of asterisk 1.6:";;
1594 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1595 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1596 --enable-dev-mode Turn on developer mode
1597 --disable-largefile omit support for large files
1598 --enable-internal-poll Use Asterisk's poll implementation
1599 --disable-xmldoc Explicity disable XML documentation
1602 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1603 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1604 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1605 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1606 --with-execinfo=PATH use Stack Backtrace support files in PATH
1607 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1608 --with-curl=PATH use cURL files in PATH
1609 --with-curses=PATH use curses files in PATH
1610 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1611 --with-dahdi=PATH use DAHDI files in PATH
1612 --with-avcodec=PATH use Ffmpeg and avcodec library files in PATH
1613 --with-gsm=PATH use External GSM library files in PATH , use
1614 'internal' GSM otherwise
1615 --with-gtk=PATH use gtk libraries files in PATH
1616 --with-gtk2=PATH use gtk2 libraries files in PATH
1617 --with-gmime=PATH use GMime library files in PATH
1618 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1619 --with-iconv=PATH use Iconv Library files in PATH
1620 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1621 --with-imap=PATH use UW IMAP Toolkit files in PATH
1622 --with-iodbc=PATH use iODBC files in PATH
1623 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1624 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1625 --with-ldap=PATH use OpenLDAP files in PATH
1626 --with-libxml2=PATH use LibXML2 files in PATH
1627 --with-ltdl=PATH use libtool files in PATH
1628 --with-lua=PATH use Lua files in PATH
1629 --with-misdn=PATH use mISDN User Library files in PATH
1630 --with-nbs=PATH use Network Broadcast Sound files in PATH
1631 --with-ncurses=PATH use ncurses files in PATH
1632 --with-netsnmp=PATH use Net-SNMP files in PATH
1633 --with-newt=PATH use newt files in PATH
1634 --with-ogg=PATH use OGG files in PATH
1635 --with-osptk=PATH use OSP Toolkit files in PATH
1636 --with-oss=PATH use Open Sound System files in PATH
1637 --with-postgres=PATH use PostgreSQL files in PATH
1638 --with-popt=PATH use popt files in PATH
1639 --with-portaudio=PATH use PortAudio files in PATH
1640 --with-pri=PATH use ISDN PRI files in PATH
1641 --with-resample=PATH use LIBRESAMPLE files in PATH
1642 --with-spandsp=PATH use SPANDSP files in PATH
1643 --with-ss7=PATH use ISDN SS7 files in PATH
1644 --with-pwlib=PATH use PWlib files in PATH
1645 --with-h323=PATH use OpenH323 files in PATH
1646 --with-radius=PATH use Radius Client files in PATH
1647 --with-sdl=PATH use Sdl files in PATH
1648 --with-SDL_image=PATH use Sdl Image library files in PATH
1649 --with-openais=PATH use OpenAIS files in PATH
1650 --with-speex=PATH use Speex files in PATH
1651 --with-speexdsp=PATH use Speexdsp files in PATH
1652 --with-sqlite=PATH use SQLite files in PATH
1653 --with-sqlite3=PATH use SQLite files in PATH
1654 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1655 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1657 --with-tds=PATH use FreeTDS files in PATH
1658 --with-termcap=PATH use Termcap files in PATH
1659 --with-tinfo=PATH use Term Info files in PATH
1660 --with-tonezone=PATH use tonezone files in PATH
1661 --with-unixodbc=PATH use unixODBC files in PATH
1662 --with-usb=PATH use usb files in PATH
1663 --with-vorbis=PATH use Vorbis files in PATH
1664 --with-vpb=PATH use Voicetronix API files in PATH
1665 --with-x11=PATH use X11 support files in PATH
1666 --with-z=PATH use zlib files in PATH
1668 Some influential environment variables:
1669 CC C compiler command
1670 CFLAGS C compiler flags
1671 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1672 nonstandard directory <lib dir>
1673 LIBS libraries to pass to the linker, e.g. -l<library>
1674 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1675 you have headers in a nonstandard directory <include dir>
1677 CXX C++ compiler command
1678 CXXFLAGS C++ compiler flags
1679 CXXCPP C++ preprocessor
1681 Use these variables to override the choices made by `configure' or to help
1682 it to find libraries and programs with nonstandard names/locations.
1684 Report bugs to <www.asterisk.org>.
1689 if test "$ac_init_help" = "recursive"; then
1690 # If there are subdirs, report their specific --help.
1691 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1692 test -d "$ac_dir" || continue
1696 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1698 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1699 # A ".." for each directory in $ac_dir_suffix.
1700 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1701 case $ac_top_builddir_sub in
1702 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1703 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1706 ac_abs_top_builddir=$ac_pwd
1707 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1708 # for backward compatibility:
1709 ac_top_builddir=$ac_top_build_prefix
1712 .) # We are building in place.
1714 ac_top_srcdir=$ac_top_builddir_sub
1715 ac_abs_top_srcdir=$ac_pwd ;;
1716 [\\/]* | ?:[\\/]* ) # Absolute name.
1717 ac_srcdir=$srcdir$ac_dir_suffix;
1718 ac_top_srcdir=$srcdir
1719 ac_abs_top_srcdir=$srcdir ;;
1721 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1722 ac_top_srcdir=$ac_top_build_prefix$srcdir
1723 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1725 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1727 cd "$ac_dir" || { ac_status=$?; continue; }
1728 # Check for guested configure.
1729 if test -f "$ac_srcdir/configure.gnu"; then
1731 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1732 elif test -f "$ac_srcdir/configure"; then
1734 $SHELL "$ac_srcdir/configure" --help=recursive
1736 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1738 cd "$ac_pwd" || { ac_status=$?; break; }
1742 test -n "$ac_init_help" && exit $ac_status
1743 if $ac_init_version; then
1745 asterisk configure 1.6
1746 generated by GNU Autoconf 2.61
1748 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1749 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1750 This configure script is free software; the Free Software Foundation
1751 gives unlimited permission to copy, distribute and modify it.
1757 cat >config.log <<_ACEOF
1758 This file contains any messages produced by compilers while
1759 running configure, to aid debugging if configure makes a mistake.
1761 It was created by asterisk $as_me 1.6, which was
1762 generated by GNU Autoconf 2.61. Invocation command line was
1774 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1775 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1776 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1777 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1778 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1780 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1781 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1783 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1784 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1785 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1786 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1787 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1788 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1789 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797 test -z "$as_dir" && as_dir=.
1798 echo "PATH: $as_dir"
1814 # Keep a trace of the command line.
1815 # Strip out --no-create and --no-recursion so they do not pile up.
1816 # Strip out --silent because we don't want to record it for future runs.
1817 # Also quote any args containing shell meta-characters.
1818 # Make two passes to allow for proper duplicate-argument suppression.
1822 ac_must_keep_next=false
1828 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1829 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1830 | -silent | --silent | --silen | --sile | --sil)
1833 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1836 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1838 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1839 if test $ac_must_keep_next = true; then
1840 ac_must_keep_next=false # Got value, back to normal.
1843 *=* | --config-cache | -C | -disable-* | --disable-* \
1844 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1845 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1846 | -with-* | --with-* | -without-* | --without-* | --x)
1847 case "$ac_configure_args0 " in
1848 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1851 -* ) ac_must_keep_next=true ;;
1854 ac_configure_args="$ac_configure_args '$ac_arg'"
1859 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1860 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1862 # When interrupted or exit'd, cleanup temporary files, and complete
1863 # config.log. We remove comments because anyway the quotes in there
1864 # would cause problems or look ugly.
1865 # WARNING: Use '\'' to represent an apostrophe within the trap.
1866 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1867 trap 'exit_status=$?
1868 # Save into config.log some information that might help in debugging.
1873 ## ---------------- ##
1874 ## Cache variables. ##
1875 ## ---------------- ##
1878 # The following way of writing the cache mishandles newlines in values,
1880 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1881 eval ac_val=\$$ac_var
1885 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1886 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1889 _ | IFS | as_nl) ;; #(
1890 *) $as_unset $ac_var ;;
1895 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1896 *${as_nl}ac_space=\ *)
1898 "s/'\''/'\''\\\\'\'''\''/g;
1899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1910 ## ----------------- ##
1911 ## Output variables. ##
1912 ## ----------------- ##
1915 for ac_var in $ac_subst_vars
1917 eval ac_val=\$$ac_var
1919 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1921 echo "$ac_var='\''$ac_val'\''"
1925 if test -n "$ac_subst_files"; then
1927 ## ------------------- ##
1928 ## File substitutions. ##
1929 ## ------------------- ##
1932 for ac_var in $ac_subst_files
1934 eval ac_val=\$$ac_var
1936 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1938 echo "$ac_var='\''$ac_val'\''"
1943 if test -s confdefs.h; then
1953 test "$ac_signal" != 0 &&
1954 echo "$as_me: caught signal $ac_signal"
1955 echo "$as_me: exit $exit_status"
1957 rm -f core *.core core.conftest.* &&
1958 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1961 for ac_signal in 1 2 13 15; do
1962 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1966 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1967 rm -f -r conftest* confdefs.h
1969 # Predefined preprocessor variables.
1971 cat >>confdefs.h <<_ACEOF
1972 #define PACKAGE_NAME "$PACKAGE_NAME"
1976 cat >>confdefs.h <<_ACEOF
1977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1986 cat >>confdefs.h <<_ACEOF
1987 #define PACKAGE_STRING "$PACKAGE_STRING"
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1996 # Let the site file select an alternate cache file if it wants to.
1997 # Prefer explicitly selected file to automatically selected ones.
1998 if test -n "$CONFIG_SITE"; then
1999 set x "$CONFIG_SITE"
2000 elif test "x$prefix" != xNONE; then
2001 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2003 set x "$ac_default_prefix/share/config.site" \
2004 "$ac_default_prefix/etc/config.site"
2009 if test -r "$ac_site_file"; then
2010 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2011 echo "$as_me: loading site script $ac_site_file" >&6;}
2012 sed 's/^/| /' "$ac_site_file" >&5
2017 if test -r "$cache_file"; then
2018 # Some versions of bash will fail to source /dev/null (special
2019 # files actually), so we avoid doing that.
2020 if test -f "$cache_file"; then
2021 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2022 echo "$as_me: loading cache $cache_file" >&6;}
2024 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2025 *) . "./$cache_file";;
2029 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2030 echo "$as_me: creating cache $cache_file" >&6;}
2034 ac_header_list="$ac_header_list utime.h"
2035 # Check that the precious variables saved in the cache have kept the same
2037 ac_cache_corrupted=false
2038 for ac_var in $ac_precious_vars; do
2039 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2040 eval ac_new_set=\$ac_env_${ac_var}_set
2041 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2042 eval ac_new_val=\$ac_env_${ac_var}_value
2043 case $ac_old_set,$ac_new_set in
2045 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2046 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2047 ac_cache_corrupted=: ;;
2049 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2050 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2051 ac_cache_corrupted=: ;;
2054 if test "x$ac_old_val" != "x$ac_new_val"; then
2055 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2056 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2057 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2058 echo "$as_me: former value: $ac_old_val" >&2;}
2059 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2060 echo "$as_me: current value: $ac_new_val" >&2;}
2061 ac_cache_corrupted=:
2064 # Pass precious variables to config.status.
2065 if test "$ac_new_set" = set; then
2067 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2068 *) ac_arg=$ac_var=$ac_new_val ;;
2070 case " $ac_configure_args " in
2071 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2072 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2076 if $ac_cache_corrupted; then
2077 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2078 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2079 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2080 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2081 { (exit 1); exit 1; }; }
2109 ac_cpp='$CPP $CPPFLAGS'
2110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2116 # cross-compile macros
2118 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2119 if test -f "$ac_dir/install-sh"; then
2121 ac_install_sh="$ac_aux_dir/install-sh -c"
2123 elif test -f "$ac_dir/install.sh"; then
2125 ac_install_sh="$ac_aux_dir/install.sh -c"
2127 elif test -f "$ac_dir/shtool"; then
2129 ac_install_sh="$ac_aux_dir/shtool install -c"
2133 if test -z "$ac_aux_dir"; then
2134 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2135 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2136 { (exit 1); exit 1; }; }
2139 # These three variables are undocumented and unsupported,
2140 # and are intended to be withdrawn in a future Autoconf release.
2141 # They can cause serious problems if a builder's source tree is in a directory
2142 # whose full name contains unusual characters.
2143 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2144 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2145 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2148 # Make sure we can run config.sub.
2149 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2150 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2151 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2152 { (exit 1); exit 1; }; }
2154 { echo "$as_me:$LINENO: checking build system type" >&5
2155 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2156 if test "${ac_cv_build+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 ac_build_alias=$build_alias
2160 test "x$ac_build_alias" = x &&
2161 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2162 test "x$ac_build_alias" = x &&
2163 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2164 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2165 { (exit 1); exit 1; }; }
2166 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2167 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2168 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2169 { (exit 1); exit 1; }; }
2172 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2173 echo "${ECHO_T}$ac_cv_build" >&6; }
2174 case $ac_cv_build in
2176 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2177 echo "$as_me: error: invalid value of canonical build" >&2;}
2178 { (exit 1); exit 1; }; };;
2181 ac_save_IFS=$IFS; IFS='-'
2187 # Remember, the first character of IFS is used to create $*,
2188 # except with old shells:
2191 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2194 { echo "$as_me:$LINENO: checking host system type" >&5
2195 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2196 if test "${ac_cv_host+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 if test "x$host_alias" = x; then
2200 ac_cv_host=$ac_cv_build
2202 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2203 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2204 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2205 { (exit 1); exit 1; }; }
2209 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2210 echo "${ECHO_T}$ac_cv_host" >&6; }
2213 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2214 echo "$as_me: error: invalid value of canonical host" >&2;}
2215 { (exit 1); exit 1; }; };;
2218 ac_save_IFS=$IFS; IFS='-'
2224 # Remember, the first character of IFS is used to create $*,
2225 # except with old shells:
2228 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2232 # check existence of the package
2235 # specify output header file
2236 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2243 cat >>confdefs.h <<\_ACEOF
2244 #define _GNU_SOURCE 1
2249 ac_cpp='$CPP $CPPFLAGS'
2250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2253 if test -n "$ac_tool_prefix"; then
2254 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2255 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2258 if test "${ac_cv_prog_CC+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 if test -n "$CC"; then
2262 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir=.
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 if test -n "$CC"; then
2283 { echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6; }
2286 { echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6; }
2292 if test -z "$ac_cv_prog_CC"; then
2294 # Extract the first word of "gcc", so it can be a program name with args.
2295 set dummy gcc; ac_word=$2
2296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$ac_ct_CC"; then
2302 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir=.
2309 for ac_exec_ext in '' $ac_executable_extensions; do
2310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2311 ac_cv_prog_ac_ct_CC="gcc"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2322 if test -n "$ac_ct_CC"; then
2323 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2324 echo "${ECHO_T}$ac_ct_CC" >&6; }
2326 { echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6; }
2330 if test "x$ac_ct_CC" = x; then
2333 case $cross_compiling:$ac_tool_warned in
2335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2336 whose name does not start with the host triplet. If you think this
2337 configuration is useful to you, please write to autoconf@gnu.org." >&5
2338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2339 whose name does not start with the host triplet. If you think this
2340 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2341 ac_tool_warned=yes ;;
2349 if test -z "$CC"; then
2350 if test -n "$ac_tool_prefix"; then
2351 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2352 set dummy ${ac_tool_prefix}cc; ac_word=$2
2353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2355 if test "${ac_cv_prog_CC+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 if test -n "$CC"; then
2359 ac_cv_prog_CC="$CC" # Let the user override the test.
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_CC="${ac_tool_prefix}cc"
2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 if test -n "$CC"; then
2380 { echo "$as_me:$LINENO: result: $CC" >&5
2381 echo "${ECHO_T}$CC" >&6; }
2383 { echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6; }
2390 if test -z "$CC"; then
2391 # Extract the first word of "cc", so it can be a program name with args.
2392 set dummy cc; ac_word=$2
2393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2395 if test "${ac_cv_prog_CC+set}" = set; then
2396 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 if test -n "$CC"; then
2399 ac_cv_prog_CC="$CC" # Let the user override the test.
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2410 ac_prog_rejected=yes
2414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 if test $ac_prog_rejected = yes; then
2422 # We found a bogon in the path, so make sure we never use it.
2423 set dummy $ac_cv_prog_CC
2425 if test $# != 0; then
2426 # We chose a different compiler from the bogus one.
2427 # However, it has the same basename, so the bogon will be chosen
2428 # first if we set CC to just the basename; use the full file name.
2430 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2436 if test -n "$CC"; then
2437 { echo "$as_me:$LINENO: result: $CC" >&5
2438 echo "${ECHO_T}$CC" >&6; }
2440 { echo "$as_me:$LINENO: result: no" >&5
2441 echo "${ECHO_T}no" >&6; }
2446 if test -z "$CC"; then
2447 if test -n "$ac_tool_prefix"; then
2448 for ac_prog in cl.exe
2450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2454 if test "${ac_cv_prog_CC+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 if test -n "$CC"; then
2458 ac_cv_prog_CC="$CC" # Let the user override the test.
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2467 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 if test -n "$CC"; then
2479 { echo "$as_me:$LINENO: result: $CC" >&5
2480 echo "${ECHO_T}$CC" >&6; }
2482 { echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6; }
2487 test -n "$CC" && break
2490 if test -z "$CC"; then
2492 for ac_prog in cl.exe
2494 # Extract the first word of "$ac_prog", so it can be a program name with args.
2495 set dummy $ac_prog; ac_word=$2
2496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 if test -n "$ac_ct_CC"; then
2502 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 test -z "$as_dir" && as_dir=.
2509 for ac_exec_ext in '' $ac_executable_extensions; do
2510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2511 ac_cv_prog_ac_ct_CC="$ac_prog"
2512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2522 if test -n "$ac_ct_CC"; then
2523 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2524 echo "${ECHO_T}$ac_ct_CC" >&6; }
2526 { echo "$as_me:$LINENO: result: no" >&5
2527 echo "${ECHO_T}no" >&6; }
2531 test -n "$ac_ct_CC" && break
2534 if test "x$ac_ct_CC" = x; then
2537 case $cross_compiling:$ac_tool_warned in
2539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2540 whose name does not start with the host triplet. If you think this
2541 configuration is useful to you, please write to autoconf@gnu.org." >&5
2542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2543 whose name does not start with the host triplet. If you think this
2544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2545 ac_tool_warned=yes ;;
2554 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2555 See \`config.log' for more details." >&5
2556 echo "$as_me: error: no acceptable C compiler found in \$PATH
2557 See \`config.log' for more details." >&2;}
2558 { (exit 1); exit 1; }; }
2560 # Provide some information about the compiler.
2561 echo "$as_me:$LINENO: checking for C compiler version" >&5
2562 ac_compiler=`set X $ac_compile; echo $2`
2563 { (ac_try="$ac_compiler --version >&5"
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compiler --version >&5") 2>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }
2573 { (ac_try="$ac_compiler -v >&5"
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2579 (eval "$ac_compiler -v >&5") 2>&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }
2583 { (ac_try="$ac_compiler -V >&5"
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589 (eval "$ac_compiler -V >&5") 2>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }
2594 cat >conftest.$ac_ext <<_ACEOF
2597 cat confdefs.h >>conftest.$ac_ext
2598 cat >>conftest.$ac_ext <<_ACEOF
2599 /* end confdefs.h. */
2609 ac_clean_files_save=$ac_clean_files
2610 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2611 # Try to create an executable without -o first, disregard a.out.
2612 # It will help us diagnose broken compilers, and finding out an intuition
2614 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2615 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2616 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2618 # List of possible output files, starting from the most likely.
2619 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2620 # only as a last resort. b.out is created by i960 compilers.
2621 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2623 # The IRIX 6 linker writes into existing files which may not be
2624 # executable, retaining their permissions. Remove them first so a
2625 # subsequent execution test works.
2627 for ac_file in $ac_files
2630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2631 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2636 if { (ac_try="$ac_link_default"
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2642 (eval "$ac_link_default") 2>&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }; then
2646 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2647 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2648 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2649 # so that the user can short-circuit this test for compilers unknown to
2651 for ac_file in $ac_files ''
2653 test -f "$ac_file" || continue
2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2658 # We found the default executable, but exeext='' is most
2662 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2664 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2666 # We set ac_cv_exeext here because the later test for it is not
2667 # safe: cross compilers may not add the suffix if given an `-o'
2668 # argument, so we may need to know it at that point already.
2669 # Even if this section looks crufty: it has the advantage of
2676 test "$ac_cv_exeext" = no && ac_cv_exeext=
2682 { echo "$as_me:$LINENO: result: $ac_file" >&5
2683 echo "${ECHO_T}$ac_file" >&6; }
2684 if test -z "$ac_file"; then
2685 echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2688 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2689 See \`config.log' for more details." >&5
2690 echo "$as_me: error: C compiler cannot create executables
2691 See \`config.log' for more details." >&2;}
2692 { (exit 77); exit 77; }; }
2695 ac_exeext=$ac_cv_exeext
2697 # Check that the compiler produces executables we can run. If not, either
2698 # the compiler is broken, or we cross compile.
2699 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2700 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2701 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2702 # If not cross compiling, check that we can run a simple program.
2703 if test "$cross_compiling" != yes; then
2704 if { ac_try='./$ac_file'
2705 { (case "(($ac_try" in
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2710 (eval "$ac_try") 2>&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; }; then
2716 if test "$cross_compiling" = maybe; then
2719 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2720 If you meant to cross compile, use \`--host'.
2721 See \`config.log' for more details." >&5
2722 echo "$as_me: error: cannot run C compiled programs.
2723 If you meant to cross compile, use \`--host'.
2724 See \`config.log' for more details." >&2;}
2725 { (exit 1); exit 1; }; }
2729 { echo "$as_me:$LINENO: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6; }
2732 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2733 ac_clean_files=$ac_clean_files_save
2734 # Check that the compiler produces executables we can run. If not, either
2735 # the compiler is broken, or we cross compile.
2736 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2737 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2738 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2739 echo "${ECHO_T}$cross_compiling" >&6; }
2741 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2742 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2743 if { (ac_try="$ac_link"
2745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749 (eval "$ac_link") 2>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; then
2753 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2754 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2755 # work properly (i.e., refer to `conftest.exe'), while it won't with
2757 for ac_file in conftest.exe conftest conftest.*; do
2758 test -f "$ac_file" || continue
2760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2761 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2767 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2768 See \`config.log' for more details." >&5
2769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2770 See \`config.log' for more details." >&2;}
2771 { (exit 1); exit 1; }; }
2774 rm -f conftest$ac_cv_exeext
2775 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2776 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2778 rm -f conftest.$ac_ext
2779 EXEEXT=$ac_cv_exeext
2781 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2783 if test "${ac_cv_objext+set}" = set; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 cat >conftest.$ac_ext <<_ACEOF
2789 cat confdefs.h >>conftest.$ac_ext
2790 cat >>conftest.$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2801 rm -f conftest.o conftest.obj
2802 if { (ac_try="$ac_compile"
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2808 (eval "$ac_compile") 2>&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }; then
2812 for ac_file in conftest.o conftest.obj conftest.*; do
2813 test -f "$ac_file" || continue;
2815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2816 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2821 echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2824 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2825 See \`config.log' for more details." >&5
2826 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2827 See \`config.log' for more details." >&2;}
2828 { (exit 1); exit 1; }; }
2831 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2833 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2834 echo "${ECHO_T}$ac_cv_objext" >&6; }
2835 OBJEXT=$ac_cv_objext
2837 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2838 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2839 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2842 cat >conftest.$ac_ext <<_ACEOF
2845 cat confdefs.h >>conftest.$ac_ext
2846 cat >>conftest.$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2860 rm -f conftest.$ac_objext
2861 if { (ac_try="$ac_compile"
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2867 (eval "$ac_compile") 2>conftest.er1
2869 grep -v '^ *+' conftest.er1 >conftest.err
2871 cat conftest.err >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest.$ac_objext; then
2879 echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2886 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2889 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2890 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2891 GCC=`test $ac_compiler_gnu = yes && echo yes`
2892 ac_test_CFLAGS=${CFLAGS+set}
2893 ac_save_CFLAGS=$CFLAGS
2894 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2895 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2896 if test "${ac_cv_prog_cc_g+set}" = set; then
2897 echo $ECHO_N "(cached) $ECHO_C" >&6
2899 ac_save_c_werror_flag=$ac_c_werror_flag
2900 ac_c_werror_flag=yes
2903 cat >conftest.$ac_ext <<_ACEOF
2906 cat confdefs.h >>conftest.$ac_ext
2907 cat >>conftest.$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2918 rm -f conftest.$ac_objext
2919 if { (ac_try="$ac_compile"
2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922 *) ac_try_echo=$ac_try;;
2924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2925 (eval "$ac_compile") 2>conftest.er1
2927 grep -v '^ *+' conftest.er1 >conftest.err
2929 cat conftest.err >&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } && {
2932 test -z "$ac_c_werror_flag" ||
2933 test ! -s conftest.err
2934 } && test -s conftest.$ac_objext; then
2937 echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2941 cat >conftest.$ac_ext <<_ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2965 grep -v '^ *+' conftest.er1 >conftest.err
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } && {
2970 test -z "$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2972 } && test -s conftest.$ac_objext; then
2975 echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2978 ac_c_werror_flag=$ac_save_c_werror_flag
2980 cat >conftest.$ac_ext <<_ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2995 rm -f conftest.$ac_objext
2996 if { (ac_try="$ac_compile"
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3002 (eval "$ac_compile") 2>conftest.er1
3004 grep -v '^ *+' conftest.er1 >conftest.err
3006 cat conftest.err >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); } && {
3009 test -z "$ac_c_werror_flag" ||
3010 test ! -s conftest.err
3011 } && test -s conftest.$ac_objext; then
3014 echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 ac_c_werror_flag=$ac_save_c_werror_flag
3029 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3031 if test "$ac_test_CFLAGS" = set; then
3032 CFLAGS=$ac_save_CFLAGS
3033 elif test $ac_cv_prog_cc_g = yes; then
3034 if test "$GCC" = yes; then
3040 if test "$GCC" = yes; then
3046 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3047 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3048 if test "${ac_cv_prog_cc_c89+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 ac_cv_prog_cc_c89=no
3053 cat >conftest.$ac_ext <<_ACEOF
3056 cat confdefs.h >>conftest.$ac_ext
3057 cat >>conftest.$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3061 #include <sys/types.h>
3062 #include <sys/stat.h>
3063 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3064 struct buf { int x; };
3065 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3066 static char *e (p, i)
3072 static char *f (char * (*g) (char **, int), char **p, ...)
3077 s = g (p, va_arg (v,int));
3082 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3083 function prototypes and stuff, but not '\xHH' hex character constants.
3084 These don't provoke an error unfortunately, instead are silently treated
3085 as 'x'. The following induces an error, until -std is added to get
3086 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3087 array size at least. It's necessary to write '\x00'==0 to get something
3088 that's true only with -std. */
3089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3091 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3092 inside strings and character constants. */
3094 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3096 int test (int i, double x);
3097 struct s1 {int (*f) (int a);};
3098 struct s2 {int (*f) (double a);};
3099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3110 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3111 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3113 CC="$ac_save_CC $ac_arg"
3114 rm -f conftest.$ac_objext
3115 if { (ac_try="$ac_compile"
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3121 (eval "$ac_compile") 2>conftest.er1
3123 grep -v '^ *+' conftest.er1 >conftest.err
3125 cat conftest.err >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } && {
3128 test -z "$ac_c_werror_flag" ||
3129 test ! -s conftest.err
3130 } && test -s conftest.$ac_objext; then
3131 ac_cv_prog_cc_c89=$ac_arg
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3139 rm -f core conftest.err conftest.$ac_objext
3140 test "x$ac_cv_prog_cc_c89" != "xno" && break
3142 rm -f conftest.$ac_ext
3147 case "x$ac_cv_prog_cc_c89" in
3149 { echo "$as_me:$LINENO: result: none needed" >&5
3150 echo "${ECHO_T}none needed" >&6; } ;;
3152 { echo "$as_me:$LINENO: result: unsupported" >&5
3153 echo "${ECHO_T}unsupported" >&6; } ;;
3155 CC="$CC $ac_cv_prog_cc_c89"
3156 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3157 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3162 ac_cpp='$CPP $CPPFLAGS'
3163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3169 ac_cpp='$CPP $CPPFLAGS'
3170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3173 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3174 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3175 # On Suns, sometimes $CPP names a directory.
3176 if test -n "$CPP" && test -d "$CPP"; then
3179 if test -z "$CPP"; then
3180 if test "${ac_cv_prog_CPP+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 # Double quotes because CPP needs to be expanded
3184 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3187 for ac_c_preproc_warn_flag in '' yes
3189 # Use a header file that comes with gcc, so configuring glibc
3190 # with a fresh cross-compiler works.
3191 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3192 # <limits.h> exists even on freestanding compilers.
3193 # On the NeXT, cc -E runs the code through the compiler's parser,
3194 # not just through cpp. "Syntax error" is here to catch this case.
3195 cat >conftest.$ac_ext <<_ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3202 # include <limits.h>
3204 # include <assert.h>
3208 if { (ac_try="$ac_cpp conftest.$ac_ext"
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3214 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3216 grep -v '^ *+' conftest.er1 >conftest.err
3218 cat conftest.err >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } >/dev/null && {
3221 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3222 test ! -s conftest.err
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3229 # Broken: fails on valid input.
3233 rm -f conftest.err conftest.$ac_ext
3235 # OK, works on sane cases. Now check whether nonexistent headers
3236 # can be detected and how.
3237 cat >conftest.$ac_ext <<_ACEOF
3240 cat confdefs.h >>conftest.$ac_ext
3241 cat >>conftest.$ac_ext <<_ACEOF
3242 /* end confdefs.h. */
3243 #include <ac_nonexistent.h>
3245 if { (ac_try="$ac_cpp conftest.$ac_ext"
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3253 grep -v '^ *+' conftest.er1 >conftest.err
3255 cat conftest.err >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); } >/dev/null && {
3258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3259 test ! -s conftest.err
3261 # Broken: success on invalid input.
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3267 # Passes both tests.
3272 rm -f conftest.err conftest.$ac_ext
3275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3276 rm -f conftest.err conftest.$ac_ext
3277 if $ac_preproc_ok; then
3289 { echo "$as_me:$LINENO: result: $CPP" >&5
3290 echo "${ECHO_T}$CPP" >&6; }
3292 for ac_c_preproc_warn_flag in '' yes
3294 # Use a header file that comes with gcc, so configuring glibc
3295 # with a fresh cross-compiler works.
3296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3297 # <limits.h> exists even on freestanding compilers.
3298 # On the NeXT, cc -E runs the code through the compiler's parser,
3299 # not just through cpp. "Syntax error" is here to catch this case.
3300 cat >conftest.$ac_ext <<_ACEOF
3303 cat confdefs.h >>conftest.$ac_ext
3304 cat >>conftest.$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3307 # include <limits.h>
3309 # include <assert.h>
3313 if { (ac_try="$ac_cpp conftest.$ac_ext"
3315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3316 *) ac_try_echo=$ac_try;;
3318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3319 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3321 grep -v '^ *+' conftest.er1 >conftest.err
3323 cat conftest.err >&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } >/dev/null && {
3326 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3327 test ! -s conftest.err
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.$ac_ext >&5
3334 # Broken: fails on valid input.
3338 rm -f conftest.err conftest.$ac_ext
3340 # OK, works on sane cases. Now check whether nonexistent headers
3341 # can be detected and how.
3342 cat >conftest.$ac_ext <<_ACEOF
3345 cat confdefs.h >>conftest.$ac_ext
3346 cat >>conftest.$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3348 #include <ac_nonexistent.h>
3350 if { (ac_try="$ac_cpp conftest.$ac_ext"
3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353 *) ac_try_echo=$ac_try;;
3355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3356 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3358 grep -v '^ *+' conftest.er1 >conftest.err
3360 cat conftest.err >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); } >/dev/null && {
3363 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3364 test ! -s conftest.err
3366 # Broken: success on invalid input.
3369 echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3372 # Passes both tests.
3377 rm -f conftest.err conftest.$ac_ext
3380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3381 rm -f conftest.err conftest.$ac_ext
3382 if $ac_preproc_ok; then
3385 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3386 See \`config.log' for more details." >&5
3387 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3388 See \`config.log' for more details." >&2;}
3389 { (exit 1); exit 1; }; }
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3399 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3400 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3401 if test "${ac_cv_path_GREP+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 # Extract the first word of "grep ggrep" to use in msg output
3405 if test -z "$GREP"; then
3406 set dummy grep ggrep; ac_prog_name=$2
3407 if test "${ac_cv_path_GREP+set}" = set; then
3408 echo $ECHO_N "(cached) $ECHO_C" >&6
3410 ac_path_GREP_found=false
3411 # Loop through the user's path and test for each of PROGNAME-LIST
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3416 test -z "$as_dir" && as_dir=.
3417 for ac_prog in grep ggrep; do
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3420 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3421 # Check for GNU ac_path_GREP and select it if it is found.
3422 # Check for GNU $ac_path_GREP
3423 case `"$ac_path_GREP" --version 2>&1` in
3425 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3428 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3431 cat "conftest.in" "conftest.in" >"conftest.tmp"
3432 mv "conftest.tmp" "conftest.in"
3433 cp "conftest.in" "conftest.nl"
3434 echo 'GREP' >> "conftest.nl"
3435 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3437 ac_count=`expr $ac_count + 1`
3438 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3439 # Best one so far, save it but keep looking for a better one
3440 ac_cv_path_GREP="$ac_path_GREP"
3441 ac_path_GREP_max=$ac_count
3443 # 10*(2^10) chars as input seems more than enough
3444 test $ac_count -gt 10 && break
3446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3450 $ac_path_GREP_found && break 3
3460 GREP="$ac_cv_path_GREP"
3461 if test -z "$GREP"; then
3462 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3463 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3464 { (exit 1); exit 1; }; }
3468 ac_cv_path_GREP=$GREP
3473 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3474 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3475 GREP="$ac_cv_path_GREP"
3478 { echo "$as_me:$LINENO: checking for egrep" >&5
3479 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3480 if test "${ac_cv_path_EGREP+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3484 then ac_cv_path_EGREP="$GREP -E"
3486 # Extract the first word of "egrep" to use in msg output
3487 if test -z "$EGREP"; then
3488 set dummy egrep; ac_prog_name=$2
3489 if test "${ac_cv_path_EGREP+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 ac_path_EGREP_found=false
3493 # Loop through the user's path and test for each of PROGNAME-LIST
3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3498 test -z "$as_dir" && as_dir=.
3499 for ac_prog in egrep; do
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3502 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3503 # Check for GNU ac_path_EGREP and select it if it is found.
3504 # Check for GNU $ac_path_EGREP
3505 case `"$ac_path_EGREP" --version 2>&1` in
3507 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3510 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3513 cat "conftest.in" "conftest.in" >"conftest.tmp"
3514 mv "conftest.tmp" "conftest.in"
3515 cp "conftest.in" "conftest.nl"
3516 echo 'EGREP' >> "conftest.nl"
3517 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3518 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3519 ac_count=`expr $ac_count + 1`
3520 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3521 # Best one so far, save it but keep looking for a better one
3522 ac_cv_path_EGREP="$ac_path_EGREP"
3523 ac_path_EGREP_max=$ac_count
3525 # 10*(2^10) chars as input seems more than enough
3526 test $ac_count -gt 10 && break
3528 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3532 $ac_path_EGREP_found && break 3
3542 EGREP="$ac_cv_path_EGREP"
3543 if test -z "$EGREP"; then
3544 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3545 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3546 { (exit 1); exit 1; }; }
3550 ac_cv_path_EGREP=$EGREP
3556 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3557 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3558 EGREP="$ac_cv_path_EGREP"
3562 { echo "$as_me:$LINENO: checking for AIX" >&5
3563 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3564 cat >conftest.$ac_ext <<_ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3576 $EGREP "yes" >/dev/null 2>&1; then
3577 { echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6; }
3579 cat >>confdefs.h <<\_ACEOF
3580 #define _ALL_SOURCE 1
3584 { echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6; }
3590 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3591 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3592 if test "${ac_cv_header_stdc+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 cat >conftest.$ac_ext <<_ACEOF
3598 cat confdefs.h >>conftest.$ac_ext
3599 cat >>conftest.$ac_ext <<_ACEOF
3600 /* end confdefs.h. */
3614 rm -f conftest.$ac_objext
3615 if { (ac_try="$ac_compile"
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_compile") 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } && {
3628 test -z "$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3630 } && test -s conftest.$ac_objext; then
3631 ac_cv_header_stdc=yes
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 ac_cv_header_stdc=no
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 if test $ac_cv_header_stdc = yes; then
3642 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3643 cat >conftest.$ac_ext <<_ACEOF
3646 cat confdefs.h >>conftest.$ac_ext
3647 cat >>conftest.$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3653 $EGREP "memchr" >/dev/null 2>&1; then
3656 ac_cv_header_stdc=no
3662 if test $ac_cv_header_stdc = yes; then
3663 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3664 cat >conftest.$ac_ext <<_ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3674 $EGREP "free" >/dev/null 2>&1; then
3677 ac_cv_header_stdc=no
3683 if test $ac_cv_header_stdc = yes; then
3684 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3685 if test "$cross_compiling" = yes; then
3688 cat >conftest.$ac_ext <<_ACEOF
3691 cat confdefs.h >>conftest.$ac_ext
3692 cat >>conftest.$ac_ext <<_ACEOF
3693 /* end confdefs.h. */
3696 #if ((' ' & 0x0FF) == 0x020)
3697 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3698 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3700 # define ISLOWER(c) \
3701 (('a' <= (c) && (c) <= 'i') \
3702 || ('j' <= (c) && (c) <= 'r') \
3703 || ('s' <= (c) && (c) <= 'z'))
3704 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3707 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3712 for (i = 0; i < 256; i++)
3713 if (XOR (islower (i), ISLOWER (i))
3714 || toupper (i) != TOUPPER (i))
3719 rm -f conftest$ac_exeext
3720 if { (ac_try="$ac_link"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3726 (eval "$ac_link") 2>&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3730 { (case "(($ac_try" in
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_try") 2>&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; }; then
3741 echo "$as_me: program exited with status $ac_status" >&5
3742 echo "$as_me: failed program was:" >&5
3743 sed 's/^/| /' conftest.$ac_ext >&5
3746 ac_cv_header_stdc=no
3748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3754 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3755 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3756 if test $ac_cv_header_stdc = yes; then
3758 cat >>confdefs.h <<\_ACEOF
3759 #define STDC_HEADERS 1
3764 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3774 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3775 inttypes.h stdint.h unistd.h
3777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3778 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3780 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 cat >conftest.$ac_ext <<_ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 $ac_includes_default
3791 #include <$ac_header>
3793 rm -f conftest.$ac_objext
3794 if { (ac_try="$ac_compile"
3796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797 *) ac_try_echo=$ac_try;;
3799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3800 (eval "$ac_compile") 2>conftest.er1
3802 grep -v '^ *+' conftest.er1 >conftest.err
3804 cat conftest.err >&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); } && {
3807 test -z "$ac_c_werror_flag" ||
3808 test ! -s conftest.err
3809 } && test -s conftest.$ac_objext; then
3810 eval "$as_ac_Header=yes"
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3815 eval "$as_ac_Header=no"
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 ac_res=`eval echo '${'$as_ac_Header'}'`
3821 { echo "$as_me:$LINENO: result: $ac_res" >&5
3822 echo "${ECHO_T}$ac_res" >&6; }
3823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3824 cat >>confdefs.h <<_ACEOF
3825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3833 if test "${ac_cv_header_minix_config_h+set}" = set; then
3834 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3835 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3836 if test "${ac_cv_header_minix_config_h+set}" = set; then
3837 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3840 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3842 # Is the header compilable?
3843 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3844 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3845 cat >conftest.$ac_ext <<_ACEOF
3848 cat confdefs.h >>conftest.$ac_ext
3849 cat >>conftest.$ac_ext <<_ACEOF
3850 /* end confdefs.h. */
3851 $ac_includes_default
3852 #include <minix/config.h>
3854 rm -f conftest.$ac_objext
3855 if { (ac_try="$ac_compile"
3857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3861 (eval "$ac_compile") 2>conftest.er1
3863 grep -v '^ *+' conftest.er1 >conftest.err
3865 cat conftest.err >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } && {
3868 test -z "$ac_c_werror_flag" ||
3869 test ! -s conftest.err
3870 } && test -s conftest.$ac_objext; then
3871 ac_header_compiler=yes
3873 echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.$ac_ext >&5
3876 ac_header_compiler=no
3879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3881 echo "${ECHO_T}$ac_header_compiler" >&6; }
3883 # Is the header present?
3884 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3885 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3886 cat >conftest.$ac_ext <<_ACEOF
3889 cat confdefs.h >>conftest.$ac_ext
3890 cat >>conftest.$ac_ext <<_ACEOF
3891 /* end confdefs.h. */
3892 #include <minix/config.h>
3894 if { (ac_try="$ac_cpp conftest.$ac_ext"
3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897 *) ac_try_echo=$ac_try;;
3899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3900 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3902 grep -v '^ *+' conftest.er1 >conftest.err
3904 cat conftest.err >&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); } >/dev/null && {
3907 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3908 test ! -s conftest.err
3910 ac_header_preproc=yes
3912 echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 ac_header_preproc=no
3918 rm -f conftest.err conftest.$ac_ext
3919 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3920 echo "${ECHO_T}$ac_header_preproc" >&6; }
3922 # So? What about this header?
3923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3925 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3926 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3927 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3928 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3929 ac_header_preproc=yes
3932 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3933 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3934 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3935 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3936 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3937 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3938 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3939 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3940 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3941 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3942 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3943 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3945 ## ------------------------------- ##
3946 ## Report this to www.asterisk.org ##
3947 ## ------------------------------- ##
3949 ) | sed "s/^/$as_me: WARNING: /" >&2
3952 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3953 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3954 if test "${ac_cv_header_minix_config_h+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3957 ac_cv_header_minix_config_h=$ac_header_preproc
3959 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3960 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3963 if test $ac_cv_header_minix_config_h = yes; then
3970 if test "$MINIX" = yes; then
3972 cat >>confdefs.h <<\_ACEOF
3973 #define _POSIX_SOURCE 1
3977 cat >>confdefs.h <<\_ACEOF
3978 #define _POSIX_1_SOURCE 2
3982 cat >>confdefs.h <<\_ACEOF
3998 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3999 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4000 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 cat >conftest.$ac_ext <<_ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4010 # define __EXTENSIONS__ 1
4011 $ac_includes_default
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4027 (eval "$ac_compile") 2>conftest.er1
4029 grep -v '^ *+' conftest.er1 >conftest.err
4031 cat conftest.err >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); } && {
4034 test -z "$ac_c_werror_flag" ||
4035 test ! -s conftest.err
4036 } && test -s conftest.$ac_objext; then
4037 ac_cv_safe_to_define___extensions__=yes
4039 echo "$as_me: failed program was:" >&5
4040 sed 's/^/| /' conftest.$ac_ext >&5
4042 ac_cv_safe_to_define___extensions__=no
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4047 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4048 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4049 test $ac_cv_safe_to_define___extensions__ = yes &&
4050 cat >>confdefs.h <<\_ACEOF
4051 #define __EXTENSIONS__ 1
4054 cat >>confdefs.h <<\_ACEOF
4055 #define _POSIX_PTHREAD_SEMANTICS 1
4058 cat >>confdefs.h <<\_ACEOF
4059 #define _TANDEM_SOURCE 1
4062 # note- does not work on FreeBSD
4064 case "${host_os}" in
4066 ac_default_prefix=/usr/local
4067 CPPFLAGS=-I/usr/local/include
4068 LDFLAGS=-L/usr/local/lib
4071 ac_default_prefix=/usr/local
4072 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4073 if test ${sysconfdir} = '${prefix}/etc'; then
4076 if test ${mandir} = '${prefix}/man'; then
4077 mandir=/usr/share/man
4080 CPPFLAGS=-I/usr/local/include
4081 LDFLAGS=-L/usr/local/lib
4084 ac_default_prefix=/usr
4085 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4086 if test ${sysconfdir} = '${prefix}/etc'; then
4089 if test ${mandir} = '${prefix}/man'; then
4090 mandir=/usr/share/man
4096 if test ${localstatedir} = '${prefix}/var'; then
4100 BUILD_PLATFORM=${build}
4101 BUILD_CPU=${build_cpu}
4102 BUILD_VENDOR=${build_vendor}
4103 BUILD_OS=${build_os}
4110 HOST_PLATFORM=${host}
4111 HOST_CPU=${host_cpu}
4112 HOST_VENDOR=${host_vendor}
4122 case "${host_os}" in
4152 if test -n "$ac_tool_prefix"; then
4153 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4154 set dummy ${ac_tool_prefix}uname; ac_word=$2
4155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4157 if test "${ac_cv_path_UNAME+set}" = set; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4172 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 UNAME=$ac_cv_path_UNAME
4184 if test -n "$UNAME"; then
4185 { echo "$as_me:$LINENO: result: $UNAME" >&5
4186 echo "${ECHO_T}$UNAME" >&6; }
4188 { echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6; }
4194 if test -z "$ac_cv_path_UNAME"; then
4196 # Extract the first word of "uname", so it can be a program name with args.
4197 set dummy uname; ac_word=$2
4198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4200 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4201 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 case $ac_pt_UNAME in
4205 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir=.
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4215 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4226 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4227 if test -n "$ac_pt_UNAME"; then
4228 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4229 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4231 { echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6; }
4235 if test "x$ac_pt_UNAME" = x; then
4238 case $cross_compiling:$ac_tool_warned in
4240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4241 whose name does not start with the host triplet. If you think this
4242 configuration is useful to you, please write to autoconf@gnu.org." >&5
4243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4244 whose name does not start with the host triplet. If you think this
4245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4246 ac_tool_warned=yes ;;
4251 UNAME="$ac_cv_path_UNAME"
4254 if test ! x"${UNAME}" = xNo; then
4255 PBX_OSREV=$(${UNAME} -r)
4265 # cross-compile checks
4266 if test "${cross_compiling}" = "yes";
4268 if test -n "$ac_tool_prefix"; then
4269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4270 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4273 if test "${ac_cv_prog_CC+set}" = set; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 if test -n "$CC"; then
4277 ac_cv_prog_CC="$CC" # Let the user override the test.
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 test -z "$as_dir" && as_dir=.
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4286 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 if test -n "$CC"; then
4298 { echo "$as_me:$LINENO: result: $CC" >&5
4299 echo "${ECHO_T}$CC" >&6; }
4301 { echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6; }
4307 if test -z "$ac_cv_prog_CC"; then
4309 # Extract the first word of "gcc", so it can be a program name with args.
4310 set dummy gcc; ac_word=$2
4311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4313 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4314 echo $ECHO_N "(cached) $ECHO_C" >&6
4316 if test -n "$ac_ct_CC"; then
4317 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir=.
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4326 ac_cv_prog_ac_ct_CC="gcc"
4327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4337 if test -n "$ac_ct_CC"; then
4338 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4339 echo "${ECHO_T}$ac_ct_CC" >&6; }
4341 { echo "$as_me:$LINENO: result: no" >&5
4342 echo "${ECHO_T}no" >&6; }
4345 if test "x$ac_ct_CC" = x; then
4348 case $cross_compiling:$ac_tool_warned in
4350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4351 whose name does not start with the host triplet. If you think this
4352 configuration is useful to you, please write to autoconf@gnu.org." >&5
4353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4354 whose name does not start with the host triplet. If you think this
4355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4356 ac_tool_warned=yes ;;
4364 if test -n "$ac_tool_prefix"; then
4365 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4366 set dummy ${ac_tool_prefix}g++; ac_word=$2
4367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4369 if test "${ac_cv_prog_CXX+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 if test -n "$CXX"; then
4373 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 test -z "$as_dir" && as_dir=.
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 if test -n "$CXX"; then
4394 { echo "$as_me:$LINENO: result: $CXX" >&5
4395 echo "${ECHO_T}$CXX" >&6; }
4397 { echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6; }
4403 if test -z "$ac_cv_prog_CXX"; then
4405 # Extract the first word of "g++", so it can be a program name with args.
4406 set dummy g++; ac_word=$2
4407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4409 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 if test -n "$ac_ct_CXX"; then
4413 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir=.
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_prog_ac_ct_CXX="g++"
4423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4433 if test -n "$ac_ct_CXX"; then
4434 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4435 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4437 { echo "$as_me:$LINENO: result: no" >&5
4438 echo "${ECHO_T}no" >&6; }
4441 if test "x$ac_ct_CXX" = x; then
4444 case $cross_compiling:$ac_tool_warned in
4446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4447 whose name does not start with the host triplet. If you think this
4448 configuration is useful to you, please write to autoconf@gnu.org." >&5
4449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4450 whose name does not start with the host triplet. If you think this
4451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4452 ac_tool_warned=yes ;;
4457 CXX="$ac_cv_prog_CXX"
4460 if test -n "$ac_tool_prefix"; then
4461 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4462 set dummy ${ac_tool_prefix}ld; ac_word=$2
4463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4465 if test "${ac_cv_prog_LD+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 if test -n "$LD"; then
4469 ac_cv_prog_LD="$LD" # Let the user override the test.
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir=.
4476 for ac_exec_ext in '' $ac_executable_extensions; do
4477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4478 ac_cv_prog_LD="${ac_tool_prefix}ld"
4479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 if test -n "$LD"; then
4490 { echo "$as_me:$LINENO: result: $LD" >&5
4491 echo "${ECHO_T}$LD" >&6; }
4493 { echo "$as_me:$LINENO: result: no" >&5
4494 echo "${ECHO_T}no" >&6; }
4499 if test -z "$ac_cv_prog_LD"; then
4501 # Extract the first word of "ld", so it can be a program name with args.
4502 set dummy ld; ac_word=$2
4503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4505 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 if test -n "$ac_ct_LD"; then
4509 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir=.
4516 for ac_exec_ext in '' $ac_executable_extensions; do
4517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4518 ac_cv_prog_ac_ct_LD="ld"
4519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4529 if test -n "$ac_ct_LD"; then
4530 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4531 echo "${ECHO_T}$ac_ct_LD" >&6; }
4533 { echo "$as_me:$LINENO: result: no" >&5
4534 echo "${ECHO_T}no" >&6; }
4537 if test "x$ac_ct_LD" = x; then
4540 case $cross_compiling:$ac_tool_warned in
4542 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4543 whose name does not start with the host triplet. If you think this
4544 configuration is useful to you, please write to autoconf@gnu.org." >&5
4545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4546 whose name does not start with the host triplet. If you think this
4547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4548 ac_tool_warned=yes ;;
4556 if test -n "$ac_tool_prefix"; then
4557 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4558 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4561 if test "${ac_cv_prog_RANLIB+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4564 if test -n "$RANLIB"; then
4565 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4574 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 RANLIB=$ac_cv_prog_RANLIB
4585 if test -n "$RANLIB"; then
4586 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4587 echo "${ECHO_T}$RANLIB" >&6; }
4589 { echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6; }
4595 if test -z "$ac_cv_prog_RANLIB"; then
4596 ac_ct_RANLIB=$RANLIB
4597 # Extract the first word of "ranlib", so it can be a program name with args.
4598 set dummy ranlib; ac_word=$2
4599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4601 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 if test -n "$ac_ct_RANLIB"; then
4605 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir=.
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614 ac_cv_prog_ac_ct_RANLIB="ranlib"
4615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4625 if test -n "$ac_ct_RANLIB"; then
4626 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4627 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4629 { echo "$as_me:$LINENO: result: no" >&5
4630 echo "${ECHO_T}no" >&6; }
4633 if test "x$ac_ct_RANLIB" = x; then
4636 case $cross_compiling:$ac_tool_warned in
4638 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4639 whose name does not start with the host triplet. If you think this
4640 configuration is useful to you, please write to autoconf@gnu.org." >&5
4641 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4642 whose name does not start with the host triplet. If you think this
4643 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4644 ac_tool_warned=yes ;;
4646 RANLIB=$ac_ct_RANLIB
4649 RANLIB="$ac_cv_prog_RANLIB"
4654 # Checks for programs.
4656 ac_cpp='$CPP $CPPFLAGS'
4657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4660 if test -n "$ac_tool_prefix"; then
4661 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4662 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4665 if test "${ac_cv_prog_CC+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 if test -n "$CC"; then
4669 ac_cv_prog_CC="$CC" # Let the user override the test.
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4678 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 if test -n "$CC"; then
4690 { echo "$as_me:$LINENO: result: $CC" >&5
4691 echo "${ECHO_T}$CC" >&6; }
4693 { echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6; }
4699 if test -z "$ac_cv_prog_CC"; then
4701 # Extract the first word of "gcc", so it can be a program name with args.
4702 set dummy gcc; ac_word=$2
4703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 if test -n "$ac_ct_CC"; then
4709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 test -z "$as_dir" && as_dir=.
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4718 ac_cv_prog_ac_ct_CC="gcc"
4719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5