2 # From configure.ac Revision: 93184 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for asterisk 1.4.
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.4'
581 PACKAGE_STRING='asterisk 1.4'
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>
632 program_transform_name
903 ZAPTEL_TRANSCODE_INCLUDE
907 ZAPTEL_VLDTMF_INCLUDE
928 AST_DECLARATION_AFTER_STATEMENT
960 ac_precious_vars='build_alias
975 # Initialize some variables set by options.
977 ac_init_version=false
978 # The variables have the same names as the options, with
979 # dashes changed to underlines.
987 program_transform_name=s,x,x,
995 # Installation directory options.
996 # These are left unexpanded so users can "make install exec_prefix=/foo"
997 # and all the variables that are supposed to be based on exec_prefix
998 # by default will actually change.
999 # Use braces instead of parens because sh, perl, etc. also accept them.
1000 # (The list follows the same order as the GNU Coding Standards.)
1001 bindir='${exec_prefix}/bin'
1002 sbindir='${exec_prefix}/sbin'
1003 libexecdir='${exec_prefix}/libexec'
1004 datarootdir='${prefix}/share'
1005 datadir='${datarootdir}'
1006 sysconfdir='${prefix}/etc'
1007 sharedstatedir='${prefix}/com'
1008 localstatedir='${prefix}/var'
1009 includedir='${prefix}/include'
1010 oldincludedir='/usr/include'
1011 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1012 infodir='${datarootdir}/info'
1017 libdir='${exec_prefix}/lib'
1018 localedir='${datarootdir}/locale'
1019 mandir='${datarootdir}/man'
1025 # If the previous option needs an argument, assign it.
1026 if test -n "$ac_prev"; then
1027 eval $ac_prev=\$ac_option
1033 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1037 # Accept the important Cygnus configure options, so we can diagnose typos.
1039 case $ac_dashdash$ac_option in
1043 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1045 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1046 bindir=$ac_optarg ;;
1048 -build | --build | --buil | --bui | --bu)
1049 ac_prev=build_alias ;;
1050 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1051 build_alias=$ac_optarg ;;
1053 -cache-file | --cache-file | --cache-fil | --cache-fi \
1054 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1055 ac_prev=cache_file ;;
1056 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1057 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1058 cache_file=$ac_optarg ;;
1060 --config-cache | -C)
1061 cache_file=config.cache ;;
1063 -datadir | --datadir | --datadi | --datad)
1065 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1066 datadir=$ac_optarg ;;
1068 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1069 | --dataroo | --dataro | --datar)
1070 ac_prev=datarootdir ;;
1071 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1072 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1073 datarootdir=$ac_optarg ;;
1075 -disable-* | --disable-*)
1076 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1080 { (exit 1); exit 1; }; }
1081 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1082 eval enable_$ac_feature=no ;;
1084 -docdir | --docdir | --docdi | --doc | --do)
1086 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1087 docdir=$ac_optarg ;;
1089 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1091 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1092 dvidir=$ac_optarg ;;
1094 -enable-* | --enable-*)
1095 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1098 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1099 { (exit 1); exit 1; }; }
1100 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1101 eval enable_$ac_feature=\$ac_optarg ;;
1103 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1104 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1105 | --exec | --exe | --ex)
1106 ac_prev=exec_prefix ;;
1107 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1108 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1109 | --exec=* | --exe=* | --ex=*)
1110 exec_prefix=$ac_optarg ;;
1112 -gas | --gas | --ga | --g)
1113 # Obsolete; use --with-gas.
1116 -help | --help | --hel | --he | -h)
1117 ac_init_help=long ;;
1118 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1119 ac_init_help=recursive ;;
1120 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1121 ac_init_help=short ;;
1123 -host | --host | --hos | --ho)
1124 ac_prev=host_alias ;;
1125 -host=* | --host=* | --hos=* | --ho=*)
1126 host_alias=$ac_optarg ;;
1128 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1130 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1132 htmldir=$ac_optarg ;;
1134 -includedir | --includedir | --includedi | --included | --include \
1135 | --includ | --inclu | --incl | --inc)
1136 ac_prev=includedir ;;
1137 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1138 | --includ=* | --inclu=* | --incl=* | --inc=*)
1139 includedir=$ac_optarg ;;
1141 -infodir | --infodir | --infodi | --infod | --info | --inf)
1143 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1144 infodir=$ac_optarg ;;
1146 -libdir | --libdir | --libdi | --libd)
1148 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1149 libdir=$ac_optarg ;;
1151 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1152 | --libexe | --libex | --libe)
1153 ac_prev=libexecdir ;;
1154 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1155 | --libexe=* | --libex=* | --libe=*)
1156 libexecdir=$ac_optarg ;;
1158 -localedir | --localedir | --localedi | --localed | --locale)
1159 ac_prev=localedir ;;
1160 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1161 localedir=$ac_optarg ;;
1163 -localstatedir | --localstatedir | --localstatedi | --localstated \
1164 | --localstate | --localstat | --localsta | --localst | --locals)
1165 ac_prev=localstatedir ;;
1166 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1167 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1168 localstatedir=$ac_optarg ;;
1170 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1172 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1173 mandir=$ac_optarg ;;
1175 -nfp | --nfp | --nf)
1176 # Obsolete; use --without-fp.
1179 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1180 | --no-cr | --no-c | -n)
1183 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1184 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1187 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1188 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1189 | --oldin | --oldi | --old | --ol | --o)
1190 ac_prev=oldincludedir ;;
1191 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1192 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1193 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1194 oldincludedir=$ac_optarg ;;
1196 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1198 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1199 prefix=$ac_optarg ;;
1201 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1202 | --program-pre | --program-pr | --program-p)
1203 ac_prev=program_prefix ;;
1204 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1205 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1206 program_prefix=$ac_optarg ;;
1208 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1209 | --program-suf | --program-su | --program-s)
1210 ac_prev=program_suffix ;;
1211 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1212 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1213 program_suffix=$ac_optarg ;;
1215 -program-transform-name | --program-transform-name \
1216 | --program-transform-nam | --program-transform-na \
1217 | --program-transform-n | --program-transform- \
1218 | --program-transform | --program-transfor \
1219 | --program-transfo | --program-transf \
1220 | --program-trans | --program-tran \
1221 | --progr-tra | --program-tr | --program-t)
1222 ac_prev=program_transform_name ;;
1223 -program-transform-name=* | --program-transform-name=* \
1224 | --program-transform-nam=* | --program-transform-na=* \
1225 | --program-transform-n=* | --program-transform-=* \
1226 | --program-transform=* | --program-transfor=* \
1227 | --program-transfo=* | --program-transf=* \
1228 | --program-trans=* | --program-tran=* \
1229 | --progr-tra=* | --program-tr=* | --program-t=*)
1230 program_transform_name=$ac_optarg ;;
1232 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1234 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1235 pdfdir=$ac_optarg ;;
1237 -psdir | --psdir | --psdi | --psd | --ps)
1239 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1242 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1243 | -silent | --silent | --silen | --sile | --sil)
1246 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1248 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1250 sbindir=$ac_optarg ;;
1252 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1253 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1254 | --sharedst | --shareds | --shared | --share | --shar \
1256 ac_prev=sharedstatedir ;;
1257 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1258 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1259 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1261 sharedstatedir=$ac_optarg ;;
1263 -site | --site | --sit)
1265 -site=* | --site=* | --sit=*)
1268 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1270 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1271 srcdir=$ac_optarg ;;
1273 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1274 | --syscon | --sysco | --sysc | --sys | --sy)
1275 ac_prev=sysconfdir ;;
1276 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1277 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1278 sysconfdir=$ac_optarg ;;
1280 -target | --target | --targe | --targ | --tar | --ta | --t)
1281 ac_prev=target_alias ;;
1282 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1283 target_alias=$ac_optarg ;;
1285 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1288 -version | --version | --versio | --versi | --vers | -V)
1289 ac_init_version=: ;;
1292 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1293 # Reject names that are not valid shell variable names.
1294 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1295 { echo "$as_me: error: invalid package name: $ac_package" >&2
1296 { (exit 1); exit 1; }; }
1297 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1298 eval with_$ac_package=\$ac_optarg ;;
1300 -without-* | --without-*)
1301 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1304 { echo "$as_me: error: invalid package name: $ac_package" >&2
1305 { (exit 1); exit 1; }; }
1306 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1307 eval with_$ac_package=no ;;
1310 # Obsolete; use --with-x.
1313 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1314 | --x-incl | --x-inc | --x-in | --x-i)
1315 ac_prev=x_includes ;;
1316 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1317 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1318 x_includes=$ac_optarg ;;
1320 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1321 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1322 ac_prev=x_libraries ;;
1323 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1324 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1325 x_libraries=$ac_optarg ;;
1327 -*) { echo "$as_me: error: unrecognized option: $ac_option
1328 Try \`$0 --help' for more information." >&2
1329 { (exit 1); exit 1; }; }
1333 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1334 # Reject names that are not valid shell variable names.
1335 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1336 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1337 { (exit 1); exit 1; }; }
1338 eval $ac_envvar=\$ac_optarg
1339 export $ac_envvar ;;
1342 # FIXME: should be removed in autoconf 3.0.
1343 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1344 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1345 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1346 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1352 if test -n "$ac_prev"; then
1353 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1354 { echo "$as_me: error: missing argument to $ac_option" >&2
1355 { (exit 1); exit 1; }; }
1358 # Be sure to have absolute directory names.
1359 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1360 datadir sysconfdir sharedstatedir localstatedir includedir \
1361 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1362 libdir localedir mandir
1364 eval ac_val=\$$ac_var
1366 [\\/$]* | ?:[\\/]* ) continue;;
1367 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1369 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1370 { (exit 1); exit 1; }; }
1373 # There might be people who depend on the old broken behavior: `$host'
1374 # used to hold the argument of --host etc.
1375 # FIXME: To remove some day.
1378 target=$target_alias
1380 # FIXME: To remove some day.
1381 if test "x$host_alias" != x; then
1382 if test "x$build_alias" = x; then
1383 cross_compiling=maybe
1384 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1385 If a cross compiler is detected then cross compile mode will be used." >&2
1386 elif test "x$build_alias" != "x$host_alias"; then
1392 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1394 test "$silent" = yes && exec 6>/dev/null
1397 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1398 ac_ls_di=`ls -di .` &&
1399 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1400 { echo "$as_me: error: Working directory cannot be determined" >&2
1401 { (exit 1); exit 1; }; }
1402 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1403 { echo "$as_me: error: pwd does not report name of working directory" >&2
1404 { (exit 1); exit 1; }; }
1407 # Find the source files, if location was not specified.
1408 if test -z "$srcdir"; then
1409 ac_srcdir_defaulted=yes
1410 # Try the directory containing this script, then the parent directory.
1411 ac_confdir=`$as_dirname -- "$0" ||
1412 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1413 X"$0" : 'X\(//\)[^/]' \| \
1414 X"$0" : 'X\(//\)$' \| \
1415 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1435 if test ! -r "$srcdir/$ac_unique_file"; then
1439 ac_srcdir_defaulted=no
1441 if test ! -r "$srcdir/$ac_unique_file"; then
1442 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1443 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1444 { (exit 1); exit 1; }; }
1446 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1448 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1449 { (exit 1); exit 1; }; }
1451 # When building in place, set srcdir=.
1452 if test "$ac_abs_confdir" = "$ac_pwd"; then
1455 # Remove unnecessary trailing slashes from srcdir.
1456 # Double slashes in file names in object file debugging info
1457 # mess up M-x gdb in Emacs.
1459 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1461 for ac_var in $ac_precious_vars; do
1462 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1463 eval ac_env_${ac_var}_value=\$${ac_var}
1464 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1465 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1469 # Report the --help message.
1471 if test "$ac_init_help" = "long"; then
1472 # Omit some internal or obsolete options to make the list less imposing.
1473 # This message is too long to be a string in the A/UX 3.1 sh.
1475 \`configure' configures asterisk 1.4 to adapt to many kinds of systems.
1477 Usage: $0 [OPTION]... [VAR=VALUE]...
1479 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1480 VAR=VALUE. See below for descriptions of some of the useful variables.
1482 Defaults for the options are specified in brackets.
1485 -h, --help display this help and exit
1486 --help=short display options specific to this package
1487 --help=recursive display the short help of all the included packages
1488 -V, --version display version information and exit
1489 -q, --quiet, --silent do not print \`checking...' messages
1490 --cache-file=FILE cache test results in FILE [disabled]
1491 -C, --config-cache alias for \`--cache-file=config.cache'
1492 -n, --no-create do not create output files
1493 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1495 Installation directories:
1496 --prefix=PREFIX install architecture-independent files in PREFIX
1497 [$ac_default_prefix]
1498 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1501 By default, \`make install' will install all the files in
1502 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1503 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1504 for instance \`--prefix=\$HOME'.
1506 For better control, use the options below.
1508 Fine tuning of the installation directories:
1509 --bindir=DIR user executables [EPREFIX/bin]
1510 --sbindir=DIR system admin executables [EPREFIX/sbin]
1511 --libexecdir=DIR program executables [EPREFIX/libexec]
1512 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1513 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1514 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1515 --libdir=DIR object code libraries [EPREFIX/lib]
1516 --includedir=DIR C header files [PREFIX/include]
1517 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1518 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1519 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1520 --infodir=DIR info documentation [DATAROOTDIR/info]
1521 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1522 --mandir=DIR man documentation [DATAROOTDIR/man]
1523 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1524 --htmldir=DIR html documentation [DOCDIR]
1525 --dvidir=DIR dvi documentation [DOCDIR]
1526 --pdfdir=DIR pdf documentation [DOCDIR]
1527 --psdir=DIR ps documentation [DOCDIR]
1533 --build=BUILD configure for building on BUILD [guessed]
1534 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1538 if test -n "$ac_init_help"; then
1539 case $ac_init_help in
1540 short | recursive ) echo "Configuration of asterisk 1.4:";;
1545 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1546 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1547 --enable-dev-mode Turn on developer mode
1548 --disable-largefile omit support for large files
1551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1553 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1554 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1555 --with-execinfo=PATH use Stack Backtrace support files in PATH
1556 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1557 --with-curl=PATH use cURL files in PATH
1558 --with-curses=PATH use curses files in PATH
1559 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1560 --with-gsm=PATH use External GSM library files in PATH , use
1561 'internal' GSM otherwise
1562 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1563 --with-imap=PATH use UW IMAP Toolkit files in PATH
1564 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1565 --with-kde=PATH use KDE files in PATH
1566 --with-ltdl=PATH use libtool files in PATH
1567 --with-lua=PATH use Lua files in PATH
1568 --with-misdn=PATH use mISDN User Library files in PATH
1569 --with-nbs=PATH use Network Broadcast Sound files in PATH
1570 --with-ncurses=PATH use ncurses files in PATH
1571 --with-netsnmp=PATH use Net-SNMP files in PATH
1572 --with-newt=PATH use newt files in PATH
1573 --with-odbc=PATH use unixODBC files in PATH
1574 --with-ogg=PATH use OGG files in PATH
1575 --with-osptk=PATH use OSP Toolkit files in PATH
1576 --with-oss=PATH use Open Sound System files in PATH
1577 --with-popt=PATH use popt files in PATH
1578 --with-postgres=PATH use PostgreSQL files in PATH
1579 --with-pri=PATH use ISDN PRI files in PATH
1580 --with-ss7=PATH use ISDN SS7 files in PATH
1581 --with-pwlib=PATH use PWlib files in PATH
1582 --with-h323=PATH use OpenH323 files in PATH
1583 --with-qt=PATH use Qt files in PATH
1584 --with-radius=PATH use Radius Client files in PATH
1585 --with-speex=PATH use Speex files in PATH
1586 --with-sqlite=PATH use SQLite files in PATH
1587 --with-sqlite3=PATH use SQLite files in PATH
1588 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1589 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1591 --with-tds=PATH use FreeTDS files in PATH
1592 --with-termcap=PATH use Termcap files in PATH
1593 --with-tinfo=PATH use Term Info files in PATH
1594 --with-tonezone=PATH use tonezone files in PATH
1595 --with-usb=PATH use usb files in PATH
1596 --with-vorbis=PATH use Vorbis files in PATH
1597 --with-vpb=PATH use Voicetronix API files in PATH
1598 --with-x11=PATH use X11 support files in PATH
1599 --with-z=PATH use zlib files in PATH
1600 --with-zaptel=PATH use Zaptel files in PATH
1601 --with-zaptel_transcode=PATH
1602 use Zaptel_transcode files in PATH
1603 --with-zaptel_vldtmf=PATH
1604 use Zaptel_vldtmf files in PATH
1605 --with-sdl=PATH use Sdl files in PATH
1606 --with-SDL_image=PATH use Sdl Image library files in PATH
1607 --with-avcodec=PATH use Ffmpeg and avcodec library files in PATH
1609 Some influential environment variables:
1610 CC C compiler command
1611 CFLAGS C compiler flags
1612 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1613 nonstandard directory <lib dir>
1614 LIBS libraries to pass to the linker, e.g. -l<library>
1615 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1616 you have headers in a nonstandard directory <include dir>
1618 CXX C++ compiler command
1619 CXXFLAGS C++ compiler flags
1620 CXXCPP C++ preprocessor
1622 Use these variables to override the choices made by `configure' or to help
1623 it to find libraries and programs with nonstandard names/locations.
1625 Report bugs to <www.asterisk.org>.
1630 if test "$ac_init_help" = "recursive"; then
1631 # If there are subdirs, report their specific --help.
1632 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1633 test -d "$ac_dir" || continue
1637 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1639 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1640 # A ".." for each directory in $ac_dir_suffix.
1641 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1642 case $ac_top_builddir_sub in
1643 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1644 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1647 ac_abs_top_builddir=$ac_pwd
1648 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1649 # for backward compatibility:
1650 ac_top_builddir=$ac_top_build_prefix
1653 .) # We are building in place.
1655 ac_top_srcdir=$ac_top_builddir_sub
1656 ac_abs_top_srcdir=$ac_pwd ;;
1657 [\\/]* | ?:[\\/]* ) # Absolute name.
1658 ac_srcdir=$srcdir$ac_dir_suffix;
1659 ac_top_srcdir=$srcdir
1660 ac_abs_top_srcdir=$srcdir ;;
1662 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1663 ac_top_srcdir=$ac_top_build_prefix$srcdir
1664 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1666 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1668 cd "$ac_dir" || { ac_status=$?; continue; }
1669 # Check for guested configure.
1670 if test -f "$ac_srcdir/configure.gnu"; then
1672 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1673 elif test -f "$ac_srcdir/configure"; then
1675 $SHELL "$ac_srcdir/configure" --help=recursive
1677 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1679 cd "$ac_pwd" || { ac_status=$?; break; }
1683 test -n "$ac_init_help" && exit $ac_status
1684 if $ac_init_version; then
1686 asterisk configure 1.4
1687 generated by GNU Autoconf 2.61
1689 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1690 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1691 This configure script is free software; the Free Software Foundation
1692 gives unlimited permission to copy, distribute and modify it.
1698 cat >config.log <<_ACEOF
1699 This file contains any messages produced by compilers while
1700 running configure, to aid debugging if configure makes a mistake.
1702 It was created by asterisk $as_me 1.4, which was
1703 generated by GNU Autoconf 2.61. Invocation command line was
1715 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1716 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1717 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1718 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1719 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1721 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1722 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1724 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1725 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1726 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1727 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1728 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1729 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1730 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 test -z "$as_dir" && as_dir=.
1739 echo "PATH: $as_dir"
1755 # Keep a trace of the command line.
1756 # Strip out --no-create and --no-recursion so they do not pile up.
1757 # Strip out --silent because we don't want to record it for future runs.
1758 # Also quote any args containing shell meta-characters.
1759 # Make two passes to allow for proper duplicate-argument suppression.
1763 ac_must_keep_next=false
1769 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1770 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1771 | -silent | --silent | --silen | --sile | --sil)
1774 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1777 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1779 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1780 if test $ac_must_keep_next = true; then
1781 ac_must_keep_next=false # Got value, back to normal.
1784 *=* | --config-cache | -C | -disable-* | --disable-* \
1785 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1786 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1787 | -with-* | --with-* | -without-* | --without-* | --x)
1788 case "$ac_configure_args0 " in
1789 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1792 -* ) ac_must_keep_next=true ;;
1795 ac_configure_args="$ac_configure_args '$ac_arg'"
1800 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1801 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1803 # When interrupted or exit'd, cleanup temporary files, and complete
1804 # config.log. We remove comments because anyway the quotes in there
1805 # would cause problems or look ugly.
1806 # WARNING: Use '\'' to represent an apostrophe within the trap.
1807 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1808 trap 'exit_status=$?
1809 # Save into config.log some information that might help in debugging.
1814 ## ---------------- ##
1815 ## Cache variables. ##
1816 ## ---------------- ##
1819 # The following way of writing the cache mishandles newlines in values,
1821 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1822 eval ac_val=\$$ac_var
1826 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1827 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1830 _ | IFS | as_nl) ;; #(
1831 *) $as_unset $ac_var ;;
1836 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1837 *${as_nl}ac_space=\ *)
1839 "s/'\''/'\''\\\\'\'''\''/g;
1840 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1843 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1851 ## ----------------- ##
1852 ## Output variables. ##
1853 ## ----------------- ##
1856 for ac_var in $ac_subst_vars
1858 eval ac_val=\$$ac_var
1860 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1862 echo "$ac_var='\''$ac_val'\''"
1866 if test -n "$ac_subst_files"; then
1868 ## ------------------- ##
1869 ## File substitutions. ##
1870 ## ------------------- ##
1873 for ac_var in $ac_subst_files
1875 eval ac_val=\$$ac_var
1877 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1879 echo "$ac_var='\''$ac_val'\''"
1884 if test -s confdefs.h; then
1894 test "$ac_signal" != 0 &&
1895 echo "$as_me: caught signal $ac_signal"
1896 echo "$as_me: exit $exit_status"
1898 rm -f core *.core core.conftest.* &&
1899 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1902 for ac_signal in 1 2 13 15; do
1903 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1907 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1908 rm -f -r conftest* confdefs.h
1910 # Predefined preprocessor variables.
1912 cat >>confdefs.h <<_ACEOF
1913 #define PACKAGE_NAME "$PACKAGE_NAME"
1917 cat >>confdefs.h <<_ACEOF
1918 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1922 cat >>confdefs.h <<_ACEOF
1923 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1927 cat >>confdefs.h <<_ACEOF
1928 #define PACKAGE_STRING "$PACKAGE_STRING"
1932 cat >>confdefs.h <<_ACEOF
1933 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1937 # Let the site file select an alternate cache file if it wants to.
1938 # Prefer explicitly selected file to automatically selected ones.
1939 if test -n "$CONFIG_SITE"; then
1940 set x "$CONFIG_SITE"
1941 elif test "x$prefix" != xNONE; then
1942 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1944 set x "$ac_default_prefix/share/config.site" \
1945 "$ac_default_prefix/etc/config.site"
1950 if test -r "$ac_site_file"; then
1951 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1952 echo "$as_me: loading site script $ac_site_file" >&6;}
1953 sed 's/^/| /' "$ac_site_file" >&5
1958 if test -r "$cache_file"; then
1959 # Some versions of bash will fail to source /dev/null (special
1960 # files actually), so we avoid doing that.
1961 if test -f "$cache_file"; then
1962 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1963 echo "$as_me: loading cache $cache_file" >&6;}
1965 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1966 *) . "./$cache_file";;
1970 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1971 echo "$as_me: creating cache $cache_file" >&6;}
1975 ac_header_list="$ac_header_list sys/time.h"
1976 ac_header_list="$ac_header_list unistd.h"
1977 ac_func_list="$ac_func_list alarm"
1978 ac_header_list="$ac_header_list utime.h"
1979 # Check that the precious variables saved in the cache have kept the same
1981 ac_cache_corrupted=false
1982 for ac_var in $ac_precious_vars; do
1983 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1984 eval ac_new_set=\$ac_env_${ac_var}_set
1985 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1986 eval ac_new_val=\$ac_env_${ac_var}_value
1987 case $ac_old_set,$ac_new_set in
1989 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1990 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1991 ac_cache_corrupted=: ;;
1993 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1994 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1995 ac_cache_corrupted=: ;;
1998 if test "x$ac_old_val" != "x$ac_new_val"; then
1999 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2000 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2001 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2002 echo "$as_me: former value: $ac_old_val" >&2;}
2003 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2004 echo "$as_me: current value: $ac_new_val" >&2;}
2005 ac_cache_corrupted=:
2008 # Pass precious variables to config.status.
2009 if test "$ac_new_set" = set; then
2011 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2012 *) ac_arg=$ac_var=$ac_new_val ;;
2014 case " $ac_configure_args " in
2015 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2016 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2020 if $ac_cache_corrupted; then
2021 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2022 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2023 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2024 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2025 { (exit 1); exit 1; }; }
2053 ac_cpp='$CPP $CPPFLAGS'
2054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 # cross-compile macros
2062 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2063 if test -f "$ac_dir/install-sh"; then
2065 ac_install_sh="$ac_aux_dir/install-sh -c"
2067 elif test -f "$ac_dir/install.sh"; then
2069 ac_install_sh="$ac_aux_dir/install.sh -c"
2071 elif test -f "$ac_dir/shtool"; then
2073 ac_install_sh="$ac_aux_dir/shtool install -c"
2077 if test -z "$ac_aux_dir"; then
2078 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2079 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2080 { (exit 1); exit 1; }; }
2083 # These three variables are undocumented and unsupported,
2084 # and are intended to be withdrawn in a future Autoconf release.
2085 # They can cause serious problems if a builder's source tree is in a directory
2086 # whose full name contains unusual characters.
2087 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2088 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2089 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2092 # Make sure we can run config.sub.
2093 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2094 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2095 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2096 { (exit 1); exit 1; }; }
2098 { echo "$as_me:$LINENO: checking build system type" >&5
2099 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2100 if test "${ac_cv_build+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 ac_build_alias=$build_alias
2104 test "x$ac_build_alias" = x &&
2105 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2106 test "x$ac_build_alias" = x &&
2107 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2108 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2109 { (exit 1); exit 1; }; }
2110 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2111 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2112 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2113 { (exit 1); exit 1; }; }
2116 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2117 echo "${ECHO_T}$ac_cv_build" >&6; }
2118 case $ac_cv_build in
2120 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2121 echo "$as_me: error: invalid value of canonical build" >&2;}
2122 { (exit 1); exit 1; }; };;
2125 ac_save_IFS=$IFS; IFS='-'
2131 # Remember, the first character of IFS is used to create $*,
2132 # except with old shells:
2135 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2138 { echo "$as_me:$LINENO: checking host system type" >&5
2139 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2140 if test "${ac_cv_host+set}" = set; then
2141 echo $ECHO_N "(cached) $ECHO_C" >&6
2143 if test "x$host_alias" = x; then
2144 ac_cv_host=$ac_cv_build
2146 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2147 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2148 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2149 { (exit 1); exit 1; }; }
2153 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2154 echo "${ECHO_T}$ac_cv_host" >&6; }
2157 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2158 echo "$as_me: error: invalid value of canonical host" >&2;}
2159 { (exit 1); exit 1; }; };;
2162 ac_save_IFS=$IFS; IFS='-'
2168 # Remember, the first character of IFS is used to create $*,
2169 # except with old shells:
2172 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2176 # check existence of the package
2179 # specify output header file
2180 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2187 cat >>confdefs.h <<\_ACEOF
2188 #define _GNU_SOURCE 1
2193 ac_cpp='$CPP $CPPFLAGS'
2194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2197 if test -n "$ac_tool_prefix"; then
2198 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2199 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2215 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$ac_cv_prog_CC"; then
2238 # Extract the first word of "gcc", so it can be a program name with args.
2239 set dummy gcc; ac_word=$2
2240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2242 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 if test -n "$ac_ct_CC"; then
2246 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 test -z "$as_dir" && as_dir=.
2253 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2255 ac_cv_prog_ac_ct_CC="gcc"
2256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2266 if test -n "$ac_ct_CC"; then
2267 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2268 echo "${ECHO_T}$ac_ct_CC" >&6; }
2270 { echo "$as_me:$LINENO: result: no" >&5
2271 echo "${ECHO_T}no" >&6; }
2274 if test "x$ac_ct_CC" = x; then
2277 case $cross_compiling:$ac_tool_warned in
2279 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2280 whose name does not start with the host triplet. If you think this
2281 configuration is useful to you, please write to autoconf@gnu.org." >&5
2282 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2283 whose name does not start with the host triplet. If you think this
2284 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2285 ac_tool_warned=yes ;;
2293 if test -z "$CC"; then
2294 if test -n "$ac_tool_prefix"; then
2295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}cc; ac_word=$2
2297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2299 if test "${ac_cv_prog_CC+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 if test -n "$CC"; then
2303 ac_cv_prog_CC="$CC" # Let the user override the test.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312 ac_cv_prog_CC="${ac_tool_prefix}cc"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 if test -n "$CC"; then
2324 { echo "$as_me:$LINENO: result: $CC" >&5
2325 echo "${ECHO_T}$CC" >&6; }
2327 { echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6; }
2334 if test -z "$CC"; then
2335 # Extract the first word of "cc", so it can be a program name with args.
2336 set dummy cc; ac_word=$2
2337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2339 if test "${ac_cv_prog_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC="$CC" # Let the user override the test.
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2354 ac_prog_rejected=yes
2358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 if test $ac_prog_rejected = yes; then
2366 # We found a bogon in the path, so make sure we never use it.
2367 set dummy $ac_cv_prog_CC
2369 if test $# != 0; then
2370 # We chose a different compiler from the bogus one.
2371 # However, it has the same basename, so the bogon will be chosen
2372 # first if we set CC to just the basename; use the full file name.
2374 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2380 if test -n "$CC"; then
2381 { echo "$as_me:$LINENO: result: $CC" >&5
2382 echo "${ECHO_T}$CC" >&6; }
2384 { echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6; }
2390 if test -z "$CC"; then
2391 if test -n "$ac_tool_prefix"; then
2392 for ac_prog in cl.exe
2394 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2395 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2398 if test "${ac_cv_prog_CC+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 if test -n "$CC"; then
2402 ac_cv_prog_CC="$CC" # Let the user override the test.
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2411 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test -n "$CC"; then
2423 { echo "$as_me:$LINENO: result: $CC" >&5
2424 echo "${ECHO_T}$CC" >&6; }
2426 { echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6; }
2431 test -n "$CC" && break
2434 if test -z "$CC"; then
2436 for ac_prog in cl.exe
2438 # Extract the first word of "$ac_prog", so it can be a program name with args.
2439 set dummy $ac_prog; ac_word=$2
2440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2442 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 if test -n "$ac_ct_CC"; then
2446 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2455 ac_cv_prog_ac_ct_CC="$ac_prog"
2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2466 if test -n "$ac_ct_CC"; then
2467 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2468 echo "${ECHO_T}$ac_ct_CC" >&6; }
2470 { echo "$as_me:$LINENO: result: no" >&5
2471 echo "${ECHO_T}no" >&6; }
2475 test -n "$ac_ct_CC" && break
2478 if test "x$ac_ct_CC" = x; then
2481 case $cross_compiling:$ac_tool_warned in
2483 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2484 whose name does not start with the host triplet. If you think this
2485 configuration is useful to you, please write to autoconf@gnu.org." >&5
2486 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2487 whose name does not start with the host triplet. If you think this
2488 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2489 ac_tool_warned=yes ;;
2498 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: no acceptable C compiler found in \$PATH
2501 See \`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }
2504 # Provide some information about the compiler.
2505 echo "$as_me:$LINENO: checking for C compiler version" >&5
2506 ac_compiler=`set X $ac_compile; echo $2`
2507 { (ac_try="$ac_compiler --version >&5"
2509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2513 (eval "$ac_compiler --version >&5") 2>&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }
2517 { (ac_try="$ac_compiler -v >&5"
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_compiler -v >&5") 2>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }
2527 { (ac_try="$ac_compiler -V >&5"
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2533 (eval "$ac_compiler -V >&5") 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }
2538 cat >conftest.$ac_ext <<_ACEOF
2541 cat confdefs.h >>conftest.$ac_ext
2542 cat >>conftest.$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2553 ac_clean_files_save=$ac_clean_files
2554 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2555 # Try to create an executable without -o first, disregard a.out.
2556 # It will help us diagnose broken compilers, and finding out an intuition
2558 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2559 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2560 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2562 # List of possible output files, starting from the most likely.
2563 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2564 # only as a last resort. b.out is created by i960 compilers.
2565 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2567 # The IRIX 6 linker writes into existing files which may not be
2568 # executable, retaining their permissions. Remove them first so a
2569 # subsequent execution test works.
2571 for ac_file in $ac_files
2574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2575 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2580 if { (ac_try="$ac_link_default"
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586 (eval "$ac_link_default") 2>&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; then
2590 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2591 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2592 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2593 # so that the user can short-circuit this test for compilers unknown to
2595 for ac_file in $ac_files ''
2597 test -f "$ac_file" || continue
2599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2602 # We found the default executable, but exeext='' is most
2606 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2608 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2610 # We set ac_cv_exeext here because the later test for it is not
2611 # safe: cross compilers may not add the suffix if given an `-o'
2612 # argument, so we may need to know it at that point already.
2613 # Even if this section looks crufty: it has the advantage of
2620 test "$ac_cv_exeext" = no && ac_cv_exeext=
2626 { echo "$as_me:$LINENO: result: $ac_file" >&5
2627 echo "${ECHO_T}$ac_file" >&6; }
2628 if test -z "$ac_file"; then
2629 echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.$ac_ext >&5
2632 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2633 See \`config.log' for more details." >&5
2634 echo "$as_me: error: C compiler cannot create executables
2635 See \`config.log' for more details." >&2;}
2636 { (exit 77); exit 77; }; }
2639 ac_exeext=$ac_cv_exeext
2641 # Check that the compiler produces executables we can run. If not, either
2642 # the compiler is broken, or we cross compile.
2643 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2644 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2645 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2646 # If not cross compiling, check that we can run a simple program.
2647 if test "$cross_compiling" != yes; then
2648 if { ac_try='./$ac_file'
2649 { (case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2654 (eval "$ac_try") 2>&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; }; then
2660 if test "$cross_compiling" = maybe; then
2663 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2664 If you meant to cross compile, use \`--host'.
2665 See \`config.log' for more details." >&5
2666 echo "$as_me: error: cannot run C compiled programs.
2667 If you meant to cross compile, use \`--host'.
2668 See \`config.log' for more details." >&2;}
2669 { (exit 1); exit 1; }; }
2673 { echo "$as_me:$LINENO: result: yes" >&5
2674 echo "${ECHO_T}yes" >&6; }
2676 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2677 ac_clean_files=$ac_clean_files_save
2678 # Check that the compiler produces executables we can run. If not, either
2679 # the compiler is broken, or we cross compile.
2680 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2681 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2682 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2683 echo "${ECHO_T}$cross_compiling" >&6; }
2685 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2686 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2687 if { (ac_try="$ac_link"
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2693 (eval "$ac_link") 2>&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; then
2697 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2698 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2699 # work properly (i.e., refer to `conftest.exe'), while it won't with
2701 for ac_file in conftest.exe conftest conftest.*; do
2702 test -f "$ac_file" || continue
2704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2705 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2711 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2712 See \`config.log' for more details." >&5
2713 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2714 See \`config.log' for more details." >&2;}
2715 { (exit 1); exit 1; }; }
2718 rm -f conftest$ac_cv_exeext
2719 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2720 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2722 rm -f conftest.$ac_ext
2723 EXEEXT=$ac_cv_exeext
2725 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2726 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2727 if test "${ac_cv_objext+set}" = set; then
2728 echo $ECHO_N "(cached) $ECHO_C" >&6
2730 cat >conftest.$ac_ext <<_ACEOF
2733 cat confdefs.h >>conftest.$ac_ext
2734 cat >>conftest.$ac_ext <<_ACEOF
2735 /* end confdefs.h. */
2745 rm -f conftest.o conftest.obj
2746 if { (ac_try="$ac_compile"
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752 (eval "$ac_compile") 2>&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; then
2756 for ac_file in conftest.o conftest.obj conftest.*; do
2757 test -f "$ac_file" || continue;
2759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2760 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2769 See \`config.log' for more details." >&5
2770 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2771 See \`config.log' for more details." >&2;}
2772 { (exit 1); exit 1; }; }
2775 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2777 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2778 echo "${ECHO_T}$ac_cv_objext" >&6; }
2779 OBJEXT=$ac_cv_objext
2781 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2782 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2783 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 cat >conftest.$ac_ext <<_ACEOF
2789 cat confdefs.h >>conftest.$ac_ext
2790 cat >>conftest.$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2804 rm -f conftest.$ac_objext
2805 if { (ac_try="$ac_compile"
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2811 (eval "$ac_compile") 2>conftest.er1
2813 grep -v '^ *+' conftest.er1 >conftest.err
2815 cat conftest.err >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); } && {
2818 test -z "$ac_c_werror_flag" ||
2819 test ! -s conftest.err
2820 } && test -s conftest.$ac_objext; then
2823 echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2830 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2833 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2834 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2835 GCC=`test $ac_compiler_gnu = yes && echo yes`
2836 ac_test_CFLAGS=${CFLAGS+set}
2837 ac_save_CFLAGS=$CFLAGS
2838 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2839 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2840 if test "${ac_cv_prog_cc_g+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 ac_save_c_werror_flag=$ac_c_werror_flag
2844 ac_c_werror_flag=yes
2847 cat >conftest.$ac_ext <<_ACEOF
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2862 rm -f conftest.$ac_objext
2863 if { (ac_try="$ac_compile"
2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2869 (eval "$ac_compile") 2>conftest.er1
2871 grep -v '^ *+' conftest.er1 >conftest.err
2873 cat conftest.err >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } && {
2876 test -z "$ac_c_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest.$ac_objext; then
2881 echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2885 cat >conftest.$ac_ext <<_ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2900 rm -f conftest.$ac_objext
2901 if { (ac_try="$ac_compile"
2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904 *) ac_try_echo=$ac_try;;
2906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2907 (eval "$ac_compile") 2>conftest.er1
2909 grep -v '^ *+' conftest.er1 >conftest.err
2911 cat conftest.err >&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } && {
2914 test -z "$ac_c_werror_flag" ||
2915 test ! -s conftest.err
2916 } && test -s conftest.$ac_objext; then
2919 echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2922 ac_c_werror_flag=$ac_save_c_werror_flag
2924 cat >conftest.$ac_ext <<_ACEOF
2927 cat confdefs.h >>conftest.$ac_ext
2928 cat >>conftest.$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2939 rm -f conftest.$ac_objext
2940 if { (ac_try="$ac_compile"
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2946 (eval "$ac_compile") 2>conftest.er1
2948 grep -v '^ *+' conftest.er1 >conftest.err
2950 cat conftest.err >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } && {
2953 test -z "$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2955 } && test -s conftest.$ac_objext; then
2958 echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 ac_c_werror_flag=$ac_save_c_werror_flag
2973 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2974 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2975 if test "$ac_test_CFLAGS" = set; then
2976 CFLAGS=$ac_save_CFLAGS
2977 elif test $ac_cv_prog_cc_g = yes; then
2978 if test "$GCC" = yes; then
2984 if test "$GCC" = yes; then
2990 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2991 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2992 if test "${ac_cv_prog_cc_c89+set}" = set; then
2993 echo $ECHO_N "(cached) $ECHO_C" >&6
2995 ac_cv_prog_cc_c89=no
2997 cat >conftest.$ac_ext <<_ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3005 #include <sys/types.h>
3006 #include <sys/stat.h>
3007 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3008 struct buf { int x; };
3009 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3010 static char *e (p, i)
3016 static char *f (char * (*g) (char **, int), char **p, ...)
3021 s = g (p, va_arg (v,int));
3026 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3027 function prototypes and stuff, but not '\xHH' hex character constants.
3028 These don't provoke an error unfortunately, instead are silently treated
3029 as 'x'. The following induces an error, until -std is added to get
3030 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3031 array size at least. It's necessary to write '\x00'==0 to get something
3032 that's true only with -std. */
3033 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3035 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3036 inside strings and character constants. */
3038 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3040 int test (int i, double x);
3041 struct s1 {int (*f) (int a);};
3042 struct s2 {int (*f) (double a);};
3043 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3049 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3054 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3055 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3057 CC="$ac_save_CC $ac_arg"
3058 rm -f conftest.$ac_objext
3059 if { (ac_try="$ac_compile"
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3065 (eval "$ac_compile") 2>conftest.er1
3067 grep -v '^ *+' conftest.er1 >conftest.err
3069 cat conftest.err >&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); } && {
3072 test -z "$ac_c_werror_flag" ||
3073 test ! -s conftest.err
3074 } && test -s conftest.$ac_objext; then
3075 ac_cv_prog_cc_c89=$ac_arg
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3083 rm -f core conftest.err conftest.$ac_objext
3084 test "x$ac_cv_prog_cc_c89" != "xno" && break
3086 rm -f conftest.$ac_ext
3091 case "x$ac_cv_prog_cc_c89" in
3093 { echo "$as_me:$LINENO: result: none needed" >&5
3094 echo "${ECHO_T}none needed" >&6; } ;;
3096 { echo "$as_me:$LINENO: result: unsupported" >&5
3097 echo "${ECHO_T}unsupported" >&6; } ;;
3099 CC="$CC $ac_cv_prog_cc_c89"
3100 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3101 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3106 ac_cpp='$CPP $CPPFLAGS'
3107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3113 ac_cpp='$CPP $CPPFLAGS'
3114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3117 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3118 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3119 # On Suns, sometimes $CPP names a directory.
3120 if test -n "$CPP" && test -d "$CPP"; then
3123 if test -z "$CPP"; then
3124 if test "${ac_cv_prog_CPP+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 # Double quotes because CPP needs to be expanded
3128 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3131 for ac_c_preproc_warn_flag in '' yes
3133 # Use a header file that comes with gcc, so configuring glibc
3134 # with a fresh cross-compiler works.
3135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3136 # <limits.h> exists even on freestanding compilers.
3137 # On the NeXT, cc -E runs the code through the compiler's parser,
3138 # not just through cpp. "Syntax error" is here to catch this case.
3139 cat >conftest.$ac_ext <<_ACEOF
3142 cat confdefs.h >>conftest.$ac_ext
3143 cat >>conftest.$ac_ext <<_ACEOF
3144 /* end confdefs.h. */
3146 # include <limits.h>
3148 # include <assert.h>
3152 if { (ac_try="$ac_cpp conftest.$ac_ext"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } >/dev/null && {
3165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3166 test ! -s conftest.err
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 # Broken: fails on valid input.
3177 rm -f conftest.err conftest.$ac_ext
3179 # OK, works on sane cases. Now check whether nonexistent headers
3180 # can be detected and how.
3181 cat >conftest.$ac_ext <<_ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3187 #include <ac_nonexistent.h>
3189 if { (ac_try="$ac_cpp conftest.$ac_ext"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3197 grep -v '^ *+' conftest.er1 >conftest.err
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } >/dev/null && {
3202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3203 test ! -s conftest.err
3205 # Broken: success on invalid input.
3208 echo "$as_me: failed program was:" >&5
3209 sed 's/^/| /' conftest.$ac_ext >&5
3211 # Passes both tests.
3216 rm -f conftest.err conftest.$ac_ext
3219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3220 rm -f conftest.err conftest.$ac_ext
3221 if $ac_preproc_ok; then
3233 { echo "$as_me:$LINENO: result: $CPP" >&5
3234 echo "${ECHO_T}$CPP" >&6; }
3236 for ac_c_preproc_warn_flag in '' yes
3238 # Use a header file that comes with gcc, so configuring glibc
3239 # with a fresh cross-compiler works.
3240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3241 # <limits.h> exists even on freestanding compilers.
3242 # On the NeXT, cc -E runs the code through the compiler's parser,
3243 # not just through cpp. "Syntax error" is here to catch this case.
3244 cat >conftest.$ac_ext <<_ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3251 # include <limits.h>
3253 # include <assert.h>
3257 if { (ac_try="$ac_cpp conftest.$ac_ext"
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3265 grep -v '^ *+' conftest.er1 >conftest.err
3267 cat conftest.err >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } >/dev/null && {
3270 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3271 test ! -s conftest.err
3275 echo "$as_me: failed program was:" >&5
3276 sed 's/^/| /' conftest.$ac_ext >&5
3278 # Broken: fails on valid input.
3282 rm -f conftest.err conftest.$ac_ext
3284 # OK, works on sane cases. Now check whether nonexistent headers
3285 # can be detected and how.
3286 cat >conftest.$ac_ext <<_ACEOF
3289 cat confdefs.h >>conftest.$ac_ext
3290 cat >>conftest.$ac_ext <<_ACEOF
3291 /* end confdefs.h. */
3292 #include <ac_nonexistent.h>
3294 if { (ac_try="$ac_cpp conftest.$ac_ext"
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3302 grep -v '^ *+' conftest.er1 >conftest.err
3304 cat conftest.err >&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); } >/dev/null && {
3307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3308 test ! -s conftest.err
3310 # Broken: success on invalid input.
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3316 # Passes both tests.
3321 rm -f conftest.err conftest.$ac_ext
3324 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3325 rm -f conftest.err conftest.$ac_ext
3326 if $ac_preproc_ok; then
3329 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3330 See \`config.log' for more details." >&5
3331 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3332 See \`config.log' for more details." >&2;}
3333 { (exit 1); exit 1; }; }
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3344 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3345 if test "${ac_cv_path_GREP+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 # Extract the first word of "grep ggrep" to use in msg output
3349 if test -z "$GREP"; then
3350 set dummy grep ggrep; ac_prog_name=$2
3351 if test "${ac_cv_path_GREP+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 ac_path_GREP_found=false
3355 # Loop through the user's path and test for each of PROGNAME-LIST
3356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3360 test -z "$as_dir" && as_dir=.
3361 for ac_prog in grep ggrep; do
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3364 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3365 # Check for GNU ac_path_GREP and select it if it is found.
3366 # Check for GNU $ac_path_GREP
3367 case `"$ac_path_GREP" --version 2>&1` in
3369 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3372 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3375 cat "conftest.in" "conftest.in" >"conftest.tmp"
3376 mv "conftest.tmp" "conftest.in"
3377 cp "conftest.in" "conftest.nl"
3378 echo 'GREP' >> "conftest.nl"
3379 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3380 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3381 ac_count=`expr $ac_count + 1`
3382 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3383 # Best one so far, save it but keep looking for a better one
3384 ac_cv_path_GREP="$ac_path_GREP"
3385 ac_path_GREP_max=$ac_count
3387 # 10*(2^10) chars as input seems more than enough
3388 test $ac_count -gt 10 && break
3390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3394 $ac_path_GREP_found && break 3
3404 GREP="$ac_cv_path_GREP"
3405 if test -z "$GREP"; then
3406 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3407 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3408 { (exit 1); exit 1; }; }
3412 ac_cv_path_GREP=$GREP
3417 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3418 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3419 GREP="$ac_cv_path_GREP"
3422 { echo "$as_me:$LINENO: checking for egrep" >&5
3423 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3424 if test "${ac_cv_path_EGREP+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3428 then ac_cv_path_EGREP="$GREP -E"
3430 # Extract the first word of "egrep" to use in msg output
3431 if test -z "$EGREP"; then
3432 set dummy egrep; ac_prog_name=$2
3433 if test "${ac_cv_path_EGREP+set}" = set; then
3434 echo $ECHO_N "(cached) $ECHO_C" >&6
3436 ac_path_EGREP_found=false
3437 # Loop through the user's path and test for each of PROGNAME-LIST
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3442 test -z "$as_dir" && as_dir=.
3443 for ac_prog in egrep; do
3444 for ac_exec_ext in '' $ac_executable_extensions; do
3445 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3446 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3447 # Check for GNU ac_path_EGREP and select it if it is found.
3448 # Check for GNU $ac_path_EGREP
3449 case `"$ac_path_EGREP" --version 2>&1` in
3451 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3454 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3457 cat "conftest.in" "conftest.in" >"conftest.tmp"
3458 mv "conftest.tmp" "conftest.in"
3459 cp "conftest.in" "conftest.nl"
3460 echo 'EGREP' >> "conftest.nl"
3461 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3463 ac_count=`expr $ac_count + 1`
3464 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3465 # Best one so far, save it but keep looking for a better one
3466 ac_cv_path_EGREP="$ac_path_EGREP"
3467 ac_path_EGREP_max=$ac_count
3469 # 10*(2^10) chars as input seems more than enough
3470 test $ac_count -gt 10 && break
3472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3476 $ac_path_EGREP_found && break 3
3486 EGREP="$ac_cv_path_EGREP"
3487 if test -z "$EGREP"; then
3488 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3489 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3490 { (exit 1); exit 1; }; }
3494 ac_cv_path_EGREP=$EGREP
3500 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3501 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3502 EGREP="$ac_cv_path_EGREP"
3506 { echo "$as_me:$LINENO: checking for AIX" >&5
3507 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3508 cat >conftest.$ac_ext <<_ACEOF
3511 cat confdefs.h >>conftest.$ac_ext
3512 cat >>conftest.$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3520 $EGREP "yes" >/dev/null 2>&1; then
3521 { echo "$as_me:$LINENO: result: yes" >&5
3522 echo "${ECHO_T}yes" >&6; }
3523 cat >>confdefs.h <<\_ACEOF
3524 #define _ALL_SOURCE 1
3528 { echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6; }
3534 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3535 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3536 if test "${ac_cv_header_stdc+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3558 rm -f conftest.$ac_objext
3559 if { (ac_try="$ac_compile"
3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562 *) ac_try_echo=$ac_try;;
3564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3565 (eval "$ac_compile") 2>conftest.er1
3567 grep -v '^ *+' conftest.er1 >conftest.err
3569 cat conftest.err >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); } && {
3572 test -z "$ac_c_werror_flag" ||
3573 test ! -s conftest.err
3574 } && test -s conftest.$ac_objext; then
3575 ac_cv_header_stdc=yes
3577 echo "$as_me: failed program was:" >&5
3578 sed 's/^/| /' conftest.$ac_ext >&5
3580 ac_cv_header_stdc=no
3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 if test $ac_cv_header_stdc = yes; then
3586 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3587 cat >conftest.$ac_ext <<_ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3597 $EGREP "memchr" >/dev/null 2>&1; then
3600 ac_cv_header_stdc=no
3606 if test $ac_cv_header_stdc = yes; then
3607 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3608 cat >conftest.$ac_ext <<_ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3618 $EGREP "free" >/dev/null 2>&1; then
3621 ac_cv_header_stdc=no
3627 if test $ac_cv_header_stdc = yes; then
3628 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3629 if test "$cross_compiling" = yes; then
3632 cat >conftest.$ac_ext <<_ACEOF
3635 cat confdefs.h >>conftest.$ac_ext
3636 cat >>conftest.$ac_ext <<_ACEOF
3637 /* end confdefs.h. */
3640 #if ((' ' & 0x0FF) == 0x020)
3641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3644 # define ISLOWER(c) \
3645 (('a' <= (c) && (c) <= 'i') \
3646 || ('j' <= (c) && (c) <= 'r') \
3647 || ('s' <= (c) && (c) <= 'z'))
3648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3656 for (i = 0; i < 256; i++)
3657 if (XOR (islower (i), ISLOWER (i))
3658 || toupper (i) != TOUPPER (i))
3663 rm -f conftest$ac_exeext
3664 if { (ac_try="$ac_link"
3666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667 *) ac_try_echo=$ac_try;;
3669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3670 (eval "$ac_link") 2>&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3674 { (case "(($ac_try" in
3675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676 *) ac_try_echo=$ac_try;;
3678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3679 (eval "$ac_try") 2>&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); }; }; then
3685 echo "$as_me: program exited with status $ac_status" >&5
3686 echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3690 ac_cv_header_stdc=no
3692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3698 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3699 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3700 if test $ac_cv_header_stdc = yes; then
3702 cat >>confdefs.h <<\_ACEOF
3703 #define STDC_HEADERS 1
3708 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3718 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3719 inttypes.h stdint.h unistd.h
3721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3722 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 cat >conftest.$ac_ext <<_ACEOF
3730 cat confdefs.h >>conftest.$ac_ext
3731 cat >>conftest.$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3733 $ac_includes_default
3735 #include <$ac_header>
3737 rm -f conftest.$ac_objext
3738 if { (ac_try="$ac_compile"
3740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3741 *) ac_try_echo=$ac_try;;
3743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3744 (eval "$ac_compile") 2>conftest.er1
3746 grep -v '^ *+' conftest.er1 >conftest.err
3748 cat conftest.err >&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); } && {
3751 test -z "$ac_c_werror_flag" ||
3752 test ! -s conftest.err
3753 } && test -s conftest.$ac_objext; then
3754 eval "$as_ac_Header=yes"
3756 echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.$ac_ext >&5
3759 eval "$as_ac_Header=no"
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3764 ac_res=`eval echo '${'$as_ac_Header'}'`
3765 { echo "$as_me:$LINENO: result: $ac_res" >&5
3766 echo "${ECHO_T}$ac_res" >&6; }
3767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3768 cat >>confdefs.h <<_ACEOF
3769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3777 if test "${ac_cv_header_minix_config_h+set}" = set; then
3778 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3779 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3780 if test "${ac_cv_header_minix_config_h+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3784 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3786 # Is the header compilable?
3787 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3788 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3789 cat >conftest.$ac_ext <<_ACEOF
3792 cat confdefs.h >>conftest.$ac_ext
3793 cat >>conftest.$ac_ext <<_ACEOF
3794 /* end confdefs.h. */
3795 $ac_includes_default
3796 #include <minix/config.h>
3798 rm -f conftest.$ac_objext
3799 if { (ac_try="$ac_compile"
3801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3802 *) ac_try_echo=$ac_try;;
3804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3805 (eval "$ac_compile") 2>conftest.er1
3807 grep -v '^ *+' conftest.er1 >conftest.err
3809 cat conftest.err >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); } && {
3812 test -z "$ac_c_werror_flag" ||
3813 test ! -s conftest.err
3814 } && test -s conftest.$ac_objext; then
3815 ac_header_compiler=yes
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 ac_header_compiler=no
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3825 echo "${ECHO_T}$ac_header_compiler" >&6; }
3827 # Is the header present?
3828 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3829 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3830 cat >conftest.$ac_ext <<_ACEOF
3833 cat confdefs.h >>conftest.$ac_ext
3834 cat >>conftest.$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3836 #include <minix/config.h>
3838 if { (ac_try="$ac_cpp conftest.$ac_ext"
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3846 grep -v '^ *+' conftest.er1 >conftest.err
3848 cat conftest.err >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); } >/dev/null && {
3851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3852 test ! -s conftest.err
3854 ac_header_preproc=yes
3856 echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.$ac_ext >&5
3859 ac_header_preproc=no
3862 rm -f conftest.err conftest.$ac_ext
3863 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3864 echo "${ECHO_T}$ac_header_preproc" >&6; }
3866 # So? What about this header?
3867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3869 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3870 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3871 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3872 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3873 ac_header_preproc=yes
3876 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3877 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3878 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3879 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3880 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3881 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3882 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3883 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3884 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3885 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3886 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3887 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3889 ## ------------------------------- ##
3890 ## Report this to www.asterisk.org ##
3891 ## ------------------------------- ##
3893 ) | sed "s/^/$as_me: WARNING: /" >&2
3896 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3897 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3898 if test "${ac_cv_header_minix_config_h+set}" = set; then
3899 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 ac_cv_header_minix_config_h=$ac_header_preproc
3903 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3904 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3907 if test $ac_cv_header_minix_config_h = yes; then
3914 if test "$MINIX" = yes; then
3916 cat >>confdefs.h <<\_ACEOF
3917 #define _POSIX_SOURCE 1
3921 cat >>confdefs.h <<\_ACEOF
3922 #define _POSIX_1_SOURCE 2
3926 cat >>confdefs.h <<\_ACEOF
3942 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3943 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3944 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6