2 # From configure.ac Revision: 173130 .
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
907 SPEEX_PREPROCESS_INCLUDE
979 PBX_PTHREAD_RWLOCK_INITIALIZER
980 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
983 AST_DECLARATION_AFTER_STATEMENT
985 AST_NO_STRICT_OVERFLOW
1018 GENERIC_ODBC_INCLUDE
1022 ac_precious_vars='build_alias
1037 # Initialize some variables set by options.
1039 ac_init_version=false
1040 # The variables have the same names as the options, with
1041 # dashes changed to underlines.
1042 cache_file=/dev/null
1049 program_transform_name=s,x,x,
1057 # Installation directory options.
1058 # These are left unexpanded so users can "make install exec_prefix=/foo"
1059 # and all the variables that are supposed to be based on exec_prefix
1060 # by default will actually change.
1061 # Use braces instead of parens because sh, perl, etc. also accept them.
1062 # (The list follows the same order as the GNU Coding Standards.)
1063 bindir='${exec_prefix}/bin'
1064 sbindir='${exec_prefix}/sbin'
1065 libexecdir='${exec_prefix}/libexec'
1066 datarootdir='${prefix}/share'
1067 datadir='${datarootdir}'
1068 sysconfdir='${prefix}/etc'
1069 sharedstatedir='${prefix}/com'
1070 localstatedir='${prefix}/var'
1071 includedir='${prefix}/include'
1072 oldincludedir='/usr/include'
1073 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1074 infodir='${datarootdir}/info'
1079 libdir='${exec_prefix}/lib'
1080 localedir='${datarootdir}/locale'
1081 mandir='${datarootdir}/man'
1087 # If the previous option needs an argument, assign it.
1088 if test -n "$ac_prev"; then
1089 eval $ac_prev=\$ac_option
1095 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1099 # Accept the important Cygnus configure options, so we can diagnose typos.
1101 case $ac_dashdash$ac_option in
1105 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1107 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1108 bindir=$ac_optarg ;;
1110 -build | --build | --buil | --bui | --bu)
1111 ac_prev=build_alias ;;
1112 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1113 build_alias=$ac_optarg ;;
1115 -cache-file | --cache-file | --cache-fil | --cache-fi \
1116 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1117 ac_prev=cache_file ;;
1118 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1119 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1120 cache_file=$ac_optarg ;;
1122 --config-cache | -C)
1123 cache_file=config.cache ;;
1125 -datadir | --datadir | --datadi | --datad)
1127 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1128 datadir=$ac_optarg ;;
1130 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1131 | --dataroo | --dataro | --datar)
1132 ac_prev=datarootdir ;;
1133 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1134 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1135 datarootdir=$ac_optarg ;;
1137 -disable-* | --disable-*)
1138 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1141 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1142 { (exit 1); exit 1; }; }
1143 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1144 eval enable_$ac_feature=no ;;
1146 -docdir | --docdir | --docdi | --doc | --do)
1148 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1149 docdir=$ac_optarg ;;
1151 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1153 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1154 dvidir=$ac_optarg ;;
1156 -enable-* | --enable-*)
1157 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1160 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1161 { (exit 1); exit 1; }; }
1162 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1163 eval enable_$ac_feature=\$ac_optarg ;;
1165 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1166 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1167 | --exec | --exe | --ex)
1168 ac_prev=exec_prefix ;;
1169 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1170 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1171 | --exec=* | --exe=* | --ex=*)
1172 exec_prefix=$ac_optarg ;;
1174 -gas | --gas | --ga | --g)
1175 # Obsolete; use --with-gas.
1178 -help | --help | --hel | --he | -h)
1179 ac_init_help=long ;;
1180 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1181 ac_init_help=recursive ;;
1182 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1183 ac_init_help=short ;;
1185 -host | --host | --hos | --ho)
1186 ac_prev=host_alias ;;
1187 -host=* | --host=* | --hos=* | --ho=*)
1188 host_alias=$ac_optarg ;;
1190 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1192 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1194 htmldir=$ac_optarg ;;
1196 -includedir | --includedir | --includedi | --included | --include \
1197 | --includ | --inclu | --incl | --inc)
1198 ac_prev=includedir ;;
1199 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1200 | --includ=* | --inclu=* | --incl=* | --inc=*)
1201 includedir=$ac_optarg ;;
1203 -infodir | --infodir | --infodi | --infod | --info | --inf)
1205 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1206 infodir=$ac_optarg ;;
1208 -libdir | --libdir | --libdi | --libd)
1210 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1211 libdir=$ac_optarg ;;
1213 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1214 | --libexe | --libex | --libe)
1215 ac_prev=libexecdir ;;
1216 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1217 | --libexe=* | --libex=* | --libe=*)
1218 libexecdir=$ac_optarg ;;
1220 -localedir | --localedir | --localedi | --localed | --locale)
1221 ac_prev=localedir ;;
1222 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1223 localedir=$ac_optarg ;;
1225 -localstatedir | --localstatedir | --localstatedi | --localstated \
1226 | --localstate | --localstat | --localsta | --localst | --locals)
1227 ac_prev=localstatedir ;;
1228 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1229 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1230 localstatedir=$ac_optarg ;;
1232 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1234 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1235 mandir=$ac_optarg ;;
1237 -nfp | --nfp | --nf)
1238 # Obsolete; use --without-fp.
1241 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1242 | --no-cr | --no-c | -n)
1245 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1246 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1249 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1250 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1251 | --oldin | --oldi | --old | --ol | --o)
1252 ac_prev=oldincludedir ;;
1253 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1254 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1255 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1256 oldincludedir=$ac_optarg ;;
1258 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1260 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1261 prefix=$ac_optarg ;;
1263 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1264 | --program-pre | --program-pr | --program-p)
1265 ac_prev=program_prefix ;;
1266 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1267 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1268 program_prefix=$ac_optarg ;;
1270 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1271 | --program-suf | --program-su | --program-s)
1272 ac_prev=program_suffix ;;
1273 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1274 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1275 program_suffix=$ac_optarg ;;
1277 -program-transform-name | --program-transform-name \
1278 | --program-transform-nam | --program-transform-na \
1279 | --program-transform-n | --program-transform- \
1280 | --program-transform | --program-transfor \
1281 | --program-transfo | --program-transf \
1282 | --program-trans | --program-tran \
1283 | --progr-tra | --program-tr | --program-t)
1284 ac_prev=program_transform_name ;;
1285 -program-transform-name=* | --program-transform-name=* \
1286 | --program-transform-nam=* | --program-transform-na=* \
1287 | --program-transform-n=* | --program-transform-=* \
1288 | --program-transform=* | --program-transfor=* \
1289 | --program-transfo=* | --program-transf=* \
1290 | --program-trans=* | --program-tran=* \
1291 | --progr-tra=* | --program-tr=* | --program-t=*)
1292 program_transform_name=$ac_optarg ;;
1294 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1296 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1297 pdfdir=$ac_optarg ;;
1299 -psdir | --psdir | --psdi | --psd | --ps)
1301 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1304 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1305 | -silent | --silent | --silen | --sile | --sil)
1308 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1310 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1312 sbindir=$ac_optarg ;;
1314 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1315 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1316 | --sharedst | --shareds | --shared | --share | --shar \
1318 ac_prev=sharedstatedir ;;
1319 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1320 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1321 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1323 sharedstatedir=$ac_optarg ;;
1325 -site | --site | --sit)
1327 -site=* | --site=* | --sit=*)
1330 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1332 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1333 srcdir=$ac_optarg ;;
1335 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1336 | --syscon | --sysco | --sysc | --sys | --sy)
1337 ac_prev=sysconfdir ;;
1338 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1339 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1340 sysconfdir=$ac_optarg ;;
1342 -target | --target | --targe | --targ | --tar | --ta | --t)
1343 ac_prev=target_alias ;;
1344 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1345 target_alias=$ac_optarg ;;
1347 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1350 -version | --version | --versio | --versi | --vers | -V)
1351 ac_init_version=: ;;
1354 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1355 # Reject names that are not valid shell variable names.
1356 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1357 { echo "$as_me: error: invalid package name: $ac_package" >&2
1358 { (exit 1); exit 1; }; }
1359 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1360 eval with_$ac_package=\$ac_optarg ;;
1362 -without-* | --without-*)
1363 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1364 # Reject names that are not valid shell variable names.
1365 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1366 { echo "$as_me: error: invalid package name: $ac_package" >&2
1367 { (exit 1); exit 1; }; }
1368 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1369 eval with_$ac_package=no ;;
1372 # Obsolete; use --with-x.
1375 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1376 | --x-incl | --x-inc | --x-in | --x-i)
1377 ac_prev=x_includes ;;
1378 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1379 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1380 x_includes=$ac_optarg ;;
1382 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1383 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1384 ac_prev=x_libraries ;;
1385 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1386 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1387 x_libraries=$ac_optarg ;;
1389 -*) { echo "$as_me: error: unrecognized option: $ac_option
1390 Try \`$0 --help' for more information." >&2
1391 { (exit 1); exit 1; }; }
1395 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1396 # Reject names that are not valid shell variable names.
1397 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1398 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1399 { (exit 1); exit 1; }; }
1400 eval $ac_envvar=\$ac_optarg
1401 export $ac_envvar ;;
1404 # FIXME: should be removed in autoconf 3.0.
1405 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1406 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1407 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1408 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1414 if test -n "$ac_prev"; then
1415 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1416 { echo "$as_me: error: missing argument to $ac_option" >&2
1417 { (exit 1); exit 1; }; }
1420 # Be sure to have absolute directory names.
1421 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1422 datadir sysconfdir sharedstatedir localstatedir includedir \
1423 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1424 libdir localedir mandir
1426 eval ac_val=\$$ac_var
1428 [\\/$]* | ?:[\\/]* ) continue;;
1429 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1431 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1432 { (exit 1); exit 1; }; }
1435 # There might be people who depend on the old broken behavior: `$host'
1436 # used to hold the argument of --host etc.
1437 # FIXME: To remove some day.
1440 target=$target_alias
1442 # FIXME: To remove some day.
1443 if test "x$host_alias" != x; then
1444 if test "x$build_alias" = x; then
1445 cross_compiling=maybe
1446 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1447 If a cross compiler is detected then cross compile mode will be used." >&2
1448 elif test "x$build_alias" != "x$host_alias"; then
1454 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1456 test "$silent" = yes && exec 6>/dev/null
1459 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1460 ac_ls_di=`ls -di .` &&
1461 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1462 { echo "$as_me: error: Working directory cannot be determined" >&2
1463 { (exit 1); exit 1; }; }
1464 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1465 { echo "$as_me: error: pwd does not report name of working directory" >&2
1466 { (exit 1); exit 1; }; }
1469 # Find the source files, if location was not specified.
1470 if test -z "$srcdir"; then
1471 ac_srcdir_defaulted=yes
1472 # Try the directory containing this script, then the parent directory.
1473 ac_confdir=`$as_dirname -- "$0" ||
1474 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1475 X"$0" : 'X\(//\)[^/]' \| \
1476 X"$0" : 'X\(//\)$' \| \
1477 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1497 if test ! -r "$srcdir/$ac_unique_file"; then
1501 ac_srcdir_defaulted=no
1503 if test ! -r "$srcdir/$ac_unique_file"; then
1504 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1505 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1506 { (exit 1); exit 1; }; }
1508 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1510 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1511 { (exit 1); exit 1; }; }
1513 # When building in place, set srcdir=.
1514 if test "$ac_abs_confdir" = "$ac_pwd"; then
1517 # Remove unnecessary trailing slashes from srcdir.
1518 # Double slashes in file names in object file debugging info
1519 # mess up M-x gdb in Emacs.
1521 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1523 for ac_var in $ac_precious_vars; do
1524 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1525 eval ac_env_${ac_var}_value=\$${ac_var}
1526 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1527 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1531 # Report the --help message.
1533 if test "$ac_init_help" = "long"; then
1534 # Omit some internal or obsolete options to make the list less imposing.
1535 # This message is too long to be a string in the A/UX 3.1 sh.
1537 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1539 Usage: $0 [OPTION]... [VAR=VALUE]...
1541 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1542 VAR=VALUE. See below for descriptions of some of the useful variables.
1544 Defaults for the options are specified in brackets.
1547 -h, --help display this help and exit
1548 --help=short display options specific to this package
1549 --help=recursive display the short help of all the included packages
1550 -V, --version display version information and exit
1551 -q, --quiet, --silent do not print \`checking...' messages
1552 --cache-file=FILE cache test results in FILE [disabled]
1553 -C, --config-cache alias for \`--cache-file=config.cache'
1554 -n, --no-create do not create output files
1555 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1557 Installation directories:
1558 --prefix=PREFIX install architecture-independent files in PREFIX
1559 [$ac_default_prefix]
1560 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1563 By default, \`make install' will install all the files in
1564 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1565 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1566 for instance \`--prefix=\$HOME'.
1568 For better control, use the options below.
1570 Fine tuning of the installation directories:
1571 --bindir=DIR user executables [EPREFIX/bin]
1572 --sbindir=DIR system admin executables [EPREFIX/sbin]
1573 --libexecdir=DIR program executables [EPREFIX/libexec]
1574 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1575 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1576 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1577 --libdir=DIR object code libraries [EPREFIX/lib]
1578 --includedir=DIR C header files [PREFIX/include]
1579 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1580 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1581 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1582 --infodir=DIR info documentation [DATAROOTDIR/info]
1583 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1584 --mandir=DIR man documentation [DATAROOTDIR/man]
1585 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1586 --htmldir=DIR html documentation [DOCDIR]
1587 --dvidir=DIR dvi documentation [DOCDIR]
1588 --pdfdir=DIR pdf documentation [DOCDIR]
1589 --psdir=DIR ps documentation [DOCDIR]
1595 --build=BUILD configure for building on BUILD [guessed]
1596 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1600 if test -n "$ac_init_help"; then
1601 case $ac_init_help in
1602 short | recursive ) echo "Configuration of asterisk 1.6:";;
1607 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1608 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1609 --enable-dev-mode Turn on developer mode
1610 --disable-largefile omit support for large files
1611 --enable-internal-poll Use Asterisk's poll implementation
1612 --disable-xmldoc Explicity disable XML documentation
1615 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1616 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1617 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1618 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1619 --with-execinfo=PATH use Stack Backtrace support files in PATH
1620 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1621 --with-curl=PATH use cURL files in PATH
1622 --with-curses=PATH use curses files in PATH
1623 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1624 --with-dahdi=PATH use DAHDI files in PATH
1625 --with-avcodec=PATH use Ffmpeg and avcodec library files in PATH
1626 --with-gsm=PATH use External GSM library files in PATH , use
1627 'internal' GSM otherwise
1628 --with-gtk=PATH use gtk libraries files in PATH
1629 --with-gtk2=PATH use gtk2 libraries files in PATH
1630 --with-gmime=PATH use GMime library files in PATH
1631 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1632 --with-iconv=PATH use Iconv Library files in PATH
1633 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1634 --with-imap=PATH use UW IMAP Toolkit files in PATH
1635 --with-iodbc=PATH use iODBC files in PATH
1636 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1637 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1638 --with-ldap=PATH use OpenLDAP files in PATH
1639 --with-libxml2=PATH use LibXML2 files in PATH
1640 --with-ltdl=PATH use libtool files in PATH
1641 --with-lua=PATH use Lua files in PATH
1642 --with-misdn=PATH use mISDN User Library files in PATH
1643 --with-nbs=PATH use Network Broadcast Sound files in PATH
1644 --with-ncurses=PATH use ncurses files in PATH
1645 --with-netsnmp=PATH use Net-SNMP files in PATH
1646 --with-newt=PATH use newt files in PATH
1647 --with-ogg=PATH use OGG files in PATH
1648 --with-osptk=PATH use OSP Toolkit files in PATH
1649 --with-oss=PATH use Open Sound System files in PATH
1650 --with-postgres=PATH use PostgreSQL files in PATH
1651 --with-popt=PATH use popt files in PATH
1652 --with-portaudio=PATH use PortAudio files in PATH
1653 --with-pri=PATH use ISDN PRI files in PATH
1654 --with-resample=PATH use LIBRESAMPLE files in PATH
1655 --with-spandsp=PATH use SPANDSP files in PATH
1656 --with-ss7=PATH use ISDN SS7 files in PATH
1657 --with-pwlib=PATH use PWlib files in PATH
1658 --with-h323=PATH use OpenH323 files in PATH
1659 --with-radius=PATH use Radius Client files in PATH
1660 --with-sdl=PATH use Sdl files in PATH
1661 --with-SDL_image=PATH use Sdl Image library files in PATH
1662 --with-openais=PATH use OpenAIS files in PATH
1663 --with-speex=PATH use Speex files in PATH
1664 --with-speex=PATH use Speex preprocess routines files in PATH
1665 --with-speexdsp=PATH use Speexdsp files in PATH
1666 --with-sqlite=PATH use SQLite files in PATH
1667 --with-sqlite3=PATH use SQLite files in PATH
1668 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1669 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1671 --with-tds=PATH use FreeTDS files in PATH
1672 --with-termcap=PATH use Termcap files in PATH
1673 --with-tinfo=PATH use Term Info files in PATH
1674 --with-tonezone=PATH use tonezone files in PATH
1675 --with-unixodbc=PATH use unixODBC files in PATH
1676 --with-usb=PATH use usb files in PATH
1677 --with-vorbis=PATH use Vorbis files in PATH
1678 --with-vpb=PATH use Voicetronix API files in PATH
1679 --with-x11=PATH use X11 support files in PATH
1680 --with-z=PATH use zlib files in PATH
1681 --with-timerfd=PATH use timerfd files in PATH
1683 Some influential environment variables:
1684 CC C compiler command
1685 CFLAGS C compiler flags
1686 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1687 nonstandard directory <lib dir>
1688 LIBS libraries to pass to the linker, e.g. -l<library>
1689 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1690 you have headers in a nonstandard directory <include dir>
1692 CXX C++ compiler command
1693 CXXFLAGS C++ compiler flags
1694 CXXCPP C++ preprocessor
1696 Use these variables to override the choices made by `configure' or to help
1697 it to find libraries and programs with nonstandard names/locations.
1699 Report bugs to <www.asterisk.org>.
1704 if test "$ac_init_help" = "recursive"; then
1705 # If there are subdirs, report their specific --help.
1706 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1707 test -d "$ac_dir" || continue
1711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1713 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1714 # A ".." for each directory in $ac_dir_suffix.
1715 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1716 case $ac_top_builddir_sub in
1717 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1718 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1721 ac_abs_top_builddir=$ac_pwd
1722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1723 # for backward compatibility:
1724 ac_top_builddir=$ac_top_build_prefix
1727 .) # We are building in place.
1729 ac_top_srcdir=$ac_top_builddir_sub
1730 ac_abs_top_srcdir=$ac_pwd ;;
1731 [\\/]* | ?:[\\/]* ) # Absolute name.
1732 ac_srcdir=$srcdir$ac_dir_suffix;
1733 ac_top_srcdir=$srcdir
1734 ac_abs_top_srcdir=$srcdir ;;
1736 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1737 ac_top_srcdir=$ac_top_build_prefix$srcdir
1738 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1742 cd "$ac_dir" || { ac_status=$?; continue; }
1743 # Check for guested configure.
1744 if test -f "$ac_srcdir/configure.gnu"; then
1746 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1747 elif test -f "$ac_srcdir/configure"; then
1749 $SHELL "$ac_srcdir/configure" --help=recursive
1751 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1753 cd "$ac_pwd" || { ac_status=$?; break; }
1757 test -n "$ac_init_help" && exit $ac_status
1758 if $ac_init_version; then
1760 asterisk configure 1.6
1761 generated by GNU Autoconf 2.61
1763 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1764 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1765 This configure script is free software; the Free Software Foundation
1766 gives unlimited permission to copy, distribute and modify it.
1772 cat >config.log <<_ACEOF
1773 This file contains any messages produced by compilers while
1774 running configure, to aid debugging if configure makes a mistake.
1776 It was created by asterisk $as_me 1.6, which was
1777 generated by GNU Autoconf 2.61. Invocation command line was
1789 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1790 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1791 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1792 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1793 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1795 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1796 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1798 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1799 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1800 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1801 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1802 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1803 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1804 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir=.
1813 echo "PATH: $as_dir"
1829 # Keep a trace of the command line.
1830 # Strip out --no-create and --no-recursion so they do not pile up.
1831 # Strip out --silent because we don't want to record it for future runs.
1832 # Also quote any args containing shell meta-characters.
1833 # Make two passes to allow for proper duplicate-argument suppression.
1837 ac_must_keep_next=false
1843 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1844 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1845 | -silent | --silent | --silen | --sile | --sil)
1848 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1851 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1853 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1854 if test $ac_must_keep_next = true; then
1855 ac_must_keep_next=false # Got value, back to normal.
1858 *=* | --config-cache | -C | -disable-* | --disable-* \
1859 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1860 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1861 | -with-* | --with-* | -without-* | --without-* | --x)
1862 case "$ac_configure_args0 " in
1863 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1866 -* ) ac_must_keep_next=true ;;
1869 ac_configure_args="$ac_configure_args '$ac_arg'"
1874 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1875 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1877 # When interrupted or exit'd, cleanup temporary files, and complete
1878 # config.log. We remove comments because anyway the quotes in there
1879 # would cause problems or look ugly.
1880 # WARNING: Use '\'' to represent an apostrophe within the trap.
1881 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1882 trap 'exit_status=$?
1883 # Save into config.log some information that might help in debugging.
1888 ## ---------------- ##
1889 ## Cache variables. ##
1890 ## ---------------- ##
1893 # The following way of writing the cache mishandles newlines in values,
1895 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1896 eval ac_val=\$$ac_var
1900 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1901 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1904 _ | IFS | as_nl) ;; #(
1905 *) $as_unset $ac_var ;;
1910 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1911 *${as_nl}ac_space=\ *)
1913 "s/'\''/'\''\\\\'\'''\''/g;
1914 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1917 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1925 ## ----------------- ##
1926 ## Output variables. ##
1927 ## ----------------- ##
1930 for ac_var in $ac_subst_vars
1932 eval ac_val=\$$ac_var
1934 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1936 echo "$ac_var='\''$ac_val'\''"
1940 if test -n "$ac_subst_files"; then
1942 ## ------------------- ##
1943 ## File substitutions. ##
1944 ## ------------------- ##
1947 for ac_var in $ac_subst_files
1949 eval ac_val=\$$ac_var
1951 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1953 echo "$ac_var='\''$ac_val'\''"
1958 if test -s confdefs.h; then
1968 test "$ac_signal" != 0 &&
1969 echo "$as_me: caught signal $ac_signal"
1970 echo "$as_me: exit $exit_status"
1972 rm -f core *.core core.conftest.* &&
1973 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1976 for ac_signal in 1 2 13 15; do
1977 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1981 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1982 rm -f -r conftest* confdefs.h
1984 # Predefined preprocessor variables.
1986 cat >>confdefs.h <<_ACEOF
1987 #define PACKAGE_NAME "$PACKAGE_NAME"
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1996 cat >>confdefs.h <<_ACEOF
1997 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_STRING "$PACKAGE_STRING"
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2011 # Let the site file select an alternate cache file if it wants to.
2012 # Prefer explicitly selected file to automatically selected ones.
2013 if test -n "$CONFIG_SITE"; then
2014 set x "$CONFIG_SITE"
2015 elif test "x$prefix" != xNONE; then
2016 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2018 set x "$ac_default_prefix/share/config.site" \
2019 "$ac_default_prefix/etc/config.site"
2024 if test -r "$ac_site_file"; then
2025 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2026 echo "$as_me: loading site script $ac_site_file" >&6;}
2027 sed 's/^/| /' "$ac_site_file" >&5
2032 if test -r "$cache_file"; then
2033 # Some versions of bash will fail to source /dev/null (special
2034 # files actually), so we avoid doing that.
2035 if test -f "$cache_file"; then
2036 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2037 echo "$as_me: loading cache $cache_file" >&6;}
2039 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2040 *) . "./$cache_file";;
2044 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2045 echo "$as_me: creating cache $cache_file" >&6;}
2049 ac_header_list="$ac_header_list utime.h"
2050 # Check that the precious variables saved in the cache have kept the same
2052 ac_cache_corrupted=false
2053 for ac_var in $ac_precious_vars; do
2054 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2055 eval ac_new_set=\$ac_env_${ac_var}_set
2056 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2057 eval ac_new_val=\$ac_env_${ac_var}_value
2058 case $ac_old_set,$ac_new_set in
2060 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2061 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2062 ac_cache_corrupted=: ;;
2064 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2065 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2066 ac_cache_corrupted=: ;;
2069 if test "x$ac_old_val" != "x$ac_new_val"; then
2070 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2071 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2072 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2073 echo "$as_me: former value: $ac_old_val" >&2;}
2074 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2075 echo "$as_me: current value: $ac_new_val" >&2;}
2076 ac_cache_corrupted=:
2079 # Pass precious variables to config.status.
2080 if test "$ac_new_set" = set; then
2082 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2083 *) ac_arg=$ac_var=$ac_new_val ;;
2085 case " $ac_configure_args " in
2086 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2087 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2091 if $ac_cache_corrupted; then
2092 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2093 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2094 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2095 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2096 { (exit 1); exit 1; }; }
2124 ac_cpp='$CPP $CPPFLAGS'
2125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2131 # cross-compile macros
2133 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2134 if test -f "$ac_dir/install-sh"; then
2136 ac_install_sh="$ac_aux_dir/install-sh -c"
2138 elif test -f "$ac_dir/install.sh"; then
2140 ac_install_sh="$ac_aux_dir/install.sh -c"
2142 elif test -f "$ac_dir/shtool"; then
2144 ac_install_sh="$ac_aux_dir/shtool install -c"
2148 if test -z "$ac_aux_dir"; then
2149 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2150 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2151 { (exit 1); exit 1; }; }
2154 # These three variables are undocumented and unsupported,
2155 # and are intended to be withdrawn in a future Autoconf release.
2156 # They can cause serious problems if a builder's source tree is in a directory
2157 # whose full name contains unusual characters.
2158 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2159 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2160 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2163 # Make sure we can run config.sub.
2164 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2165 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2166 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2167 { (exit 1); exit 1; }; }
2169 { echo "$as_me:$LINENO: checking build system type" >&5
2170 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2171 if test "${ac_cv_build+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 ac_build_alias=$build_alias
2175 test "x$ac_build_alias" = x &&
2176 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2177 test "x$ac_build_alias" = x &&
2178 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2179 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2180 { (exit 1); exit 1; }; }
2181 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2182 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2183 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2184 { (exit 1); exit 1; }; }
2187 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2188 echo "${ECHO_T}$ac_cv_build" >&6; }
2189 case $ac_cv_build in
2191 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2192 echo "$as_me: error: invalid value of canonical build" >&2;}
2193 { (exit 1); exit 1; }; };;
2196 ac_save_IFS=$IFS; IFS='-'
2202 # Remember, the first character of IFS is used to create $*,
2203 # except with old shells:
2206 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2209 { echo "$as_me:$LINENO: checking host system type" >&5
2210 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2211 if test "${ac_cv_host+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 if test "x$host_alias" = x; then
2215 ac_cv_host=$ac_cv_build
2217 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2218 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2219 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2220 { (exit 1); exit 1; }; }
2224 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2225 echo "${ECHO_T}$ac_cv_host" >&6; }
2228 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2229 echo "$as_me: error: invalid value of canonical host" >&2;}
2230 { (exit 1); exit 1; }; };;
2233 ac_save_IFS=$IFS; IFS='-'
2239 # Remember, the first character of IFS is used to create $*,
2240 # except with old shells:
2243 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2247 # check existence of the package
2250 # specify output header file
2251 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2258 cat >>confdefs.h <<\_ACEOF
2259 #define _GNU_SOURCE 1
2264 ac_cpp='$CPP $CPPFLAGS'
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268 if test -n "$ac_tool_prefix"; then
2269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2270 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$CC"; then
2277 ac_cv_prog_CC="$CC" # Let the user override the test.
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir=.
2284 for ac_exec_ext in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 if test -n "$CC"; then
2298 { echo "$as_me:$LINENO: result: $CC" >&5
2299 echo "${ECHO_T}$CC" >&6; }
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2307 if test -z "$ac_cv_prog_CC"; then
2309 # Extract the first word of "gcc", so it can be a program name with args.
2310 set dummy gcc; ac_word=$2
2311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2313 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 if test -n "$ac_ct_CC"; then
2317 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir=.
2324 for ac_exec_ext in '' $ac_executable_extensions; do
2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2326 ac_cv_prog_ac_ct_CC="gcc"
2327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2337 if test -n "$ac_ct_CC"; then
2338 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2339 echo "${ECHO_T}$ac_ct_CC" >&6; }
2341 { echo "$as_me:$LINENO: result: no" >&5
2342 echo "${ECHO_T}no" >&6; }
2345 if test "x$ac_ct_CC" = x; then
2348 case $cross_compiling:$ac_tool_warned in
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned=yes ;;
2364 if test -z "$CC"; then
2365 if test -n "$ac_tool_prefix"; then
2366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2367 set dummy ${ac_tool_prefix}cc; ac_word=$2
2368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2370 if test "${ac_cv_prog_CC+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 if test -n "$CC"; then
2374 ac_cv_prog_CC="$CC" # Let the user override the test.
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380 test -z "$as_dir" && as_dir=.
2381 for ac_exec_ext in '' $ac_executable_extensions; do
2382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383 ac_cv_prog_CC="${ac_tool_prefix}cc"
2384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394 if test -n "$CC"; then
2395 { echo "$as_me:$LINENO: result: $CC" >&5
2396 echo "${ECHO_T}$CC" >&6; }
2398 { echo "$as_me:$LINENO: result: no" >&5
2399 echo "${ECHO_T}no" >&6; }
2405 if test -z "$CC"; then
2406 # Extract the first word of "cc", so it can be a program name with args.
2407 set dummy cc; ac_word=$2
2408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2410 if test "${ac_cv_prog_CC+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 if test -n "$CC"; then
2414 ac_cv_prog_CC="$CC" # Let the user override the test.
2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2421 test -z "$as_dir" && as_dir=.
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2424 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2425 ac_prog_rejected=yes
2429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 if test $ac_prog_rejected = yes; then
2437 # We found a bogon in the path, so make sure we never use it.
2438 set dummy $ac_cv_prog_CC
2440 if test $# != 0; then
2441 # We chose a different compiler from the bogus one.
2442 # However, it has the same basename, so the bogon will be chosen
2443 # first if we set CC to just the basename; use the full file name.
2445 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2451 if test -n "$CC"; then
2452 { echo "$as_me:$LINENO: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2461 if test -z "$CC"; then
2462 if test -n "$ac_tool_prefix"; then
2463 for ac_prog in cl.exe
2465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2469 if test "${ac_cv_prog_CC+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 if test -n "$CC"; then
2473 ac_cv_prog_CC="$CC" # Let the user override the test.
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2479 test -z "$as_dir" && as_dir=.
2480 for ac_exec_ext in '' $ac_executable_extensions; do
2481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2482 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 if test -n "$CC"; then
2494 { echo "$as_me:$LINENO: result: $CC" >&5
2495 echo "${ECHO_T}$CC" >&6; }
2497 { echo "$as_me:$LINENO: result: no" >&5
2498 echo "${ECHO_T}no" >&6; }
2502 test -n "$CC" && break
2505 if test -z "$CC"; then
2507 for ac_prog in cl.exe
2509 # Extract the first word of "$ac_prog", so it can be a program name with args.
2510 set dummy $ac_prog; ac_word=$2
2511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 if test -n "$ac_ct_CC"; then
2517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 test -z "$as_dir" && as_dir=.
2524 for ac_exec_ext in '' $ac_executable_extensions; do
2525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2526 ac_cv_prog_ac_ct_CC="$ac_prog"
2527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2536 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2537 if test -n "$ac_ct_CC"; then
2538 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2539 echo "${ECHO_T}$ac_ct_CC" >&6; }
2541 { echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6; }
2546 test -n "$ac_ct_CC" && break
2549 if test "x$ac_ct_CC" = x; then
2552 case $cross_compiling:$ac_tool_warned in
2554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2555 whose name does not start with the host triplet. If you think this
2556 configuration is useful to you, please write to autoconf@gnu.org." >&5
2557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2558 whose name does not start with the host triplet. If you think this
2559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2560 ac_tool_warned=yes ;;
2569 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2570 See \`config.log' for more details." >&5
2571 echo "$as_me: error: no acceptable C compiler found in \$PATH
2572 See \`config.log' for more details." >&2;}
2573 { (exit 1); exit 1; }; }
2575 # Provide some information about the compiler.
2576 echo "$as_me:$LINENO: checking for C compiler version" >&5
2577 ac_compiler=`set X $ac_compile; echo $2`
2578 { (ac_try="$ac_compiler --version >&5"
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_compiler --version >&5") 2>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }
2588 { (ac_try="$ac_compiler -v >&5"
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594 (eval "$ac_compiler -v >&5") 2>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }
2598 { (ac_try="$ac_compiler -V >&5"
2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compiler -V >&5") 2>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }
2609 cat >conftest.$ac_ext <<_ACEOF
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2624 ac_clean_files_save=$ac_clean_files
2625 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2626 # Try to create an executable without -o first, disregard a.out.
2627 # It will help us diagnose broken compilers, and finding out an intuition
2629 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2630 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2631 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2633 # List of possible output files, starting from the most likely.
2634 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2635 # only as a last resort. b.out is created by i960 compilers.
2636 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2638 # The IRIX 6 linker writes into existing files which may not be
2639 # executable, retaining their permissions. Remove them first so a
2640 # subsequent execution test works.
2642 for ac_file in $ac_files
2645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2646 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2651 if { (ac_try="$ac_link_default"
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_link_default") 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; then
2661 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2662 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2663 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2664 # so that the user can short-circuit this test for compilers unknown to
2666 for ac_file in $ac_files ''
2668 test -f "$ac_file" || continue
2670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2673 # We found the default executable, but exeext='' is most
2677 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2679 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2681 # We set ac_cv_exeext here because the later test for it is not
2682 # safe: cross compilers may not add the suffix if given an `-o'
2683 # argument, so we may need to know it at that point already.
2684 # Even if this section looks crufty: it has the advantage of
2691 test "$ac_cv_exeext" = no && ac_cv_exeext=
2697 { echo "$as_me:$LINENO: result: $ac_file" >&5
2698 echo "${ECHO_T}$ac_file" >&6; }
2699 if test -z "$ac_file"; then
2700 echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.$ac_ext >&5
2703 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2704 See \`config.log' for more details." >&5
2705 echo "$as_me: error: C compiler cannot create executables
2706 See \`config.log' for more details." >&2;}
2707 { (exit 77); exit 77; }; }
2710 ac_exeext=$ac_cv_exeext
2712 # Check that the compiler produces executables we can run. If not, either
2713 # the compiler is broken, or we cross compile.
2714 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2715 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2716 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2717 # If not cross compiling, check that we can run a simple program.
2718 if test "$cross_compiling" != yes; then
2719 if { ac_try='./$ac_file'
2720 { (case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2725 (eval "$ac_try") 2>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2731 if test "$cross_compiling" = maybe; then
2734 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2735 If you meant to cross compile, use \`--host'.
2736 See \`config.log' for more details." >&5
2737 echo "$as_me: error: cannot run C compiled programs.
2738 If you meant to cross compile, use \`--host'.
2739 See \`config.log' for more details." >&2;}
2740 { (exit 1); exit 1; }; }
2744 { echo "$as_me:$LINENO: result: yes" >&5
2745 echo "${ECHO_T}yes" >&6; }
2747 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2748 ac_clean_files=$ac_clean_files_save
2749 # Check that the compiler produces executables we can run. If not, either
2750 # the compiler is broken, or we cross compile.
2751 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2752 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2753 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2754 echo "${ECHO_T}$cross_compiling" >&6; }
2756 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2757 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2758 if { (ac_try="$ac_link"
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_link") 2>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; then
2768 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2769 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2770 # work properly (i.e., refer to `conftest.exe'), while it won't with
2772 for ac_file in conftest.exe conftest conftest.*; do
2773 test -f "$ac_file" || continue
2775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2776 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2782 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2783 See \`config.log' for more details." >&5
2784 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2785 See \`config.log' for more details." >&2;}
2786 { (exit 1); exit 1; }; }
2789 rm -f conftest$ac_cv_exeext
2790 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2791 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2793 rm -f conftest.$ac_ext
2794 EXEEXT=$ac_cv_exeext
2796 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2797 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2798 if test "${ac_cv_objext+set}" = set; then
2799 echo $ECHO_N "(cached) $ECHO_C" >&6
2801 cat >conftest.$ac_ext <<_ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2816 rm -f conftest.o conftest.obj
2817 if { (ac_try="$ac_compile"
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compile") 2>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; then
2827 for ac_file in conftest.o conftest.obj conftest.*; do
2828 test -f "$ac_file" || continue;
2830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2831 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2836 echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2839 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2840 See \`config.log' for more details." >&5
2841 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2842 See \`config.log' for more details." >&2;}
2843 { (exit 1); exit 1; }; }
2846 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2848 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2849 echo "${ECHO_T}$ac_cv_objext" >&6; }
2850 OBJEXT=$ac_cv_objext
2852 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2853 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2854 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2857 cat >conftest.$ac_ext <<_ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2875 rm -f conftest.$ac_objext
2876 if { (ac_try="$ac_compile"
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2882 (eval "$ac_compile") 2>conftest.er1
2884 grep -v '^ *+' conftest.er1 >conftest.err
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } && {
2889 test -z "$ac_c_werror_flag" ||
2890 test ! -s conftest.err
2891 } && test -s conftest.$ac_objext; then
2894 echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2904 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2905 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2906 GCC=`test $ac_compiler_gnu = yes && echo yes`
2907 ac_test_CFLAGS=${CFLAGS+set}
2908 ac_save_CFLAGS=$CFLAGS
2909 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2910 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2911 if test "${ac_cv_prog_cc_g+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 ac_save_c_werror_flag=$ac_c_werror_flag
2915 ac_c_werror_flag=yes
2918 cat >conftest.$ac_ext <<_ACEOF
2921 cat confdefs.h >>conftest.$ac_ext
2922 cat >>conftest.$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2933 rm -f conftest.$ac_objext
2934 if { (ac_try="$ac_compile"
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2940 (eval "$ac_compile") 2>conftest.er1
2942 grep -v '^ *+' conftest.er1 >conftest.err
2944 cat conftest.err >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); } && {
2947 test -z "$ac_c_werror_flag" ||
2948 test ! -s conftest.err
2949 } && test -s conftest.$ac_objext; then
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2956 cat >conftest.$ac_ext <<_ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2971 rm -f conftest.$ac_objext
2972 if { (ac_try="$ac_compile"
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_compile") 2>conftest.er1
2980 grep -v '^ *+' conftest.er1 >conftest.err
2982 cat conftest.err >&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); } && {
2985 test -z "$ac_c_werror_flag" ||
2986 test ! -s conftest.err
2987 } && test -s conftest.$ac_objext; then
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 ac_c_werror_flag=$ac_save_c_werror_flag
2995 cat >conftest.$ac_ext <<_ACEOF
2998 cat confdefs.h >>conftest.$ac_ext
2999 cat >>conftest.$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3010 rm -f conftest.$ac_objext
3011 if { (ac_try="$ac_compile"
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017 (eval "$ac_compile") 2>conftest.er1
3019 grep -v '^ *+' conftest.er1 >conftest.err
3021 cat conftest.err >&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } && {
3024 test -z "$ac_c_werror_flag" ||
3025 test ! -s conftest.err
3026 } && test -s conftest.$ac_objext; then
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 ac_c_werror_flag=$ac_save_c_werror_flag
3044 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3045 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3046 if test "$ac_test_CFLAGS" = set; then
3047 CFLAGS=$ac_save_CFLAGS
3048 elif test $ac_cv_prog_cc_g = yes; then
3049 if test "$GCC" = yes; then
3055 if test "$GCC" = yes; then
3061 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3062 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3063 if test "${ac_cv_prog_cc_c89+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 ac_cv_prog_cc_c89=no
3068 cat >conftest.$ac_ext <<_ACEOF
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3076 #include <sys/types.h>
3077 #include <sys/stat.h>
3078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3079 struct buf { int x; };
3080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3081 static char *e (p, i)
3087 static char *f (char * (*g) (char **, int), char **p, ...)
3092 s = g (p, va_arg (v,int));
3097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3098 function prototypes and stuff, but not '\xHH' hex character constants.
3099 These don't provoke an error unfortunately, instead are silently treated
3100 as 'x'. The following induces an error, until -std is added to get
3101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3102 array size at least. It's necessary to write '\x00'==0 to get something
3103 that's true only with -std. */
3104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3107 inside strings and character constants. */
3109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3111 int test (int i, double x);
3112 struct s1 {int (*f) (int a);};
3113 struct s2 {int (*f) (double a);};
3114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3128 CC="$ac_save_CC $ac_arg"
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3138 grep -v '^ *+' conftest.er1 >conftest.err
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_c_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3146 ac_cv_prog_cc_c89=$ac_arg
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3154 rm -f core conftest.err conftest.$ac_objext
3155 test "x$ac_cv_prog_cc_c89" != "xno" && break
3157 rm -f conftest.$ac_ext
3162 case "x$ac_cv_prog_cc_c89" in
3164 { echo "$as_me:$LINENO: result: none needed" >&5
3165 echo "${ECHO_T}none needed" >&6; } ;;
3167 { echo "$as_me:$LINENO: result: unsupported" >&5
3168 echo "${ECHO_T}unsupported" >&6; } ;;
3170 CC="$CC $ac_cv_prog_cc_c89"
3171 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3172 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3177 ac_cpp='$CPP $CPPFLAGS'
3178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3184 ac_cpp='$CPP $CPPFLAGS'
3185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3188 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3189 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3190 # On Suns, sometimes $CPP names a directory.
3191 if test -n "$CPP" && test -d "$CPP"; then
3194 if test -z "$CPP"; then
3195 if test "${ac_cv_prog_CPP+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 # Double quotes because CPP needs to be expanded
3199 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3202 for ac_c_preproc_warn_flag in '' yes
3204 # Use a header file that comes with gcc, so configuring glibc
3205 # with a fresh cross-compiler works.
3206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3207 # <limits.h> exists even on freestanding compilers.
3208 # On the NeXT, cc -E runs the code through the compiler's parser,
3209 # not just through cpp. "Syntax error" is here to catch this case.
3210 cat >conftest.$ac_ext <<_ACEOF
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3217 # include <limits.h>
3219 # include <assert.h>
3223 if { (ac_try="$ac_cpp conftest.$ac_ext"
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3231 grep -v '^ *+' conftest.er1 >conftest.err
3233 cat conftest.err >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } >/dev/null && {
3236 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3237 test ! -s conftest.err
3241 echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.$ac_ext >&5
3244 # Broken: fails on valid input.
3248 rm -f conftest.err conftest.$ac_ext
3250 # OK, works on sane cases. Now check whether nonexistent headers
3251 # can be detected and how.
3252 cat >conftest.$ac_ext <<_ACEOF
3255 cat confdefs.h >>conftest.$ac_ext
3256 cat >>conftest.$ac_ext <<_ACEOF
3257 /* end confdefs.h. */
3258 #include <ac_nonexistent.h>
3260 if { (ac_try="$ac_cpp conftest.$ac_ext"
3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3266 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3268 grep -v '^ *+' conftest.er1 >conftest.err
3270 cat conftest.err >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } >/dev/null && {
3273 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3274 test ! -s conftest.err
3276 # Broken: success on invalid input.
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.$ac_ext >&5
3282 # Passes both tests.
3287 rm -f conftest.err conftest.$ac_ext
3290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3291 rm -f conftest.err conftest.$ac_ext
3292 if $ac_preproc_ok; then
3304 { echo "$as_me:$LINENO: result: $CPP" >&5
3305 echo "${ECHO_T}$CPP" >&6; }
3307 for ac_c_preproc_warn_flag in '' yes
3309 # Use a header file that comes with gcc, so configuring glibc
3310 # with a fresh cross-compiler works.
3311 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3312 # <limits.h> exists even on freestanding compilers.
3313 # On the NeXT, cc -E runs the code through the compiler's parser,
3314 # not just through cpp. "Syntax error" is here to catch this case.
3315 cat >conftest.$ac_ext <<_ACEOF
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3322 # include <limits.h>
3324 # include <assert.h>
3328 if { (ac_try="$ac_cpp conftest.$ac_ext"
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3334 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3336 grep -v '^ *+' conftest.er1 >conftest.err
3338 cat conftest.err >&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); } >/dev/null && {
3341 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3342 test ! -s conftest.err
3346 echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3349 # Broken: fails on valid input.
3353 rm -f conftest.err conftest.$ac_ext
3355 # OK, works on sane cases. Now check whether nonexistent headers
3356 # can be detected and how.
3357 cat >conftest.$ac_ext <<_ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3363 #include <ac_nonexistent.h>
3365 if { (ac_try="$ac_cpp conftest.$ac_ext"
3367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3373 grep -v '^ *+' conftest.er1 >conftest.err
3375 cat conftest.err >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); } >/dev/null && {
3378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3379 test ! -s conftest.err
3381 # Broken: success on invalid input.
3384 echo "$as_me: failed program was:" >&5
3385 sed 's/^/| /' conftest.$ac_ext >&5
3387 # Passes both tests.
3392 rm -f conftest.err conftest.$ac_ext
3395 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3396 rm -f conftest.err conftest.$ac_ext
3397 if $ac_preproc_ok; then
3400 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3401 See \`config.log' for more details." >&5
3402 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3403 See \`config.log' for more details." >&2;}
3404 { (exit 1); exit 1; }; }
3408 ac_cpp='$CPP $CPPFLAGS'
3409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3414 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3415 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3416 if test "${ac_cv_path_GREP+set}" = set; then
3417 echo $ECHO_N "(cached) $ECHO_C" >&6
3419 # Extract the first word of "grep ggrep" to use in msg output
3420 if test -z "$GREP"; then
3421 set dummy grep ggrep; ac_prog_name=$2
3422 if test "${ac_cv_path_GREP+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 ac_path_GREP_found=false
3426 # Loop through the user's path and test for each of PROGNAME-LIST
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3431 test -z "$as_dir" && as_dir=.
3432 for ac_prog in grep ggrep; do
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3435 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3436 # Check for GNU ac_path_GREP and select it if it is found.
3437 # Check for GNU $ac_path_GREP
3438 case `"$ac_path_GREP" --version 2>&1` in
3440 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3443 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3446 cat "conftest.in" "conftest.in" >"conftest.tmp"
3447 mv "conftest.tmp" "conftest.in"
3448 cp "conftest.in" "conftest.nl"
3449 echo 'GREP' >> "conftest.nl"
3450 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3452 ac_count=`expr $ac_count + 1`
3453 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3454 # Best one so far, save it but keep looking for a better one
3455 ac_cv_path_GREP="$ac_path_GREP"
3456 ac_path_GREP_max=$ac_count
3458 # 10*(2^10) chars as input seems more than enough
3459 test $ac_count -gt 10 && break
3461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3465 $ac_path_GREP_found && break 3
3475 GREP="$ac_cv_path_GREP"
3476 if test -z "$GREP"; then
3477 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3478 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3479 { (exit 1); exit 1; }; }
3483 ac_cv_path_GREP=$GREP
3488 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3489 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3490 GREP="$ac_cv_path_GREP"
3493 { echo "$as_me:$LINENO: checking for egrep" >&5
3494 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3495 if test "${ac_cv_path_EGREP+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3499 then ac_cv_path_EGREP="$GREP -E"
3501 # Extract the first word of "egrep" to use in msg output
3502 if test -z "$EGREP"; then
3503 set dummy egrep; ac_prog_name=$2
3504 if test "${ac_cv_path_EGREP+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 ac_path_EGREP_found=false
3508 # Loop through the user's path and test for each of PROGNAME-LIST
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3513 test -z "$as_dir" && as_dir=.
3514 for ac_prog in egrep; do
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3517 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3518 # Check for GNU ac_path_EGREP and select it if it is found.
3519 # Check for GNU $ac_path_EGREP
3520 case `"$ac_path_EGREP" --version 2>&1` in
3522 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3525 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3528 cat "conftest.in" "conftest.in" >"conftest.tmp"
3529 mv "conftest.tmp" "conftest.in"
3530 cp "conftest.in" "conftest.nl"
3531 echo 'EGREP' >> "conftest.nl"
3532 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3533 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3534 ac_count=`expr $ac_count + 1`
3535 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3536 # Best one so far, save it but keep looking for a better one
3537 ac_cv_path_EGREP="$ac_path_EGREP"
3538 ac_path_EGREP_max=$ac_count
3540 # 10*(2^10) chars as input seems more than enough
3541 test $ac_count -gt 10 && break
3543 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3547 $ac_path_EGREP_found && break 3
3557 EGREP="$ac_cv_path_EGREP"
3558 if test -z "$EGREP"; then
3559 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3560 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3561 { (exit 1); exit 1; }; }
3565 ac_cv_path_EGREP=$EGREP
3571 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3572 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3573 EGREP="$ac_cv_path_EGREP"
3577 { echo "$as_me:$LINENO: checking for AIX" >&5
3578 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3579 cat >conftest.$ac_ext <<_ACEOF
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3591 $EGREP "yes" >/dev/null 2>&1; then
3592 { echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6; }
3594 cat >>confdefs.h <<\_ACEOF
3595 #define _ALL_SOURCE 1
3599 { echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6; }
3605 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3606 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3607 if test "${ac_cv_header_stdc+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 cat >conftest.$ac_ext <<_ACEOF
3613 cat confdefs.h >>conftest.$ac_ext
3614 cat >>conftest.$ac_ext <<_ACEOF
3615 /* end confdefs.h. */
3629 rm -f conftest.$ac_objext
3630 if { (ac_try="$ac_compile"
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_compile") 2>conftest.er1
3638 grep -v '^ *+' conftest.er1 >conftest.err
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } && {
3643 test -z "$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3645 } && test -s conftest.$ac_objext; then
3646 ac_cv_header_stdc=yes
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.$ac_ext >&5
3651 ac_cv_header_stdc=no
3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 if test $ac_cv_header_stdc = yes; then
3657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3658 cat >conftest.$ac_ext <<_ACEOF
3661 cat confdefs.h >>conftest.$ac_ext
3662 cat >>conftest.$ac_ext <<_ACEOF
3663 /* end confdefs.h. */
3667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3668 $EGREP "memchr" >/dev/null 2>&1; then
3671 ac_cv_header_stdc=no
3677 if test $ac_cv_header_stdc = yes; then
3678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3679 cat >conftest.$ac_ext <<_ACEOF
3682 cat confdefs.h >>conftest.$ac_ext
3683 cat >>conftest.$ac_ext <<_ACEOF
3684 /* end confdefs.h. */
3688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3689 $EGREP "free" >/dev/null 2>&1; then
3692 ac_cv_header_stdc=no
3698 if test $ac_cv_header_stdc = yes; then
3699 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3700 if test "$cross_compiling" = yes; then
3703 cat >conftest.$ac_ext <<_ACEOF
3706 cat confdefs.h >>conftest.$ac_ext
3707 cat >>conftest.$ac_ext <<_ACEOF
3708 /* end confdefs.h. */
3711 #if ((' ' & 0x0FF) == 0x020)
3712 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3713 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3715 # define ISLOWER(c) \
3716 (('a' <= (c) && (c) <= 'i') \
3717 || ('j' <= (c) && (c) <= 'r') \
3718 || ('s' <= (c) && (c) <= 'z'))
3719 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3722 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3727 for (i = 0; i < 256; i++)
3728 if (XOR (islower (i), ISLOWER (i))
3729 || toupper (i) != TOUPPER (i))
3734 rm -f conftest$ac_exeext
3735 if { (ac_try="$ac_link"
3737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738 *) ac_try_echo=$ac_try;;
3740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3741 (eval "$ac_link") 2>&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3745 { (case "(($ac_try" in
3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747 *) ac_try_echo=$ac_try;;
3749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3750 (eval "$ac_try") 2>&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3756 echo "$as_me: program exited with status $ac_status" >&5
3757 echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.$ac_ext >&5
3761 ac_cv_header_stdc=no
3763 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3769 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3770 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3771 if test $ac_cv_header_stdc = yes; then
3773 cat >>confdefs.h <<\_ACEOF
3774 #define STDC_HEADERS 1
3779 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3789 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3790 inttypes.h stdint.h unistd.h
3792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3793 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3795 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 cat >conftest.$ac_ext <<_ACEOF
3801 cat confdefs.h >>conftest.$ac_ext
3802 cat >>conftest.$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3804 $ac_includes_default
3806 #include <$ac_header>
3808 rm -f conftest.$ac_objext
3809 if { (ac_try="$ac_compile"
3811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3815 (eval "$ac_compile") 2>conftest.er1
3817 grep -v '^ *+' conftest.er1 >conftest.err
3819 cat conftest.err >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); } && {
3822 test -z "$ac_c_werror_flag" ||
3823 test ! -s conftest.err
3824 } && test -s conftest.$ac_objext; then
3825 eval "$as_ac_Header=yes"
3827 echo "$as_me: failed program was:" >&5
3828 sed 's/^/| /' conftest.$ac_ext >&5
3830 eval "$as_ac_Header=no"
3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3835 ac_res=`eval echo '${'$as_ac_Header'}'`
3836 { echo "$as_me:$LINENO: result: $ac_res" >&5
3837 echo "${ECHO_T}$ac_res" >&6; }
3838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3839 cat >>confdefs.h <<_ACEOF
3840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3848 if test "${ac_cv_header_minix_config_h+set}" = set; then
3849 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3850 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3851 if test "${ac_cv_header_minix_config_h+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3855 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3857 # Is the header compilable?
3858 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3859 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3860 cat >conftest.$ac_ext <<_ACEOF
3863 cat confdefs.h >>conftest.$ac_ext
3864 cat >>conftest.$ac_ext <<_ACEOF
3865 /* end confdefs.h. */
3866 $ac_includes_default
3867 #include <minix/config.h>
3869 rm -f conftest.$ac_objext
3870 if { (ac_try="$ac_compile"
3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873 *) ac_try_echo=$ac_try;;
3875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3876 (eval "$ac_compile") 2>conftest.er1
3878 grep -v '^ *+' conftest.er1 >conftest.err
3880 cat conftest.err >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); } && {
3883 test -z "$ac_c_werror_flag" ||
3884 test ! -s conftest.err
3885 } && test -s conftest.$ac_objext; then
3886 ac_header_compiler=yes
3888 echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.$ac_ext >&5
3891 ac_header_compiler=no
3894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3895 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3896 echo "${ECHO_T}$ac_header_compiler" >&6; }
3898 # Is the header present?
3899 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3900 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3901 cat >conftest.$ac_ext <<_ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3907 #include <minix/config.h>
3909 if { (ac_try="$ac_cpp conftest.$ac_ext"
3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912 *) ac_try_echo=$ac_try;;
3914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3917 grep -v '^ *+' conftest.er1 >conftest.err
3919 cat conftest.err >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } >/dev/null && {
3922 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3923 test ! -s conftest.err
3925 ac_header_preproc=yes
3927 echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.$ac_ext >&5
3930 ac_header_preproc=no
3933 rm -f conftest.err conftest.$ac_ext
3934 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3935 echo "${ECHO_T}$ac_header_preproc" >&6; }
3937 # So? What about this header?
3938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3940 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3941 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3942 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3943 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3944 ac_header_preproc=yes
3947 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3948 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3949 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3950 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3951 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3952 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3953 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3954 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3955 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3956 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3957 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3958 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3960 ## ------------------------------- ##
3961 ## Report this to www.asterisk.org ##
3962 ## ------------------------------- ##
3964 ) | sed "s/^/$as_me: WARNING: /" >&2
3967 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3968 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3969 if test "${ac_cv_header_minix_config_h+set}" = set; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 ac_cv_header_minix_config_h=$ac_header_preproc
3974 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3975 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3978 if test $ac_cv_header_minix_config_h = yes; then
3985 if test "$MINIX" = yes; then
3987 cat >>confdefs.h <<\_ACEOF
3988 #define _POSIX_SOURCE 1
3992 cat >>confdefs.h <<\_ACEOF
3993 #define _POSIX_1_SOURCE 2
3997 cat >>confdefs.h <<\_ACEOF
4013 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4014 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4015 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 cat >conftest.$ac_ext <<_ACEOF
4021 cat confdefs.h >>conftest.$ac_ext
4022 cat >>conftest.$ac_ext <<_ACEOF
4023 /* end confdefs.h. */
4025 # define __EXTENSIONS__ 1
4026 $ac_includes_default
4035 rm -f conftest.$ac_objext
4036 if { (ac_try="$ac_compile"
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4042 (eval "$ac_compile") 2>conftest.er1
4044 grep -v '^ *+' conftest.er1 >conftest.err
4046 cat conftest.err >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); } && {
4049 test -z "$ac_c_werror_flag" ||
4050 test ! -s conftest.err
4051 } && test -s conftest.$ac_objext; then
4052 ac_cv_safe_to_define___extensions__=yes
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4057 ac_cv_safe_to_define___extensions__=no
4060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4062 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4063 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4064 test $ac_cv_safe_to_define___extensions__ = yes &&
4065 cat >>confdefs.h <<\_ACEOF
4066 #define __EXTENSIONS__ 1
4069 cat >>confdefs.h <<\_ACEOF
4070 #define _POSIX_PTHREAD_SEMANTICS 1
4073 cat >>confdefs.h <<\_ACEOF
4074 #define _TANDEM_SOURCE 1
4077 # note- does not work on FreeBSD
4079 case "${host_os}" in
4081 ac_default_prefix=/usr/local
4082 CPPFLAGS=-I/usr/local/include
4083 LDFLAGS=-L/usr/local/lib
4086 ac_default_prefix=/usr/local
4087 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4088 if test ${sysconfdir} = '${prefix}/etc'; then
4091 if test ${mandir} = '${prefix}/man'; then
4092 mandir=/usr/share/man
4095 CPPFLAGS=-I/usr/local/include
4096 LDFLAGS=-L/usr/local/lib
4099 ac_default_prefix=/usr
4100 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4101 if test ${sysconfdir} = '${prefix}/etc'; then
4104 if test ${mandir} = '${prefix}/man'; then
4105 mandir=/usr/share/man
4111 if test ${localstatedir} = '${prefix}/var'; then
4115 BUILD_PLATFORM=${build}
4116 BUILD_CPU=${build_cpu}
4117 BUILD_VENDOR=${build_vendor}
4118 BUILD_OS=${build_os}
4125 HOST_PLATFORM=${host}
4126 HOST_CPU=${host_cpu}
4127 HOST_VENDOR=${host_vendor}
4137 case "${host_os}" in
4167 if test -n "$ac_tool_prefix"; then
4168 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4169 set dummy ${ac_tool_prefix}uname; ac_word=$2
4170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4172 if test "${ac_cv_path_UNAME+set}" = set; then
4173 echo $ECHO_N "(cached) $ECHO_C" >&6
4177 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir=.
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4187 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 UNAME=$ac_cv_path_UNAME
4199 if test -n "$UNAME"; then
4200 { echo "$as_me:$LINENO: result: $UNAME" >&5
4201 echo "${ECHO_T}$UNAME" >&6; }
4203 { echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6; }
4209 if test -z "$ac_cv_path_UNAME"; then
4211 # Extract the first word of "uname", so it can be a program name with args.
4212 set dummy uname; ac_word=$2
4213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4215 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 case $ac_pt_UNAME in
4220 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 test -z "$as_dir" && as_dir=.
4228 for ac_exec_ext in '' $ac_executable_extensions; do
4229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4230 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4242 if test -n "$ac_pt_UNAME"; then
4243 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4244 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4246 { echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6; }
4250 if test "x$ac_pt_UNAME" = x; then
4253 case $cross_compiling:$ac_tool_warned in
4255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4256 whose name does not start with the host triplet. If you think this
4257 configuration is useful to you, please write to autoconf@gnu.org." >&5
4258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4259 whose name does not start with the host triplet. If you think this
4260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4261 ac_tool_warned=yes ;;
4266 UNAME="$ac_cv_path_UNAME"
4269 if test ! x"${UNAME}" = xNo; then
4270 PBX_OSREV=$(${UNAME} -r)
4280 # cross-compile checks
4281 if test "${cross_compiling}" = "yes";
4283 if test -n "$ac_tool_prefix"; then
4284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4288 if test "${ac_cv_prog_CC+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4291 if test -n "$CC"; then
4292 ac_cv_prog_CC="$CC" # Let the user override the test.
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir=.
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 if test -n "$CC"; then
4313 { echo "$as_me:$LINENO: result: $CC" >&5
4314 echo "${ECHO_T}$CC" >&6; }
4316 { echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6; }
4322 if test -z "$ac_cv_prog_CC"; then
4324 # Extract the first word of "gcc", so it can be a program name with args.
4325 set dummy gcc; ac_word=$2
4326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4328 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 if test -n "$ac_ct_CC"; then
4332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir=.
4339 for ac_exec_ext in '' $ac_executable_extensions; do
4340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4341 ac_cv_prog_ac_ct_CC="gcc"
4342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4352 if test -n "$ac_ct_CC"; then
4353 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4354 echo "${ECHO_T}$ac_ct_CC" >&6; }
4356 { echo "$as_me:$LINENO: result: no" >&5
4357 echo "${ECHO_T}no" >&6; }
4360 if test "x$ac_ct_CC" = x; then
4363 case $cross_compiling:$ac_tool_warned in
4365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4366 whose name does not start with the host triplet. If you think this
4367 configuration is useful to you, please write to autoconf@gnu.org." >&5
4368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4369 whose name does not start with the host triplet. If you think this
4370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4371 ac_tool_warned=yes ;;
4379 if test -n "$ac_tool_prefix"; then
4380 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4381 set dummy ${ac_tool_prefix}g++; ac_word=$2
4382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4384 if test "${ac_cv_prog_CXX+set}" = set; then
4385 echo $ECHO_N "(cached) $ECHO_C" >&6
4387 if test -n "$CXX"; then
4388 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir=.
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4397 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 if test -n "$CXX"; then
4409 { echo "$as_me:$LINENO: result: $CXX" >&5
4410 echo "${ECHO_T}$CXX" >&6; }
4412 { echo "$as_me:$LINENO: result: no" >&5
4413 echo "${ECHO_T}no" >&6; }
4418 if test -z "$ac_cv_prog_CXX"; then
4420 # Extract the first word of "g++", so it can be a program name with args.
4421 set dummy g++; ac_word=$2
4422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4424 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4425 echo $ECHO_N "(cached) $ECHO_C" >&6
4427 if test -n "$ac_ct_CXX"; then
4428 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir=.
4435 for ac_exec_ext in '' $ac_executable_extensions; do
4436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4437 ac_cv_prog_ac_ct_CXX="g++"
4438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4448 if test -n "$ac_ct_CXX"; then
4449 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4450 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4452 { echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6; }
4456 if test "x$ac_ct_CXX" = x; then
4459 case $cross_compiling:$ac_tool_warned in
4461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4462 whose name does not start with the host triplet. If you think this
4463 configuration is useful to you, please write to autoconf@gnu.org." >&5
4464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4465 whose name does not start with the host triplet. If you think this
4466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4467 ac_tool_warned=yes ;;
4472 CXX="$ac_cv_prog_CXX"
4475 if test -n "$ac_tool_prefix"; then
4476 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4477 set dummy ${ac_tool_prefix}ld; ac_word=$2
4478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4480 if test "${ac_cv_prog_LD+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$LD"; then
4484 ac_cv_prog_LD="$LD" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_LD="${ac_tool_prefix}ld"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4504 if test -n "$LD"; then
4505 { echo "$as_me:$LINENO: result: $LD" >&5
4506 echo "${ECHO_T}$LD" >&6; }
4508 { echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6; }
4514 if test -z "$ac_cv_prog_LD"; then
4516 # Extract the first word of "ld", so it can be a program name with args.
4517 set dummy ld; ac_word=$2
4518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4520 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4521 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 if test -n "$ac_ct_LD"; then
4524 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir=.
4531 for ac_exec_ext in '' $ac_executable_extensions; do
4532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4533 ac_cv_prog_ac_ct_LD="ld"
4534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4544 if test -n "$ac_ct_LD"; then
4545 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4546 echo "${ECHO_T}$ac_ct_LD" >&6; }
4548 { echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6; }
4552 if test "x$ac_ct_LD" = x; then
4555 case $cross_compiling:$ac_tool_warned in
4557 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4558 whose name does not start with the host triplet. If you think this
4559 configuration is useful to you, please write to autoconf@gnu.org." >&5
4560 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4561 whose name does not start with the host triplet. If you think this
4562 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4563 ac_tool_warned=yes ;;
4571 if test -n "$ac_tool_prefix"; then
4572 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4573 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4576 if test "${ac_cv_prog_RANLIB+set}" = set; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4579 if test -n "$RANLIB"; then
4580 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4589 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 RANLIB=$ac_cv_prog_RANLIB
4600 if test -n "$RANLIB"; then
4601 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4602 echo "${ECHO_T}$RANLIB" >&6; }
4604 { echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6; }
4610 if test -z "$ac_cv_prog_RANLIB"; then
4611 ac_ct_RANLIB=$RANLIB
4612 # Extract the first word of "ranlib", so it can be a program name with args.
4613 set dummy ranlib; ac_word=$2
4614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4616 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 if test -n "$ac_ct_RANLIB"; then
4620 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 test -z "$as_dir" && as_dir=.
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4629 ac_cv_prog_ac_ct_RANLIB="ranlib"
4630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4640 if test -n "$ac_ct_RANLIB"; then
4641 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4642 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4644 { echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6; }
4648 if test "x$ac_ct_RANLIB" = x; then
4651 case $cross_compiling:$ac_tool_warned in
4653 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4654 whose name does not start with the host triplet. If you think this
4655 configuration is useful to you, please write to autoconf@gnu.org." >&5
4656 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4657 whose name does not start with the host triplet. If you think this
4658 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4659 ac_tool_warned=yes ;;
4661 RANLIB=$ac_ct_RANLIB
4664 RANLIB="$ac_cv_prog_RANLIB"
4669 # Checks for programs.
4671 ac_cpp='$CPP $CPPFLAGS'
4672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4675 if test -n "$ac_tool_prefix"; then
4676 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4677 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4680 if test "${ac_cv_prog_CC+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 if test -n "$CC"; then
4684 ac_cv_prog_CC="$CC" # Let the user override the test.
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir=.
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4693 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 if test -n "$CC"; then
4705 { echo "$as_me:$LINENO: result: $CC" >&5
4706 echo "${ECHO_T}$CC" >&6; }
4708 { echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6; }
4714 if test -z "$ac_cv_prog_CC"; then
4716 # Extract the first word of "gcc", so it can be a program name with args.
4717 set dummy gcc; ac_word=$2
4718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4720 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 if test -n "$ac_ct_CC"; then
4724 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir=.
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4733 ac_cv_prog_ac_ct_CC="gcc"
4734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4744 if test -n "$ac_ct_CC"; then
4745 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4746 echo "${ECHO_T}$ac_ct_CC" >&6; }
4748 { echo "$as_me:$LINENO: result: no" >&5