2 # From configure.ac Revision: 67029 .
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
893 ZAPTEL_TRANSCODE_INCLUDE
897 ZAPTEL_VLDTMF_INCLUDE
935 ac_precious_vars='build_alias
950 # Initialize some variables set by options.
952 ac_init_version=false
953 # The variables have the same names as the options, with
954 # dashes changed to underlines.
962 program_transform_name=s,x,x,
970 # Installation directory options.
971 # These are left unexpanded so users can "make install exec_prefix=/foo"
972 # and all the variables that are supposed to be based on exec_prefix
973 # by default will actually change.
974 # Use braces instead of parens because sh, perl, etc. also accept them.
975 # (The list follows the same order as the GNU Coding Standards.)
976 bindir='${exec_prefix}/bin'
977 sbindir='${exec_prefix}/sbin'
978 libexecdir='${exec_prefix}/libexec'
979 datarootdir='${prefix}/share'
980 datadir='${datarootdir}'
981 sysconfdir='${prefix}/etc'
982 sharedstatedir='${prefix}/com'
983 localstatedir='${prefix}/var'
984 includedir='${prefix}/include'
985 oldincludedir='/usr/include'
986 docdir='${datarootdir}/doc/${PACKAGE}'
987 infodir='${datarootdir}/info'
992 libdir='${exec_prefix}/lib'
993 localedir='${datarootdir}/locale'
994 mandir='${datarootdir}/man'
1000 # If the previous option needs an argument, assign it.
1001 if test -n "$ac_prev"; then
1002 eval $ac_prev=\$ac_option
1008 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1012 # Accept the important Cygnus configure options, so we can diagnose typos.
1014 case $ac_dashdash$ac_option in
1018 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1020 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1021 bindir=$ac_optarg ;;
1023 -build | --build | --buil | --bui | --bu)
1024 ac_prev=build_alias ;;
1025 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1026 build_alias=$ac_optarg ;;
1028 -cache-file | --cache-file | --cache-fil | --cache-fi \
1029 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1030 ac_prev=cache_file ;;
1031 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1032 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1033 cache_file=$ac_optarg ;;
1035 --config-cache | -C)
1036 cache_file=config.cache ;;
1038 -datadir | --datadir | --datadi | --datad)
1040 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1041 datadir=$ac_optarg ;;
1043 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1044 | --dataroo | --dataro | --datar)
1045 ac_prev=datarootdir ;;
1046 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1047 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1048 datarootdir=$ac_optarg ;;
1050 -disable-* | --disable-*)
1051 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1054 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1055 { (exit 1); exit 1; }; }
1056 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1057 eval enable_$ac_feature=no ;;
1059 -docdir | --docdir | --docdi | --doc | --do)
1061 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1062 docdir=$ac_optarg ;;
1064 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1066 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1067 dvidir=$ac_optarg ;;
1069 -enable-* | --enable-*)
1070 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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=\$ac_optarg ;;
1078 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1079 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1080 | --exec | --exe | --ex)
1081 ac_prev=exec_prefix ;;
1082 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1083 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1084 | --exec=* | --exe=* | --ex=*)
1085 exec_prefix=$ac_optarg ;;
1087 -gas | --gas | --ga | --g)
1088 # Obsolete; use --with-gas.
1091 -help | --help | --hel | --he | -h)
1092 ac_init_help=long ;;
1093 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1094 ac_init_help=recursive ;;
1095 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1096 ac_init_help=short ;;
1098 -host | --host | --hos | --ho)
1099 ac_prev=host_alias ;;
1100 -host=* | --host=* | --hos=* | --ho=*)
1101 host_alias=$ac_optarg ;;
1103 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1105 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1107 htmldir=$ac_optarg ;;
1109 -includedir | --includedir | --includedi | --included | --include \
1110 | --includ | --inclu | --incl | --inc)
1111 ac_prev=includedir ;;
1112 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1113 | --includ=* | --inclu=* | --incl=* | --inc=*)
1114 includedir=$ac_optarg ;;
1116 -infodir | --infodir | --infodi | --infod | --info | --inf)
1118 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1119 infodir=$ac_optarg ;;
1121 -libdir | --libdir | --libdi | --libd)
1123 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1124 libdir=$ac_optarg ;;
1126 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1127 | --libexe | --libex | --libe)
1128 ac_prev=libexecdir ;;
1129 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1130 | --libexe=* | --libex=* | --libe=*)
1131 libexecdir=$ac_optarg ;;
1133 -localedir | --localedir | --localedi | --localed | --locale)
1134 ac_prev=localedir ;;
1135 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1136 localedir=$ac_optarg ;;
1138 -localstatedir | --localstatedir | --localstatedi | --localstated \
1139 | --localstate | --localstat | --localsta | --localst | --locals)
1140 ac_prev=localstatedir ;;
1141 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1142 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1143 localstatedir=$ac_optarg ;;
1145 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1147 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1148 mandir=$ac_optarg ;;
1150 -nfp | --nfp | --nf)
1151 # Obsolete; use --without-fp.
1154 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1155 | --no-cr | --no-c | -n)
1158 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1159 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1162 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1163 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1164 | --oldin | --oldi | --old | --ol | --o)
1165 ac_prev=oldincludedir ;;
1166 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1167 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1168 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1169 oldincludedir=$ac_optarg ;;
1171 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1173 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1174 prefix=$ac_optarg ;;
1176 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1177 | --program-pre | --program-pr | --program-p)
1178 ac_prev=program_prefix ;;
1179 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1180 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1181 program_prefix=$ac_optarg ;;
1183 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1184 | --program-suf | --program-su | --program-s)
1185 ac_prev=program_suffix ;;
1186 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1187 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1188 program_suffix=$ac_optarg ;;
1190 -program-transform-name | --program-transform-name \
1191 | --program-transform-nam | --program-transform-na \
1192 | --program-transform-n | --program-transform- \
1193 | --program-transform | --program-transfor \
1194 | --program-transfo | --program-transf \
1195 | --program-trans | --program-tran \
1196 | --progr-tra | --program-tr | --program-t)
1197 ac_prev=program_transform_name ;;
1198 -program-transform-name=* | --program-transform-name=* \
1199 | --program-transform-nam=* | --program-transform-na=* \
1200 | --program-transform-n=* | --program-transform-=* \
1201 | --program-transform=* | --program-transfor=* \
1202 | --program-transfo=* | --program-transf=* \
1203 | --program-trans=* | --program-tran=* \
1204 | --progr-tra=* | --program-tr=* | --program-t=*)
1205 program_transform_name=$ac_optarg ;;
1207 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1209 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1210 pdfdir=$ac_optarg ;;
1212 -psdir | --psdir | --psdi | --psd | --ps)
1214 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1221 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1223 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1225 sbindir=$ac_optarg ;;
1227 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1228 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1229 | --sharedst | --shareds | --shared | --share | --shar \
1231 ac_prev=sharedstatedir ;;
1232 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1233 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1234 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1236 sharedstatedir=$ac_optarg ;;
1238 -site | --site | --sit)
1240 -site=* | --site=* | --sit=*)
1243 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1245 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1246 srcdir=$ac_optarg ;;
1248 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1249 | --syscon | --sysco | --sysc | --sys | --sy)
1250 ac_prev=sysconfdir ;;
1251 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1252 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1253 sysconfdir=$ac_optarg ;;
1255 -target | --target | --targe | --targ | --tar | --ta | --t)
1256 ac_prev=target_alias ;;
1257 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1258 target_alias=$ac_optarg ;;
1260 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1263 -version | --version | --versio | --versi | --vers | -V)
1264 ac_init_version=: ;;
1267 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1270 { echo "$as_me: error: invalid package name: $ac_package" >&2
1271 { (exit 1); exit 1; }; }
1272 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1273 eval with_$ac_package=\$ac_optarg ;;
1275 -without-* | --without-*)
1276 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1277 # Reject names that are not valid shell variable names.
1278 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1279 { echo "$as_me: error: invalid package name: $ac_package" >&2
1280 { (exit 1); exit 1; }; }
1281 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1282 eval with_$ac_package=no ;;
1285 # Obsolete; use --with-x.
1288 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1289 | --x-incl | --x-inc | --x-in | --x-i)
1290 ac_prev=x_includes ;;
1291 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1292 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1293 x_includes=$ac_optarg ;;
1295 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1296 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1297 ac_prev=x_libraries ;;
1298 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1299 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1300 x_libraries=$ac_optarg ;;
1302 -*) { echo "$as_me: error: unrecognized option: $ac_option
1303 Try \`$0 --help' for more information." >&2
1304 { (exit 1); exit 1; }; }
1308 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1311 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1312 { (exit 1); exit 1; }; }
1313 eval $ac_envvar=\$ac_optarg
1314 export $ac_envvar ;;
1317 # FIXME: should be removed in autoconf 3.0.
1318 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327 if test -n "$ac_prev"; then
1328 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1329 { echo "$as_me: error: missing argument to $ac_option" >&2
1330 { (exit 1); exit 1; }; }
1333 # Be sure to have absolute directory names.
1334 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1335 datadir sysconfdir sharedstatedir localstatedir includedir \
1336 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1337 libdir localedir mandir
1339 eval ac_val=\$$ac_var
1341 [\\/$]* | ?:[\\/]* ) continue;;
1342 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1344 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1345 { (exit 1); exit 1; }; }
1348 # There might be people who depend on the old broken behavior: `$host'
1349 # used to hold the argument of --host etc.
1350 # FIXME: To remove some day.
1353 target=$target_alias
1355 # FIXME: To remove some day.
1356 if test "x$host_alias" != x; then
1357 if test "x$build_alias" = x; then
1358 cross_compiling=maybe
1359 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1360 If a cross compiler is detected then cross compile mode will be used." >&2
1361 elif test "x$build_alias" != "x$host_alias"; then
1367 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1369 test "$silent" = yes && exec 6>/dev/null
1372 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1373 ac_ls_di=`ls -di .` &&
1374 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1375 { echo "$as_me: error: Working directory cannot be determined" >&2
1376 { (exit 1); exit 1; }; }
1377 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378 { echo "$as_me: error: pwd does not report name of working directory" >&2
1379 { (exit 1); exit 1; }; }
1382 # Find the source files, if location was not specified.
1383 if test -z "$srcdir"; then
1384 ac_srcdir_defaulted=yes
1385 # Try the directory containing this script, then the parent directory.
1386 ac_confdir=`$as_dirname -- "$0" ||
1387 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1388 X"$0" : 'X\(//\)[^/]' \| \
1389 X"$0" : 'X\(//\)$' \| \
1390 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1414 ac_srcdir_defaulted=no
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1417 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1418 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1419 { (exit 1); exit 1; }; }
1421 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1423 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1424 { (exit 1); exit 1; }; }
1426 # When building in place, set srcdir=.
1427 if test "$ac_abs_confdir" = "$ac_pwd"; then
1430 # Remove unnecessary trailing slashes from srcdir.
1431 # Double slashes in file names in object file debugging info
1432 # mess up M-x gdb in Emacs.
1434 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 for ac_var in $ac_precious_vars; do
1437 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1438 eval ac_env_${ac_var}_value=\$${ac_var}
1439 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1440 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1444 # Report the --help message.
1446 if test "$ac_init_help" = "long"; then
1447 # Omit some internal or obsolete options to make the list less imposing.
1448 # This message is too long to be a string in the A/UX 3.1 sh.
1450 \`configure' configures this package to adapt to many kinds of systems.
1452 Usage: $0 [OPTION]... [VAR=VALUE]...
1454 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1455 VAR=VALUE. See below for descriptions of some of the useful variables.
1457 Defaults for the options are specified in brackets.
1460 -h, --help display this help and exit
1461 --help=short display options specific to this package
1462 --help=recursive display the short help of all the included packages
1463 -V, --version display version information and exit
1464 -q, --quiet, --silent do not print \`checking...' messages
1465 --cache-file=FILE cache test results in FILE [disabled]
1466 -C, --config-cache alias for \`--cache-file=config.cache'
1467 -n, --no-create do not create output files
1468 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1470 Installation directories:
1471 --prefix=PREFIX install architecture-independent files in PREFIX
1472 [$ac_default_prefix]
1473 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1476 By default, \`make install' will install all the files in
1477 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1478 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1479 for instance \`--prefix=\$HOME'.
1481 For better control, use the options below.
1483 Fine tuning of the installation directories:
1484 --bindir=DIR user executables [EPREFIX/bin]
1485 --sbindir=DIR system admin executables [EPREFIX/sbin]
1486 --libexecdir=DIR program executables [EPREFIX/libexec]
1487 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1488 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1489 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1490 --libdir=DIR object code libraries [EPREFIX/lib]
1491 --includedir=DIR C header files [PREFIX/include]
1492 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1493 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1494 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1495 --infodir=DIR info documentation [DATAROOTDIR/info]
1496 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1497 --mandir=DIR man documentation [DATAROOTDIR/man]
1498 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1499 --htmldir=DIR html documentation [DOCDIR]
1500 --dvidir=DIR dvi documentation [DOCDIR]
1501 --pdfdir=DIR pdf documentation [DOCDIR]
1502 --psdir=DIR ps documentation [DOCDIR]
1508 --build=BUILD configure for building on BUILD [guessed]
1509 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1513 if test -n "$ac_init_help"; then
1518 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1519 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1520 --enable-dev-mode Turn on developer mode
1521 --disable-largefile omit support for large files
1524 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1525 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1526 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1527 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1528 --with-execinfo=PATH use Stack Backtrace support files in PATH
1529 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1530 --with-curl=PATH use cURL files in PATH
1531 --with-curses=PATH use curses files in PATH
1532 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1533 --with-gnutls=PATH use GNU TLS support (used for iksemel only) files in
1535 --with-gsm=PATH use GSM files in PATH , or 'internal'
1536 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1537 --with-imap=PATH use UW IMAP Toolkit files in PATH
1538 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1539 --with-kde=PATH use KDE files in PATH
1540 --with-ltdl=PATH use libtool files in PATH
1541 --with-misdn=PATH use mISDN User Library files in PATH
1542 --with-nbs=PATH use Network Broadcast Sound files in PATH
1543 --with-ncurses=PATH use ncurses files in PATH
1544 --with-netsnmp=PATH use Net-SNMP files in PATH
1545 --with-newt=PATH use newt files in PATH
1546 --with-odbc=PATH use unixODBC files in PATH
1547 --with-ogg=PATH use OGG files in PATH
1548 --with-osptk=PATH use OSP Toolkit files in PATH
1549 --with-oss=PATH use Open Sound System files in PATH
1550 --with-popt=PATH use popt files in PATH
1551 --with-postgres=PATH use PostgreSQL files in PATH
1552 --with-pri=PATH use ISDN PRI files in PATH
1553 --with-ss7=PATH use ISDN SS7 files in PATH
1554 --with-pwlib=PATH use PWlib files in PATH
1555 --with-h323=PATH use OpenH323 files in PATH
1556 --with-qt=PATH use Qt files in PATH
1557 --with-radius=PATH use Radius Client files in PATH
1558 --with-speex=PATH use Speex files in PATH
1559 --with-sqlite=PATH use SQLite files in PATH
1560 --with-sqlite3=PATH use SQLite files in PATH
1561 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1562 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1564 --with-tds=PATH use FreeTDS files in PATH
1565 --with-termcap=PATH use Termcap files in PATH
1566 --with-tinfo=PATH use Term Info files in PATH
1567 --with-tonezone=PATH use tonezone files in PATH
1568 --with-vorbis=PATH use Vorbis files in PATH
1569 --with-vpb=PATH use Voicetronix API files in PATH
1570 --with-z=PATH use zlib files in PATH
1571 --with-zaptel=PATH use Zaptel files in PATH
1572 --with-zaptel_transcode=PATH
1573 use Zaptel_transcode files in PATH
1574 --with-zaptel_vldtmf=PATH
1575 use Zaptel_vldtmf files in PATH
1577 Some influential environment variables:
1578 CC C compiler command
1579 CFLAGS C compiler flags
1580 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1581 nonstandard directory <lib dir>
1582 LIBS libraries to pass to the linker, e.g. -l<library>
1583 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1584 you have headers in a nonstandard directory <include dir>
1586 CXX C++ compiler command
1587 CXXFLAGS C++ compiler flags
1588 CXXCPP C++ preprocessor
1590 Use these variables to override the choices made by `configure' or to help
1591 it to find libraries and programs with nonstandard names/locations.
1597 if test "$ac_init_help" = "recursive"; then
1598 # If there are subdirs, report their specific --help.
1599 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1600 test -d "$ac_dir" || continue
1604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1607 # A ".." for each directory in $ac_dir_suffix.
1608 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1609 case $ac_top_builddir_sub in
1610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1614 ac_abs_top_builddir=$ac_pwd
1615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1616 # for backward compatibility:
1617 ac_top_builddir=$ac_top_build_prefix
1620 .) # We are building in place.
1622 ac_top_srcdir=$ac_top_builddir_sub
1623 ac_abs_top_srcdir=$ac_pwd ;;
1624 [\\/]* | ?:[\\/]* ) # Absolute name.
1625 ac_srcdir=$srcdir$ac_dir_suffix;
1626 ac_top_srcdir=$srcdir
1627 ac_abs_top_srcdir=$srcdir ;;
1629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1630 ac_top_srcdir=$ac_top_build_prefix$srcdir
1631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1635 cd "$ac_dir" || { ac_status=$?; continue; }
1636 # Check for guested configure.
1637 if test -f "$ac_srcdir/configure.gnu"; then
1639 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1640 elif test -f "$ac_srcdir/configure"; then
1642 $SHELL "$ac_srcdir/configure" --help=recursive
1644 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1646 cd "$ac_pwd" || { ac_status=$?; break; }
1650 test -n "$ac_init_help" && exit $ac_status
1651 if $ac_init_version; then
1654 generated by GNU Autoconf 2.61
1656 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1657 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1658 This configure script is free software; the Free Software Foundation
1659 gives unlimited permission to copy, distribute and modify it.
1665 cat >config.log <<_ACEOF
1666 This file contains any messages produced by compilers while
1667 running configure, to aid debugging if configure makes a mistake.
1669 It was created by $as_me, which was
1670 generated by GNU Autoconf 2.61. Invocation command line was
1682 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1683 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1684 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1685 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1686 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1688 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1689 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1691 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1692 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1693 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1694 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1695 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1696 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1697 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir=.
1706 echo "PATH: $as_dir"
1722 # Keep a trace of the command line.
1723 # Strip out --no-create and --no-recursion so they do not pile up.
1724 # Strip out --silent because we don't want to record it for future runs.
1725 # Also quote any args containing shell meta-characters.
1726 # Make two passes to allow for proper duplicate-argument suppression.
1730 ac_must_keep_next=false
1736 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1738 | -silent | --silent | --silen | --sile | --sil)
1741 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1744 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1746 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1747 if test $ac_must_keep_next = true; then
1748 ac_must_keep_next=false # Got value, back to normal.
1751 *=* | --config-cache | -C | -disable-* | --disable-* \
1752 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1753 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1754 | -with-* | --with-* | -without-* | --without-* | --x)
1755 case "$ac_configure_args0 " in
1756 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1759 -* ) ac_must_keep_next=true ;;
1762 ac_configure_args="$ac_configure_args '$ac_arg'"
1767 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1768 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1770 # When interrupted or exit'd, cleanup temporary files, and complete
1771 # config.log. We remove comments because anyway the quotes in there
1772 # would cause problems or look ugly.
1773 # WARNING: Use '\'' to represent an apostrophe within the trap.
1774 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1775 trap 'exit_status=$?
1776 # Save into config.log some information that might help in debugging.
1781 ## ---------------- ##
1782 ## Cache variables. ##
1783 ## ---------------- ##
1786 # The following way of writing the cache mishandles newlines in values,
1788 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1789 eval ac_val=\$$ac_var
1793 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1794 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1797 _ | IFS | as_nl) ;; #(
1798 *) $as_unset $ac_var ;;
1803 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1804 *${as_nl}ac_space=\ *)
1806 "s/'\''/'\''\\\\'\'''\''/g;
1807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1810 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1818 ## ----------------- ##
1819 ## Output variables. ##
1820 ## ----------------- ##
1823 for ac_var in $ac_subst_vars
1825 eval ac_val=\$$ac_var
1827 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1829 echo "$ac_var='\''$ac_val'\''"
1833 if test -n "$ac_subst_files"; then
1835 ## ------------------- ##
1836 ## File substitutions. ##
1837 ## ------------------- ##
1840 for ac_var in $ac_subst_files
1842 eval ac_val=\$$ac_var
1844 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1846 echo "$ac_var='\''$ac_val'\''"
1851 if test -s confdefs.h; then
1861 test "$ac_signal" != 0 &&
1862 echo "$as_me: caught signal $ac_signal"
1863 echo "$as_me: exit $exit_status"
1865 rm -f core *.core core.conftest.* &&
1866 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1869 for ac_signal in 1 2 13 15; do
1870 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1874 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1875 rm -f -r conftest* confdefs.h
1877 # Predefined preprocessor variables.
1879 cat >>confdefs.h <<_ACEOF
1880 #define PACKAGE_NAME "$PACKAGE_NAME"
1884 cat >>confdefs.h <<_ACEOF
1885 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_STRING "$PACKAGE_STRING"
1899 cat >>confdefs.h <<_ACEOF
1900 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1904 # Let the site file select an alternate cache file if it wants to.
1905 # Prefer explicitly selected file to automatically selected ones.
1906 if test -n "$CONFIG_SITE"; then
1907 set x "$CONFIG_SITE"
1908 elif test "x$prefix" != xNONE; then
1909 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1911 set x "$ac_default_prefix/share/config.site" \
1912 "$ac_default_prefix/etc/config.site"
1917 if test -r "$ac_site_file"; then
1918 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1919 echo "$as_me: loading site script $ac_site_file" >&6;}
1920 sed 's/^/| /' "$ac_site_file" >&5
1925 if test -r "$cache_file"; then
1926 # Some versions of bash will fail to source /dev/null (special
1927 # files actually), so we avoid doing that.
1928 if test -f "$cache_file"; then
1929 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1930 echo "$as_me: loading cache $cache_file" >&6;}
1932 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1933 *) . "./$cache_file";;
1937 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1938 echo "$as_me: creating cache $cache_file" >&6;}
1942 ac_header_list="$ac_header_list sys/time.h"
1943 ac_header_list="$ac_header_list unistd.h"
1944 ac_func_list="$ac_func_list alarm"
1945 ac_header_list="$ac_header_list utime.h"
1946 # Check that the precious variables saved in the cache have kept the same
1948 ac_cache_corrupted=false
1949 for ac_var in $ac_precious_vars; do
1950 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1951 eval ac_new_set=\$ac_env_${ac_var}_set
1952 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1953 eval ac_new_val=\$ac_env_${ac_var}_value
1954 case $ac_old_set,$ac_new_set in
1956 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1957 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1958 ac_cache_corrupted=: ;;
1960 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1961 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1962 ac_cache_corrupted=: ;;
1965 if test "x$ac_old_val" != "x$ac_new_val"; then
1966 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1967 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1968 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1969 echo "$as_me: former value: $ac_old_val" >&2;}
1970 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1971 echo "$as_me: current value: $ac_new_val" >&2;}
1972 ac_cache_corrupted=:
1975 # Pass precious variables to config.status.
1976 if test "$ac_new_set" = set; then
1978 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1979 *) ac_arg=$ac_var=$ac_new_val ;;
1981 case " $ac_configure_args " in
1982 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1983 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1987 if $ac_cache_corrupted; then
1988 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1989 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1990 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1991 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1992 { (exit 1); exit 1; }; }
2012 ac_cpp='$CPP $CPPFLAGS'
2013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2019 # cross-compile macros
2021 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2022 if test -f "$ac_dir/install-sh"; then
2024 ac_install_sh="$ac_aux_dir/install-sh -c"
2026 elif test -f "$ac_dir/install.sh"; then
2028 ac_install_sh="$ac_aux_dir/install.sh -c"
2030 elif test -f "$ac_dir/shtool"; then
2032 ac_install_sh="$ac_aux_dir/shtool install -c"
2036 if test -z "$ac_aux_dir"; then
2037 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2038 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2039 { (exit 1); exit 1; }; }
2042 # These three variables are undocumented and unsupported,
2043 # and are intended to be withdrawn in a future Autoconf release.
2044 # They can cause serious problems if a builder's source tree is in a directory
2045 # whose full name contains unusual characters.
2046 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2047 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2048 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2051 # Make sure we can run config.sub.
2052 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2053 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2054 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2055 { (exit 1); exit 1; }; }
2057 { echo "$as_me:$LINENO: checking build system type" >&5
2058 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2059 if test "${ac_cv_build+set}" = set; then
2060 echo $ECHO_N "(cached) $ECHO_C" >&6
2062 ac_build_alias=$build_alias
2063 test "x$ac_build_alias" = x &&
2064 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2065 test "x$ac_build_alias" = x &&
2066 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2067 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2068 { (exit 1); exit 1; }; }
2069 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2070 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2071 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2072 { (exit 1); exit 1; }; }
2075 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2076 echo "${ECHO_T}$ac_cv_build" >&6; }
2077 case $ac_cv_build in
2079 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2080 echo "$as_me: error: invalid value of canonical build" >&2;}
2081 { (exit 1); exit 1; }; };;
2084 ac_save_IFS=$IFS; IFS='-'
2090 # Remember, the first character of IFS is used to create $*,
2091 # except with old shells:
2094 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2097 { echo "$as_me:$LINENO: checking host system type" >&5
2098 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2099 if test "${ac_cv_host+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 if test "x$host_alias" = x; then
2103 ac_cv_host=$ac_cv_build
2105 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2106 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2107 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2108 { (exit 1); exit 1; }; }
2112 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2113 echo "${ECHO_T}$ac_cv_host" >&6; }
2116 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2117 echo "$as_me: error: invalid value of canonical host" >&2;}
2118 { (exit 1); exit 1; }; };;
2121 ac_save_IFS=$IFS; IFS='-'
2127 # Remember, the first character of IFS is used to create $*,
2128 # except with old shells:
2131 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2135 # check existence of the package
2138 # specify output header file
2139 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2146 cat >>confdefs.h <<\_ACEOF
2147 #define _GNU_SOURCE 1
2152 ac_cpp='$CPP $CPPFLAGS'
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2156 if test -n "$ac_tool_prefix"; then
2157 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2158 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2161 if test "${ac_cv_prog_CC+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 if test -n "$CC"; then
2165 ac_cv_prog_CC="$CC" # Let the user override the test.
2167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir=.
2172 for ac_exec_ext in '' $ac_executable_extensions; do
2173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2174 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 if test -n "$CC"; then
2186 { echo "$as_me:$LINENO: result: $CC" >&5
2187 echo "${ECHO_T}$CC" >&6; }
2189 { echo "$as_me:$LINENO: result: no" >&5
2190 echo "${ECHO_T}no" >&6; }
2195 if test -z "$ac_cv_prog_CC"; then
2197 # Extract the first word of "gcc", so it can be a program name with args.
2198 set dummy gcc; ac_word=$2
2199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2201 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 if test -n "$ac_ct_CC"; then
2205 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir=.
2212 for ac_exec_ext in '' $ac_executable_extensions; do
2213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2214 ac_cv_prog_ac_ct_CC="gcc"
2215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2225 if test -n "$ac_ct_CC"; then
2226 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2227 echo "${ECHO_T}$ac_ct_CC" >&6; }
2229 { echo "$as_me:$LINENO: result: no" >&5
2230 echo "${ECHO_T}no" >&6; }
2233 if test "x$ac_ct_CC" = x; then
2236 case $cross_compiling:$ac_tool_warned in
2238 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2239 whose name does not start with the host triplet. If you think this
2240 configuration is useful to you, please write to autoconf@gnu.org." >&5
2241 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2242 whose name does not start with the host triplet. If you think this
2243 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2244 ac_tool_warned=yes ;;
2252 if test -z "$CC"; then
2253 if test -n "$ac_tool_prefix"; then
2254 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2255 set dummy ${ac_tool_prefix}cc; ac_word=$2
2256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2258 if test "${ac_cv_prog_CC+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 if test -n "$CC"; then
2262 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir=.
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271 ac_cv_prog_CC="${ac_tool_prefix}cc"
2272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 if test -n "$CC"; then
2283 { echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6; }
2286 { echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6; }
2293 if test -z "$CC"; then
2294 # Extract the first word of "cc", so it can be a program name with args.
2295 set dummy cc; ac_word=$2
2296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2298 if test "${ac_cv_prog_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$CC"; then
2302 ac_cv_prog_CC="$CC" # Let the user override the test.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2313 ac_prog_rejected=yes
2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 if test $ac_prog_rejected = yes; then
2325 # We found a bogon in the path, so make sure we never use it.
2326 set dummy $ac_cv_prog_CC
2328 if test $# != 0; then
2329 # We chose a different compiler from the bogus one.
2330 # However, it has the same basename, so the bogon will be chosen
2331 # first if we set CC to just the basename; use the full file name.
2333 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2339 if test -n "$CC"; then
2340 { echo "$as_me:$LINENO: result: $CC" >&5
2341 echo "${ECHO_T}$CC" >&6; }
2343 { echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6; }
2349 if test -z "$CC"; then
2350 if test -n "$ac_tool_prefix"; then
2351 for ac_prog in cl.exe
2353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2357 if test "${ac_cv_prog_CC+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 if test -n "$CC"; then
2361 ac_cv_prog_CC="$CC" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 if test -n "$CC"; then
2382 { echo "$as_me:$LINENO: result: $CC" >&5
2383 echo "${ECHO_T}$CC" >&6; }
2385 { echo "$as_me:$LINENO: result: no" >&5
2386 echo "${ECHO_T}no" >&6; }
2390 test -n "$CC" && break
2393 if test -z "$CC"; then
2395 for ac_prog in cl.exe
2397 # Extract the first word of "$ac_prog", so it can be a program name with args.
2398 set dummy $ac_prog; ac_word=$2
2399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2401 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 if test -n "$ac_ct_CC"; then
2405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir=.
2412 for ac_exec_ext in '' $ac_executable_extensions; do
2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2414 ac_cv_prog_ac_ct_CC="$ac_prog"
2415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2425 if test -n "$ac_ct_CC"; then
2426 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2427 echo "${ECHO_T}$ac_ct_CC" >&6; }
2429 { echo "$as_me:$LINENO: result: no" >&5
2430 echo "${ECHO_T}no" >&6; }
2434 test -n "$ac_ct_CC" && break
2437 if test "x$ac_ct_CC" = x; then
2440 case $cross_compiling:$ac_tool_warned in
2442 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2443 whose name does not start with the host triplet. If you think this
2444 configuration is useful to you, please write to autoconf@gnu.org." >&5
2445 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2446 whose name does not start with the host triplet. If you think this
2447 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2448 ac_tool_warned=yes ;;
2457 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2458 See \`config.log' for more details." >&5
2459 echo "$as_me: error: no acceptable C compiler found in \$PATH
2460 See \`config.log' for more details." >&2;}
2461 { (exit 1); exit 1; }; }
2463 # Provide some information about the compiler.
2464 echo "$as_me:$LINENO: checking for C compiler version" >&5
2465 ac_compiler=`set X $ac_compile; echo $2`
2466 { (ac_try="$ac_compiler --version >&5"
2468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2469 *) ac_try_echo=$ac_try;;
2471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2472 (eval "$ac_compiler --version >&5") 2>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }
2476 { (ac_try="$ac_compiler -v >&5"
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2482 (eval "$ac_compiler -v >&5") 2>&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }
2486 { (ac_try="$ac_compiler -V >&5"
2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;;
2491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2492 (eval "$ac_compiler -V >&5") 2>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }
2497 cat >conftest.$ac_ext <<_ACEOF
2500 cat confdefs.h >>conftest.$ac_ext
2501 cat >>conftest.$ac_ext <<_ACEOF
2502 /* end confdefs.h. */
2512 ac_clean_files_save=$ac_clean_files
2513 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2514 # Try to create an executable without -o first, disregard a.out.
2515 # It will help us diagnose broken compilers, and finding out an intuition
2517 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2518 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2519 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2521 # List of possible output files, starting from the most likely.
2522 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2523 # only as a last resort. b.out is created by i960 compilers.
2524 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2526 # The IRIX 6 linker writes into existing files which may not be
2527 # executable, retaining their permissions. Remove them first so a
2528 # subsequent execution test works.
2530 for ac_file in $ac_files
2533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2534 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2539 if { (ac_try="$ac_link_default"
2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2545 (eval "$ac_link_default") 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2550 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2551 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2552 # so that the user can short-circuit this test for compilers unknown to
2554 for ac_file in $ac_files ''
2556 test -f "$ac_file" || continue
2558 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2561 # We found the default executable, but exeext='' is most
2565 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2567 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2569 # We set ac_cv_exeext here because the later test for it is not
2570 # safe: cross compilers may not add the suffix if given an `-o'
2571 # argument, so we may need to know it at that point already.
2572 # Even if this section looks crufty: it has the advantage of
2579 test "$ac_cv_exeext" = no && ac_cv_exeext=
2585 { echo "$as_me:$LINENO: result: $ac_file" >&5
2586 echo "${ECHO_T}$ac_file" >&6; }
2587 if test -z "$ac_file"; then
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2591 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2592 See \`config.log' for more details." >&5
2593 echo "$as_me: error: C compiler cannot create executables
2594 See \`config.log' for more details." >&2;}
2595 { (exit 77); exit 77; }; }
2598 ac_exeext=$ac_cv_exeext
2600 # Check that the compiler produces executables we can run. If not, either
2601 # the compiler is broken, or we cross compile.
2602 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2603 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2604 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2605 # If not cross compiling, check that we can run a simple program.
2606 if test "$cross_compiling" != yes; then
2607 if { ac_try='./$ac_file'
2608 { (case "(($ac_try" in
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2613 (eval "$ac_try") 2>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2619 if test "$cross_compiling" = maybe; then
2622 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2623 If you meant to cross compile, use \`--host'.
2624 See \`config.log' for more details." >&5
2625 echo "$as_me: error: cannot run C compiled programs.
2626 If you meant to cross compile, use \`--host'.
2627 See \`config.log' for more details." >&2;}
2628 { (exit 1); exit 1; }; }
2632 { echo "$as_me:$LINENO: result: yes" >&5
2633 echo "${ECHO_T}yes" >&6; }
2635 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2636 ac_clean_files=$ac_clean_files_save
2637 # Check that the compiler produces executables we can run. If not, either
2638 # the compiler is broken, or we cross compile.
2639 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2640 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2641 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2642 echo "${ECHO_T}$cross_compiling" >&6; }
2644 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2645 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2646 if { (ac_try="$ac_link"
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2652 (eval "$ac_link") 2>&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; then
2656 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2657 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2658 # work properly (i.e., refer to `conftest.exe'), while it won't with
2660 for ac_file in conftest.exe conftest conftest.*; do
2661 test -f "$ac_file" || continue
2663 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2664 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2670 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2671 See \`config.log' for more details." >&5
2672 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2673 See \`config.log' for more details." >&2;}
2674 { (exit 1); exit 1; }; }
2677 rm -f conftest$ac_cv_exeext
2678 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2679 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2681 rm -f conftest.$ac_ext
2682 EXEEXT=$ac_cv_exeext
2684 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2685 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2686 if test "${ac_cv_objext+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 cat >conftest.$ac_ext <<_ACEOF
2692 cat confdefs.h >>conftest.$ac_ext
2693 cat >>conftest.$ac_ext <<_ACEOF
2694 /* end confdefs.h. */
2704 rm -f conftest.o conftest.obj
2705 if { (ac_try="$ac_compile"
2707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2708 *) ac_try_echo=$ac_try;;
2710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711 (eval "$ac_compile") 2>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; then
2715 for ac_file in conftest.o conftest.obj conftest.*; do
2716 test -f "$ac_file" || continue;
2718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2719 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2727 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2728 See \`config.log' for more details." >&5
2729 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2730 See \`config.log' for more details." >&2;}
2731 { (exit 1); exit 1; }; }
2734 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2736 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2737 echo "${ECHO_T}$ac_cv_objext" >&6; }
2738 OBJEXT=$ac_cv_objext
2740 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2741 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2742 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 cat >conftest.$ac_ext <<_ACEOF
2748 cat confdefs.h >>conftest.$ac_ext
2749 cat >>conftest.$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2763 rm -f conftest.$ac_objext
2764 if { (ac_try="$ac_compile"
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2770 (eval "$ac_compile") 2>conftest.er1
2772 grep -v '^ *+' conftest.er1 >conftest.err
2774 cat conftest.err >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } && {
2777 test -z "$ac_c_werror_flag" ||
2778 test ! -s conftest.err
2779 } && test -s conftest.$ac_objext; then
2782 echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2789 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2792 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2793 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2794 GCC=`test $ac_compiler_gnu = yes && echo yes`
2795 ac_test_CFLAGS=${CFLAGS+set}
2796 ac_save_CFLAGS=$CFLAGS
2797 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2798 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2799 if test "${ac_cv_prog_cc_g+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 ac_save_c_werror_flag=$ac_c_werror_flag
2803 ac_c_werror_flag=yes
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.$ac_objext
2822 if { (ac_try="$ac_compile"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_compile") 2>conftest.er1
2830 grep -v '^ *+' conftest.er1 >conftest.err
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } && {
2835 test -z "$ac_c_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.$ac_objext; then
2840 echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2844 cat >conftest.$ac_ext <<_ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2859 rm -f conftest.$ac_objext
2860 if { (ac_try="$ac_compile"
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2866 (eval "$ac_compile") 2>conftest.er1
2868 grep -v '^ *+' conftest.er1 >conftest.err
2870 cat conftest.err >&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } && {
2873 test -z "$ac_c_werror_flag" ||
2874 test ! -s conftest.err
2875 } && test -s conftest.$ac_objext; then
2878 echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 ac_c_werror_flag=$ac_save_c_werror_flag
2883 cat >conftest.$ac_ext <<_ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2917 echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 ac_c_werror_flag=$ac_save_c_werror_flag
2932 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2933 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2934 if test "$ac_test_CFLAGS" = set; then
2935 CFLAGS=$ac_save_CFLAGS
2936 elif test $ac_cv_prog_cc_g = yes; then
2937 if test "$GCC" = yes; then
2943 if test "$GCC" = yes; then
2949 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2950 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2951 if test "${ac_cv_prog_cc_c89+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 ac_cv_prog_cc_c89=no
2956 cat >conftest.$ac_ext <<_ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2964 #include <sys/types.h>
2965 #include <sys/stat.h>
2966 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2967 struct buf { int x; };
2968 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2969 static char *e (p, i)
2975 static char *f (char * (*g) (char **, int), char **p, ...)
2980 s = g (p, va_arg (v,int));
2985 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2986 function prototypes and stuff, but not '\xHH' hex character constants.
2987 These don't provoke an error unfortunately, instead are silently treated
2988 as 'x'. The following induces an error, until -std is added to get
2989 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2990 array size at least. It's necessary to write '\x00'==0 to get something
2991 that's true only with -std. */
2992 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2994 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2995 inside strings and character constants. */
2997 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2999 int test (int i, double x);
3000 struct s1 {int (*f) (int a);};
3001 struct s2 {int (*f) (double a);};
3002 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3008 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3013 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3014 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3016 CC="$ac_save_CC $ac_arg"
3017 rm -f conftest.$ac_objext
3018 if { (ac_try="$ac_compile"
3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021 *) ac_try_echo=$ac_try;;
3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3024 (eval "$ac_compile") 2>conftest.er1
3026 grep -v '^ *+' conftest.er1 >conftest.err
3028 cat conftest.err >&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); } && {
3031 test -z "$ac_c_werror_flag" ||
3032 test ! -s conftest.err
3033 } && test -s conftest.$ac_objext; then
3034 ac_cv_prog_cc_c89=$ac_arg
3036 echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.$ac_ext >&5
3042 rm -f core conftest.err conftest.$ac_objext
3043 test "x$ac_cv_prog_cc_c89" != "xno" && break
3045 rm -f conftest.$ac_ext
3050 case "x$ac_cv_prog_cc_c89" in
3052 { echo "$as_me:$LINENO: result: none needed" >&5
3053 echo "${ECHO_T}none needed" >&6; } ;;
3055 { echo "$as_me:$LINENO: result: unsupported" >&5
3056 echo "${ECHO_T}unsupported" >&6; } ;;
3058 CC="$CC $ac_cv_prog_cc_c89"
3059 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3060 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3065 ac_cpp='$CPP $CPPFLAGS'
3066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3076 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3077 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3078 # On Suns, sometimes $CPP names a directory.
3079 if test -n "$CPP" && test -d "$CPP"; then
3082 if test -z "$CPP"; then
3083 if test "${ac_cv_prog_CPP+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 # Double quotes because CPP needs to be expanded
3087 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3090 for ac_c_preproc_warn_flag in '' yes
3092 # Use a header file that comes with gcc, so configuring glibc
3093 # with a fresh cross-compiler works.
3094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3095 # <limits.h> exists even on freestanding compilers.
3096 # On the NeXT, cc -E runs the code through the compiler's parser,
3097 # not just through cpp. "Syntax error" is here to catch this case.
3098 cat >conftest.$ac_ext <<_ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3105 # include <limits.h>
3107 # include <assert.h>
3111 if { (ac_try="$ac_cpp conftest.$ac_ext"
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3117 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3119 grep -v '^ *+' conftest.er1 >conftest.err
3121 cat conftest.err >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } >/dev/null && {
3124 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3125 test ! -s conftest.err
3129 echo "$as_me: failed program was:" >&5
3130 sed 's/^/| /' conftest.$ac_ext >&5
3132 # Broken: fails on valid input.
3136 rm -f conftest.err conftest.$ac_ext
3138 # OK, works on sane cases. Now check whether nonexistent headers
3139 # can be detected and how.
3140 cat >conftest.$ac_ext <<_ACEOF
3143 cat confdefs.h >>conftest.$ac_ext
3144 cat >>conftest.$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3146 #include <ac_nonexistent.h>
3148 if { (ac_try="$ac_cpp conftest.$ac_ext"
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3154 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3156 grep -v '^ *+' conftest.er1 >conftest.err
3158 cat conftest.err >&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); } >/dev/null && {
3161 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3162 test ! -s conftest.err
3164 # Broken: success on invalid input.
3167 echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3170 # Passes both tests.
3175 rm -f conftest.err conftest.$ac_ext
3178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3179 rm -f conftest.err conftest.$ac_ext
3180 if $ac_preproc_ok; then
3192 { echo "$as_me:$LINENO: result: $CPP" >&5
3193 echo "${ECHO_T}$CPP" >&6; }
3195 for ac_c_preproc_warn_flag in '' yes
3197 # Use a header file that comes with gcc, so configuring glibc
3198 # with a fresh cross-compiler works.
3199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3200 # <limits.h> exists even on freestanding compilers.
3201 # On the NeXT, cc -E runs the code through the compiler's parser,
3202 # not just through cpp. "Syntax error" is here to catch this case.
3203 cat >conftest.$ac_ext <<_ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3210 # include <limits.h>
3212 # include <assert.h>
3216 if { (ac_try="$ac_cpp conftest.$ac_ext"
3218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3219 *) ac_try_echo=$ac_try;;
3221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3224 grep -v '^ *+' conftest.er1 >conftest.err
3226 cat conftest.err >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } >/dev/null && {
3229 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3230 test ! -s conftest.err
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 # Broken: fails on valid input.
3241 rm -f conftest.err conftest.$ac_ext
3243 # OK, works on sane cases. Now check whether nonexistent headers
3244 # can be detected and how.
3245 cat >conftest.$ac_ext <<_ACEOF
3248 cat confdefs.h >>conftest.$ac_ext
3249 cat >>conftest.$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3251 #include <ac_nonexistent.h>
3253 if { (ac_try="$ac_cpp conftest.$ac_ext"
3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3259 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3261 grep -v '^ *+' conftest.er1 >conftest.err
3263 cat conftest.err >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); } >/dev/null && {
3266 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3267 test ! -s conftest.err
3269 # Broken: success on invalid input.
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3275 # Passes both tests.
3280 rm -f conftest.err conftest.$ac_ext
3283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3284 rm -f conftest.err conftest.$ac_ext
3285 if $ac_preproc_ok; then
3288 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3289 See \`config.log' for more details." >&5
3290 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3291 See \`config.log' for more details." >&2;}
3292 { (exit 1); exit 1; }; }
3296 ac_cpp='$CPP $CPPFLAGS'
3297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3303 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3304 if test "${ac_cv_path_GREP+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 # Extract the first word of "grep ggrep" to use in msg output
3308 if test -z "$GREP"; then
3309 set dummy grep ggrep; ac_prog_name=$2
3310 if test "${ac_cv_path_GREP+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 ac_path_GREP_found=false
3314 # Loop through the user's path and test for each of PROGNAME-LIST
3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3319 test -z "$as_dir" && as_dir=.
3320 for ac_prog in grep ggrep; do
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3323 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3324 # Check for GNU ac_path_GREP and select it if it is found.
3325 # Check for GNU $ac_path_GREP
3326 case `"$ac_path_GREP" --version 2>&1` in
3328 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3331 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3334 cat "conftest.in" "conftest.in" >"conftest.tmp"
3335 mv "conftest.tmp" "conftest.in"
3336 cp "conftest.in" "conftest.nl"
3337 echo 'GREP' >> "conftest.nl"
3338 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3340 ac_count=`expr $ac_count + 1`
3341 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3342 # Best one so far, save it but keep looking for a better one
3343 ac_cv_path_GREP="$ac_path_GREP"
3344 ac_path_GREP_max=$ac_count
3346 # 10*(2^10) chars as input seems more than enough
3347 test $ac_count -gt 10 && break
3349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3353 $ac_path_GREP_found && break 3
3363 GREP="$ac_cv_path_GREP"
3364 if test -z "$GREP"; then
3365 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3366 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3367 { (exit 1); exit 1; }; }
3371 ac_cv_path_GREP=$GREP
3376 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3377 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3378 GREP="$ac_cv_path_GREP"
3381 { echo "$as_me:$LINENO: checking for egrep" >&5
3382 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3383 if test "${ac_cv_path_EGREP+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3386 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3387 then ac_cv_path_EGREP="$GREP -E"
3389 # Extract the first word of "egrep" to use in msg output
3390 if test -z "$EGREP"; then
3391 set dummy egrep; ac_prog_name=$2
3392 if test "${ac_cv_path_EGREP+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 ac_path_EGREP_found=false
3396 # Loop through the user's path and test for each of PROGNAME-LIST
3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3401 test -z "$as_dir" && as_dir=.
3402 for ac_prog in egrep; do
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3405 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3406 # Check for GNU ac_path_EGREP and select it if it is found.
3407 # Check for GNU $ac_path_EGREP
3408 case `"$ac_path_EGREP" --version 2>&1` in
3410 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3413 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3416 cat "conftest.in" "conftest.in" >"conftest.tmp"
3417 mv "conftest.tmp" "conftest.in"
3418 cp "conftest.in" "conftest.nl"
3419 echo 'EGREP' >> "conftest.nl"
3420 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3422 ac_count=`expr $ac_count + 1`
3423 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3424 # Best one so far, save it but keep looking for a better one
3425 ac_cv_path_EGREP="$ac_path_EGREP"
3426 ac_path_EGREP_max=$ac_count
3428 # 10*(2^10) chars as input seems more than enough
3429 test $ac_count -gt 10 && break
3431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3435 $ac_path_EGREP_found && break 3
3445 EGREP="$ac_cv_path_EGREP"
3446 if test -z "$EGREP"; then
3447 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3448 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3449 { (exit 1); exit 1; }; }
3453 ac_cv_path_EGREP=$EGREP
3459 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3460 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3461 EGREP="$ac_cv_path_EGREP"
3465 { echo "$as_me:$LINENO: checking for AIX" >&5
3466 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3467 cat >conftest.$ac_ext <<_ACEOF
3470 cat confdefs.h >>conftest.$ac_ext
3471 cat >>conftest.$ac_ext <<_ACEOF
3472 /* end confdefs.h. */
3478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3479 $EGREP "yes" >/dev/null 2>&1; then
3480 { echo "$as_me:$LINENO: result: yes" >&5
3481 echo "${ECHO_T}yes" >&6; }
3482 cat >>confdefs.h <<\_ACEOF
3483 #define _ALL_SOURCE 1
3487 { echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6; }
3493 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3494 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3495 if test "${ac_cv_header_stdc+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 cat >conftest.$ac_ext <<_ACEOF
3501 cat confdefs.h >>conftest.$ac_ext
3502 cat >>conftest.$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3517 rm -f conftest.$ac_objext
3518 if { (ac_try="$ac_compile"
3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521 *) ac_try_echo=$ac_try;;
3523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3524 (eval "$ac_compile") 2>conftest.er1
3526 grep -v '^ *+' conftest.er1 >conftest.err
3528 cat conftest.err >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); } && {
3531 test -z "$ac_c_werror_flag" ||
3532 test ! -s conftest.err
3533 } && test -s conftest.$ac_objext; then
3534 ac_cv_header_stdc=yes
3536 echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3539 ac_cv_header_stdc=no
3542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 if test $ac_cv_header_stdc = yes; then
3545 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3546 cat >conftest.$ac_ext <<_ACEOF
3549 cat confdefs.h >>conftest.$ac_ext
3550 cat >>conftest.$ac_ext <<_ACEOF
3551 /* end confdefs.h. */
3555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3556 $EGREP "memchr" >/dev/null 2>&1; then
3559 ac_cv_header_stdc=no
3565 if test $ac_cv_header_stdc = yes; then
3566 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3567 cat >conftest.$ac_ext <<_ACEOF
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3577 $EGREP "free" >/dev/null 2>&1; then
3580 ac_cv_header_stdc=no
3586 if test $ac_cv_header_stdc = yes; then
3587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3588 if test "$cross_compiling" = yes; then
3591 cat >conftest.$ac_ext <<_ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3599 #if ((' ' & 0x0FF) == 0x020)
3600 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3601 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3603 # define ISLOWER(c) \
3604 (('a' <= (c) && (c) <= 'i') \
3605 || ('j' <= (c) && (c) <= 'r') \
3606 || ('s' <= (c) && (c) <= 'z'))
3607 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3610 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3615 for (i = 0; i < 256; i++)
3616 if (XOR (islower (i), ISLOWER (i))
3617 || toupper (i) != TOUPPER (i))
3622 rm -f conftest$ac_exeext
3623 if { (ac_try="$ac_link"
3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626 *) ac_try_echo=$ac_try;;
3628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3629 (eval "$ac_link") 2>&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3633 { (case "(($ac_try" in
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3638 (eval "$ac_try") 2>&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3644 echo "$as_me: program exited with status $ac_status" >&5
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.$ac_ext >&5
3649 ac_cv_header_stdc=no
3651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3657 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3658 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3659 if test $ac_cv_header_stdc = yes; then
3661 cat >>confdefs.h <<\_ACEOF
3662 #define STDC_HEADERS 1
3667 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3677 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3678 inttypes.h stdint.h unistd.h
3680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 cat >conftest.$ac_ext <<_ACEOF
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3692 $ac_includes_default
3694 #include <$ac_header>
3696 rm -f conftest.$ac_objext
3697 if { (ac_try="$ac_compile"
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3703 (eval "$ac_compile") 2>conftest.er1
3705 grep -v '^ *+' conftest.er1 >conftest.err
3707 cat conftest.err >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } && {
3710 test -z "$ac_c_werror_flag" ||
3711 test ! -s conftest.err
3712 } && test -s conftest.$ac_objext; then
3713 eval "$as_ac_Header=yes"
3715 echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.$ac_ext >&5
3718 eval "$as_ac_Header=no"
3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 ac_res=`eval echo '${'$as_ac_Header'}'`
3724 { echo "$as_me:$LINENO: result: $ac_res" >&5
3725 echo "${ECHO_T}$ac_res" >&6; }
3726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3727 cat >>confdefs.h <<_ACEOF
3728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3736 if test "${ac_cv_header_minix_config_h+set}" = set; then
3737 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3738 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3739 if test "${ac_cv_header_minix_config_h+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3743 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3745 # Is the header compilable?
3746 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3747 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3748 cat >conftest.$ac_ext <<_ACEOF
3751 cat confdefs.h >>conftest.$ac_ext
3752 cat >>conftest.$ac_ext <<_ACEOF
3753 /* end confdefs.h. */
3754 $ac_includes_default
3755 #include <minix/config.h>
3757 rm -f conftest.$ac_objext
3758 if { (ac_try="$ac_compile"
3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761 *) ac_try_echo=$ac_try;;
3763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3764 (eval "$ac_compile") 2>conftest.er1
3766 grep -v '^ *+' conftest.er1 >conftest.err
3768 cat conftest.err >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } && {
3771 test -z "$ac_c_werror_flag" ||
3772 test ! -s conftest.err
3773 } && test -s conftest.$ac_objext; then
3774 ac_header_compiler=yes
3776 echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.$ac_ext >&5
3779 ac_header_compiler=no
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3784 echo "${ECHO_T}$ac_header_compiler" >&6; }
3786 # Is the header present?
3787 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3788 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3789 cat >conftest.$ac_ext <<_ACEOF
3792 cat confdefs.h >>conftest.$ac_ext
3793 cat >>conftest.$ac_ext <<_ACEOF
3794 /* end confdefs.h. */
3795 #include <minix/config.h>
3797 if { (ac_try="$ac_cpp conftest.$ac_ext"
3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3805 grep -v '^ *+' conftest.er1 >conftest.err
3807 cat conftest.err >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } >/dev/null && {
3810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3811 test ! -s conftest.err
3813 ac_header_preproc=yes
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3818 ac_header_preproc=no
3821 rm -f conftest.err conftest.$ac_ext
3822 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3823 echo "${ECHO_T}$ac_header_preproc" >&6; }
3825 # So? What about this header?
3826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3828 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3829 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3830 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3831 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3832 ac_header_preproc=yes
3835 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3836 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3837 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3838 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3839 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3840 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3841 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3842 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3843 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3844 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3845 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3846 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3850 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3851 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3852 if test "${ac_cv_header_minix_config_h+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 ac_cv_header_minix_config_h=$ac_header_preproc
3857 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3858 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3861 if test $ac_cv_header_minix_config_h = yes; then
3868 if test "$MINIX" = yes; then
3870 cat >>confdefs.h <<\_ACEOF
3871 #define _POSIX_SOURCE 1
3875 cat >>confdefs.h <<\_ACEOF
3876 #define _POSIX_1_SOURCE 2
3880 cat >>confdefs.h <<\_ACEOF
3896 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3897 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3898 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3899 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 cat >conftest.$ac_ext <<_ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3908 # define __EXTENSIONS__ 1
3909 $ac_includes_default
3918 rm -f conftest.$ac_objext
3919 if { (ac_try="$ac_compile"
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3925 (eval "$ac_compile") 2>conftest.er1
3927 grep -v '^ *+' conftest.er1 >conftest.err
3929 cat conftest.err >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } && {
3932 test -z "$ac_c_werror_flag" ||
3933 test ! -s conftest.err
3934 } && test -s conftest.$ac_objext; then
3935 ac_cv_safe_to_define___extensions__=yes
3937 echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3940 ac_cv_safe_to_define___extensions__=no
3943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3945 { echo "$as_me:$LINENO: result: