2 # From configure.ac Revision: 109282 .
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
943 PBX_PTHREAD_RWLOCK_INITIALIZER
944 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
947 AST_DECLARATION_AFTER_STATEMENT
948 AST_NO_STRICT_OVERFLOW
968 PBX_ZAPTEL_ECHOCANPARAMS
981 ac_precious_vars='build_alias
996 # Initialize some variables set by options.
998 ac_init_version=false
999 # The variables have the same names as the options, with
1000 # dashes changed to underlines.
1001 cache_file=/dev/null
1008 program_transform_name=s,x,x,
1016 # Installation directory options.
1017 # These are left unexpanded so users can "make install exec_prefix=/foo"
1018 # and all the variables that are supposed to be based on exec_prefix
1019 # by default will actually change.
1020 # Use braces instead of parens because sh, perl, etc. also accept them.
1021 # (The list follows the same order as the GNU Coding Standards.)
1022 bindir='${exec_prefix}/bin'
1023 sbindir='${exec_prefix}/sbin'
1024 libexecdir='${exec_prefix}/libexec'
1025 datarootdir='${prefix}/share'
1026 datadir='${datarootdir}'
1027 sysconfdir='${prefix}/etc'
1028 sharedstatedir='${prefix}/com'
1029 localstatedir='${prefix}/var'
1030 includedir='${prefix}/include'
1031 oldincludedir='/usr/include'
1032 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1033 infodir='${datarootdir}/info'
1038 libdir='${exec_prefix}/lib'
1039 localedir='${datarootdir}/locale'
1040 mandir='${datarootdir}/man'
1046 # If the previous option needs an argument, assign it.
1047 if test -n "$ac_prev"; then
1048 eval $ac_prev=\$ac_option
1054 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1058 # Accept the important Cygnus configure options, so we can diagnose typos.
1060 case $ac_dashdash$ac_option in
1064 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1066 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1067 bindir=$ac_optarg ;;
1069 -build | --build | --buil | --bui | --bu)
1070 ac_prev=build_alias ;;
1071 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1072 build_alias=$ac_optarg ;;
1074 -cache-file | --cache-file | --cache-fil | --cache-fi \
1075 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1076 ac_prev=cache_file ;;
1077 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1078 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1079 cache_file=$ac_optarg ;;
1081 --config-cache | -C)
1082 cache_file=config.cache ;;
1084 -datadir | --datadir | --datadi | --datad)
1086 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1087 datadir=$ac_optarg ;;
1089 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1090 | --dataroo | --dataro | --datar)
1091 ac_prev=datarootdir ;;
1092 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1093 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1094 datarootdir=$ac_optarg ;;
1096 -disable-* | --disable-*)
1097 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1100 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1103 eval enable_$ac_feature=no ;;
1105 -docdir | --docdir | --docdi | --doc | --do)
1107 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1108 docdir=$ac_optarg ;;
1110 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1112 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1113 dvidir=$ac_optarg ;;
1115 -enable-* | --enable-*)
1116 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1119 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1120 { (exit 1); exit 1; }; }
1121 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1122 eval enable_$ac_feature=\$ac_optarg ;;
1124 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1125 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1126 | --exec | --exe | --ex)
1127 ac_prev=exec_prefix ;;
1128 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1129 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1130 | --exec=* | --exe=* | --ex=*)
1131 exec_prefix=$ac_optarg ;;
1133 -gas | --gas | --ga | --g)
1134 # Obsolete; use --with-gas.
1137 -help | --help | --hel | --he | -h)
1138 ac_init_help=long ;;
1139 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1140 ac_init_help=recursive ;;
1141 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1142 ac_init_help=short ;;
1144 -host | --host | --hos | --ho)
1145 ac_prev=host_alias ;;
1146 -host=* | --host=* | --hos=* | --ho=*)
1147 host_alias=$ac_optarg ;;
1149 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1151 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1153 htmldir=$ac_optarg ;;
1155 -includedir | --includedir | --includedi | --included | --include \
1156 | --includ | --inclu | --incl | --inc)
1157 ac_prev=includedir ;;
1158 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1159 | --includ=* | --inclu=* | --incl=* | --inc=*)
1160 includedir=$ac_optarg ;;
1162 -infodir | --infodir | --infodi | --infod | --info | --inf)
1164 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1165 infodir=$ac_optarg ;;
1167 -libdir | --libdir | --libdi | --libd)
1169 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1170 libdir=$ac_optarg ;;
1172 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1173 | --libexe | --libex | --libe)
1174 ac_prev=libexecdir ;;
1175 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1176 | --libexe=* | --libex=* | --libe=*)
1177 libexecdir=$ac_optarg ;;
1179 -localedir | --localedir | --localedi | --localed | --locale)
1180 ac_prev=localedir ;;
1181 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1182 localedir=$ac_optarg ;;
1184 -localstatedir | --localstatedir | --localstatedi | --localstated \
1185 | --localstate | --localstat | --localsta | --localst | --locals)
1186 ac_prev=localstatedir ;;
1187 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1188 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1189 localstatedir=$ac_optarg ;;
1191 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1193 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1194 mandir=$ac_optarg ;;
1196 -nfp | --nfp | --nf)
1197 # Obsolete; use --without-fp.
1200 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1201 | --no-cr | --no-c | -n)
1204 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1205 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1208 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1209 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1210 | --oldin | --oldi | --old | --ol | --o)
1211 ac_prev=oldincludedir ;;
1212 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1213 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1214 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1215 oldincludedir=$ac_optarg ;;
1217 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1219 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1220 prefix=$ac_optarg ;;
1222 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1223 | --program-pre | --program-pr | --program-p)
1224 ac_prev=program_prefix ;;
1225 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1226 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1227 program_prefix=$ac_optarg ;;
1229 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1230 | --program-suf | --program-su | --program-s)
1231 ac_prev=program_suffix ;;
1232 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1233 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1234 program_suffix=$ac_optarg ;;
1236 -program-transform-name | --program-transform-name \
1237 | --program-transform-nam | --program-transform-na \
1238 | --program-transform-n | --program-transform- \
1239 | --program-transform | --program-transfor \
1240 | --program-transfo | --program-transf \
1241 | --program-trans | --program-tran \
1242 | --progr-tra | --program-tr | --program-t)
1243 ac_prev=program_transform_name ;;
1244 -program-transform-name=* | --program-transform-name=* \
1245 | --program-transform-nam=* | --program-transform-na=* \
1246 | --program-transform-n=* | --program-transform-=* \
1247 | --program-transform=* | --program-transfor=* \
1248 | --program-transfo=* | --program-transf=* \
1249 | --program-trans=* | --program-tran=* \
1250 | --progr-tra=* | --program-tr=* | --program-t=*)
1251 program_transform_name=$ac_optarg ;;
1253 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1255 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1256 pdfdir=$ac_optarg ;;
1258 -psdir | --psdir | --psdi | --psd | --ps)
1260 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1263 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1264 | -silent | --silent | --silen | --sile | --sil)
1267 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1269 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1271 sbindir=$ac_optarg ;;
1273 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1274 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1275 | --sharedst | --shareds | --shared | --share | --shar \
1277 ac_prev=sharedstatedir ;;
1278 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1279 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1280 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1282 sharedstatedir=$ac_optarg ;;
1284 -site | --site | --sit)
1286 -site=* | --site=* | --sit=*)
1289 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1291 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1292 srcdir=$ac_optarg ;;
1294 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1295 | --syscon | --sysco | --sysc | --sys | --sy)
1296 ac_prev=sysconfdir ;;
1297 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1298 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1299 sysconfdir=$ac_optarg ;;
1301 -target | --target | --targe | --targ | --tar | --ta | --t)
1302 ac_prev=target_alias ;;
1303 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1304 target_alias=$ac_optarg ;;
1306 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1309 -version | --version | --versio | --versi | --vers | -V)
1310 ac_init_version=: ;;
1313 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1314 # Reject names that are not valid shell variable names.
1315 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 { echo "$as_me: error: invalid package name: $ac_package" >&2
1317 { (exit 1); exit 1; }; }
1318 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1319 eval with_$ac_package=\$ac_optarg ;;
1321 -without-* | --without-*)
1322 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1323 # Reject names that are not valid shell variable names.
1324 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1325 { echo "$as_me: error: invalid package name: $ac_package" >&2
1326 { (exit 1); exit 1; }; }
1327 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1328 eval with_$ac_package=no ;;
1331 # Obsolete; use --with-x.
1334 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1335 | --x-incl | --x-inc | --x-in | --x-i)
1336 ac_prev=x_includes ;;
1337 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1338 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1339 x_includes=$ac_optarg ;;
1341 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1342 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1343 ac_prev=x_libraries ;;
1344 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1345 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1346 x_libraries=$ac_optarg ;;
1348 -*) { echo "$as_me: error: unrecognized option: $ac_option
1349 Try \`$0 --help' for more information." >&2
1350 { (exit 1); exit 1; }; }
1354 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1355 # Reject names that are not valid shell variable names.
1356 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1357 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1358 { (exit 1); exit 1; }; }
1359 eval $ac_envvar=\$ac_optarg
1360 export $ac_envvar ;;
1363 # FIXME: should be removed in autoconf 3.0.
1364 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1365 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1366 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1367 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1373 if test -n "$ac_prev"; then
1374 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1375 { echo "$as_me: error: missing argument to $ac_option" >&2
1376 { (exit 1); exit 1; }; }
1379 # Be sure to have absolute directory names.
1380 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1381 datadir sysconfdir sharedstatedir localstatedir includedir \
1382 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1383 libdir localedir mandir
1385 eval ac_val=\$$ac_var
1387 [\\/$]* | ?:[\\/]* ) continue;;
1388 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1390 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1391 { (exit 1); exit 1; }; }
1394 # There might be people who depend on the old broken behavior: `$host'
1395 # used to hold the argument of --host etc.
1396 # FIXME: To remove some day.
1399 target=$target_alias
1401 # FIXME: To remove some day.
1402 if test "x$host_alias" != x; then
1403 if test "x$build_alias" = x; then
1404 cross_compiling=maybe
1405 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406 If a cross compiler is detected then cross compile mode will be used." >&2
1407 elif test "x$build_alias" != "x$host_alias"; then
1413 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1415 test "$silent" = yes && exec 6>/dev/null
1418 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1419 ac_ls_di=`ls -di .` &&
1420 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1421 { echo "$as_me: error: Working directory cannot be determined" >&2
1422 { (exit 1); exit 1; }; }
1423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1424 { echo "$as_me: error: pwd does not report name of working directory" >&2
1425 { (exit 1); exit 1; }; }
1428 # Find the source files, if location was not specified.
1429 if test -z "$srcdir"; then
1430 ac_srcdir_defaulted=yes
1431 # Try the directory containing this script, then the parent directory.
1432 ac_confdir=`$as_dirname -- "$0" ||
1433 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1434 X"$0" : 'X\(//\)[^/]' \| \
1435 X"$0" : 'X\(//\)$' \| \
1436 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1456 if test ! -r "$srcdir/$ac_unique_file"; then
1460 ac_srcdir_defaulted=no
1462 if test ! -r "$srcdir/$ac_unique_file"; then
1463 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1464 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1465 { (exit 1); exit 1; }; }
1467 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1469 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1470 { (exit 1); exit 1; }; }
1472 # When building in place, set srcdir=.
1473 if test "$ac_abs_confdir" = "$ac_pwd"; then
1476 # Remove unnecessary trailing slashes from srcdir.
1477 # Double slashes in file names in object file debugging info
1478 # mess up M-x gdb in Emacs.
1480 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1482 for ac_var in $ac_precious_vars; do
1483 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1484 eval ac_env_${ac_var}_value=\$${ac_var}
1485 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1486 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1490 # Report the --help message.
1492 if test "$ac_init_help" = "long"; then
1493 # Omit some internal or obsolete options to make the list less imposing.
1494 # This message is too long to be a string in the A/UX 3.1 sh.
1496 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1498 Usage: $0 [OPTION]... [VAR=VALUE]...
1500 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1501 VAR=VALUE. See below for descriptions of some of the useful variables.
1503 Defaults for the options are specified in brackets.
1506 -h, --help display this help and exit
1507 --help=short display options specific to this package
1508 --help=recursive display the short help of all the included packages
1509 -V, --version display version information and exit
1510 -q, --quiet, --silent do not print \`checking...' messages
1511 --cache-file=FILE cache test results in FILE [disabled]
1512 -C, --config-cache alias for \`--cache-file=config.cache'
1513 -n, --no-create do not create output files
1514 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1516 Installation directories:
1517 --prefix=PREFIX install architecture-independent files in PREFIX
1518 [$ac_default_prefix]
1519 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1522 By default, \`make install' will install all the files in
1523 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1524 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1525 for instance \`--prefix=\$HOME'.
1527 For better control, use the options below.
1529 Fine tuning of the installation directories:
1530 --bindir=DIR user executables [EPREFIX/bin]
1531 --sbindir=DIR system admin executables [EPREFIX/sbin]
1532 --libexecdir=DIR program executables [EPREFIX/libexec]
1533 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1534 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1535 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1536 --libdir=DIR object code libraries [EPREFIX/lib]
1537 --includedir=DIR C header files [PREFIX/include]
1538 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1539 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1540 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1541 --infodir=DIR info documentation [DATAROOTDIR/info]
1542 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1543 --mandir=DIR man documentation [DATAROOTDIR/man]
1544 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1545 --htmldir=DIR html documentation [DOCDIR]
1546 --dvidir=DIR dvi documentation [DOCDIR]
1547 --pdfdir=DIR pdf documentation [DOCDIR]
1548 --psdir=DIR ps documentation [DOCDIR]
1554 --build=BUILD configure for building on BUILD [guessed]
1555 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1559 if test -n "$ac_init_help"; then
1560 case $ac_init_help in
1561 short | recursive ) echo "Configuration of asterisk 1.6:";;
1566 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1567 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1568 --enable-dev-mode Turn on developer mode
1569 --disable-largefile omit support for large files
1572 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1573 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1574 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1575 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1576 --with-execinfo=PATH use Stack Backtrace support files in PATH
1577 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1578 --with-curl=PATH use cURL files in PATH
1579 --with-curses=PATH use curses files in PATH
1580 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1581 --with-avcodec=PATH use Ffmpeg and avcodec library files in PATH
1582 --with-gsm=PATH use External GSM library files in PATH , use
1583 'internal' GSM otherwise
1584 --with-gtk=PATH use gtk libraries files in PATH
1585 --with-gtk2=PATH use gtk2 libraries files in PATH
1586 --with-gmime=PATH use GMime library files in PATH
1587 --with-iconv=PATH use Iconv Library files in PATH
1588 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1589 --with-imap=PATH use UW IMAP Toolkit files in PATH
1590 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1591 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1592 --with-ldap=PATH use OpenLDAP files in PATH
1593 --with-ltdl=PATH use libtool files in PATH
1594 --with-lua=PATH use Lua files in PATH
1595 --with-misdn=PATH use mISDN User Library files in PATH
1596 --with-nbs=PATH use Network Broadcast Sound files in PATH
1597 --with-ncurses=PATH use ncurses files in PATH
1598 --with-netsnmp=PATH use Net-SNMP files in PATH
1599 --with-newt=PATH use newt files in PATH
1600 --with-odbc=PATH use unixODBC files in PATH
1601 --with-ogg=PATH use OGG files in PATH
1602 --with-osptk=PATH use OSP Toolkit files in PATH
1603 --with-oss=PATH use Open Sound System files in PATH
1604 --with-postgres=PATH use PostgreSQL files in PATH
1605 --with-popt=PATH use popt files in PATH
1606 --with-portaudio=PATH use PortAudio files in PATH
1607 --with-pri=PATH use ISDN PRI files in PATH
1608 --with-ss7=PATH use ISDN SS7 files in PATH
1609 --with-pwlib=PATH use PWlib files in PATH
1610 --with-h323=PATH use OpenH323 files in PATH
1611 --with-radius=PATH use Radius Client files in PATH
1612 --with-sdl=PATH use Sdl files in PATH
1613 --with-SDL_image=PATH use Sdl Image library files in PATH
1614 --with-speex=PATH use Speex files in PATH
1615 --with-speexdsp=PATH use Speexdsp files in PATH
1616 --with-sqlite=PATH use SQLite files in PATH
1617 --with-sqlite3=PATH use SQLite files in PATH
1618 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1619 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1621 --with-tds=PATH use FreeTDS files in PATH
1622 --with-termcap=PATH use Termcap files in PATH
1623 --with-tinfo=PATH use Term Info files in PATH
1624 --with-tonezone=PATH use tonezone files in PATH
1625 --with-usb=PATH use usb files in PATH
1626 --with-vorbis=PATH use Vorbis files in PATH
1627 --with-vpb=PATH use Voicetronix API files in PATH
1628 --with-x11=PATH use X11 support files in PATH
1629 --with-z=PATH use zlib files in PATH
1630 --with-zaptel=PATH use Zaptel files in PATH
1632 Some influential environment variables:
1633 CC C compiler command
1634 CFLAGS C compiler flags
1635 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1636 nonstandard directory <lib dir>
1637 LIBS libraries to pass to the linker, e.g. -l<library>
1638 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1639 you have headers in a nonstandard directory <include dir>
1641 CXX C++ compiler command
1642 CXXFLAGS C++ compiler flags
1643 CXXCPP C++ preprocessor
1645 Use these variables to override the choices made by `configure' or to help
1646 it to find libraries and programs with nonstandard names/locations.
1648 Report bugs to <www.asterisk.org>.
1653 if test "$ac_init_help" = "recursive"; then
1654 # If there are subdirs, report their specific --help.
1655 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1656 test -d "$ac_dir" || continue
1660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1662 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1663 # A ".." for each directory in $ac_dir_suffix.
1664 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1665 case $ac_top_builddir_sub in
1666 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1667 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1670 ac_abs_top_builddir=$ac_pwd
1671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1672 # for backward compatibility:
1673 ac_top_builddir=$ac_top_build_prefix
1676 .) # We are building in place.
1678 ac_top_srcdir=$ac_top_builddir_sub
1679 ac_abs_top_srcdir=$ac_pwd ;;
1680 [\\/]* | ?:[\\/]* ) # Absolute name.
1681 ac_srcdir=$srcdir$ac_dir_suffix;
1682 ac_top_srcdir=$srcdir
1683 ac_abs_top_srcdir=$srcdir ;;
1685 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1686 ac_top_srcdir=$ac_top_build_prefix$srcdir
1687 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1691 cd "$ac_dir" || { ac_status=$?; continue; }
1692 # Check for guested configure.
1693 if test -f "$ac_srcdir/configure.gnu"; then
1695 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1696 elif test -f "$ac_srcdir/configure"; then
1698 $SHELL "$ac_srcdir/configure" --help=recursive
1700 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1702 cd "$ac_pwd" || { ac_status=$?; break; }
1706 test -n "$ac_init_help" && exit $ac_status
1707 if $ac_init_version; then
1709 asterisk configure 1.6
1710 generated by GNU Autoconf 2.61
1712 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1713 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1714 This configure script is free software; the Free Software Foundation
1715 gives unlimited permission to copy, distribute and modify it.
1721 cat >config.log <<_ACEOF
1722 This file contains any messages produced by compilers while
1723 running configure, to aid debugging if configure makes a mistake.
1725 It was created by asterisk $as_me 1.6, which was
1726 generated by GNU Autoconf 2.61. Invocation command line was
1738 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1739 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1740 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1741 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1742 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1744 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1745 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1747 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1748 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1749 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1750 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1751 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1752 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1753 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 test -z "$as_dir" && as_dir=.
1762 echo "PATH: $as_dir"
1778 # Keep a trace of the command line.
1779 # Strip out --no-create and --no-recursion so they do not pile up.
1780 # Strip out --silent because we don't want to record it for future runs.
1781 # Also quote any args containing shell meta-characters.
1782 # Make two passes to allow for proper duplicate-argument suppression.
1786 ac_must_keep_next=false
1792 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1793 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1794 | -silent | --silent | --silen | --sile | --sil)
1797 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1800 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1802 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1803 if test $ac_must_keep_next = true; then
1804 ac_must_keep_next=false # Got value, back to normal.
1807 *=* | --config-cache | -C | -disable-* | --disable-* \
1808 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1809 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1810 | -with-* | --with-* | -without-* | --without-* | --x)
1811 case "$ac_configure_args0 " in
1812 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1815 -* ) ac_must_keep_next=true ;;
1818 ac_configure_args="$ac_configure_args '$ac_arg'"
1823 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1824 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1826 # When interrupted or exit'd, cleanup temporary files, and complete
1827 # config.log. We remove comments because anyway the quotes in there
1828 # would cause problems or look ugly.
1829 # WARNING: Use '\'' to represent an apostrophe within the trap.
1830 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1831 trap 'exit_status=$?
1832 # Save into config.log some information that might help in debugging.
1837 ## ---------------- ##
1838 ## Cache variables. ##
1839 ## ---------------- ##
1842 # The following way of writing the cache mishandles newlines in values,
1844 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1845 eval ac_val=\$$ac_var
1849 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1850 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1853 _ | IFS | as_nl) ;; #(
1854 *) $as_unset $ac_var ;;
1859 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1860 *${as_nl}ac_space=\ *)
1862 "s/'\''/'\''\\\\'\'''\''/g;
1863 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1866 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1874 ## ----------------- ##
1875 ## Output variables. ##
1876 ## ----------------- ##
1879 for ac_var in $ac_subst_vars
1881 eval ac_val=\$$ac_var
1883 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885 echo "$ac_var='\''$ac_val'\''"
1889 if test -n "$ac_subst_files"; then
1891 ## ------------------- ##
1892 ## File substitutions. ##
1893 ## ------------------- ##
1896 for ac_var in $ac_subst_files
1898 eval ac_val=\$$ac_var
1900 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1902 echo "$ac_var='\''$ac_val'\''"
1907 if test -s confdefs.h; then
1917 test "$ac_signal" != 0 &&
1918 echo "$as_me: caught signal $ac_signal"
1919 echo "$as_me: exit $exit_status"
1921 rm -f core *.core core.conftest.* &&
1922 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1925 for ac_signal in 1 2 13 15; do
1926 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1930 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1931 rm -f -r conftest* confdefs.h
1933 # Predefined preprocessor variables.
1935 cat >>confdefs.h <<_ACEOF
1936 #define PACKAGE_NAME "$PACKAGE_NAME"
1940 cat >>confdefs.h <<_ACEOF
1941 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1945 cat >>confdefs.h <<_ACEOF
1946 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1950 cat >>confdefs.h <<_ACEOF
1951 #define PACKAGE_STRING "$PACKAGE_STRING"
1955 cat >>confdefs.h <<_ACEOF
1956 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1960 # Let the site file select an alternate cache file if it wants to.
1961 # Prefer explicitly selected file to automatically selected ones.
1962 if test -n "$CONFIG_SITE"; then
1963 set x "$CONFIG_SITE"
1964 elif test "x$prefix" != xNONE; then
1965 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1967 set x "$ac_default_prefix/share/config.site" \
1968 "$ac_default_prefix/etc/config.site"
1973 if test -r "$ac_site_file"; then
1974 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1975 echo "$as_me: loading site script $ac_site_file" >&6;}
1976 sed 's/^/| /' "$ac_site_file" >&5
1981 if test -r "$cache_file"; then
1982 # Some versions of bash will fail to source /dev/null (special
1983 # files actually), so we avoid doing that.
1984 if test -f "$cache_file"; then
1985 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1986 echo "$as_me: loading cache $cache_file" >&6;}
1988 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1989 *) . "./$cache_file";;
1993 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1994 echo "$as_me: creating cache $cache_file" >&6;}
1998 ac_header_list="$ac_header_list utime.h"
1999 # Check that the precious variables saved in the cache have kept the same
2001 ac_cache_corrupted=false
2002 for ac_var in $ac_precious_vars; do
2003 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2004 eval ac_new_set=\$ac_env_${ac_var}_set
2005 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2006 eval ac_new_val=\$ac_env_${ac_var}_value
2007 case $ac_old_set,$ac_new_set in
2009 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2010 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2011 ac_cache_corrupted=: ;;
2013 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2014 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2015 ac_cache_corrupted=: ;;
2018 if test "x$ac_old_val" != "x$ac_new_val"; then
2019 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2020 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2021 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2022 echo "$as_me: former value: $ac_old_val" >&2;}
2023 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2024 echo "$as_me: current value: $ac_new_val" >&2;}
2025 ac_cache_corrupted=:
2028 # Pass precious variables to config.status.
2029 if test "$ac_new_set" = set; then
2031 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2032 *) ac_arg=$ac_var=$ac_new_val ;;
2034 case " $ac_configure_args " in
2035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2036 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2040 if $ac_cache_corrupted; then
2041 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2042 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2043 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2044 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2045 { (exit 1); exit 1; }; }
2073 ac_cpp='$CPP $CPPFLAGS'
2074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2080 # cross-compile macros
2082 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2083 if test -f "$ac_dir/install-sh"; then
2085 ac_install_sh="$ac_aux_dir/install-sh -c"
2087 elif test -f "$ac_dir/install.sh"; then
2089 ac_install_sh="$ac_aux_dir/install.sh -c"
2091 elif test -f "$ac_dir/shtool"; then
2093 ac_install_sh="$ac_aux_dir/shtool install -c"
2097 if test -z "$ac_aux_dir"; then
2098 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2099 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2100 { (exit 1); exit 1; }; }
2103 # These three variables are undocumented and unsupported,
2104 # and are intended to be withdrawn in a future Autoconf release.
2105 # They can cause serious problems if a builder's source tree is in a directory
2106 # whose full name contains unusual characters.
2107 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2108 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2109 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2112 # Make sure we can run config.sub.
2113 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2114 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2115 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2116 { (exit 1); exit 1; }; }
2118 { echo "$as_me:$LINENO: checking build system type" >&5
2119 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2120 if test "${ac_cv_build+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 ac_build_alias=$build_alias
2124 test "x$ac_build_alias" = x &&
2125 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2126 test "x$ac_build_alias" = x &&
2127 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2128 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2129 { (exit 1); exit 1; }; }
2130 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2131 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2132 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2133 { (exit 1); exit 1; }; }
2136 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2137 echo "${ECHO_T}$ac_cv_build" >&6; }
2138 case $ac_cv_build in
2140 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2141 echo "$as_me: error: invalid value of canonical build" >&2;}
2142 { (exit 1); exit 1; }; };;
2145 ac_save_IFS=$IFS; IFS='-'
2151 # Remember, the first character of IFS is used to create $*,
2152 # except with old shells:
2155 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2158 { echo "$as_me:$LINENO: checking host system type" >&5
2159 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2160 if test "${ac_cv_host+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test "x$host_alias" = x; then
2164 ac_cv_host=$ac_cv_build
2166 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2167 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2168 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2169 { (exit 1); exit 1; }; }
2173 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2174 echo "${ECHO_T}$ac_cv_host" >&6; }
2177 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2178 echo "$as_me: error: invalid value of canonical host" >&2;}
2179 { (exit 1); exit 1; }; };;
2182 ac_save_IFS=$IFS; IFS='-'
2188 # Remember, the first character of IFS is used to create $*,
2189 # except with old shells:
2192 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2196 # check existence of the package
2199 # specify output header file
2200 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2207 cat >>confdefs.h <<\_ACEOF
2208 #define _GNU_SOURCE 1
2213 ac_cpp='$CPP $CPPFLAGS'
2214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2217 if test -n "$ac_tool_prefix"; then
2218 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2219 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2222 if test "${ac_cv_prog_CC+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$CC"; then
2226 ac_cv_prog_CC="$CC" # Let the user override the test.
2228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir=.
2233 for ac_exec_ext in '' $ac_executable_extensions; do
2234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2235 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 if test -n "$CC"; then
2247 { echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6; }
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2256 if test -z "$ac_cv_prog_CC"; then
2258 # Extract the first word of "gcc", so it can be a program name with args.
2259 set dummy gcc; ac_word=$2
2260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 if test -n "$ac_ct_CC"; then
2266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 test -z "$as_dir" && as_dir=.
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2275 ac_cv_prog_ac_ct_CC="gcc"
2276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2286 if test -n "$ac_ct_CC"; then
2287 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2288 echo "${ECHO_T}$ac_ct_CC" >&6; }
2290 { echo "$as_me:$LINENO: result: no" >&5
2291 echo "${ECHO_T}no" >&6; }
2294 if test "x$ac_ct_CC" = x; then
2297 case $cross_compiling:$ac_tool_warned in
2299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2300 whose name does not start with the host triplet. If you think this
2301 configuration is useful to you, please write to autoconf@gnu.org." >&5
2302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2303 whose name does not start with the host triplet. If you think this
2304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2305 ac_tool_warned=yes ;;
2313 if test -z "$CC"; then
2314 if test -n "$ac_tool_prefix"; then
2315 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2316 set dummy ${ac_tool_prefix}cc; ac_word=$2
2317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2319 if test "${ac_cv_prog_CC+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 if test -n "$CC"; then
2323 ac_cv_prog_CC="$CC" # Let the user override the test.
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2332 ac_cv_prog_CC="${ac_tool_prefix}cc"
2333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2343 if test -n "$CC"; then
2344 { echo "$as_me:$LINENO: result: $CC" >&5
2345 echo "${ECHO_T}$CC" >&6; }
2347 { echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6; }
2354 if test -z "$CC"; then
2355 # Extract the first word of "cc", so it can be a program name with args.
2356 set dummy cc; ac_word=$2
2357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2359 if test "${ac_cv_prog_CC+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 if test -n "$CC"; then
2363 ac_cv_prog_CC="$CC" # Let the user override the test.
2366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 test -z "$as_dir" && as_dir=.
2371 for ac_exec_ext in '' $ac_executable_extensions; do
2372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2373 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2374 ac_prog_rejected=yes
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 if test $ac_prog_rejected = yes; then
2386 # We found a bogon in the path, so make sure we never use it.
2387 set dummy $ac_cv_prog_CC
2389 if test $# != 0; then
2390 # We chose a different compiler from the bogus one.
2391 # However, it has the same basename, so the bogon will be chosen
2392 # first if we set CC to just the basename; use the full file name.
2394 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2400 if test -n "$CC"; then
2401 { echo "$as_me:$LINENO: result: $CC" >&5
2402 echo "${ECHO_T}$CC" >&6; }
2404 { echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6; }
2410 if test -z "$CC"; then
2411 if test -n "$ac_tool_prefix"; then
2412 for ac_prog in cl.exe
2414 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2415 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2418 if test "${ac_cv_prog_CC+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 if test -n "$CC"; then
2422 ac_cv_prog_CC="$CC" # Let the user override the test.
2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir=.
2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2431 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 if test -n "$CC"; then
2443 { echo "$as_me:$LINENO: result: $CC" >&5
2444 echo "${ECHO_T}$CC" >&6; }
2446 { echo "$as_me:$LINENO: result: no" >&5
2447 echo "${ECHO_T}no" >&6; }
2451 test -n "$CC" && break
2454 if test -z "$CC"; then
2456 for ac_prog in cl.exe
2458 # Extract the first word of "$ac_prog", so it can be a program name with args.
2459 set dummy $ac_prog; ac_word=$2
2460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2462 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 if test -n "$ac_ct_CC"; then
2466 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 ac_cv_prog_ac_ct_CC="$ac_prog"
2476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2486 if test -n "$ac_ct_CC"; then
2487 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2488 echo "${ECHO_T}$ac_ct_CC" >&6; }
2490 { echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6; }
2495 test -n "$ac_ct_CC" && break
2498 if test "x$ac_ct_CC" = x; then
2501 case $cross_compiling:$ac_tool_warned in
2503 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2504 whose name does not start with the host triplet. If you think this
2505 configuration is useful to you, please write to autoconf@gnu.org." >&5
2506 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2507 whose name does not start with the host triplet. If you think this
2508 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2509 ac_tool_warned=yes ;;
2518 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: no acceptable C compiler found in \$PATH
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2524 # Provide some information about the compiler.
2525 echo "$as_me:$LINENO: checking for C compiler version" >&5
2526 ac_compiler=`set X $ac_compile; echo $2`
2527 { (ac_try="$ac_compiler --version >&5"
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2533 (eval "$ac_compiler --version >&5") 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }
2537 { (ac_try="$ac_compiler -v >&5"
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2543 (eval "$ac_compiler -v >&5") 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }
2547 { (ac_try="$ac_compiler -V >&5"
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2553 (eval "$ac_compiler -V >&5") 2>&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); }
2558 cat >conftest.$ac_ext <<_ACEOF
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2573 ac_clean_files_save=$ac_clean_files
2574 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2575 # Try to create an executable without -o first, disregard a.out.
2576 # It will help us diagnose broken compilers, and finding out an intuition
2578 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2579 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2580 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2582 # List of possible output files, starting from the most likely.
2583 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2584 # only as a last resort. b.out is created by i960 compilers.
2585 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2587 # The IRIX 6 linker writes into existing files which may not be
2588 # executable, retaining their permissions. Remove them first so a
2589 # subsequent execution test works.
2591 for ac_file in $ac_files
2594 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2595 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2600 if { (ac_try="$ac_link_default"
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2606 (eval "$ac_link_default") 2>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; then
2610 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2611 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2612 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2613 # so that the user can short-circuit this test for compilers unknown to
2615 for ac_file in $ac_files ''
2617 test -f "$ac_file" || continue
2619 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2622 # We found the default executable, but exeext='' is most
2626 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2628 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2630 # We set ac_cv_exeext here because the later test for it is not
2631 # safe: cross compilers may not add the suffix if given an `-o'
2632 # argument, so we may need to know it at that point already.
2633 # Even if this section looks crufty: it has the advantage of
2640 test "$ac_cv_exeext" = no && ac_cv_exeext=
2646 { echo "$as_me:$LINENO: result: $ac_file" >&5
2647 echo "${ECHO_T}$ac_file" >&6; }
2648 if test -z "$ac_file"; then
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2653 See \`config.log' for more details." >&5
2654 echo "$as_me: error: C compiler cannot create executables
2655 See \`config.log' for more details." >&2;}
2656 { (exit 77); exit 77; }; }
2659 ac_exeext=$ac_cv_exeext
2661 # Check that the compiler produces executables we can run. If not, either
2662 # the compiler is broken, or we cross compile.
2663 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2664 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2665 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2666 # If not cross compiling, check that we can run a simple program.
2667 if test "$cross_compiling" != yes; then
2668 if { ac_try='./$ac_file'
2669 { (case "(($ac_try" in
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2674 (eval "$ac_try") 2>&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; }; then
2680 if test "$cross_compiling" = maybe; then
2683 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2684 If you meant to cross compile, use \`--host'.
2685 See \`config.log' for more details." >&5
2686 echo "$as_me: error: cannot run C compiled programs.
2687 If you meant to cross compile, use \`--host'.
2688 See \`config.log' for more details." >&2;}
2689 { (exit 1); exit 1; }; }
2693 { echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6; }
2696 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2697 ac_clean_files=$ac_clean_files_save
2698 # Check that the compiler produces executables we can run. If not, either
2699 # the compiler is broken, or we cross compile.
2700 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2701 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2702 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2703 echo "${ECHO_T}$cross_compiling" >&6; }
2705 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2706 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2707 if { (ac_try="$ac_link"
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2713 (eval "$ac_link") 2>&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; then
2717 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2718 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2719 # work properly (i.e., refer to `conftest.exe'), while it won't with
2721 for ac_file in conftest.exe conftest conftest.*; do
2722 test -f "$ac_file" || continue
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2725 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2731 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2732 See \`config.log' for more details." >&5
2733 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2734 See \`config.log' for more details." >&2;}
2735 { (exit 1); exit 1; }; }
2738 rm -f conftest$ac_cv_exeext
2739 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2740 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2742 rm -f conftest.$ac_ext
2743 EXEEXT=$ac_cv_exeext
2745 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2746 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2747 if test "${ac_cv_objext+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 cat >conftest.$ac_ext <<_ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.o conftest.obj
2766 if { (ac_try="$ac_compile"
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_compile") 2>&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }; then
2776 for ac_file in conftest.o conftest.obj conftest.*; do
2777 test -f "$ac_file" || continue;
2779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2780 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2785 echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.$ac_ext >&5
2788 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2789 See \`config.log' for more details." >&5
2790 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2791 See \`config.log' for more details." >&2;}
2792 { (exit 1); exit 1; }; }
2795 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2797 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2798 echo "${ECHO_T}$ac_cv_objext" >&6; }
2799 OBJEXT=$ac_cv_objext
2801 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2802 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2803 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2824 rm -f conftest.$ac_objext
2825 if { (ac_try="$ac_compile"
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2831 (eval "$ac_compile") 2>conftest.er1
2833 grep -v '^ *+' conftest.er1 >conftest.err
2835 cat conftest.err >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } && {
2838 test -z "$ac_c_werror_flag" ||
2839 test ! -s conftest.err
2840 } && test -s conftest.$ac_objext; then
2843 echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.$ac_ext >&5
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2853 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2854 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2855 GCC=`test $ac_compiler_gnu = yes && echo yes`
2856 ac_test_CFLAGS=${CFLAGS+set}
2857 ac_save_CFLAGS=$CFLAGS
2858 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2859 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_g+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 ac_save_c_werror_flag=$ac_c_werror_flag
2864 ac_c_werror_flag=yes
2867 cat >conftest.$ac_ext <<_ACEOF
2870 cat confdefs.h >>conftest.$ac_ext
2871 cat >>conftest.$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2882 rm -f conftest.$ac_objext
2883 if { (ac_try="$ac_compile"
2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2889 (eval "$ac_compile") 2>conftest.er1
2891 grep -v '^ *+' conftest.er1 >conftest.err
2893 cat conftest.err >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); } && {
2896 test -z "$ac_c_werror_flag" ||
2897 test ! -s conftest.err
2898 } && test -s conftest.$ac_objext; then
2901 echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.$ac_ext >&5
2905 cat >conftest.$ac_ext <<_ACEOF
2908 cat confdefs.h >>conftest.$ac_ext
2909 cat >>conftest.$ac_ext <<_ACEOF
2910 /* end confdefs.h. */
2920 rm -f conftest.$ac_objext
2921 if { (ac_try="$ac_compile"
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2927 (eval "$ac_compile") 2>conftest.er1
2929 grep -v '^ *+' conftest.er1 >conftest.err
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } && {
2934 test -z "$ac_c_werror_flag" ||
2935 test ! -s conftest.err
2936 } && test -s conftest.$ac_objext; then
2939 echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2942 ac_c_werror_flag=$ac_save_c_werror_flag
2944 cat >conftest.$ac_ext <<_ACEOF
2947 cat confdefs.h >>conftest.$ac_ext
2948 cat >>conftest.$ac_ext <<_ACEOF
2949 /* end confdefs.h. */
2959 rm -f conftest.$ac_objext
2960 if { (ac_try="$ac_compile"
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966 (eval "$ac_compile") 2>conftest.er1
2968 grep -v '^ *+' conftest.er1 >conftest.err
2970 cat conftest.err >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } && {
2973 test -z "$ac_c_werror_flag" ||
2974 test ! -s conftest.err
2975 } && test -s conftest.$ac_objext; then
2978 echo "$as_me: failed program was:" >&5
2979 sed 's/^/| /' conftest.$ac_ext >&5
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2991 ac_c_werror_flag=$ac_save_c_werror_flag
2993 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2994 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2995 if test "$ac_test_CFLAGS" = set; then
2996 CFLAGS=$ac_save_CFLAGS
2997 elif test $ac_cv_prog_cc_g = yes; then
2998 if test "$GCC" = yes; then
3004 if test "$GCC" = yes; then
3010 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3011 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3012 if test "${ac_cv_prog_cc_c89+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 ac_cv_prog_cc_c89=no
3017 cat >conftest.$ac_ext <<_ACEOF
3020 cat confdefs.h >>conftest.$ac_ext
3021 cat >>conftest.$ac_ext <<_ACEOF
3022 /* end confdefs.h. */
3025 #include <sys/types.h>
3026 #include <sys/stat.h>
3027 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3028 struct buf { int x; };
3029 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3030 static char *e (p, i)
3036 static char *f (char * (*g) (char **, int), char **p, ...)
3041 s = g (p, va_arg (v,int));
3046 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3047 function prototypes and stuff, but not '\xHH' hex character constants.
3048 These don't provoke an error unfortunately, instead are silently treated
3049 as 'x'. The following induces an error, until -std is added to get
3050 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3051 array size at least. It's necessary to write '\x00'==0 to get something
3052 that's true only with -std. */
3053 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3055 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3056 inside strings and character constants. */
3058 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3060 int test (int i, double x);
3061 struct s1 {int (*f) (int a);};
3062 struct s2 {int (*f) (double a);};
3063 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3069 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3074 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3075 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3077 CC="$ac_save_CC $ac_arg"
3078 rm -f conftest.$ac_objext
3079 if { (ac_try="$ac_compile"
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_compile") 2>conftest.er1
3087 grep -v '^ *+' conftest.er1 >conftest.err
3089 cat conftest.err >&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } && {
3092 test -z "$ac_c_werror_flag" ||
3093 test ! -s conftest.err
3094 } && test -s conftest.$ac_objext; then
3095 ac_cv_prog_cc_c89=$ac_arg
3097 echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3103 rm -f core conftest.err conftest.$ac_objext
3104 test "x$ac_cv_prog_cc_c89" != "xno" && break
3106 rm -f conftest.$ac_ext
3111 case "x$ac_cv_prog_cc_c89" in
3113 { echo "$as_me:$LINENO: result: none needed" >&5
3114 echo "${ECHO_T}none needed" >&6; } ;;
3116 { echo "$as_me:$LINENO: result: unsupported" >&5
3117 echo "${ECHO_T}unsupported" >&6; } ;;
3119 CC="$CC $ac_cv_prog_cc_c89"
3120 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3121 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3126 ac_cpp='$CPP $CPPFLAGS'
3127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3133 ac_cpp='$CPP $CPPFLAGS'
3134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3137 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3138 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3139 # On Suns, sometimes $CPP names a directory.
3140 if test -n "$CPP" && test -d "$CPP"; then
3143 if test -z "$CPP"; then
3144 if test "${ac_cv_prog_CPP+set}" = set; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3147 # Double quotes because CPP needs to be expanded
3148 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3151 for ac_c_preproc_warn_flag in '' yes
3153 # Use a header file that comes with gcc, so configuring glibc
3154 # with a fresh cross-compiler works.
3155 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3156 # <limits.h> exists even on freestanding compilers.
3157 # On the NeXT, cc -E runs the code through the compiler's parser,
3158 # not just through cpp. "Syntax error" is here to catch this case.
3159 cat >conftest.$ac_ext <<_ACEOF
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h. */
3166 # include <limits.h>
3168 # include <assert.h>
3172 if { (ac_try="$ac_cpp conftest.$ac_ext"
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3180 grep -v '^ *+' conftest.er1 >conftest.err
3182 cat conftest.err >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } >/dev/null && {
3185 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3186 test ! -s conftest.err
3190 echo "$as_me: failed program was:" >&5
3191 sed 's/^/| /' conftest.$ac_ext >&5
3193 # Broken: fails on valid input.
3197 rm -f conftest.err conftest.$ac_ext
3199 # OK, works on sane cases. Now check whether nonexistent headers
3200 # can be detected and how.
3201 cat >conftest.$ac_ext <<_ACEOF
3204 cat confdefs.h >>conftest.$ac_ext
3205 cat >>conftest.$ac_ext <<_ACEOF
3206 /* end confdefs.h. */
3207 #include <ac_nonexistent.h>
3209 if { (ac_try="$ac_cpp conftest.$ac_ext"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3217 grep -v '^ *+' conftest.er1 >conftest.err
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } >/dev/null && {
3222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3223 test ! -s conftest.err
3225 # Broken: success on invalid input.
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 # Passes both tests.
3236 rm -f conftest.err conftest.$ac_ext
3239 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3240 rm -f conftest.err conftest.$ac_ext
3241 if $ac_preproc_ok; then
3253 { echo "$as_me:$LINENO: result: $CPP" >&5
3254 echo "${ECHO_T}$CPP" >&6; }
3256 for ac_c_preproc_warn_flag in '' yes
3258 # Use a header file that comes with gcc, so configuring glibc
3259 # with a fresh cross-compiler works.
3260 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3261 # <limits.h> exists even on freestanding compilers.
3262 # On the NeXT, cc -E runs the code through the compiler's parser,
3263 # not just through cpp. "Syntax error" is here to catch this case.
3264 cat >conftest.$ac_ext <<_ACEOF
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3271 # include <limits.h>
3273 # include <assert.h>
3277 if { (ac_try="$ac_cpp conftest.$ac_ext"
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3285 grep -v '^ *+' conftest.er1 >conftest.err
3287 cat conftest.err >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } >/dev/null && {
3290 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3291 test ! -s conftest.err
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3298 # Broken: fails on valid input.
3302 rm -f conftest.err conftest.$ac_ext
3304 # OK, works on sane cases. Now check whether nonexistent headers
3305 # can be detected and how.
3306 cat >conftest.$ac_ext <<_ACEOF
3309 cat confdefs.h >>conftest.$ac_ext
3310 cat >>conftest.$ac_ext <<_ACEOF
3311 /* end confdefs.h. */
3312 #include <ac_nonexistent.h>
3314 if { (ac_try="$ac_cpp conftest.$ac_ext"
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3320 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3322 grep -v '^ *+' conftest.er1 >conftest.err
3324 cat conftest.err >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); } >/dev/null && {
3327 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3328 test ! -s conftest.err
3330 # Broken: success on invalid input.
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3336 # Passes both tests.
3341 rm -f conftest.err conftest.$ac_ext
3344 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3345 rm -f conftest.err conftest.$ac_ext
3346 if $ac_preproc_ok; then
3349 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3350 See \`config.log' for more details." >&5
3351 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3352 See \`config.log' for more details." >&2;}
3353 { (exit 1); exit 1; }; }
3357 ac_cpp='$CPP $CPPFLAGS'
3358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3363 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3364 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3365 if test "${ac_cv_path_GREP+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 # Extract the first word of "grep ggrep" to use in msg output
3369 if test -z "$GREP"; then
3370 set dummy grep ggrep; ac_prog_name=$2
3371 if test "${ac_cv_path_GREP+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 ac_path_GREP_found=false
3375 # Loop through the user's path and test for each of PROGNAME-LIST
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3380 test -z "$as_dir" && as_dir=.
3381 for ac_prog in grep ggrep; do
3382 for ac_exec_ext in '' $ac_executable_extensions; do
3383 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3384 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3385 # Check for GNU ac_path_GREP and select it if it is found.
3386 # Check for GNU $ac_path_GREP
3387 case `"$ac_path_GREP" --version 2>&1` in
3389 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3392 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3395 cat "conftest.in" "conftest.in" >"conftest.tmp"
3396 mv "conftest.tmp" "conftest.in"
3397 cp "conftest.in" "conftest.nl"
3398 echo 'GREP' >> "conftest.nl"
3399 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3400 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3401 ac_count=`expr $ac_count + 1`
3402 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3403 # Best one so far, save it but keep looking for a better one
3404 ac_cv_path_GREP="$ac_path_GREP"
3405 ac_path_GREP_max=$ac_count
3407 # 10*(2^10) chars as input seems more than enough
3408 test $ac_count -gt 10 && break
3410 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3414 $ac_path_GREP_found && break 3
3424 GREP="$ac_cv_path_GREP"
3425 if test -z "$GREP"; then
3426 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3427 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3428 { (exit 1); exit 1; }; }
3432 ac_cv_path_GREP=$GREP
3437 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3438 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3439 GREP="$ac_cv_path_GREP"
3442 { echo "$as_me:$LINENO: checking for egrep" >&5
3443 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3444 if test "${ac_cv_path_EGREP+set}" = set; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3447 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3448 then ac_cv_path_EGREP="$GREP -E"
3450 # Extract the first word of "egrep" to use in msg output
3451 if test -z "$EGREP"; then
3452 set dummy egrep; ac_prog_name=$2
3453 if test "${ac_cv_path_EGREP+set}" = set; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 ac_path_EGREP_found=false
3457 # Loop through the user's path and test for each of PROGNAME-LIST
3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3462 test -z "$as_dir" && as_dir=.
3463 for ac_prog in egrep; do
3464 for ac_exec_ext in '' $ac_executable_extensions; do
3465 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3466 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3467 # Check for GNU ac_path_EGREP and select it if it is found.
3468 # Check for GNU $ac_path_EGREP
3469 case `"$ac_path_EGREP" --version 2>&1` in
3471 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3474 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3477 cat "conftest.in" "conftest.in" >"conftest.tmp"
3478 mv "conftest.tmp" "conftest.in"
3479 cp "conftest.in" "conftest.nl"
3480 echo 'EGREP' >> "conftest.nl"
3481 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3482 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3483 ac_count=`expr $ac_count + 1`
3484 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3485 # Best one so far, save it but keep looking for a better one
3486 ac_cv_path_EGREP="$ac_path_EGREP"
3487 ac_path_EGREP_max=$ac_count
3489 # 10*(2^10) chars as input seems more than enough
3490 test $ac_count -gt 10 && break
3492 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3496 $ac_path_EGREP_found && break 3
3506 EGREP="$ac_cv_path_EGREP"
3507 if test -z "$EGREP"; then
3508 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3509 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3510 { (exit 1); exit 1; }; }
3514 ac_cv_path_EGREP=$EGREP
3520 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3521 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3522 EGREP="$ac_cv_path_EGREP"
3526 { echo "$as_me:$LINENO: checking for AIX" >&5
3527 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3528 cat >conftest.$ac_ext <<_ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3540 $EGREP "yes" >/dev/null 2>&1; then
3541 { echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6; }
3543 cat >>confdefs.h <<\_ACEOF
3544 #define _ALL_SOURCE 1
3548 { echo "$as_me:$LINENO: result: no" >&5
3549 echo "${ECHO_T}no" >&6; }
3554 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3555 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3556 if test "${ac_cv_header_stdc+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 cat >conftest.$ac_ext <<_ACEOF
3562 cat confdefs.h >>conftest.$ac_ext
3563 cat >>conftest.$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3578 rm -f conftest.$ac_objext
3579 if { (ac_try="$ac_compile"
3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3582 *) ac_try_echo=$ac_try;;
3584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3585 (eval "$ac_compile") 2>conftest.er1
3587 grep -v '^ *+' conftest.er1 >conftest.err
3589 cat conftest.err >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); } && {
3592 test -z "$ac_c_werror_flag" ||
3593 test ! -s conftest.err
3594 } && test -s conftest.$ac_objext; then
3595 ac_cv_header_stdc=yes
3597 echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.$ac_ext >&5
3600 ac_cv_header_stdc=no
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 if test $ac_cv_header_stdc = yes; then
3606 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3607 cat >conftest.$ac_ext <<_ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3617 $EGREP "memchr" >/dev/null 2>&1; then
3620 ac_cv_header_stdc=no
3626 if test $ac_cv_header_stdc = yes; then
3627 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3628 cat >conftest.$ac_ext <<_ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3638 $EGREP "free" >/dev/null 2>&1; then
3641 ac_cv_header_stdc=no
3647 if test $ac_cv_header_stdc = yes; then
3648 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3649 if test "$cross_compiling" = yes; then
3652 cat >conftest.$ac_ext <<_ACEOF
3655 cat confdefs.h >>conftest.$ac_ext
3656 cat >>conftest.$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3660 #if ((' ' & 0x0FF) == 0x020)
3661 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3662 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3664 # define ISLOWER(c) \
3665 (('a' <= (c) && (c) <= 'i') \
3666 || ('j' <= (c) && (c) <= 'r') \
3667 || ('s' <= (c) && (c) <= 'z'))
3668 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3671 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3676 for (i = 0; i < 256; i++)
3677 if (XOR (islower (i), ISLOWER (i))
3678 || toupper (i) != TOUPPER (i))
3683 rm -f conftest$ac_exeext
3684 if { (ac_try="$ac_link"
3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3690 (eval "$ac_link") 2>&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3694 { (case "(($ac_try" in
3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3699 (eval "$ac_try") 2>&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; }; then
3705 echo "$as_me: program exited with status $ac_status" >&5
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.$ac_ext >&5
3710 ac_cv_header_stdc=no
3712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3718 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3719 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3720 if test $ac_cv_header_stdc = yes; then
3722 cat >>confdefs.h <<\_ACEOF
3723 #define STDC_HEADERS 1
3728 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3738 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3739 inttypes.h stdint.h unistd.h
3741 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3742 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3744 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 cat >conftest.$ac_ext <<_ACEOF
3750 cat confdefs.h >>conftest.$ac_ext
3751 cat >>conftest.$ac_ext <<_ACEOF
3752 /* end confdefs.h. */
3753 $ac_includes_default
3755 #include <$ac_header>
3757 rm -f conftest.$ac_objext
3758 if { (ac_try="$ac_compile"
3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761 *) ac_try_echo=$ac_try;;
3763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3764 (eval "$ac_compile") 2>conftest.er1
3766 grep -v '^ *+' conftest.er1 >conftest.err
3768 cat conftest.err >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } && {
3771 test -z "$ac_c_werror_flag" ||
3772 test ! -s conftest.err
3773 } && test -s conftest.$ac_objext; then
3774 eval "$as_ac_Header=yes"
3776 echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.$ac_ext >&5
3779 eval "$as_ac_Header=no"
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3784 ac_res=`eval echo '${'$as_ac_Header'}'`
3785 { echo "$as_me:$LINENO: result: $ac_res" >&5
3786 echo "${ECHO_T}$ac_res" >&6; }
3787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3788 cat >>confdefs.h <<_ACEOF
3789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3797 if test "${ac_cv_header_minix_config_h+set}" = set; then
3798 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3799 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3800 if test "${ac_cv_header_minix_config_h+set}" = set; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3804 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3806 # Is the header compilable?
3807 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3808 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3809 cat >conftest.$ac_ext <<_ACEOF
3812 cat confdefs.h >>conftest.$ac_ext
3813 cat >>conftest.$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3815 $ac_includes_default
3816 #include <minix/config.h>
3818 rm -f conftest.$ac_objext
3819 if { (ac_try="$ac_compile"
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3825 (eval "$ac_compile") 2>conftest.er1
3827 grep -v '^ *+' conftest.er1 >conftest.err
3829 cat conftest.err >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } && {
3832 test -z "$ac_c_werror_flag" ||
3833 test ! -s conftest.err
3834 } && test -s conftest.$ac_objext; then
3835 ac_header_compiler=yes
3837 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.$ac_ext >&5
3840 ac_header_compiler=no
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3845 echo "${ECHO_T}$ac_header_compiler" >&6; }
3847 # Is the header present?
3848 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3849 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3850 cat >conftest.$ac_ext <<_ACEOF
3853 cat confdefs.h >>conftest.$ac_ext
3854 cat >>conftest.$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <minix/config.h>
3858 if { (ac_try="$ac_cpp conftest.$ac_ext"
3860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3861 *) ac_try_echo=$ac_try;;
3863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3866 grep -v '^ *+' conftest.er1 >conftest.err
3868 cat conftest.err >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } >/dev/null && {
3871 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3872 test ! -s conftest.err
3874 ac_header_preproc=yes
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3879 ac_header_preproc=no
3882 rm -f conftest.err conftest.$ac_ext
3883 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3884 echo "${ECHO_T}$ac_header_preproc" >&6; }
3886 # So? What about this header?
3887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3889 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3890 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3891 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3892 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3893 ac_header_preproc=yes
3896 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3897 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3898 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3899 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3900 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3901 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3902 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3903 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3904 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3905 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3906 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3907 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3909 ## ------------------------------- ##
3910 ## Report this to www.asterisk.org ##
3911 ## ------------------------------- ##
3913 ) | sed "s/^/$as_me: WARNING: /" >&2
3916 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3917 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3918 if test "${ac_cv_header_minix_config_h+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 ac_cv_header_minix_config_h=$ac_header_preproc
3923 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3924 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3927 if test $ac_cv_header_minix_config_h = yes; then
3934 if test "$MINIX" = yes; then
3936 cat >>confdefs.h <<\_ACEOF
3937 #define _POSIX_SOURCE 1
3941 cat >>confdefs.h <<\_ACEOF
3942 #define _POSIX_1_SOURCE 2
3946 cat >>confdefs.h <<\_ACEOF
3962 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3963 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3964 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 cat >conftest.$ac_ext <<_ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3974 # define __EXTENSIONS__ 1
3975 $ac_includes_default
3984 rm -f conftest.$ac_objext
3985 if { (ac_try="$ac_compile"
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3991 (eval "$ac_compile") 2>conftest.er1
3993 grep -v '^ *+' conftest.er1 >conftest.err
3995 cat conftest.err >&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); } && {
3998 test -z "$ac_c_werror_flag" ||
3999 test ! -s conftest.err
4000 } && test -s conftest.$ac_objext; then
4001 ac_cv_safe_to_define___extensions__=yes
4003 echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.$ac_ext >&5
4006 ac_cv_safe_to_define___extensions__=no
4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4012 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4013 test $ac_cv_safe_to_define___extensions__ = yes &&
4014 cat >>confdefs.h <<\_ACEOF
4015 #define __EXTENSIONS__ 1
4018 cat >>confdefs.h <<\_ACEOF
4019 #define _POSIX_PTHREAD_SEMANTICS 1
4022 cat >>confdefs.h <<\_ACEOF
4023 #define _TANDEM_SOURCE 1
4026 # note- does not work on FreeBSD
4028 case "${host_os}" in
4030 ac_default_prefix=/usr/local
4031 CPPFLAGS=-I/usr/local/include
4032 LDFLAGS=-L/usr/local/lib
4036 ac_default_prefix=/usr
4037 if test ${sysconfdir} = '${prefix}/etc'; then
4040 if test ${mandir} = '${prefix}/man'; then
4041 mandir=/usr/share/man
4046 if test ${localstatedir} = '${prefix}/var'; then
4050 BUILD_PLATFORM=${build}
4051 BUILD_CPU=${build_cpu}
4052 BUILD_VENDOR=${build_vendor}
4053 BUILD_OS=${build_os}
4060 HOST_PLATFORM=${host}
4061 HOST_CPU=${host_cpu}
4062 HOST_VENDOR=${host_vendor}
4072 case "${host_os}" in
4102 if test -n "$ac_tool_prefix"; then
4103 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4104 set dummy ${ac_tool_prefix}uname; ac_word=$2
4105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4107 if test "${ac_cv_path_UNAME+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir=.
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 UNAME=$ac_cv_path_UNAME
4134 if test -n "$UNAME"; then
4135 { echo "$as_me:$LINENO: result: $UNAME" >&5
4136 echo "${ECHO_T}$UNAME" >&6; }
4138 { echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6; }
4144 if test -z "$ac_cv_path_UNAME"; then
4146 # Extract the first word of "uname", so it can be a program name with args.
4147 set dummy uname; ac_word=$2
4148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4150 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4151 echo $ECHO_N "(cached) $ECHO_C" >&6
4153 case $ac_pt_UNAME in
4155 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162 test -z "$as_dir" && as_dir=.
4163 for ac_exec_ext in '' $ac_executable_extensions; do
4164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4165 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4177 if test -n "$ac_pt_UNAME"; then
4178 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4179 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4185 if test "x$ac_pt_UNAME" = x; then
4188 case $cross_compiling:$ac_tool_warned in
4190 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4191 whose name does not start with the host triplet. If you think this
4192 configuration is useful to you, please write to autoconf@gnu.org." >&5
4193 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4194 whose name does not start with the host triplet. If you think this
4195 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4196 ac_tool_warned=yes ;;
4201 UNAME="$ac_cv_path_UNAME"
4204 if test ! x"${UNAME}" = xNo; then
4205 PBX_OSREV=$(${UNAME} -r)
4215 # cross-compile checks
4216 if test "${cross_compiling}" = "yes";
4218 if test -n "$ac_tool_prefix"; then
4219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4220 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4223 if test "${ac_cv_prog_CC+set}" = set; then
4224 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 if test -n "$CC"; then
4227 ac_cv_prog_CC="$CC" # Let the user override the test.
4229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 test -z "$as_dir" && as_dir=.
4234 for ac_exec_ext in '' $ac_executable_extensions; do
4235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4236 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4247 if test -n "$CC"; then
4248 { echo "$as_me:$LINENO: result: $CC" >&5
4249 echo "${ECHO_T}$CC" >&6; }
4251 { echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6; }
4257 if test -z "$ac_cv_prog_CC"; then
4259 # Extract the first word of "gcc", so it can be a program name with args.
4260 set dummy gcc; ac_word=$2
4261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4263 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4264 echo $ECHO_N "(cached) $ECHO_C" >&6
4266 if test -n "$ac_ct_CC"; then
4267 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir=.
4274 for ac_exec_ext in '' $ac_executable_extensions; do
4275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4276 ac_cv_prog_ac_ct_CC="gcc"
4277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4287 if test -n "$ac_ct_CC"; then
4288 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4289 echo "${ECHO_T}$ac_ct_CC" >&6; }
4291 { echo "$as_me:$LINENO: result: no" >&5
4292 echo "${ECHO_T}no" >&6; }
4295 if test "x$ac_ct_CC" = x; then
4298 case $cross_compiling:$ac_tool_warned in
4300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4301 whose name does not start with the host triplet. If you think this
4302 configuration is useful to you, please write to autoconf@gnu.org." >&5
4303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4304 whose name does not start with the host triplet. If you think this
4305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4306 ac_tool_warned=yes ;;
4314 if test -n "$ac_tool_prefix"; then
4315 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4316 set dummy ${ac_tool_prefix}g++; ac_word=$2
4317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4319 if test "${ac_cv_prog_CXX+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 if test -n "$CXX"; then
4323 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 test -z "$as_dir" && as_dir=.
4330 for ac_exec_ext in '' $ac_executable_extensions; do
4331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4343 if test -n "$CXX"; then
4344 { echo "$as_me:$LINENO: result: $CXX" >&5
4345 echo "${ECHO_T}$CXX" >&6; }
4347 { echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6; }
4353 if test -z "$ac_cv_prog_CXX"; then
4355 # Extract the first word of "g++", so it can be a program name with args.
4356 set dummy g++; ac_word=$2
4357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4359 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 if test -n "$ac_ct_CXX"; then
4363 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir=.
4370 for ac_exec_ext in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_prog_ac_ct_CXX="g++"
4373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4383 if test -n "$ac_ct_CXX"; then
4384 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4385 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4391 if test "x$ac_ct_CXX" = x; then
4394 case $cross_compiling:$ac_tool_warned in
4396 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4397 whose name does not start with the host triplet. If you think this
4398 configuration is useful to you, please write to autoconf@gnu.org." >&5
4399 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4400 whose name does not start with the host triplet. If you think this
4401 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4402 ac_tool_warned=yes ;;
4407 CXX="$ac_cv_prog_CXX"
4410 if test -n "$ac_tool_prefix"; then
4411 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4412 set dummy ${ac_tool_prefix}ld; ac_word=$2
4413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4415 if test "${ac_cv_prog_LD+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 if test -n "$LD"; then
4419 ac_cv_prog_LD="$LD" # Let the user override the test.
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir=.
4426 for ac_exec_ext in '' $ac_executable_extensions; do
4427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4428 ac_cv_prog_LD="${ac_tool_prefix}ld"
4429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 if test -n "$LD"; then
4440 { echo "$as_me:$LINENO: result: $LD" >&5
4441 echo "${ECHO_T}$LD" >&6; }
4443 { echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6; }
4449 if test -z "$ac_cv_prog_LD"; then
4451 # Extract the first word of "ld", so it can be a program name with args.
4452 set dummy ld; ac_word=$2
4453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4455 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 if test -n "$ac_ct_LD"; then
4459 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir=.
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4468 ac_cv_prog_ac_ct_LD="ld"
4469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4479 if test -n "$ac_ct_LD"; then
4480 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4481 echo "${ECHO_T}$ac_ct_LD" >&6; }
4483 { echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6; }
4487 if test "x$ac_ct_LD" = x; then
4490 case $cross_compiling:$ac_tool_warned in
4492 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4493 whose name does not start with the host triplet. If you think this
4494 configuration is useful to you, please write to autoconf@gnu.org." >&5
4495 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4496 whose name does not start with the host triplet. If you think this
4497 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4498 ac_tool_warned=yes ;;
4506 if test -n "$ac_tool_prefix"; then
4507 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4508 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4511 if test "${ac_cv_prog_RANLIB+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 if test -n "$RANLIB"; then
4515 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4524 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 RANLIB=$ac_cv_prog_RANLIB
4535 if test -n "$RANLIB"; then
4536 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4537 echo "${ECHO_T}$RANLIB" >&6; }
4539 { echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6; }
4545 if test -z "$ac_cv_prog_RANLIB"; then
4546 ac_ct_RANLIB=$RANLIB
4547 # Extract the first word of "ranlib", so it can be a program name with args.
4548 set dummy ranlib; ac_word=$2
4549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4551 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 if test -n "$ac_ct_RANLIB"; then
4555 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4564 ac_cv_prog_ac_ct_RANLIB="ranlib"
4565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4575 if test -n "$ac_ct_RANLIB"; then
4576 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4577 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4579 { echo "$as_me:$LINENO: result: no" >&5
4580 echo "${ECHO_T}no" >&6; }
4583 if test "x$ac_ct_RANLIB" = x; then
4586 case $cross_compiling:$ac_tool_warned in
4588 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4589 whose name does not start with the host triplet. If you think this
4590 configuration is useful to you, please write to autoconf@gnu.org." >&5
4591 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4592 whose name does not start with the host triplet. If you think this
4593 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4594 ac_tool_warned=yes ;;
4596 RANLIB=$ac_ct_RANLIB
4599 RANLIB="$ac_cv_prog_RANLIB"
4604 # Checks for programs.
4606 ac_cpp='$CPP $CPPFLAGS'
4607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4610 if test -n "$ac_tool_prefix"; then
4611 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4612 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4615 if test "${ac_cv_prog_CC+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 if test -n "$CC"; then
4619 ac_cv_prog_CC="$CC" # Let the user override the test.
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 if test -n "$CC"; then
4640 { echo "$as_me:$LINENO: result: $CC" >&5
4641 echo "${ECHO_T}$CC" >&6; }
4643 { echo "$as_me:$LINENO: result: no" >&5
4644 echo "${ECHO_T}no" >&6; }
4649 if test -z "$ac_cv_prog_CC"; then
4651 # Extract the first word of "gcc", so it can be a program name with args.
4652 set dummy gcc; ac_word=$2
4653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 if test -n "$ac_ct_CC"; then
4659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_ac_ct_CC="gcc"
4669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4679 if test -n "$ac_ct_CC"; then
4680 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4681 echo "${ECHO_T}$ac_ct_CC" >&6; }
4683 { echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6; }
4687 if test "x$ac_ct_CC" = x; then
4690 case $cross_compiling:$ac_tool_warned in
4692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4693 whose name does not start with the host triplet. If you think this
4694 configuration is useful to you, please write to autoconf@gnu.org." >&5
4695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4696 whose name does not start with the host triplet. If you think this
4697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4698 ac_tool_warned=yes ;;
4706 if test -z "$CC"; then
4707 if test -n "$ac_tool_prefix"; then
4708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4709 set dummy ${ac_tool_prefix}cc; ac_word=$2
4710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4712 if test "${ac_cv_prog_CC+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 if test -n "$CC"; then
4716 ac_cv_prog_CC="$CC" # Let the user override the test.
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR