2 # From configure.ac Revision: 115580 .
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
969 PBX_ZAPTEL_ECHOCANPARAMS
983 ac_precious_vars='build_alias
998 # Initialize some variables set by options.
1000 ac_init_version=false
1001 # The variables have the same names as the options, with
1002 # dashes changed to underlines.
1003 cache_file=/dev/null
1010 program_transform_name=s,x,x,
1018 # Installation directory options.
1019 # These are left unexpanded so users can "make install exec_prefix=/foo"
1020 # and all the variables that are supposed to be based on exec_prefix
1021 # by default will actually change.
1022 # Use braces instead of parens because sh, perl, etc. also accept them.
1023 # (The list follows the same order as the GNU Coding Standards.)
1024 bindir='${exec_prefix}/bin'
1025 sbindir='${exec_prefix}/sbin'
1026 libexecdir='${exec_prefix}/libexec'
1027 datarootdir='${prefix}/share'
1028 datadir='${datarootdir}'
1029 sysconfdir='${prefix}/etc'
1030 sharedstatedir='${prefix}/com'
1031 localstatedir='${prefix}/var'
1032 includedir='${prefix}/include'
1033 oldincludedir='/usr/include'
1034 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1035 infodir='${datarootdir}/info'
1040 libdir='${exec_prefix}/lib'
1041 localedir='${datarootdir}/locale'
1042 mandir='${datarootdir}/man'
1048 # If the previous option needs an argument, assign it.
1049 if test -n "$ac_prev"; then
1050 eval $ac_prev=\$ac_option
1056 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1060 # Accept the important Cygnus configure options, so we can diagnose typos.
1062 case $ac_dashdash$ac_option in
1066 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1068 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1069 bindir=$ac_optarg ;;
1071 -build | --build | --buil | --bui | --bu)
1072 ac_prev=build_alias ;;
1073 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1074 build_alias=$ac_optarg ;;
1076 -cache-file | --cache-file | --cache-fil | --cache-fi \
1077 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1078 ac_prev=cache_file ;;
1079 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1080 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1081 cache_file=$ac_optarg ;;
1083 --config-cache | -C)
1084 cache_file=config.cache ;;
1086 -datadir | --datadir | --datadi | --datad)
1088 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1089 datadir=$ac_optarg ;;
1091 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1092 | --dataroo | --dataro | --datar)
1093 ac_prev=datarootdir ;;
1094 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1095 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1096 datarootdir=$ac_optarg ;;
1098 -disable-* | --disable-*)
1099 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1105 eval enable_$ac_feature=no ;;
1107 -docdir | --docdir | --docdi | --doc | --do)
1109 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1110 docdir=$ac_optarg ;;
1112 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1114 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1115 dvidir=$ac_optarg ;;
1117 -enable-* | --enable-*)
1118 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1124 eval enable_$ac_feature=\$ac_optarg ;;
1126 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1127 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1128 | --exec | --exe | --ex)
1129 ac_prev=exec_prefix ;;
1130 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1131 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1132 | --exec=* | --exe=* | --ex=*)
1133 exec_prefix=$ac_optarg ;;
1135 -gas | --gas | --ga | --g)
1136 # Obsolete; use --with-gas.
1139 -help | --help | --hel | --he | -h)
1140 ac_init_help=long ;;
1141 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1142 ac_init_help=recursive ;;
1143 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1144 ac_init_help=short ;;
1146 -host | --host | --hos | --ho)
1147 ac_prev=host_alias ;;
1148 -host=* | --host=* | --hos=* | --ho=*)
1149 host_alias=$ac_optarg ;;
1151 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1153 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1155 htmldir=$ac_optarg ;;
1157 -includedir | --includedir | --includedi | --included | --include \
1158 | --includ | --inclu | --incl | --inc)
1159 ac_prev=includedir ;;
1160 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1161 | --includ=* | --inclu=* | --incl=* | --inc=*)
1162 includedir=$ac_optarg ;;
1164 -infodir | --infodir | --infodi | --infod | --info | --inf)
1166 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1167 infodir=$ac_optarg ;;
1169 -libdir | --libdir | --libdi | --libd)
1171 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1172 libdir=$ac_optarg ;;
1174 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1175 | --libexe | --libex | --libe)
1176 ac_prev=libexecdir ;;
1177 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1178 | --libexe=* | --libex=* | --libe=*)
1179 libexecdir=$ac_optarg ;;
1181 -localedir | --localedir | --localedi | --localed | --locale)
1182 ac_prev=localedir ;;
1183 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1184 localedir=$ac_optarg ;;
1186 -localstatedir | --localstatedir | --localstatedi | --localstated \
1187 | --localstate | --localstat | --localsta | --localst | --locals)
1188 ac_prev=localstatedir ;;
1189 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1190 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1191 localstatedir=$ac_optarg ;;
1193 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1195 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1196 mandir=$ac_optarg ;;
1198 -nfp | --nfp | --nf)
1199 # Obsolete; use --without-fp.
1202 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1203 | --no-cr | --no-c | -n)
1206 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1207 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1210 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1211 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1212 | --oldin | --oldi | --old | --ol | --o)
1213 ac_prev=oldincludedir ;;
1214 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1215 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1216 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1217 oldincludedir=$ac_optarg ;;
1219 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1221 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1222 prefix=$ac_optarg ;;
1224 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1225 | --program-pre | --program-pr | --program-p)
1226 ac_prev=program_prefix ;;
1227 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1228 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1229 program_prefix=$ac_optarg ;;
1231 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1232 | --program-suf | --program-su | --program-s)
1233 ac_prev=program_suffix ;;
1234 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1235 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1236 program_suffix=$ac_optarg ;;
1238 -program-transform-name | --program-transform-name \
1239 | --program-transform-nam | --program-transform-na \
1240 | --program-transform-n | --program-transform- \
1241 | --program-transform | --program-transfor \
1242 | --program-transfo | --program-transf \
1243 | --program-trans | --program-tran \
1244 | --progr-tra | --program-tr | --program-t)
1245 ac_prev=program_transform_name ;;
1246 -program-transform-name=* | --program-transform-name=* \
1247 | --program-transform-nam=* | --program-transform-na=* \
1248 | --program-transform-n=* | --program-transform-=* \
1249 | --program-transform=* | --program-transfor=* \
1250 | --program-transfo=* | --program-transf=* \
1251 | --program-trans=* | --program-tran=* \
1252 | --progr-tra=* | --program-tr=* | --program-t=*)
1253 program_transform_name=$ac_optarg ;;
1255 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1257 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1258 pdfdir=$ac_optarg ;;
1260 -psdir | --psdir | --psdi | --psd | --ps)
1262 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1266 | -silent | --silent | --silen | --sile | --sil)
1269 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1271 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1273 sbindir=$ac_optarg ;;
1275 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1276 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1277 | --sharedst | --shareds | --shared | --share | --shar \
1279 ac_prev=sharedstatedir ;;
1280 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1281 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1282 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1284 sharedstatedir=$ac_optarg ;;
1286 -site | --site | --sit)
1288 -site=* | --site=* | --sit=*)
1291 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1293 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1294 srcdir=$ac_optarg ;;
1296 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1297 | --syscon | --sysco | --sysc | --sys | --sy)
1298 ac_prev=sysconfdir ;;
1299 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1300 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1301 sysconfdir=$ac_optarg ;;
1303 -target | --target | --targe | --targ | --tar | --ta | --t)
1304 ac_prev=target_alias ;;
1305 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1306 target_alias=$ac_optarg ;;
1308 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1311 -version | --version | --versio | --versi | --vers | -V)
1312 ac_init_version=: ;;
1315 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1316 # Reject names that are not valid shell variable names.
1317 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1318 { echo "$as_me: error: invalid package name: $ac_package" >&2
1319 { (exit 1); exit 1; }; }
1320 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1321 eval with_$ac_package=\$ac_optarg ;;
1323 -without-* | --without-*)
1324 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1325 # Reject names that are not valid shell variable names.
1326 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1327 { echo "$as_me: error: invalid package name: $ac_package" >&2
1328 { (exit 1); exit 1; }; }
1329 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1330 eval with_$ac_package=no ;;
1333 # Obsolete; use --with-x.
1336 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1337 | --x-incl | --x-inc | --x-in | --x-i)
1338 ac_prev=x_includes ;;
1339 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1340 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1341 x_includes=$ac_optarg ;;
1343 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1344 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1345 ac_prev=x_libraries ;;
1346 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1347 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1348 x_libraries=$ac_optarg ;;
1350 -*) { echo "$as_me: error: unrecognized option: $ac_option
1351 Try \`$0 --help' for more information." >&2
1352 { (exit 1); exit 1; }; }
1356 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1357 # Reject names that are not valid shell variable names.
1358 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1359 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1360 { (exit 1); exit 1; }; }
1361 eval $ac_envvar=\$ac_optarg
1362 export $ac_envvar ;;
1365 # FIXME: should be removed in autoconf 3.0.
1366 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1367 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1368 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1369 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1375 if test -n "$ac_prev"; then
1376 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1377 { echo "$as_me: error: missing argument to $ac_option" >&2
1378 { (exit 1); exit 1; }; }
1381 # Be sure to have absolute directory names.
1382 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1383 datadir sysconfdir sharedstatedir localstatedir includedir \
1384 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1385 libdir localedir mandir
1387 eval ac_val=\$$ac_var
1389 [\\/$]* | ?:[\\/]* ) continue;;
1390 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1392 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1393 { (exit 1); exit 1; }; }
1396 # There might be people who depend on the old broken behavior: `$host'
1397 # used to hold the argument of --host etc.
1398 # FIXME: To remove some day.
1401 target=$target_alias
1403 # FIXME: To remove some day.
1404 if test "x$host_alias" != x; then
1405 if test "x$build_alias" = x; then
1406 cross_compiling=maybe
1407 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1408 If a cross compiler is detected then cross compile mode will be used." >&2
1409 elif test "x$build_alias" != "x$host_alias"; then
1415 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1417 test "$silent" = yes && exec 6>/dev/null
1420 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1421 ac_ls_di=`ls -di .` &&
1422 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1423 { echo "$as_me: error: Working directory cannot be determined" >&2
1424 { (exit 1); exit 1; }; }
1425 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1426 { echo "$as_me: error: pwd does not report name of working directory" >&2
1427 { (exit 1); exit 1; }; }
1430 # Find the source files, if location was not specified.
1431 if test -z "$srcdir"; then
1432 ac_srcdir_defaulted=yes
1433 # Try the directory containing this script, then the parent directory.
1434 ac_confdir=`$as_dirname -- "$0" ||
1435 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1436 X"$0" : 'X\(//\)[^/]' \| \
1437 X"$0" : 'X\(//\)$' \| \
1438 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1458 if test ! -r "$srcdir/$ac_unique_file"; then
1462 ac_srcdir_defaulted=no
1464 if test ! -r "$srcdir/$ac_unique_file"; then
1465 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1466 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1467 { (exit 1); exit 1; }; }
1469 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1471 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1472 { (exit 1); exit 1; }; }
1474 # When building in place, set srcdir=.
1475 if test "$ac_abs_confdir" = "$ac_pwd"; then
1478 # Remove unnecessary trailing slashes from srcdir.
1479 # Double slashes in file names in object file debugging info
1480 # mess up M-x gdb in Emacs.
1482 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1484 for ac_var in $ac_precious_vars; do
1485 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1486 eval ac_env_${ac_var}_value=\$${ac_var}
1487 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1488 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1492 # Report the --help message.
1494 if test "$ac_init_help" = "long"; then
1495 # Omit some internal or obsolete options to make the list less imposing.
1496 # This message is too long to be a string in the A/UX 3.1 sh.
1498 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1500 Usage: $0 [OPTION]... [VAR=VALUE]...
1502 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1503 VAR=VALUE. See below for descriptions of some of the useful variables.
1505 Defaults for the options are specified in brackets.
1508 -h, --help display this help and exit
1509 --help=short display options specific to this package
1510 --help=recursive display the short help of all the included packages
1511 -V, --version display version information and exit
1512 -q, --quiet, --silent do not print \`checking...' messages
1513 --cache-file=FILE cache test results in FILE [disabled]
1514 -C, --config-cache alias for \`--cache-file=config.cache'
1515 -n, --no-create do not create output files
1516 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1518 Installation directories:
1519 --prefix=PREFIX install architecture-independent files in PREFIX
1520 [$ac_default_prefix]
1521 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1524 By default, \`make install' will install all the files in
1525 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1526 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1527 for instance \`--prefix=\$HOME'.
1529 For better control, use the options below.
1531 Fine tuning of the installation directories:
1532 --bindir=DIR user executables [EPREFIX/bin]
1533 --sbindir=DIR system admin executables [EPREFIX/sbin]
1534 --libexecdir=DIR program executables [EPREFIX/libexec]
1535 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1536 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1537 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1538 --libdir=DIR object code libraries [EPREFIX/lib]
1539 --includedir=DIR C header files [PREFIX/include]
1540 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1541 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1542 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1543 --infodir=DIR info documentation [DATAROOTDIR/info]
1544 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1545 --mandir=DIR man documentation [DATAROOTDIR/man]
1546 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1547 --htmldir=DIR html documentation [DOCDIR]
1548 --dvidir=DIR dvi documentation [DOCDIR]
1549 --pdfdir=DIR pdf documentation [DOCDIR]
1550 --psdir=DIR ps documentation [DOCDIR]
1556 --build=BUILD configure for building on BUILD [guessed]
1557 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1561 if test -n "$ac_init_help"; then
1562 case $ac_init_help in
1563 short | recursive ) echo "Configuration of asterisk 1.6:";;
1568 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1569 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1570 --enable-dev-mode Turn on developer mode
1571 --disable-largefile omit support for large files
1574 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1575 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1576 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1577 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1578 --with-execinfo=PATH use Stack Backtrace support files in PATH
1579 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1580 --with-curl=PATH use cURL files in PATH
1581 --with-curses=PATH use curses files in PATH
1582 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1583 --with-avcodec=PATH use Ffmpeg and avcodec library files in PATH
1584 --with-gsm=PATH use External GSM library files in PATH , use
1585 'internal' GSM otherwise
1586 --with-gtk=PATH use gtk libraries files in PATH
1587 --with-gtk2=PATH use gtk2 libraries files in PATH
1588 --with-gmime=PATH use GMime library files in PATH
1589 --with-iconv=PATH use Iconv Library files in PATH
1590 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1591 --with-imap=PATH use UW IMAP Toolkit files in PATH
1592 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1593 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1594 --with-ldap=PATH use OpenLDAP files in PATH
1595 --with-ltdl=PATH use libtool files in PATH
1596 --with-lua=PATH use Lua files in PATH
1597 --with-misdn=PATH use mISDN User Library files in PATH
1598 --with-nbs=PATH use Network Broadcast Sound files in PATH
1599 --with-ncurses=PATH use ncurses files in PATH
1600 --with-netsnmp=PATH use Net-SNMP files in PATH
1601 --with-newt=PATH use newt files in PATH
1602 --with-odbc=PATH use unixODBC files in PATH
1603 --with-ogg=PATH use OGG files in PATH
1604 --with-osptk=PATH use OSP Toolkit files in PATH
1605 --with-oss=PATH use Open Sound System files in PATH
1606 --with-postgres=PATH use PostgreSQL files in PATH
1607 --with-popt=PATH use popt files in PATH
1608 --with-portaudio=PATH use PortAudio files in PATH
1609 --with-pri=PATH use ISDN PRI files in PATH
1610 --with-ss7=PATH use ISDN SS7 files in PATH
1611 --with-pwlib=PATH use PWlib files in PATH
1612 --with-h323=PATH use OpenH323 files in PATH
1613 --with-radius=PATH use Radius Client files in PATH
1614 --with-sdl=PATH use Sdl files in PATH
1615 --with-SDL_image=PATH use Sdl Image library files in PATH
1616 --with-speex=PATH use Speex files in PATH
1617 --with-speexdsp=PATH use Speexdsp files in PATH
1618 --with-sqlite=PATH use SQLite files in PATH
1619 --with-sqlite3=PATH use SQLite files in PATH
1620 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1621 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1623 --with-tds=PATH use FreeTDS files in PATH
1624 --with-termcap=PATH use Termcap files in PATH
1625 --with-tinfo=PATH use Term Info files in PATH
1626 --with-tonezone=PATH use tonezone files in PATH
1627 --with-usb=PATH use usb files in PATH
1628 --with-vorbis=PATH use Vorbis files in PATH
1629 --with-vpb=PATH use Voicetronix API files in PATH
1630 --with-x11=PATH use X11 support files in PATH
1631 --with-z=PATH use zlib files in PATH
1632 --with-zaptel=PATH use Zaptel files in PATH
1634 Some influential environment variables:
1635 CC C compiler command
1636 CFLAGS C compiler flags
1637 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1638 nonstandard directory <lib dir>
1639 LIBS libraries to pass to the linker, e.g. -l<library>
1640 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1641 you have headers in a nonstandard directory <include dir>
1643 CXX C++ compiler command
1644 CXXFLAGS C++ compiler flags
1645 CXXCPP C++ preprocessor
1647 Use these variables to override the choices made by `configure' or to help
1648 it to find libraries and programs with nonstandard names/locations.
1650 Report bugs to <www.asterisk.org>.
1655 if test "$ac_init_help" = "recursive"; then
1656 # If there are subdirs, report their specific --help.
1657 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1658 test -d "$ac_dir" || continue
1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1665 # A ".." for each directory in $ac_dir_suffix.
1666 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1667 case $ac_top_builddir_sub in
1668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1672 ac_abs_top_builddir=$ac_pwd
1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1674 # for backward compatibility:
1675 ac_top_builddir=$ac_top_build_prefix
1678 .) # We are building in place.
1680 ac_top_srcdir=$ac_top_builddir_sub
1681 ac_abs_top_srcdir=$ac_pwd ;;
1682 [\\/]* | ?:[\\/]* ) # Absolute name.
1683 ac_srcdir=$srcdir$ac_dir_suffix;
1684 ac_top_srcdir=$srcdir
1685 ac_abs_top_srcdir=$srcdir ;;
1687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1688 ac_top_srcdir=$ac_top_build_prefix$srcdir
1689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1693 cd "$ac_dir" || { ac_status=$?; continue; }
1694 # Check for guested configure.
1695 if test -f "$ac_srcdir/configure.gnu"; then
1697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1698 elif test -f "$ac_srcdir/configure"; then
1700 $SHELL "$ac_srcdir/configure" --help=recursive
1702 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1704 cd "$ac_pwd" || { ac_status=$?; break; }
1708 test -n "$ac_init_help" && exit $ac_status
1709 if $ac_init_version; then
1711 asterisk configure 1.6
1712 generated by GNU Autoconf 2.61
1714 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1715 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1716 This configure script is free software; the Free Software Foundation
1717 gives unlimited permission to copy, distribute and modify it.
1723 cat >config.log <<_ACEOF
1724 This file contains any messages produced by compilers while
1725 running configure, to aid debugging if configure makes a mistake.
1727 It was created by asterisk $as_me 1.6, which was
1728 generated by GNU Autoconf 2.61. Invocation command line was
1740 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1741 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1742 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1743 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1744 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1746 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1747 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1749 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1750 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1751 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1752 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1753 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1754 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1755 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763 test -z "$as_dir" && as_dir=.
1764 echo "PATH: $as_dir"
1780 # Keep a trace of the command line.
1781 # Strip out --no-create and --no-recursion so they do not pile up.
1782 # Strip out --silent because we don't want to record it for future runs.
1783 # Also quote any args containing shell meta-characters.
1784 # Make two passes to allow for proper duplicate-argument suppression.
1788 ac_must_keep_next=false
1794 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1795 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1796 | -silent | --silent | --silen | --sile | --sil)
1799 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1802 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1804 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1805 if test $ac_must_keep_next = true; then
1806 ac_must_keep_next=false # Got value, back to normal.
1809 *=* | --config-cache | -C | -disable-* | --disable-* \
1810 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1811 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1812 | -with-* | --with-* | -without-* | --without-* | --x)
1813 case "$ac_configure_args0 " in
1814 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1817 -* ) ac_must_keep_next=true ;;
1820 ac_configure_args="$ac_configure_args '$ac_arg'"
1825 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1826 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1828 # When interrupted or exit'd, cleanup temporary files, and complete
1829 # config.log. We remove comments because anyway the quotes in there
1830 # would cause problems or look ugly.
1831 # WARNING: Use '\'' to represent an apostrophe within the trap.
1832 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1833 trap 'exit_status=$?
1834 # Save into config.log some information that might help in debugging.
1839 ## ---------------- ##
1840 ## Cache variables. ##
1841 ## ---------------- ##
1844 # The following way of writing the cache mishandles newlines in values,
1846 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1847 eval ac_val=\$$ac_var
1851 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1852 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1855 _ | IFS | as_nl) ;; #(
1856 *) $as_unset $ac_var ;;
1861 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1862 *${as_nl}ac_space=\ *)
1864 "s/'\''/'\''\\\\'\'''\''/g;
1865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1876 ## ----------------- ##
1877 ## Output variables. ##
1878 ## ----------------- ##
1881 for ac_var in $ac_subst_vars
1883 eval ac_val=\$$ac_var
1885 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1887 echo "$ac_var='\''$ac_val'\''"
1891 if test -n "$ac_subst_files"; then
1893 ## ------------------- ##
1894 ## File substitutions. ##
1895 ## ------------------- ##
1898 for ac_var in $ac_subst_files
1900 eval ac_val=\$$ac_var
1902 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1904 echo "$ac_var='\''$ac_val'\''"
1909 if test -s confdefs.h; then
1919 test "$ac_signal" != 0 &&
1920 echo "$as_me: caught signal $ac_signal"
1921 echo "$as_me: exit $exit_status"
1923 rm -f core *.core core.conftest.* &&
1924 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1927 for ac_signal in 1 2 13 15; do
1928 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1932 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1933 rm -f -r conftest* confdefs.h
1935 # Predefined preprocessor variables.
1937 cat >>confdefs.h <<_ACEOF
1938 #define PACKAGE_NAME "$PACKAGE_NAME"
1942 cat >>confdefs.h <<_ACEOF
1943 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1947 cat >>confdefs.h <<_ACEOF
1948 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1952 cat >>confdefs.h <<_ACEOF
1953 #define PACKAGE_STRING "$PACKAGE_STRING"
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1962 # Let the site file select an alternate cache file if it wants to.
1963 # Prefer explicitly selected file to automatically selected ones.
1964 if test -n "$CONFIG_SITE"; then
1965 set x "$CONFIG_SITE"
1966 elif test "x$prefix" != xNONE; then
1967 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1969 set x "$ac_default_prefix/share/config.site" \
1970 "$ac_default_prefix/etc/config.site"
1975 if test -r "$ac_site_file"; then
1976 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1977 echo "$as_me: loading site script $ac_site_file" >&6;}
1978 sed 's/^/| /' "$ac_site_file" >&5
1983 if test -r "$cache_file"; then
1984 # Some versions of bash will fail to source /dev/null (special
1985 # files actually), so we avoid doing that.
1986 if test -f "$cache_file"; then
1987 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1988 echo "$as_me: loading cache $cache_file" >&6;}
1990 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1991 *) . "./$cache_file";;
1995 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1996 echo "$as_me: creating cache $cache_file" >&6;}
2000 ac_header_list="$ac_header_list utime.h"
2001 # Check that the precious variables saved in the cache have kept the same
2003 ac_cache_corrupted=false
2004 for ac_var in $ac_precious_vars; do
2005 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2006 eval ac_new_set=\$ac_env_${ac_var}_set
2007 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2008 eval ac_new_val=\$ac_env_${ac_var}_value
2009 case $ac_old_set,$ac_new_set in
2011 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2012 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2013 ac_cache_corrupted=: ;;
2015 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2016 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2017 ac_cache_corrupted=: ;;
2020 if test "x$ac_old_val" != "x$ac_new_val"; then
2021 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2022 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2023 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2024 echo "$as_me: former value: $ac_old_val" >&2;}
2025 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2026 echo "$as_me: current value: $ac_new_val" >&2;}
2027 ac_cache_corrupted=:
2030 # Pass precious variables to config.status.
2031 if test "$ac_new_set" = set; then
2033 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2034 *) ac_arg=$ac_var=$ac_new_val ;;
2036 case " $ac_configure_args " in
2037 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2038 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2042 if $ac_cache_corrupted; then
2043 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2044 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2045 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2046 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2047 { (exit 1); exit 1; }; }
2075 ac_cpp='$CPP $CPPFLAGS'
2076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2082 # cross-compile macros
2084 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2085 if test -f "$ac_dir/install-sh"; then
2087 ac_install_sh="$ac_aux_dir/install-sh -c"
2089 elif test -f "$ac_dir/install.sh"; then
2091 ac_install_sh="$ac_aux_dir/install.sh -c"
2093 elif test -f "$ac_dir/shtool"; then
2095 ac_install_sh="$ac_aux_dir/shtool install -c"
2099 if test -z "$ac_aux_dir"; then
2100 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2101 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2102 { (exit 1); exit 1; }; }
2105 # These three variables are undocumented and unsupported,
2106 # and are intended to be withdrawn in a future Autoconf release.
2107 # They can cause serious problems if a builder's source tree is in a directory
2108 # whose full name contains unusual characters.
2109 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2110 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2111 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2114 # Make sure we can run config.sub.
2115 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2116 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2117 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2118 { (exit 1); exit 1; }; }
2120 { echo "$as_me:$LINENO: checking build system type" >&5
2121 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2122 if test "${ac_cv_build+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 ac_build_alias=$build_alias
2126 test "x$ac_build_alias" = x &&
2127 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2128 test "x$ac_build_alias" = x &&
2129 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2130 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2131 { (exit 1); exit 1; }; }
2132 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2133 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2134 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2135 { (exit 1); exit 1; }; }
2138 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2139 echo "${ECHO_T}$ac_cv_build" >&6; }
2140 case $ac_cv_build in
2142 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2143 echo "$as_me: error: invalid value of canonical build" >&2;}
2144 { (exit 1); exit 1; }; };;
2147 ac_save_IFS=$IFS; IFS='-'
2153 # Remember, the first character of IFS is used to create $*,
2154 # except with old shells:
2157 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2160 { echo "$as_me:$LINENO: checking host system type" >&5
2161 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2162 if test "${ac_cv_host+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test "x$host_alias" = x; then
2166 ac_cv_host=$ac_cv_build
2168 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2169 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2170 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2171 { (exit 1); exit 1; }; }
2175 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2176 echo "${ECHO_T}$ac_cv_host" >&6; }
2179 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2180 echo "$as_me: error: invalid value of canonical host" >&2;}
2181 { (exit 1); exit 1; }; };;
2184 ac_save_IFS=$IFS; IFS='-'
2190 # Remember, the first character of IFS is used to create $*,
2191 # except with old shells:
2194 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2198 # check existence of the package
2201 # specify output header file
2202 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2209 cat >>confdefs.h <<\_ACEOF
2210 #define _GNU_SOURCE 1
2215 ac_cpp='$CPP $CPPFLAGS'
2216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2219 if test -n "$ac_tool_prefix"; then
2220 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2221 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2224 if test "${ac_cv_prog_CC+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 if test -n "$CC"; then
2228 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 test -z "$as_dir" && as_dir=.
2235 for ac_exec_ext in '' $ac_executable_extensions; do
2236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2237 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$ac_cv_prog_CC"; then
2260 # Extract the first word of "gcc", so it can be a program name with args.
2261 set dummy gcc; ac_word=$2
2262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2264 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 if test -n "$ac_ct_CC"; then
2268 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 ac_cv_prog_ac_ct_CC="gcc"
2278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2288 if test -n "$ac_ct_CC"; then
2289 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2290 echo "${ECHO_T}$ac_ct_CC" >&6; }
2292 { echo "$as_me:$LINENO: result: no" >&5
2293 echo "${ECHO_T}no" >&6; }
2296 if test "x$ac_ct_CC" = x; then
2299 case $cross_compiling:$ac_tool_warned in
2301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2302 whose name does not start with the host triplet. If you think this
2303 configuration is useful to you, please write to autoconf@gnu.org." >&5
2304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2305 whose name does not start with the host triplet. If you think this
2306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2307 ac_tool_warned=yes ;;
2315 if test -z "$CC"; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2318 set dummy ${ac_tool_prefix}cc; ac_word=$2
2319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2321 if test "${ac_cv_prog_CC+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 if test -n "$CC"; then
2325 ac_cv_prog_CC="$CC" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 ac_cv_prog_CC="${ac_tool_prefix}cc"
2335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 if test -n "$CC"; then
2346 { echo "$as_me:$LINENO: result: $CC" >&5
2347 echo "${ECHO_T}$CC" >&6; }
2349 { echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6; }
2356 if test -z "$CC"; then
2357 # Extract the first word of "cc", so it can be a program name with args.
2358 set dummy cc; ac_word=$2
2359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2361 if test "${ac_cv_prog_CC+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 if test -n "$CC"; then
2365 ac_cv_prog_CC="$CC" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2376 ac_prog_rejected=yes
2380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 if test $ac_prog_rejected = yes; then
2388 # We found a bogon in the path, so make sure we never use it.
2389 set dummy $ac_cv_prog_CC
2391 if test $# != 0; then
2392 # We chose a different compiler from the bogus one.
2393 # However, it has the same basename, so the bogon will be chosen
2394 # first if we set CC to just the basename; use the full file name.
2396 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2402 if test -n "$CC"; then
2403 { echo "$as_me:$LINENO: result: $CC" >&5
2404 echo "${ECHO_T}$CC" >&6; }
2406 { echo "$as_me:$LINENO: result: no" >&5
2407 echo "${ECHO_T}no" >&6; }
2412 if test -z "$CC"; then
2413 if test -n "$ac_tool_prefix"; then
2414 for ac_prog in cl.exe
2416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2417 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_CC+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 if test -n "$CC"; then
2424 ac_cv_prog_CC="$CC" # Let the user override the test.
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 if test -n "$CC"; then
2445 { echo "$as_me:$LINENO: result: $CC" >&5
2446 echo "${ECHO_T}$CC" >&6; }
2448 { echo "$as_me:$LINENO: result: no" >&5
2449 echo "${ECHO_T}no" >&6; }
2453 test -n "$CC" && break
2456 if test -z "$CC"; then
2458 for ac_prog in cl.exe
2460 # Extract the first word of "$ac_prog", so it can be a program name with args.
2461 set dummy $ac_prog; ac_word=$2
2462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2464 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 if test -n "$ac_ct_CC"; then
2468 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 ac_cv_prog_ac_ct_CC="$ac_prog"
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2488 if test -n "$ac_ct_CC"; then
2489 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2490 echo "${ECHO_T}$ac_ct_CC" >&6; }
2492 { echo "$as_me:$LINENO: result: no" >&5
2493 echo "${ECHO_T}no" >&6; }
2497 test -n "$ac_ct_CC" && break
2500 if test "x$ac_ct_CC" = x; then
2503 case $cross_compiling:$ac_tool_warned in
2505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2506 whose name does not start with the host triplet. If you think this
2507 configuration is useful to you, please write to autoconf@gnu.org." >&5
2508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2509 whose name does not start with the host triplet. If you think this
2510 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2511 ac_tool_warned=yes ;;
2520 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2521 See \`config.log' for more details." >&5
2522 echo "$as_me: error: no acceptable C compiler found in \$PATH
2523 See \`config.log' for more details." >&2;}
2524 { (exit 1); exit 1; }; }
2526 # Provide some information about the compiler.
2527 echo "$as_me:$LINENO: checking for C compiler version" >&5
2528 ac_compiler=`set X $ac_compile; echo $2`
2529 { (ac_try="$ac_compiler --version >&5"
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2535 (eval "$ac_compiler --version >&5") 2>&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); }
2539 { (ac_try="$ac_compiler -v >&5"
2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2545 (eval "$ac_compiler -v >&5") 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }
2549 { (ac_try="$ac_compiler -V >&5"
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2555 (eval "$ac_compiler -V >&5") 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2560 cat >conftest.$ac_ext <<_ACEOF
2563 cat confdefs.h >>conftest.$ac_ext
2564 cat >>conftest.$ac_ext <<_ACEOF
2565 /* end confdefs.h. */
2575 ac_clean_files_save=$ac_clean_files
2576 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2577 # Try to create an executable without -o first, disregard a.out.
2578 # It will help us diagnose broken compilers, and finding out an intuition
2580 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2581 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2582 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2584 # List of possible output files, starting from the most likely.
2585 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2586 # only as a last resort. b.out is created by i960 compilers.
2587 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2589 # The IRIX 6 linker writes into existing files which may not be
2590 # executable, retaining their permissions. Remove them first so a
2591 # subsequent execution test works.
2593 for ac_file in $ac_files
2596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2597 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2602 if { (ac_try="$ac_link_default"
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2608 (eval "$ac_link_default") 2>&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; then
2612 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2613 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2614 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2615 # so that the user can short-circuit this test for compilers unknown to
2617 for ac_file in $ac_files ''
2619 test -f "$ac_file" || continue
2621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2624 # We found the default executable, but exeext='' is most
2628 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2630 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2632 # We set ac_cv_exeext here because the later test for it is not
2633 # safe: cross compilers may not add the suffix if given an `-o'
2634 # argument, so we may need to know it at that point already.
2635 # Even if this section looks crufty: it has the advantage of
2642 test "$ac_cv_exeext" = no && ac_cv_exeext=
2648 { echo "$as_me:$LINENO: result: $ac_file" >&5
2649 echo "${ECHO_T}$ac_file" >&6; }
2650 if test -z "$ac_file"; then
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2654 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2655 See \`config.log' for more details." >&5
2656 echo "$as_me: error: C compiler cannot create executables
2657 See \`config.log' for more details." >&2;}
2658 { (exit 77); exit 77; }; }
2661 ac_exeext=$ac_cv_exeext
2663 # Check that the compiler produces executables we can run. If not, either
2664 # the compiler is broken, or we cross compile.
2665 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2666 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2667 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2668 # If not cross compiling, check that we can run a simple program.
2669 if test "$cross_compiling" != yes; then
2670 if { ac_try='./$ac_file'
2671 { (case "(($ac_try" in
2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2673 *) ac_try_echo=$ac_try;;
2675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2676 (eval "$ac_try") 2>&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }; }; then
2682 if test "$cross_compiling" = maybe; then
2685 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2686 If you meant to cross compile, use \`--host'.
2687 See \`config.log' for more details." >&5
2688 echo "$as_me: error: cannot run C compiled programs.
2689 If you meant to cross compile, use \`--host'.
2690 See \`config.log' for more details." >&2;}
2691 { (exit 1); exit 1; }; }
2695 { echo "$as_me:$LINENO: result: yes" >&5
2696 echo "${ECHO_T}yes" >&6; }
2698 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2699 ac_clean_files=$ac_clean_files_save
2700 # Check that the compiler produces executables we can run. If not, either
2701 # the compiler is broken, or we cross compile.
2702 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2703 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2704 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2705 echo "${ECHO_T}$cross_compiling" >&6; }
2707 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2708 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2709 if { (ac_try="$ac_link"
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_link") 2>&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; then
2719 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2720 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2721 # work properly (i.e., refer to `conftest.exe'), while it won't with
2723 for ac_file in conftest.exe conftest conftest.*; do
2724 test -f "$ac_file" || continue
2726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2727 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2733 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2734 See \`config.log' for more details." >&5
2735 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2736 See \`config.log' for more details." >&2;}
2737 { (exit 1); exit 1; }; }
2740 rm -f conftest$ac_cv_exeext
2741 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2742 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2744 rm -f conftest.$ac_ext
2745 EXEEXT=$ac_cv_exeext
2747 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2748 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2749 if test "${ac_cv_objext+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 cat >conftest.$ac_ext <<_ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2767 rm -f conftest.o conftest.obj
2768 if { (ac_try="$ac_compile"
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; then
2778 for ac_file in conftest.o conftest.obj conftest.*; do
2779 test -f "$ac_file" || continue;
2781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2782 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2787 echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2791 See \`config.log' for more details." >&5
2792 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2793 See \`config.log' for more details." >&2;}
2794 { (exit 1); exit 1; }; }
2797 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2799 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2800 echo "${ECHO_T}$ac_cv_objext" >&6; }
2801 OBJEXT=$ac_cv_objext
2803 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2804 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2805 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2806 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 cat >conftest.$ac_ext <<_ACEOF
2811 cat confdefs.h >>conftest.$ac_ext
2812 cat >>conftest.$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2826 rm -f conftest.$ac_objext
2827 if { (ac_try="$ac_compile"
2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2833 (eval "$ac_compile") 2>conftest.er1
2835 grep -v '^ *+' conftest.er1 >conftest.err
2837 cat conftest.err >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } && {
2840 test -z "$ac_c_werror_flag" ||
2841 test ! -s conftest.err
2842 } && test -s conftest.$ac_objext; then
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2852 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2855 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2856 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2857 GCC=`test $ac_compiler_gnu = yes && echo yes`
2858 ac_test_CFLAGS=${CFLAGS+set}
2859 ac_save_CFLAGS=$CFLAGS
2860 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2861 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2862 if test "${ac_cv_prog_cc_g+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 ac_save_c_werror_flag=$ac_c_werror_flag
2866 ac_c_werror_flag=yes
2869 cat >conftest.$ac_ext <<_ACEOF
2872 cat confdefs.h >>conftest.$ac_ext
2873 cat >>conftest.$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2884 rm -f conftest.$ac_objext
2885 if { (ac_try="$ac_compile"
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_compile") 2>conftest.er1
2893 grep -v '^ *+' conftest.er1 >conftest.err
2895 cat conftest.err >&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext; then
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2907 cat >conftest.$ac_ext <<_ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2922 rm -f conftest.$ac_objext
2923 if { (ac_try="$ac_compile"
2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2929 (eval "$ac_compile") 2>conftest.er1
2931 grep -v '^ *+' conftest.er1 >conftest.err
2933 cat conftest.err >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); } && {
2936 test -z "$ac_c_werror_flag" ||
2937 test ! -s conftest.err
2938 } && test -s conftest.$ac_objext; then
2941 echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 ac_c_werror_flag=$ac_save_c_werror_flag
2946 cat >conftest.$ac_ext <<_ACEOF
2949 cat confdefs.h >>conftest.$ac_ext
2950 cat >>conftest.$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2961 rm -f conftest.$ac_objext
2962 if { (ac_try="$ac_compile"
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2968 (eval "$ac_compile") 2>conftest.er1
2970 grep -v '^ *+' conftest.er1 >conftest.err
2972 cat conftest.err >&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); } && {
2975 test -z "$ac_c_werror_flag" ||
2976 test ! -s conftest.err
2977 } && test -s conftest.$ac_objext; then
2980 echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 ac_c_werror_flag=$ac_save_c_werror_flag
2995 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2996 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2997 if test "$ac_test_CFLAGS" = set; then
2998 CFLAGS=$ac_save_CFLAGS
2999 elif test $ac_cv_prog_cc_g = yes; then
3000 if test "$GCC" = yes; then
3006 if test "$GCC" = yes; then
3012 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3013 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3014 if test "${ac_cv_prog_cc_c89+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 ac_cv_prog_cc_c89=no
3019 cat >conftest.$ac_ext <<_ACEOF
3022 cat confdefs.h >>conftest.$ac_ext
3023 cat >>conftest.$ac_ext <<_ACEOF
3024 /* end confdefs.h. */
3027 #include <sys/types.h>
3028 #include <sys/stat.h>
3029 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3030 struct buf { int x; };
3031 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3032 static char *e (p, i)
3038 static char *f (char * (*g) (char **, int), char **p, ...)
3043 s = g (p, va_arg (v,int));
3048 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3049 function prototypes and stuff, but not '\xHH' hex character constants.
3050 These don't provoke an error unfortunately, instead are silently treated
3051 as 'x'. The following induces an error, until -std is added to get
3052 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3053 array size at least. It's necessary to write '\x00'==0 to get something
3054 that's true only with -std. */
3055 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3057 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3058 inside strings and character constants. */
3060 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3062 int test (int i, double x);
3063 struct s1 {int (*f) (int a);};
3064 struct s2 {int (*f) (double a);};
3065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3076 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3077 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3079 CC="$ac_save_CC $ac_arg"
3080 rm -f conftest.$ac_objext
3081 if { (ac_try="$ac_compile"
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_compile") 2>conftest.er1
3089 grep -v '^ *+' conftest.er1 >conftest.err
3091 cat conftest.err >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } && {
3094 test -z "$ac_c_werror_flag" ||
3095 test ! -s conftest.err
3096 } && test -s conftest.$ac_objext; then
3097 ac_cv_prog_cc_c89=$ac_arg
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3105 rm -f core conftest.err conftest.$ac_objext
3106 test "x$ac_cv_prog_cc_c89" != "xno" && break
3108 rm -f conftest.$ac_ext
3113 case "x$ac_cv_prog_cc_c89" in
3115 { echo "$as_me:$LINENO: result: none needed" >&5
3116 echo "${ECHO_T}none needed" >&6; } ;;
3118 { echo "$as_me:$LINENO: result: unsupported" >&5
3119 echo "${ECHO_T}unsupported" >&6; } ;;
3121 CC="$CC $ac_cv_prog_cc_c89"
3122 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3123 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3128 ac_cpp='$CPP $CPPFLAGS'
3129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3135 ac_cpp='$CPP $CPPFLAGS'
3136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3139 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3140 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3141 # On Suns, sometimes $CPP names a directory.
3142 if test -n "$CPP" && test -d "$CPP"; then
3145 if test -z "$CPP"; then
3146 if test "${ac_cv_prog_CPP+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 # Double quotes because CPP needs to be expanded
3150 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3153 for ac_c_preproc_warn_flag in '' yes
3155 # Use a header file that comes with gcc, so configuring glibc
3156 # with a fresh cross-compiler works.
3157 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3158 # <limits.h> exists even on freestanding compilers.
3159 # On the NeXT, cc -E runs the code through the compiler's parser,
3160 # not just through cpp. "Syntax error" is here to catch this case.
3161 cat >conftest.$ac_ext <<_ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3168 # include <limits.h>
3170 # include <assert.h>
3174 if { (ac_try="$ac_cpp conftest.$ac_ext"
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3182 grep -v '^ *+' conftest.er1 >conftest.err
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } >/dev/null && {
3187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3188 test ! -s conftest.err
3192 echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3195 # Broken: fails on valid input.
3199 rm -f conftest.err conftest.$ac_ext
3201 # OK, works on sane cases. Now check whether nonexistent headers
3202 # can be detected and how.
3203 cat >conftest.$ac_ext <<_ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3209 #include <ac_nonexistent.h>
3211 if { (ac_try="$ac_cpp conftest.$ac_ext"
3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3219 grep -v '^ *+' conftest.er1 >conftest.err
3221 cat conftest.err >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); } >/dev/null && {
3224 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3225 test ! -s conftest.err
3227 # Broken: success on invalid input.
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3233 # Passes both tests.
3238 rm -f conftest.err conftest.$ac_ext
3241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3242 rm -f conftest.err conftest.$ac_ext
3243 if $ac_preproc_ok; then
3255 { echo "$as_me:$LINENO: result: $CPP" >&5
3256 echo "${ECHO_T}$CPP" >&6; }
3258 for ac_c_preproc_warn_flag in '' yes
3260 # Use a header file that comes with gcc, so configuring glibc
3261 # with a fresh cross-compiler works.
3262 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3263 # <limits.h> exists even on freestanding compilers.
3264 # On the NeXT, cc -E runs the code through the compiler's parser,
3265 # not just through cpp. "Syntax error" is here to catch this case.
3266 cat >conftest.$ac_ext <<_ACEOF
3269 cat confdefs.h >>conftest.$ac_ext
3270 cat >>conftest.$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3273 # include <limits.h>
3275 # include <assert.h>
3279 if { (ac_try="$ac_cpp conftest.$ac_ext"
3281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3287 grep -v '^ *+' conftest.er1 >conftest.err
3289 cat conftest.err >&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } >/dev/null && {
3292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3293 test ! -s conftest.err
3297 echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3300 # Broken: fails on valid input.
3304 rm -f conftest.err conftest.$ac_ext
3306 # OK, works on sane cases. Now check whether nonexistent headers
3307 # can be detected and how.
3308 cat >conftest.$ac_ext <<_ACEOF
3311 cat confdefs.h >>conftest.$ac_ext
3312 cat >>conftest.$ac_ext <<_ACEOF
3313 /* end confdefs.h. */
3314 #include <ac_nonexistent.h>
3316 if { (ac_try="$ac_cpp conftest.$ac_ext"
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3324 grep -v '^ *+' conftest.er1 >conftest.err
3326 cat conftest.err >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } >/dev/null && {
3329 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3330 test ! -s conftest.err
3332 # Broken: success on invalid input.
3335 echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.$ac_ext >&5
3338 # Passes both tests.
3343 rm -f conftest.err conftest.$ac_ext
3346 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3347 rm -f conftest.err conftest.$ac_ext
3348 if $ac_preproc_ok; then
3351 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3352 See \`config.log' for more details." >&5
3353 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3354 See \`config.log' for more details." >&2;}
3355 { (exit 1); exit 1; }; }
3359 ac_cpp='$CPP $CPPFLAGS'
3360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3365 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3366 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3367 if test "${ac_cv_path_GREP+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 # Extract the first word of "grep ggrep" to use in msg output
3371 if test -z "$GREP"; then
3372 set dummy grep ggrep; ac_prog_name=$2
3373 if test "${ac_cv_path_GREP+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 ac_path_GREP_found=false
3377 # Loop through the user's path and test for each of PROGNAME-LIST
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3382 test -z "$as_dir" && as_dir=.
3383 for ac_prog in grep ggrep; do
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3386 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3387 # Check for GNU ac_path_GREP and select it if it is found.
3388 # Check for GNU $ac_path_GREP
3389 case `"$ac_path_GREP" --version 2>&1` in
3391 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3394 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3397 cat "conftest.in" "conftest.in" >"conftest.tmp"
3398 mv "conftest.tmp" "conftest.in"
3399 cp "conftest.in" "conftest.nl"
3400 echo 'GREP' >> "conftest.nl"
3401 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3403 ac_count=`expr $ac_count + 1`
3404 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3405 # Best one so far, save it but keep looking for a better one
3406 ac_cv_path_GREP="$ac_path_GREP"
3407 ac_path_GREP_max=$ac_count
3409 # 10*(2^10) chars as input seems more than enough
3410 test $ac_count -gt 10 && break
3412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3416 $ac_path_GREP_found && break 3
3426 GREP="$ac_cv_path_GREP"
3427 if test -z "$GREP"; then
3428 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3429 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3430 { (exit 1); exit 1; }; }
3434 ac_cv_path_GREP=$GREP
3439 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3440 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3441 GREP="$ac_cv_path_GREP"
3444 { echo "$as_me:$LINENO: checking for egrep" >&5
3445 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3446 if test "${ac_cv_path_EGREP+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3450 then ac_cv_path_EGREP="$GREP -E"
3452 # Extract the first word of "egrep" to use in msg output
3453 if test -z "$EGREP"; then
3454 set dummy egrep; ac_prog_name=$2
3455 if test "${ac_cv_path_EGREP+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 ac_path_EGREP_found=false
3459 # Loop through the user's path and test for each of PROGNAME-LIST
3460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3464 test -z "$as_dir" && as_dir=.
3465 for ac_prog in egrep; do
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3468 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3469 # Check for GNU ac_path_EGREP and select it if it is found.
3470 # Check for GNU $ac_path_EGREP
3471 case `"$ac_path_EGREP" --version 2>&1` in
3473 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3476 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3479 cat "conftest.in" "conftest.in" >"conftest.tmp"
3480 mv "conftest.tmp" "conftest.in"
3481 cp "conftest.in" "conftest.nl"
3482 echo 'EGREP' >> "conftest.nl"
3483 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3484 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3485 ac_count=`expr $ac_count + 1`
3486 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3487 # Best one so far, save it but keep looking for a better one
3488 ac_cv_path_EGREP="$ac_path_EGREP"
3489 ac_path_EGREP_max=$ac_count
3491 # 10*(2^10) chars as input seems more than enough
3492 test $ac_count -gt 10 && break
3494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3498 $ac_path_EGREP_found && break 3
3508 EGREP="$ac_cv_path_EGREP"
3509 if test -z "$EGREP"; then
3510 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3511 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3512 { (exit 1); exit 1; }; }
3516 ac_cv_path_EGREP=$EGREP
3522 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3523 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3524 EGREP="$ac_cv_path_EGREP"
3528 { echo "$as_me:$LINENO: checking for AIX" >&5
3529 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3530 cat >conftest.$ac_ext <<_ACEOF
3533 cat confdefs.h >>conftest.$ac_ext
3534 cat >>conftest.$ac_ext <<_ACEOF
3535 /* end confdefs.h. */
3541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3542 $EGREP "yes" >/dev/null 2>&1; then
3543 { echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6; }
3545 cat >>confdefs.h <<\_ACEOF
3546 #define _ALL_SOURCE 1
3550 { echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6; }
3556 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3557 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3558 if test "${ac_cv_header_stdc+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 cat >conftest.$ac_ext <<_ACEOF
3564 cat confdefs.h >>conftest.$ac_ext
3565 cat >>conftest.$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3580 rm -f conftest.$ac_objext
3581 if { (ac_try="$ac_compile"
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3587 (eval "$ac_compile") 2>conftest.er1
3589 grep -v '^ *+' conftest.er1 >conftest.err
3591 cat conftest.err >&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); } && {
3594 test -z "$ac_c_werror_flag" ||
3595 test ! -s conftest.err
3596 } && test -s conftest.$ac_objext; then
3597 ac_cv_header_stdc=yes
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.$ac_ext >&5
3602 ac_cv_header_stdc=no
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 if test $ac_cv_header_stdc = yes; then
3608 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3609 cat >conftest.$ac_ext <<_ACEOF
3612 cat confdefs.h >>conftest.$ac_ext
3613 cat >>conftest.$ac_ext <<_ACEOF
3614 /* end confdefs.h. */
3618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3619 $EGREP "memchr" >/dev/null 2>&1; then
3622 ac_cv_header_stdc=no
3628 if test $ac_cv_header_stdc = yes; then
3629 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3630 cat >conftest.$ac_ext <<_ACEOF
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3640 $EGREP "free" >/dev/null 2>&1; then
3643 ac_cv_header_stdc=no
3649 if test $ac_cv_header_stdc = yes; then
3650 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3651 if test "$cross_compiling" = yes; then
3654 cat >conftest.$ac_ext <<_ACEOF
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3659 /* end confdefs.h. */
3662 #if ((' ' & 0x0FF) == 0x020)
3663 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3664 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3666 # define ISLOWER(c) \
3667 (('a' <= (c) && (c) <= 'i') \
3668 || ('j' <= (c) && (c) <= 'r') \
3669 || ('s' <= (c) && (c) <= 'z'))
3670 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3673 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3678 for (i = 0; i < 256; i++)
3679 if (XOR (islower (i), ISLOWER (i))
3680 || toupper (i) != TOUPPER (i))
3685 rm -f conftest$ac_exeext
3686 if { (ac_try="$ac_link"
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3692 (eval "$ac_link") 2>&5
3694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3696 { (case "(($ac_try" in
3697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3698 *) ac_try_echo=$ac_try;;
3700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3701 (eval "$ac_try") 2>&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; }; then
3707 echo "$as_me: program exited with status $ac_status" >&5
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3712 ac_cv_header_stdc=no
3714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3720 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3721 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3722 if test $ac_cv_header_stdc = yes; then
3724 cat >>confdefs.h <<\_ACEOF
3725 #define STDC_HEADERS 1
3730 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3740 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3741 inttypes.h stdint.h unistd.h
3743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3744 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3746 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 cat >conftest.$ac_ext <<_ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3755 $ac_includes_default
3757 #include <$ac_header>
3759 rm -f conftest.$ac_objext
3760 if { (ac_try="$ac_compile"
3762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763 *) ac_try_echo=$ac_try;;
3765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3766 (eval "$ac_compile") 2>conftest.er1
3768 grep -v '^ *+' conftest.er1 >conftest.err
3770 cat conftest.err >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } && {
3773 test -z "$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3775 } && test -s conftest.$ac_objext; then
3776 eval "$as_ac_Header=yes"
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3781 eval "$as_ac_Header=no"
3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3786 ac_res=`eval echo '${'$as_ac_Header'}'`
3787 { echo "$as_me:$LINENO: result: $ac_res" >&5
3788 echo "${ECHO_T}$ac_res" >&6; }
3789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3790 cat >>confdefs.h <<_ACEOF
3791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3799 if test "${ac_cv_header_minix_config_h+set}" = set; then
3800 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3801 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3802 if test "${ac_cv_header_minix_config_h+set}" = set; then
3803 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3806 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3808 # Is the header compilable?
3809 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3810 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3811 cat >conftest.$ac_ext <<_ACEOF
3814 cat confdefs.h >>conftest.$ac_ext
3815 cat >>conftest.$ac_ext <<_ACEOF
3816 /* end confdefs.h. */
3817 $ac_includes_default
3818 #include <minix/config.h>
3820 rm -f conftest.$ac_objext
3821 if { (ac_try="$ac_compile"
3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824 *) ac_try_echo=$ac_try;;
3826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3827 (eval "$ac_compile") 2>conftest.er1
3829 grep -v '^ *+' conftest.er1 >conftest.err
3831 cat conftest.err >&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } && {
3834 test -z "$ac_c_werror_flag" ||
3835 test ! -s conftest.err
3836 } && test -s conftest.$ac_objext; then
3837 ac_header_compiler=yes
3839 echo "$as_me: failed program was:" >&5
3840 sed 's/^/| /' conftest.$ac_ext >&5
3842 ac_header_compiler=no
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3847 echo "${ECHO_T}$ac_header_compiler" >&6; }
3849 # Is the header present?
3850 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3851 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3852 cat >conftest.$ac_ext <<_ACEOF
3855 cat confdefs.h >>conftest.$ac_ext
3856 cat >>conftest.$ac_ext <<_ACEOF
3857 /* end confdefs.h. */
3858 #include <minix/config.h>
3860 if { (ac_try="$ac_cpp conftest.$ac_ext"
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3868 grep -v '^ *+' conftest.er1 >conftest.err
3870 cat conftest.err >&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); } >/dev/null && {
3873 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3874 test ! -s conftest.err
3876 ac_header_preproc=yes
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3881 ac_header_preproc=no
3884 rm -f conftest.err conftest.$ac_ext
3885 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3886 echo "${ECHO_T}$ac_header_preproc" >&6; }
3888 # So? What about this header?
3889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3891 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3892 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3893 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3894 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3895 ac_header_preproc=yes
3898 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3899 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3900 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3901 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3902 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3903 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3904 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3905 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3906 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3907 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3908 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3909 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3911 ## ------------------------------- ##
3912 ## Report this to www.asterisk.org ##
3913 ## ------------------------------- ##
3915 ) | sed "s/^/$as_me: WARNING: /" >&2
3918 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3919 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3920 if test "${ac_cv_header_minix_config_h+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 ac_cv_header_minix_config_h=$ac_header_preproc
3925 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3926 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3929 if test $ac_cv_header_minix_config_h = yes; then
3936 if test "$MINIX" = yes; then
3938 cat >>confdefs.h <<\_ACEOF
3939 #define _POSIX_SOURCE 1
3943 cat >>confdefs.h <<\_ACEOF
3944 #define _POSIX_1_SOURCE 2