2 # From configure.ac Revision: 89394 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
582 ac_unique_file="asterisk"
583 ac_unique_file="main/asterisk.c"
584 # Factoring default headers for most tests.
585 ac_includes_default="\
587 #ifdef HAVE_SYS_TYPES_H
588 # include <sys/types.h>
590 #ifdef HAVE_SYS_STAT_H
591 # include <sys/stat.h>
597 # ifdef HAVE_STDLIB_H
602 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #ifdef HAVE_STRINGS_H
608 # include <strings.h>
610 #ifdef HAVE_INTTYPES_H
611 # include <inttypes.h>
631 program_transform_name
897 ZAPTEL_TRANSCODE_INCLUDE
901 ZAPTEL_VLDTMF_INCLUDE
922 AST_DECLARATION_AFTER_STATEMENT
954 ac_precious_vars='build_alias
969 # Initialize some variables set by options.
971 ac_init_version=false
972 # The variables have the same names as the options, with
973 # dashes changed to underlines.
981 program_transform_name=s,x,x,
989 # Installation directory options.
990 # These are left unexpanded so users can "make install exec_prefix=/foo"
991 # and all the variables that are supposed to be based on exec_prefix
992 # by default will actually change.
993 # Use braces instead of parens because sh, perl, etc. also accept them.
994 # (The list follows the same order as the GNU Coding Standards.)
995 bindir='${exec_prefix}/bin'
996 sbindir='${exec_prefix}/sbin'
997 libexecdir='${exec_prefix}/libexec'
998 datarootdir='${prefix}/share'
999 datadir='${datarootdir}'
1000 sysconfdir='${prefix}/etc'
1001 sharedstatedir='${prefix}/com'
1002 localstatedir='${prefix}/var'
1003 includedir='${prefix}/include'
1004 oldincludedir='/usr/include'
1005 docdir='${datarootdir}/doc/${PACKAGE}'
1006 infodir='${datarootdir}/info'
1011 libdir='${exec_prefix}/lib'
1012 localedir='${datarootdir}/locale'
1013 mandir='${datarootdir}/man'
1019 # If the previous option needs an argument, assign it.
1020 if test -n "$ac_prev"; then
1021 eval $ac_prev=\$ac_option
1027 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1031 # Accept the important Cygnus configure options, so we can diagnose typos.
1033 case $ac_dashdash$ac_option in
1037 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1039 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1040 bindir=$ac_optarg ;;
1042 -build | --build | --buil | --bui | --bu)
1043 ac_prev=build_alias ;;
1044 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1045 build_alias=$ac_optarg ;;
1047 -cache-file | --cache-file | --cache-fil | --cache-fi \
1048 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1049 ac_prev=cache_file ;;
1050 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1051 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1052 cache_file=$ac_optarg ;;
1054 --config-cache | -C)
1055 cache_file=config.cache ;;
1057 -datadir | --datadir | --datadi | --datad)
1059 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1060 datadir=$ac_optarg ;;
1062 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1063 | --dataroo | --dataro | --datar)
1064 ac_prev=datarootdir ;;
1065 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1066 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1067 datarootdir=$ac_optarg ;;
1069 -disable-* | --disable-*)
1070 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1073 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1074 { (exit 1); exit 1; }; }
1075 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1076 eval enable_$ac_feature=no ;;
1078 -docdir | --docdir | --docdi | --doc | --do)
1080 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1081 docdir=$ac_optarg ;;
1083 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1085 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1086 dvidir=$ac_optarg ;;
1088 -enable-* | --enable-*)
1089 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1092 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1093 { (exit 1); exit 1; }; }
1094 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1095 eval enable_$ac_feature=\$ac_optarg ;;
1097 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1098 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1099 | --exec | --exe | --ex)
1100 ac_prev=exec_prefix ;;
1101 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1102 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1103 | --exec=* | --exe=* | --ex=*)
1104 exec_prefix=$ac_optarg ;;
1106 -gas | --gas | --ga | --g)
1107 # Obsolete; use --with-gas.
1110 -help | --help | --hel | --he | -h)
1111 ac_init_help=long ;;
1112 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1113 ac_init_help=recursive ;;
1114 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1115 ac_init_help=short ;;
1117 -host | --host | --hos | --ho)
1118 ac_prev=host_alias ;;
1119 -host=* | --host=* | --hos=* | --ho=*)
1120 host_alias=$ac_optarg ;;
1122 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1124 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1126 htmldir=$ac_optarg ;;
1128 -includedir | --includedir | --includedi | --included | --include \
1129 | --includ | --inclu | --incl | --inc)
1130 ac_prev=includedir ;;
1131 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1132 | --includ=* | --inclu=* | --incl=* | --inc=*)
1133 includedir=$ac_optarg ;;
1135 -infodir | --infodir | --infodi | --infod | --info | --inf)
1137 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1138 infodir=$ac_optarg ;;
1140 -libdir | --libdir | --libdi | --libd)
1142 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1143 libdir=$ac_optarg ;;
1145 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1146 | --libexe | --libex | --libe)
1147 ac_prev=libexecdir ;;
1148 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1149 | --libexe=* | --libex=* | --libe=*)
1150 libexecdir=$ac_optarg ;;
1152 -localedir | --localedir | --localedi | --localed | --locale)
1153 ac_prev=localedir ;;
1154 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1155 localedir=$ac_optarg ;;
1157 -localstatedir | --localstatedir | --localstatedi | --localstated \
1158 | --localstate | --localstat | --localsta | --localst | --locals)
1159 ac_prev=localstatedir ;;
1160 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1161 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1162 localstatedir=$ac_optarg ;;
1164 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1166 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1167 mandir=$ac_optarg ;;
1169 -nfp | --nfp | --nf)
1170 # Obsolete; use --without-fp.
1173 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1174 | --no-cr | --no-c | -n)
1177 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1178 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1181 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1182 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1183 | --oldin | --oldi | --old | --ol | --o)
1184 ac_prev=oldincludedir ;;
1185 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1186 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1187 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1188 oldincludedir=$ac_optarg ;;
1190 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1192 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1193 prefix=$ac_optarg ;;
1195 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1196 | --program-pre | --program-pr | --program-p)
1197 ac_prev=program_prefix ;;
1198 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1199 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1200 program_prefix=$ac_optarg ;;
1202 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1203 | --program-suf | --program-su | --program-s)
1204 ac_prev=program_suffix ;;
1205 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1206 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1207 program_suffix=$ac_optarg ;;
1209 -program-transform-name | --program-transform-name \
1210 | --program-transform-nam | --program-transform-na \
1211 | --program-transform-n | --program-transform- \
1212 | --program-transform | --program-transfor \
1213 | --program-transfo | --program-transf \
1214 | --program-trans | --program-tran \
1215 | --progr-tra | --program-tr | --program-t)
1216 ac_prev=program_transform_name ;;
1217 -program-transform-name=* | --program-transform-name=* \
1218 | --program-transform-nam=* | --program-transform-na=* \
1219 | --program-transform-n=* | --program-transform-=* \
1220 | --program-transform=* | --program-transfor=* \
1221 | --program-transfo=* | --program-transf=* \
1222 | --program-trans=* | --program-tran=* \
1223 | --progr-tra=* | --program-tr=* | --program-t=*)
1224 program_transform_name=$ac_optarg ;;
1226 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1228 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1229 pdfdir=$ac_optarg ;;
1231 -psdir | --psdir | --psdi | --psd | --ps)
1233 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1237 | -silent | --silent | --silen | --sile | --sil)
1240 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1242 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1244 sbindir=$ac_optarg ;;
1246 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1247 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1248 | --sharedst | --shareds | --shared | --share | --shar \
1250 ac_prev=sharedstatedir ;;
1251 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1252 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1253 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1255 sharedstatedir=$ac_optarg ;;
1257 -site | --site | --sit)
1259 -site=* | --site=* | --sit=*)
1262 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1264 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1265 srcdir=$ac_optarg ;;
1267 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1268 | --syscon | --sysco | --sysc | --sys | --sy)
1269 ac_prev=sysconfdir ;;
1270 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1271 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1272 sysconfdir=$ac_optarg ;;
1274 -target | --target | --targe | --targ | --tar | --ta | --t)
1275 ac_prev=target_alias ;;
1276 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1277 target_alias=$ac_optarg ;;
1279 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1282 -version | --version | --versio | --versi | --vers | -V)
1283 ac_init_version=: ;;
1286 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1289 { echo "$as_me: error: invalid package name: $ac_package" >&2
1290 { (exit 1); exit 1; }; }
1291 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1292 eval with_$ac_package=\$ac_optarg ;;
1294 -without-* | --without-*)
1295 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1298 { echo "$as_me: error: invalid package name: $ac_package" >&2
1299 { (exit 1); exit 1; }; }
1300 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1301 eval with_$ac_package=no ;;
1304 # Obsolete; use --with-x.
1307 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1308 | --x-incl | --x-inc | --x-in | --x-i)
1309 ac_prev=x_includes ;;
1310 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1311 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1312 x_includes=$ac_optarg ;;
1314 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1315 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1316 ac_prev=x_libraries ;;
1317 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1318 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1319 x_libraries=$ac_optarg ;;
1321 -*) { echo "$as_me: error: unrecognized option: $ac_option
1322 Try \`$0 --help' for more information." >&2
1323 { (exit 1); exit 1; }; }
1327 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1328 # Reject names that are not valid shell variable names.
1329 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1330 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1331 { (exit 1); exit 1; }; }
1332 eval $ac_envvar=\$ac_optarg
1333 export $ac_envvar ;;
1336 # FIXME: should be removed in autoconf 3.0.
1337 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1338 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1339 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1340 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1346 if test -n "$ac_prev"; then
1347 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1348 { echo "$as_me: error: missing argument to $ac_option" >&2
1349 { (exit 1); exit 1; }; }
1352 # Be sure to have absolute directory names.
1353 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1354 datadir sysconfdir sharedstatedir localstatedir includedir \
1355 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1356 libdir localedir mandir
1358 eval ac_val=\$$ac_var
1360 [\\/$]* | ?:[\\/]* ) continue;;
1361 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1363 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1364 { (exit 1); exit 1; }; }
1367 # There might be people who depend on the old broken behavior: `$host'
1368 # used to hold the argument of --host etc.
1369 # FIXME: To remove some day.
1372 target=$target_alias
1374 # FIXME: To remove some day.
1375 if test "x$host_alias" != x; then
1376 if test "x$build_alias" = x; then
1377 cross_compiling=maybe
1378 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1379 If a cross compiler is detected then cross compile mode will be used." >&2
1380 elif test "x$build_alias" != "x$host_alias"; then
1386 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1388 test "$silent" = yes && exec 6>/dev/null
1391 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1392 ac_ls_di=`ls -di .` &&
1393 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1394 { echo "$as_me: error: Working directory cannot be determined" >&2
1395 { (exit 1); exit 1; }; }
1396 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1397 { echo "$as_me: error: pwd does not report name of working directory" >&2
1398 { (exit 1); exit 1; }; }
1401 # Find the source files, if location was not specified.
1402 if test -z "$srcdir"; then
1403 ac_srcdir_defaulted=yes
1404 # Try the directory containing this script, then the parent directory.
1405 ac_confdir=`$as_dirname -- "$0" ||
1406 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1407 X"$0" : 'X\(//\)[^/]' \| \
1408 X"$0" : 'X\(//\)$' \| \
1409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1429 if test ! -r "$srcdir/$ac_unique_file"; then
1433 ac_srcdir_defaulted=no
1435 if test ! -r "$srcdir/$ac_unique_file"; then
1436 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1437 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1438 { (exit 1); exit 1; }; }
1440 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1442 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1443 { (exit 1); exit 1; }; }
1445 # When building in place, set srcdir=.
1446 if test "$ac_abs_confdir" = "$ac_pwd"; then
1449 # Remove unnecessary trailing slashes from srcdir.
1450 # Double slashes in file names in object file debugging info
1451 # mess up M-x gdb in Emacs.
1453 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1455 for ac_var in $ac_precious_vars; do
1456 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1457 eval ac_env_${ac_var}_value=\$${ac_var}
1458 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1459 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1463 # Report the --help message.
1465 if test "$ac_init_help" = "long"; then
1466 # Omit some internal or obsolete options to make the list less imposing.
1467 # This message is too long to be a string in the A/UX 3.1 sh.
1469 \`configure' configures this package to adapt to many kinds of systems.
1471 Usage: $0 [OPTION]... [VAR=VALUE]...
1473 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1474 VAR=VALUE. See below for descriptions of some of the useful variables.
1476 Defaults for the options are specified in brackets.
1479 -h, --help display this help and exit
1480 --help=short display options specific to this package
1481 --help=recursive display the short help of all the included packages
1482 -V, --version display version information and exit
1483 -q, --quiet, --silent do not print \`checking...' messages
1484 --cache-file=FILE cache test results in FILE [disabled]
1485 -C, --config-cache alias for \`--cache-file=config.cache'
1486 -n, --no-create do not create output files
1487 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1489 Installation directories:
1490 --prefix=PREFIX install architecture-independent files in PREFIX
1491 [$ac_default_prefix]
1492 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1495 By default, \`make install' will install all the files in
1496 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1497 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1498 for instance \`--prefix=\$HOME'.
1500 For better control, use the options below.
1502 Fine tuning of the installation directories:
1503 --bindir=DIR user executables [EPREFIX/bin]
1504 --sbindir=DIR system admin executables [EPREFIX/sbin]
1505 --libexecdir=DIR program executables [EPREFIX/libexec]
1506 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1507 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1508 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1509 --libdir=DIR object code libraries [EPREFIX/lib]
1510 --includedir=DIR C header files [PREFIX/include]
1511 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1512 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1513 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1514 --infodir=DIR info documentation [DATAROOTDIR/info]
1515 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1516 --mandir=DIR man documentation [DATAROOTDIR/man]
1517 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1518 --htmldir=DIR html documentation [DOCDIR]
1519 --dvidir=DIR dvi documentation [DOCDIR]
1520 --pdfdir=DIR pdf documentation [DOCDIR]
1521 --psdir=DIR ps documentation [DOCDIR]
1527 --build=BUILD configure for building on BUILD [guessed]
1528 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1532 if test -n "$ac_init_help"; then
1537 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1538 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1539 --enable-dev-mode Turn on developer mode
1540 --disable-largefile omit support for large files
1543 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1544 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1545 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1546 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1547 --with-execinfo=PATH use Stack Backtrace support files in PATH
1548 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1549 --with-curl=PATH use cURL files in PATH
1550 --with-curses=PATH use curses files in PATH
1551 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1552 --with-gsm=PATH use GSM files in PATH , or 'internal'
1553 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1554 --with-imap=PATH use UW IMAP Toolkit files in PATH
1555 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1556 --with-kde=PATH use KDE files in PATH
1557 --with-ltdl=PATH use libtool files in PATH
1558 --with-lua=PATH use Lua files in PATH
1559 --with-misdn=PATH use mISDN User Library files in PATH
1560 --with-nbs=PATH use Network Broadcast Sound files in PATH
1561 --with-ncurses=PATH use ncurses files in PATH
1562 --with-netsnmp=PATH use Net-SNMP files in PATH
1563 --with-newt=PATH use newt files in PATH
1564 --with-odbc=PATH use unixODBC files in PATH
1565 --with-ogg=PATH use OGG files in PATH
1566 --with-osptk=PATH use OSP Toolkit files in PATH
1567 --with-oss=PATH use Open Sound System files in PATH
1568 --with-popt=PATH use popt files in PATH
1569 --with-postgres=PATH use PostgreSQL files in PATH
1570 --with-pri=PATH use ISDN PRI files in PATH
1571 --with-ss7=PATH use ISDN SS7 files in PATH
1572 --with-pwlib=PATH use PWlib files in PATH
1573 --with-h323=PATH use OpenH323 files in PATH
1574 --with-qt=PATH use Qt files in PATH
1575 --with-radius=PATH use Radius Client files in PATH
1576 --with-speex=PATH use Speex files in PATH
1577 --with-sqlite=PATH use SQLite files in PATH
1578 --with-sqlite3=PATH use SQLite files in PATH
1579 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1580 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1582 --with-tds=PATH use FreeTDS files in PATH
1583 --with-termcap=PATH use Termcap files in PATH
1584 --with-tinfo=PATH use Term Info files in PATH
1585 --with-tonezone=PATH use tonezone files in PATH
1586 --with-usb=PATH use usb files in PATH
1587 --with-vorbis=PATH use Vorbis files in PATH
1588 --with-vpb=PATH use Voicetronix API files in PATH
1589 --with-z=PATH use zlib files in PATH
1590 --with-zaptel=PATH use Zaptel files in PATH
1591 --with-zaptel_transcode=PATH
1592 use Zaptel_transcode files in PATH
1593 --with-zaptel_vldtmf=PATH
1594 use Zaptel_vldtmf files in PATH
1595 --with-sdl=PATH use Sdl files in PATH
1596 --with-SDL_image=PATH use Sdl Image library files in PATH
1597 --with-avcodec=PATH use Ffmpeg and avcodec library files in PATH
1599 Some influential environment variables:
1600 CC C compiler command
1601 CFLAGS C compiler flags
1602 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1603 nonstandard directory <lib dir>
1604 LIBS libraries to pass to the linker, e.g. -l<library>
1605 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1606 you have headers in a nonstandard directory <include dir>
1608 CXX C++ compiler command
1609 CXXFLAGS C++ compiler flags
1610 CXXCPP C++ preprocessor
1612 Use these variables to override the choices made by `configure' or to help
1613 it to find libraries and programs with nonstandard names/locations.
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" || continue
1626 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1629 # A ".." for each directory in $ac_dir_suffix.
1630 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1631 case $ac_top_builddir_sub in
1632 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1633 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 ac_abs_top_builddir=$ac_pwd
1637 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1638 # for backward compatibility:
1639 ac_top_builddir=$ac_top_build_prefix
1642 .) # We are building in place.
1644 ac_top_srcdir=$ac_top_builddir_sub
1645 ac_abs_top_srcdir=$ac_pwd ;;
1646 [\\/]* | ?:[\\/]* ) # Absolute name.
1647 ac_srcdir=$srcdir$ac_dir_suffix;
1648 ac_top_srcdir=$srcdir
1649 ac_abs_top_srcdir=$srcdir ;;
1651 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1652 ac_top_srcdir=$ac_top_build_prefix$srcdir
1653 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1655 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1657 cd "$ac_dir" || { ac_status=$?; continue; }
1658 # Check for guested configure.
1659 if test -f "$ac_srcdir/configure.gnu"; then
1661 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1662 elif test -f "$ac_srcdir/configure"; then
1664 $SHELL "$ac_srcdir/configure" --help=recursive
1666 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1668 cd "$ac_pwd" || { ac_status=$?; break; }
1672 test -n "$ac_init_help" && exit $ac_status
1673 if $ac_init_version; then
1676 generated by GNU Autoconf 2.61
1678 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1679 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1680 This configure script is free software; the Free Software Foundation
1681 gives unlimited permission to copy, distribute and modify it.
1687 cat >config.log <<_ACEOF
1688 This file contains any messages produced by compilers while
1689 running configure, to aid debugging if configure makes a mistake.
1691 It was created by $as_me, which was
1692 generated by GNU Autoconf 2.61. Invocation command line was
1704 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1705 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1706 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1707 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1708 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1710 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1711 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1713 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1714 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1715 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1716 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1717 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1718 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1719 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1727 test -z "$as_dir" && as_dir=.
1728 echo "PATH: $as_dir"
1744 # Keep a trace of the command line.
1745 # Strip out --no-create and --no-recursion so they do not pile up.
1746 # Strip out --silent because we don't want to record it for future runs.
1747 # Also quote any args containing shell meta-characters.
1748 # Make two passes to allow for proper duplicate-argument suppression.
1752 ac_must_keep_next=false
1758 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1759 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1760 | -silent | --silent | --silen | --sile | --sil)
1763 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1768 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1769 if test $ac_must_keep_next = true; then
1770 ac_must_keep_next=false # Got value, back to normal.
1773 *=* | --config-cache | -C | -disable-* | --disable-* \
1774 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1775 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1776 | -with-* | --with-* | -without-* | --without-* | --x)
1777 case "$ac_configure_args0 " in
1778 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1781 -* ) ac_must_keep_next=true ;;
1784 ac_configure_args="$ac_configure_args '$ac_arg'"
1789 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1790 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1792 # When interrupted or exit'd, cleanup temporary files, and complete
1793 # config.log. We remove comments because anyway the quotes in there
1794 # would cause problems or look ugly.
1795 # WARNING: Use '\'' to represent an apostrophe within the trap.
1796 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1797 trap 'exit_status=$?
1798 # Save into config.log some information that might help in debugging.
1803 ## ---------------- ##
1804 ## Cache variables. ##
1805 ## ---------------- ##
1808 # The following way of writing the cache mishandles newlines in values,
1810 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1811 eval ac_val=\$$ac_var
1815 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1816 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1819 _ | IFS | as_nl) ;; #(
1820 *) $as_unset $ac_var ;;
1825 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1826 *${as_nl}ac_space=\ *)
1828 "s/'\''/'\''\\\\'\'''\''/g;
1829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1832 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1840 ## ----------------- ##
1841 ## Output variables. ##
1842 ## ----------------- ##
1845 for ac_var in $ac_subst_vars
1847 eval ac_val=\$$ac_var
1849 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1851 echo "$ac_var='\''$ac_val'\''"
1855 if test -n "$ac_subst_files"; then
1857 ## ------------------- ##
1858 ## File substitutions. ##
1859 ## ------------------- ##
1862 for ac_var in $ac_subst_files
1864 eval ac_val=\$$ac_var
1866 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1868 echo "$ac_var='\''$ac_val'\''"
1873 if test -s confdefs.h; then
1883 test "$ac_signal" != 0 &&
1884 echo "$as_me: caught signal $ac_signal"
1885 echo "$as_me: exit $exit_status"
1887 rm -f core *.core core.conftest.* &&
1888 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1891 for ac_signal in 1 2 13 15; do
1892 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1896 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1897 rm -f -r conftest* confdefs.h
1899 # Predefined preprocessor variables.
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_NAME "$PACKAGE_NAME"
1906 cat >>confdefs.h <<_ACEOF
1907 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1911 cat >>confdefs.h <<_ACEOF
1912 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1916 cat >>confdefs.h <<_ACEOF
1917 #define PACKAGE_STRING "$PACKAGE_STRING"
1921 cat >>confdefs.h <<_ACEOF
1922 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1926 # Let the site file select an alternate cache file if it wants to.
1927 # Prefer explicitly selected file to automatically selected ones.
1928 if test -n "$CONFIG_SITE"; then
1929 set x "$CONFIG_SITE"
1930 elif test "x$prefix" != xNONE; then
1931 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1933 set x "$ac_default_prefix/share/config.site" \
1934 "$ac_default_prefix/etc/config.site"
1939 if test -r "$ac_site_file"; then
1940 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1941 echo "$as_me: loading site script $ac_site_file" >&6;}
1942 sed 's/^/| /' "$ac_site_file" >&5
1947 if test -r "$cache_file"; then
1948 # Some versions of bash will fail to source /dev/null (special
1949 # files actually), so we avoid doing that.
1950 if test -f "$cache_file"; then
1951 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1952 echo "$as_me: loading cache $cache_file" >&6;}
1954 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1955 *) . "./$cache_file";;
1959 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1960 echo "$as_me: creating cache $cache_file" >&6;}
1964 ac_header_list="$ac_header_list sys/time.h"
1965 ac_header_list="$ac_header_list unistd.h"
1966 ac_func_list="$ac_func_list alarm"
1967 ac_header_list="$ac_header_list utime.h"
1968 # Check that the precious variables saved in the cache have kept the same
1970 ac_cache_corrupted=false
1971 for ac_var in $ac_precious_vars; do
1972 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1973 eval ac_new_set=\$ac_env_${ac_var}_set
1974 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1975 eval ac_new_val=\$ac_env_${ac_var}_value
1976 case $ac_old_set,$ac_new_set in
1978 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1979 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1980 ac_cache_corrupted=: ;;
1982 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1983 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1984 ac_cache_corrupted=: ;;
1987 if test "x$ac_old_val" != "x$ac_new_val"; then
1988 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1989 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1990 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1991 echo "$as_me: former value: $ac_old_val" >&2;}
1992 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1993 echo "$as_me: current value: $ac_new_val" >&2;}
1994 ac_cache_corrupted=:
1997 # Pass precious variables to config.status.
1998 if test "$ac_new_set" = set; then
2000 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2001 *) ac_arg=$ac_var=$ac_new_val ;;
2003 case " $ac_configure_args " in
2004 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2005 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2009 if $ac_cache_corrupted; then
2010 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2011 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2012 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2013 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2014 { (exit 1); exit 1; }; }
2034 ac_cpp='$CPP $CPPFLAGS'
2035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 # cross-compile macros
2043 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2044 if test -f "$ac_dir/install-sh"; then
2046 ac_install_sh="$ac_aux_dir/install-sh -c"
2048 elif test -f "$ac_dir/install.sh"; then
2050 ac_install_sh="$ac_aux_dir/install.sh -c"
2052 elif test -f "$ac_dir/shtool"; then
2054 ac_install_sh="$ac_aux_dir/shtool install -c"
2058 if test -z "$ac_aux_dir"; then
2059 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2060 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2061 { (exit 1); exit 1; }; }
2064 # These three variables are undocumented and unsupported,
2065 # and are intended to be withdrawn in a future Autoconf release.
2066 # They can cause serious problems if a builder's source tree is in a directory
2067 # whose full name contains unusual characters.
2068 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2069 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2070 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2073 # Make sure we can run config.sub.
2074 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2075 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2076 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2077 { (exit 1); exit 1; }; }
2079 { echo "$as_me:$LINENO: checking build system type" >&5
2080 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2081 if test "${ac_cv_build+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 ac_build_alias=$build_alias
2085 test "x$ac_build_alias" = x &&
2086 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2087 test "x$ac_build_alias" = x &&
2088 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2089 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2090 { (exit 1); exit 1; }; }
2091 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2092 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2093 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2094 { (exit 1); exit 1; }; }
2097 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2098 echo "${ECHO_T}$ac_cv_build" >&6; }
2099 case $ac_cv_build in
2101 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2102 echo "$as_me: error: invalid value of canonical build" >&2;}
2103 { (exit 1); exit 1; }; };;
2106 ac_save_IFS=$IFS; IFS='-'
2112 # Remember, the first character of IFS is used to create $*,
2113 # except with old shells:
2116 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2119 { echo "$as_me:$LINENO: checking host system type" >&5
2120 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2121 if test "${ac_cv_host+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 if test "x$host_alias" = x; then
2125 ac_cv_host=$ac_cv_build
2127 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2128 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2129 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2130 { (exit 1); exit 1; }; }
2134 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2135 echo "${ECHO_T}$ac_cv_host" >&6; }
2138 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2139 echo "$as_me: error: invalid value of canonical host" >&2;}
2140 { (exit 1); exit 1; }; };;
2143 ac_save_IFS=$IFS; IFS='-'
2149 # Remember, the first character of IFS is used to create $*,
2150 # except with old shells:
2153 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2157 # check existence of the package
2160 # specify output header file
2161 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2168 cat >>confdefs.h <<\_ACEOF
2169 #define _GNU_SOURCE 1
2174 ac_cpp='$CPP $CPPFLAGS'
2175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2178 if test -n "$ac_tool_prefix"; then
2179 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2180 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2183 if test "${ac_cv_prog_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 if test -n "$CC"; then
2187 ac_cv_prog_CC="$CC" # Let the user override the test.
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2196 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 if test -n "$CC"; then
2208 { echo "$as_me:$LINENO: result: $CC" >&5
2209 echo "${ECHO_T}$CC" >&6; }
2211 { echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6; }
2217 if test -z "$ac_cv_prog_CC"; then
2219 # Extract the first word of "gcc", so it can be a program name with args.
2220 set dummy gcc; ac_word=$2
2221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 if test -n "$ac_ct_CC"; then
2227 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir=.
2234 for ac_exec_ext in '' $ac_executable_extensions; do
2235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2236 ac_cv_prog_ac_ct_CC="gcc"
2237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2247 if test -n "$ac_ct_CC"; then
2248 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2249 echo "${ECHO_T}$ac_ct_CC" >&6; }
2251 { echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6; }
2255 if test "x$ac_ct_CC" = x; then
2258 case $cross_compiling:$ac_tool_warned in
2260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2261 whose name does not start with the host triplet. If you think this
2262 configuration is useful to you, please write to autoconf@gnu.org." >&5
2263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2264 whose name does not start with the host triplet. If you think this
2265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2266 ac_tool_warned=yes ;;
2274 if test -z "$CC"; then
2275 if test -n "$ac_tool_prefix"; then
2276 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2277 set dummy ${ac_tool_prefix}cc; ac_word=$2
2278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2280 if test "${ac_cv_prog_CC+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 if test -n "$CC"; then
2284 ac_cv_prog_CC="$CC" # Let the user override the test.
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir=.
2291 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2293 ac_cv_prog_CC="${ac_tool_prefix}cc"
2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 if test -n "$CC"; then
2305 { echo "$as_me:$LINENO: result: $CC" >&5
2306 echo "${ECHO_T}$CC" >&6; }
2308 { echo "$as_me:$LINENO: result: no" >&5
2309 echo "${ECHO_T}no" >&6; }
2315 if test -z "$CC"; then
2316 # Extract the first word of "cc", so it can be a program name with args.
2317 set dummy cc; ac_word=$2
2318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2320 if test "${ac_cv_prog_CC+set}" = set; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 if test -n "$CC"; then
2324 ac_cv_prog_CC="$CC" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2335 ac_prog_rejected=yes
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 if test $ac_prog_rejected = yes; then
2347 # We found a bogon in the path, so make sure we never use it.
2348 set dummy $ac_cv_prog_CC
2350 if test $# != 0; then
2351 # We chose a different compiler from the bogus one.
2352 # However, it has the same basename, so the bogon will be chosen
2353 # first if we set CC to just the basename; use the full file name.
2355 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2361 if test -n "$CC"; then
2362 { echo "$as_me:$LINENO: result: $CC" >&5
2363 echo "${ECHO_T}$CC" >&6; }
2365 { echo "$as_me:$LINENO: result: no" >&5
2366 echo "${ECHO_T}no" >&6; }
2371 if test -z "$CC"; then
2372 if test -n "$ac_tool_prefix"; then
2373 for ac_prog in cl.exe
2375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2379 if test "${ac_cv_prog_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test.
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 if test -n "$CC"; then
2404 { echo "$as_me:$LINENO: result: $CC" >&5
2405 echo "${ECHO_T}$CC" >&6; }
2407 { echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6; }
2412 test -n "$CC" && break
2415 if test -z "$CC"; then
2417 for ac_prog in cl.exe
2419 # Extract the first word of "$ac_prog", so it can be a program name with args.
2420 set dummy $ac_prog; ac_word=$2
2421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2423 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 if test -n "$ac_ct_CC"; then
2427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 ac_cv_prog_ac_ct_CC="$ac_prog"
2437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2447 if test -n "$ac_ct_CC"; then
2448 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2449 echo "${ECHO_T}$ac_ct_CC" >&6; }
2451 { echo "$as_me:$LINENO: result: no" >&5
2452 echo "${ECHO_T}no" >&6; }
2456 test -n "$ac_ct_CC" && break
2459 if test "x$ac_ct_CC" = x; then
2462 case $cross_compiling:$ac_tool_warned in
2464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2465 whose name does not start with the host triplet. If you think this
2466 configuration is useful to you, please write to autoconf@gnu.org." >&5
2467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2468 whose name does not start with the host triplet. If you think this
2469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2470 ac_tool_warned=yes ;;
2479 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: no acceptable C compiler found in \$PATH
2482 See \`config.log' for more details." >&2;}
2483 { (exit 1); exit 1; }; }
2485 # Provide some information about the compiler.
2486 echo "$as_me:$LINENO: checking for C compiler version" >&5
2487 ac_compiler=`set X $ac_compile; echo $2`
2488 { (ac_try="$ac_compiler --version >&5"
2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2491 *) ac_try_echo=$ac_try;;
2493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2494 (eval "$ac_compiler --version >&5") 2>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }
2498 { (ac_try="$ac_compiler -v >&5"
2500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2504 (eval "$ac_compiler -v >&5") 2>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }
2508 { (ac_try="$ac_compiler -V >&5"
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2514 (eval "$ac_compiler -V >&5") 2>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }
2519 cat >conftest.$ac_ext <<_ACEOF
2522 cat confdefs.h >>conftest.$ac_ext
2523 cat >>conftest.$ac_ext <<_ACEOF
2524 /* end confdefs.h. */
2534 ac_clean_files_save=$ac_clean_files
2535 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2536 # Try to create an executable without -o first, disregard a.out.
2537 # It will help us diagnose broken compilers, and finding out an intuition
2539 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2540 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2541 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2543 # List of possible output files, starting from the most likely.
2544 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2545 # only as a last resort. b.out is created by i960 compilers.
2546 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2548 # The IRIX 6 linker writes into existing files which may not be
2549 # executable, retaining their permissions. Remove them first so a
2550 # subsequent execution test works.
2552 for ac_file in $ac_files
2555 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2556 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2561 if { (ac_try="$ac_link_default"
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2567 (eval "$ac_link_default") 2>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; then
2571 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2572 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2573 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2574 # so that the user can short-circuit this test for compilers unknown to
2576 for ac_file in $ac_files ''
2578 test -f "$ac_file" || continue
2580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2583 # We found the default executable, but exeext='' is most
2587 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2589 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2591 # We set ac_cv_exeext here because the later test for it is not
2592 # safe: cross compilers may not add the suffix if given an `-o'
2593 # argument, so we may need to know it at that point already.
2594 # Even if this section looks crufty: it has the advantage of
2601 test "$ac_cv_exeext" = no && ac_cv_exeext=
2607 { echo "$as_me:$LINENO: result: $ac_file" >&5
2608 echo "${ECHO_T}$ac_file" >&6; }
2609 if test -z "$ac_file"; then
2610 echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.$ac_ext >&5
2613 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2614 See \`config.log' for more details." >&5
2615 echo "$as_me: error: C compiler cannot create executables
2616 See \`config.log' for more details." >&2;}
2617 { (exit 77); exit 77; }; }
2620 ac_exeext=$ac_cv_exeext
2622 # Check that the compiler produces executables we can run. If not, either
2623 # the compiler is broken, or we cross compile.
2624 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2625 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2626 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2627 # If not cross compiling, check that we can run a simple program.
2628 if test "$cross_compiling" != yes; then
2629 if { ac_try='./$ac_file'
2630 { (case "(($ac_try" in
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2635 (eval "$ac_try") 2>&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2641 if test "$cross_compiling" = maybe; then
2644 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2645 If you meant to cross compile, use \`--host'.
2646 See \`config.log' for more details." >&5
2647 echo "$as_me: error: cannot run C compiled programs.
2648 If you meant to cross compile, use \`--host'.
2649 See \`config.log' for more details." >&2;}
2650 { (exit 1); exit 1; }; }
2654 { echo "$as_me:$LINENO: result: yes" >&5
2655 echo "${ECHO_T}yes" >&6; }
2657 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2658 ac_clean_files=$ac_clean_files_save
2659 # Check that the compiler produces executables we can run. If not, either
2660 # the compiler is broken, or we cross compile.
2661 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2662 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2663 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2664 echo "${ECHO_T}$cross_compiling" >&6; }
2666 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2667 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2668 if { (ac_try="$ac_link"
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2674 (eval "$ac_link") 2>&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; then
2678 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2679 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2680 # work properly (i.e., refer to `conftest.exe'), while it won't with
2682 for ac_file in conftest.exe conftest conftest.*; do
2683 test -f "$ac_file" || continue
2685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2686 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2692 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2693 See \`config.log' for more details." >&5
2694 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2695 See \`config.log' for more details." >&2;}
2696 { (exit 1); exit 1; }; }
2699 rm -f conftest$ac_cv_exeext
2700 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2701 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2703 rm -f conftest.$ac_ext
2704 EXEEXT=$ac_cv_exeext
2706 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2707 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2708 if test "${ac_cv_objext+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 cat >conftest.$ac_ext <<_ACEOF
2714 cat confdefs.h >>conftest.$ac_ext
2715 cat >>conftest.$ac_ext <<_ACEOF
2716 /* end confdefs.h. */
2726 rm -f conftest.o conftest.obj
2727 if { (ac_try="$ac_compile"
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2733 (eval "$ac_compile") 2>&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; then
2737 for ac_file in conftest.o conftest.obj conftest.*; do
2738 test -f "$ac_file" || continue;
2740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2741 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2746 echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2749 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2750 See \`config.log' for more details." >&5
2751 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2752 See \`config.log' for more details." >&2;}
2753 { (exit 1); exit 1; }; }
2756 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2758 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2759 echo "${ECHO_T}$ac_cv_objext" >&6; }
2760 OBJEXT=$ac_cv_objext
2762 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2763 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2764 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 cat >conftest.$ac_ext <<_ACEOF
2770 cat confdefs.h >>conftest.$ac_ext
2771 cat >>conftest.$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2794 grep -v '^ *+' conftest.er1 >conftest.err
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2814 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2815 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2816 GCC=`test $ac_compiler_gnu = yes && echo yes`
2817 ac_test_CFLAGS=${CFLAGS+set}
2818 ac_save_CFLAGS=$CFLAGS
2819 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2820 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2821 if test "${ac_cv_prog_cc_g+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2824 ac_save_c_werror_flag=$ac_c_werror_flag
2825 ac_c_werror_flag=yes
2828 cat >conftest.$ac_ext <<_ACEOF
2831 cat confdefs.h >>conftest.$ac_ext
2832 cat >>conftest.$ac_ext <<_ACEOF
2833 /* end confdefs.h. */
2843 rm -f conftest.$ac_objext
2844 if { (ac_try="$ac_compile"
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2850 (eval "$ac_compile") 2>conftest.er1
2852 grep -v '^ *+' conftest.er1 >conftest.err
2854 cat conftest.err >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); } && {
2857 test -z "$ac_c_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest.$ac_objext; then
2862 echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2866 cat >conftest.$ac_ext <<_ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2881 rm -f conftest.$ac_objext
2882 if { (ac_try="$ac_compile"
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2888 (eval "$ac_compile") 2>conftest.er1
2890 grep -v '^ *+' conftest.er1 >conftest.err
2892 cat conftest.err >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); } && {
2895 test -z "$ac_c_werror_flag" ||
2896 test ! -s conftest.err
2897 } && test -s conftest.$ac_objext; then
2900 echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2903 ac_c_werror_flag=$ac_save_c_werror_flag
2905 cat >conftest.$ac_ext <<_ACEOF
2908 cat confdefs.h >>conftest.$ac_ext
2909 cat >>conftest.$ac_ext <<_ACEOF
2910 /* end confdefs.h. */
2920 rm -f conftest.$ac_objext
2921 if { (ac_try="$ac_compile"
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2927 (eval "$ac_compile") 2>conftest.er1
2929 grep -v '^ *+' conftest.er1 >conftest.err
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } && {
2934 test -z "$ac_c_werror_flag" ||
2935 test ! -s conftest.err
2936 } && test -s conftest.$ac_objext; then
2939 echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 ac_c_werror_flag=$ac_save_c_werror_flag
2954 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2955 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2956 if test "$ac_test_CFLAGS" = set; then
2957 CFLAGS=$ac_save_CFLAGS
2958 elif test $ac_cv_prog_cc_g = yes; then
2959 if test "$GCC" = yes; then
2965 if test "$GCC" = yes; then
2971 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2972 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_cc_c89+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 ac_cv_prog_cc_c89=no
2978 cat >conftest.$ac_ext <<_ACEOF
2981 cat confdefs.h >>conftest.$ac_ext
2982 cat >>conftest.$ac_ext <<_ACEOF
2983 /* end confdefs.h. */
2986 #include <sys/types.h>
2987 #include <sys/stat.h>
2988 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2989 struct buf { int x; };
2990 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2991 static char *e (p, i)
2997 static char *f (char * (*g) (char **, int), char **p, ...)
3002 s = g (p, va_arg (v,int));
3007 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3008 function prototypes and stuff, but not '\xHH' hex character constants.
3009 These don't provoke an error unfortunately, instead are silently treated
3010 as 'x'. The following induces an error, until -std is added to get
3011 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3012 array size at least. It's necessary to write '\x00'==0 to get something
3013 that's true only with -std. */
3014 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3016 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3017 inside strings and character constants. */
3019 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3021 int test (int i, double x);
3022 struct s1 {int (*f) (int a);};
3023 struct s2 {int (*f) (double a);};
3024 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3030 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3035 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3036 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3038 CC="$ac_save_CC $ac_arg"
3039 rm -f conftest.$ac_objext
3040 if { (ac_try="$ac_compile"
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3046 (eval "$ac_compile") 2>conftest.er1
3048 grep -v '^ *+' conftest.er1 >conftest.err
3050 cat conftest.err >&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); } && {
3053 test -z "$ac_c_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then
3056 ac_cv_prog_cc_c89=$ac_arg
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3064 rm -f core conftest.err conftest.$ac_objext
3065 test "x$ac_cv_prog_cc_c89" != "xno" && break
3067 rm -f conftest.$ac_ext
3072 case "x$ac_cv_prog_cc_c89" in
3074 { echo "$as_me:$LINENO: result: none needed" >&5
3075 echo "${ECHO_T}none needed" >&6; } ;;
3077 { echo "$as_me:$LINENO: result: unsupported" >&5
3078 echo "${ECHO_T}unsupported" >&6; } ;;
3080 CC="$CC $ac_cv_prog_cc_c89"
3081 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3082 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3087 ac_cpp='$CPP $CPPFLAGS'
3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3094 ac_cpp='$CPP $CPPFLAGS'
3095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3098 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3099 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3100 # On Suns, sometimes $CPP names a directory.
3101 if test -n "$CPP" && test -d "$CPP"; then
3104 if test -z "$CPP"; then
3105 if test "${ac_cv_prog_CPP+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3108 # Double quotes because CPP needs to be expanded
3109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3112 for ac_c_preproc_warn_flag in '' yes
3114 # Use a header file that comes with gcc, so configuring glibc
3115 # with a fresh cross-compiler works.
3116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3117 # <limits.h> exists even on freestanding compilers.
3118 # On the NeXT, cc -E runs the code through the compiler's parser,
3119 # not just through cpp. "Syntax error" is here to catch this case.
3120 cat >conftest.$ac_ext <<_ACEOF
3123 cat confdefs.h >>conftest.$ac_ext
3124 cat >>conftest.$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3127 # include <limits.h>
3129 # include <assert.h>
3133 if { (ac_try="$ac_cpp conftest.$ac_ext"
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } >/dev/null && {
3146 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3147 test ! -s conftest.err
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3154 # Broken: fails on valid input.
3158 rm -f conftest.err conftest.$ac_ext
3160 # OK, works on sane cases. Now check whether nonexistent headers
3161 # can be detected and how.
3162 cat >conftest.$ac_ext <<_ACEOF
3165 cat confdefs.h >>conftest.$ac_ext
3166 cat >>conftest.$ac_ext <<_ACEOF
3167 /* end confdefs.h. */
3168 #include <ac_nonexistent.h>
3170 if { (ac_try="$ac_cpp conftest.$ac_ext"
3172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3178 grep -v '^ *+' conftest.er1 >conftest.err
3180 cat conftest.err >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } >/dev/null && {
3183 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3184 test ! -s conftest.err
3186 # Broken: success on invalid input.
3189 echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3192 # Passes both tests.
3197 rm -f conftest.err conftest.$ac_ext
3200 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3201 rm -f conftest.err conftest.$ac_ext
3202 if $ac_preproc_ok; then
3214 { echo "$as_me:$LINENO: result: $CPP" >&5
3215 echo "${ECHO_T}$CPP" >&6; }
3217 for ac_c_preproc_warn_flag in '' yes
3219 # Use a header file that comes with gcc, so configuring glibc
3220 # with a fresh cross-compiler works.
3221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3222 # <limits.h> exists even on freestanding compilers.
3223 # On the NeXT, cc -E runs the code through the compiler's parser,
3224 # not just through cpp. "Syntax error" is here to catch this case.
3225 cat >conftest.$ac_ext <<_ACEOF
3228 cat confdefs.h >>conftest.$ac_ext
3229 cat >>conftest.$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3232 # include <limits.h>
3234 # include <assert.h>
3238 if { (ac_try="$ac_cpp conftest.$ac_ext"
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3244 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3246 grep -v '^ *+' conftest.er1 >conftest.err
3248 cat conftest.err >&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } >/dev/null && {
3251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3252 test ! -s conftest.err
3256 echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3259 # Broken: fails on valid input.
3263 rm -f conftest.err conftest.$ac_ext
3265 # OK, works on sane cases. Now check whether nonexistent headers
3266 # can be detected and how.
3267 cat >conftest.$ac_ext <<_ACEOF
3270 cat confdefs.h >>conftest.$ac_ext
3271 cat >>conftest.$ac_ext <<_ACEOF
3272 /* end confdefs.h. */
3273 #include <ac_nonexistent.h>
3275 if { (ac_try="$ac_cpp conftest.$ac_ext"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3283 grep -v '^ *+' conftest.er1 >conftest.err
3285 cat conftest.err >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } >/dev/null && {
3288 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3289 test ! -s conftest.err
3291 # Broken: success on invalid input.
3294 echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3297 # Passes both tests.
3302 rm -f conftest.err conftest.$ac_ext
3305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3306 rm -f conftest.err conftest.$ac_ext
3307 if $ac_preproc_ok; then
3310 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3311 See \`config.log' for more details." >&5
3312 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3313 See \`config.log' for more details." >&2;}
3314 { (exit 1); exit 1; }; }
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3325 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3326 if test "${ac_cv_path_GREP+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 # Extract the first word of "grep ggrep" to use in msg output
3330 if test -z "$GREP"; then
3331 set dummy grep ggrep; ac_prog_name=$2
3332 if test "${ac_cv_path_GREP+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 ac_path_GREP_found=false
3336 # Loop through the user's path and test for each of PROGNAME-LIST
3337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3341 test -z "$as_dir" && as_dir=.
3342 for ac_prog in grep ggrep; do
3343 for ac_exec_ext in '' $ac_executable_extensions; do
3344 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3345 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3346 # Check for GNU ac_path_GREP and select it if it is found.
3347 # Check for GNU $ac_path_GREP
3348 case `"$ac_path_GREP" --version 2>&1` in
3350 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3353 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3356 cat "conftest.in" "conftest.in" >"conftest.tmp"
3357 mv "conftest.tmp" "conftest.in"
3358 cp "conftest.in" "conftest.nl"
3359 echo 'GREP' >> "conftest.nl"
3360 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3362 ac_count=`expr $ac_count + 1`
3363 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3364 # Best one so far, save it but keep looking for a better one
3365 ac_cv_path_GREP="$ac_path_GREP"
3366 ac_path_GREP_max=$ac_count
3368 # 10*(2^10) chars as input seems more than enough
3369 test $ac_count -gt 10 && break
3371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3375 $ac_path_GREP_found && break 3
3385 GREP="$ac_cv_path_GREP"
3386 if test -z "$GREP"; then
3387 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3388 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3389 { (exit 1); exit 1; }; }
3393 ac_cv_path_GREP=$GREP
3398 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3399 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3400 GREP="$ac_cv_path_GREP"
3403 { echo "$as_me:$LINENO: checking for egrep" >&5
3404 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3405 if test "${ac_cv_path_EGREP+set}" = set; then
3406 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3409 then ac_cv_path_EGREP="$GREP -E"
3411 # Extract the first word of "egrep" to use in msg output
3412 if test -z "$EGREP"; then
3413 set dummy egrep; ac_prog_name=$2
3414 if test "${ac_cv_path_EGREP+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 ac_path_EGREP_found=false
3418 # Loop through the user's path and test for each of PROGNAME-LIST
3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3423 test -z "$as_dir" && as_dir=.
3424 for ac_prog in egrep; do
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3427 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3428 # Check for GNU ac_path_EGREP and select it if it is found.
3429 # Check for GNU $ac_path_EGREP
3430 case `"$ac_path_EGREP" --version 2>&1` in
3432 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3435 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3438 cat "conftest.in" "conftest.in" >"conftest.tmp"
3439 mv "conftest.tmp" "conftest.in"
3440 cp "conftest.in" "conftest.nl"
3441 echo 'EGREP' >> "conftest.nl"
3442 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3443 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3444 ac_count=`expr $ac_count + 1`
3445 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3446 # Best one so far, save it but keep looking for a better one
3447 ac_cv_path_EGREP="$ac_path_EGREP"
3448 ac_path_EGREP_max=$ac_count
3450 # 10*(2^10) chars as input seems more than enough
3451 test $ac_count -gt 10 && break
3453 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3457 $ac_path_EGREP_found && break 3
3467 EGREP="$ac_cv_path_EGREP"
3468 if test -z "$EGREP"; then
3469 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3470 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3471 { (exit 1); exit 1; }; }
3475 ac_cv_path_EGREP=$EGREP
3481 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3482 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3483 EGREP="$ac_cv_path_EGREP"
3487 { echo "$as_me:$LINENO: checking for AIX" >&5
3488 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3489 cat >conftest.$ac_ext <<_ACEOF
3492 cat confdefs.h >>conftest.$ac_ext
3493 cat >>conftest.$ac_ext <<_ACEOF
3494 /* end confdefs.h. */
3500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3501 $EGREP "yes" >/dev/null 2>&1; then
3502 { echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6; }
3504 cat >>confdefs.h <<\_ACEOF
3505 #define _ALL_SOURCE 1
3509 { echo "$as_me:$LINENO: result: no" >&5
3510 echo "${ECHO_T}no" >&6; }
3515 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3516 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3517 if test "${ac_cv_header_stdc+set}" = set; then
3518 echo $ECHO_N "(cached) $ECHO_C" >&6
3520 cat >conftest.$ac_ext <<_ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3539 rm -f conftest.$ac_objext
3540 if { (ac_try="$ac_compile"
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3546 (eval "$ac_compile") 2>conftest.er1
3548 grep -v '^ *+' conftest.er1 >conftest.err
3550 cat conftest.err >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); } && {
3553 test -z "$ac_c_werror_flag" ||
3554 test ! -s conftest.err
3555 } && test -s conftest.$ac_objext; then
3556 ac_cv_header_stdc=yes
3558 echo "$as_me: failed program was:" >&5
3559 sed 's/^/| /' conftest.$ac_ext >&5
3561 ac_cv_header_stdc=no
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 if test $ac_cv_header_stdc = yes; then
3567 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3568 cat >conftest.$ac_ext <<_ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3578 $EGREP "memchr" >/dev/null 2>&1; then
3581 ac_cv_header_stdc=no
3587 if test $ac_cv_header_stdc = yes; then
3588 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3589 cat >conftest.$ac_ext <<_ACEOF
3592 cat confdefs.h >>conftest.$ac_ext
3593 cat >>conftest.$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3599 $EGREP "free" >/dev/null 2>&1; then
3602 ac_cv_header_stdc=no
3608 if test $ac_cv_header_stdc = yes; then
3609 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3610 if test "$cross_compiling" = yes; then
3613 cat >conftest.$ac_ext <<_ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3621 #if ((' ' & 0x0FF) == 0x020)
3622 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3623 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3625 # define ISLOWER(c) \
3626 (('a' <= (c) && (c) <= 'i') \
3627 || ('j' <= (c) && (c) <= 'r') \
3628 || ('s' <= (c) && (c) <= 'z'))
3629 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3632 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3637 for (i = 0; i < 256; i++)
3638 if (XOR (islower (i), ISLOWER (i))
3639 || toupper (i) != TOUPPER (i))
3644 rm -f conftest$ac_exeext
3645 if { (ac_try="$ac_link"
3647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648 *) ac_try_echo=$ac_try;;
3650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3651 (eval "$ac_link") 2>&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3655 { (case "(($ac_try" in
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3660 (eval "$ac_try") 2>&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; }; then
3666 echo "$as_me: program exited with status $ac_status" >&5
3667 echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.$ac_ext >&5
3671 ac_cv_header_stdc=no
3673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3679 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3680 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3681 if test $ac_cv_header_stdc = yes; then
3683 cat >>confdefs.h <<\_ACEOF
3684 #define STDC_HEADERS 1
3689 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3699 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3700 inttypes.h stdint.h unistd.h
3702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3703 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3705 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 cat >conftest.$ac_ext <<_ACEOF
3711 cat confdefs.h >>conftest.$ac_ext
3712 cat >>conftest.$ac_ext <<_ACEOF
3713 /* end confdefs.h. */
3714 $ac_includes_default
3716 #include <$ac_header>
3718 rm -f conftest.$ac_objext
3719 if { (ac_try="$ac_compile"
3721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3722 *) ac_try_echo=$ac_try;;
3724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3725 (eval "$ac_compile") 2>conftest.er1
3727 grep -v '^ *+' conftest.er1 >conftest.err
3729 cat conftest.err >&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); } && {
3732 test -z "$ac_c_werror_flag" ||
3733 test ! -s conftest.err
3734 } && test -s conftest.$ac_objext; then
3735 eval "$as_ac_Header=yes"
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3740 eval "$as_ac_Header=no"
3743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745 ac_res=`eval echo '${'$as_ac_Header'}'`
3746 { echo "$as_me:$LINENO: result: $ac_res" >&5
3747 echo "${ECHO_T}$ac_res" >&6; }
3748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3749 cat >>confdefs.h <<_ACEOF
3750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3758 if test "${ac_cv_header_minix_config_h+set}" = set; then
3759 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3760 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3761 if test "${ac_cv_header_minix_config_h+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3765 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3767 # Is the header compilable?
3768 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3769 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3770 cat >conftest.$ac_ext <<_ACEOF
3773 cat confdefs.h >>conftest.$ac_ext
3774 cat >>conftest.$ac_ext <<_ACEOF
3775 /* end confdefs.h. */
3776 $ac_includes_default
3777 #include <minix/config.h>
3779 rm -f conftest.$ac_objext
3780 if { (ac_try="$ac_compile"
3782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783 *) ac_try_echo=$ac_try;;
3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3786 (eval "$ac_compile") 2>conftest.er1
3788 grep -v '^ *+' conftest.er1 >conftest.err
3790 cat conftest.err >&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); } && {
3793 test -z "$ac_c_werror_flag" ||
3794 test ! -s conftest.err
3795 } && test -s conftest.$ac_objext; then
3796 ac_header_compiler=yes
3798 echo "$as_me: failed program was:" >&5
3799 sed 's/^/| /' conftest.$ac_ext >&5
3801 ac_header_compiler=no
3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3805 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3806 echo "${ECHO_T}$ac_header_compiler" >&6; }
3808 # Is the header present?
3809 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3810 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3811 cat >conftest.$ac_ext <<_ACEOF
3814 cat confdefs.h >>conftest.$ac_ext
3815 cat >>conftest.$ac_ext <<_ACEOF
3816 /* end confdefs.h. */
3817 #include <minix/config.h>
3819 if { (ac_try="$ac_cpp conftest.$ac_ext"
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3827 grep -v '^ *+' conftest.er1 >conftest.err
3829 cat conftest.err >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } >/dev/null && {
3832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3833 test ! -s conftest.err
3835 ac_header_preproc=yes
3837 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.$ac_ext >&5
3840 ac_header_preproc=no
3843 rm -f conftest.err conftest.$ac_ext
3844 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3845 echo "${ECHO_T}$ac_header_preproc" >&6; }
3847 # So? What about this header?
3848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3850 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3851 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3852 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3853 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3854 ac_header_preproc=yes
3857 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3858 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3859 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3860 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3861 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3862 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3863 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3864 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3865 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3866 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3867 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3868 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3872 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3873 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3874 if test "${ac_cv_header_minix_config_h+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 ac_cv_header_minix_config_h=$ac_header_preproc
3879 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3880 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3883 if test $ac_cv_header_minix_config_h = yes; then
3890 if test "$MINIX" = yes; then
3892 cat >>confdefs.h <<\_ACEOF
3893 #define _POSIX_SOURCE 1
3897 cat >>confdefs.h <<\_ACEOF
3898 #define _POSIX_1_SOURCE 2
3902 cat >>confdefs.h <<\_ACEOF
3918 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3919 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3920 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 cat >conftest.$ac_ext <<_ACEOF
3926 cat confdefs.h >>conftest.$ac_ext
3927 cat >>conftest.$ac_ext <<_ACEOF
3928 /* end confdefs.h. */
3930 # define __EXTENSIONS__ 1
3931 $ac_includes_default
3940 rm -f conftest.$ac_objext
3941 if { (ac_try="$ac_compile"
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3947 (eval "$ac_compile") 2>conftest.er1