2 # From configure.ac Revision: 66158 .
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
889 ZAPTEL_TRANSCODE_INCLUDE
893 ZAPTEL_VLDTMF_INCLUDE
931 ac_precious_vars='build_alias
946 # Initialize some variables set by options.
948 ac_init_version=false
949 # The variables have the same names as the options, with
950 # dashes changed to underlines.
958 program_transform_name=s,x,x,
966 # Installation directory options.
967 # These are left unexpanded so users can "make install exec_prefix=/foo"
968 # and all the variables that are supposed to be based on exec_prefix
969 # by default will actually change.
970 # Use braces instead of parens because sh, perl, etc. also accept them.
971 # (The list follows the same order as the GNU Coding Standards.)
972 bindir='${exec_prefix}/bin'
973 sbindir='${exec_prefix}/sbin'
974 libexecdir='${exec_prefix}/libexec'
975 datarootdir='${prefix}/share'
976 datadir='${datarootdir}'
977 sysconfdir='${prefix}/etc'
978 sharedstatedir='${prefix}/com'
979 localstatedir='${prefix}/var'
980 includedir='${prefix}/include'
981 oldincludedir='/usr/include'
982 docdir='${datarootdir}/doc/${PACKAGE}'
983 infodir='${datarootdir}/info'
988 libdir='${exec_prefix}/lib'
989 localedir='${datarootdir}/locale'
990 mandir='${datarootdir}/man'
996 # If the previous option needs an argument, assign it.
997 if test -n "$ac_prev"; then
998 eval $ac_prev=\$ac_option
1004 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1008 # Accept the important Cygnus configure options, so we can diagnose typos.
1010 case $ac_dashdash$ac_option in
1014 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1016 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1017 bindir=$ac_optarg ;;
1019 -build | --build | --buil | --bui | --bu)
1020 ac_prev=build_alias ;;
1021 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1022 build_alias=$ac_optarg ;;
1024 -cache-file | --cache-file | --cache-fil | --cache-fi \
1025 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1026 ac_prev=cache_file ;;
1027 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1028 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1029 cache_file=$ac_optarg ;;
1031 --config-cache | -C)
1032 cache_file=config.cache ;;
1034 -datadir | --datadir | --datadi | --datad)
1036 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1037 datadir=$ac_optarg ;;
1039 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1040 | --dataroo | --dataro | --datar)
1041 ac_prev=datarootdir ;;
1042 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1043 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1044 datarootdir=$ac_optarg ;;
1046 -disable-* | --disable-*)
1047 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1050 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1051 { (exit 1); exit 1; }; }
1052 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1053 eval enable_$ac_feature=no ;;
1055 -docdir | --docdir | --docdi | --doc | --do)
1057 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1058 docdir=$ac_optarg ;;
1060 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1062 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1063 dvidir=$ac_optarg ;;
1065 -enable-* | --enable-*)
1066 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1072 eval enable_$ac_feature=\$ac_optarg ;;
1074 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1075 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1076 | --exec | --exe | --ex)
1077 ac_prev=exec_prefix ;;
1078 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1079 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1080 | --exec=* | --exe=* | --ex=*)
1081 exec_prefix=$ac_optarg ;;
1083 -gas | --gas | --ga | --g)
1084 # Obsolete; use --with-gas.
1087 -help | --help | --hel | --he | -h)
1088 ac_init_help=long ;;
1089 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1090 ac_init_help=recursive ;;
1091 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1092 ac_init_help=short ;;
1094 -host | --host | --hos | --ho)
1095 ac_prev=host_alias ;;
1096 -host=* | --host=* | --hos=* | --ho=*)
1097 host_alias=$ac_optarg ;;
1099 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1101 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1103 htmldir=$ac_optarg ;;
1105 -includedir | --includedir | --includedi | --included | --include \
1106 | --includ | --inclu | --incl | --inc)
1107 ac_prev=includedir ;;
1108 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1109 | --includ=* | --inclu=* | --incl=* | --inc=*)
1110 includedir=$ac_optarg ;;
1112 -infodir | --infodir | --infodi | --infod | --info | --inf)
1114 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1115 infodir=$ac_optarg ;;
1117 -libdir | --libdir | --libdi | --libd)
1119 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1120 libdir=$ac_optarg ;;
1122 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1123 | --libexe | --libex | --libe)
1124 ac_prev=libexecdir ;;
1125 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1126 | --libexe=* | --libex=* | --libe=*)
1127 libexecdir=$ac_optarg ;;
1129 -localedir | --localedir | --localedi | --localed | --locale)
1130 ac_prev=localedir ;;
1131 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1132 localedir=$ac_optarg ;;
1134 -localstatedir | --localstatedir | --localstatedi | --localstated \
1135 | --localstate | --localstat | --localsta | --localst | --locals)
1136 ac_prev=localstatedir ;;
1137 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1138 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1139 localstatedir=$ac_optarg ;;
1141 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1143 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1144 mandir=$ac_optarg ;;
1146 -nfp | --nfp | --nf)
1147 # Obsolete; use --without-fp.
1150 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1151 | --no-cr | --no-c | -n)
1154 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1155 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1158 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1159 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1160 | --oldin | --oldi | --old | --ol | --o)
1161 ac_prev=oldincludedir ;;
1162 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1163 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1164 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1165 oldincludedir=$ac_optarg ;;
1167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1170 prefix=$ac_optarg ;;
1172 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1173 | --program-pre | --program-pr | --program-p)
1174 ac_prev=program_prefix ;;
1175 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1176 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1177 program_prefix=$ac_optarg ;;
1179 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1180 | --program-suf | --program-su | --program-s)
1181 ac_prev=program_suffix ;;
1182 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1183 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1184 program_suffix=$ac_optarg ;;
1186 -program-transform-name | --program-transform-name \
1187 | --program-transform-nam | --program-transform-na \
1188 | --program-transform-n | --program-transform- \
1189 | --program-transform | --program-transfor \
1190 | --program-transfo | --program-transf \
1191 | --program-trans | --program-tran \
1192 | --progr-tra | --program-tr | --program-t)
1193 ac_prev=program_transform_name ;;
1194 -program-transform-name=* | --program-transform-name=* \
1195 | --program-transform-nam=* | --program-transform-na=* \
1196 | --program-transform-n=* | --program-transform-=* \
1197 | --program-transform=* | --program-transfor=* \
1198 | --program-transfo=* | --program-transf=* \
1199 | --program-trans=* | --program-tran=* \
1200 | --progr-tra=* | --program-tr=* | --program-t=*)
1201 program_transform_name=$ac_optarg ;;
1203 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1205 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1206 pdfdir=$ac_optarg ;;
1208 -psdir | --psdir | --psdi | --psd | --ps)
1210 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214 | -silent | --silent | --silen | --sile | --sil)
1217 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1219 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1221 sbindir=$ac_optarg ;;
1223 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1224 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1225 | --sharedst | --shareds | --shared | --share | --shar \
1227 ac_prev=sharedstatedir ;;
1228 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1229 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1230 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1232 sharedstatedir=$ac_optarg ;;
1234 -site | --site | --sit)
1236 -site=* | --site=* | --sit=*)
1239 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1241 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1242 srcdir=$ac_optarg ;;
1244 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1245 | --syscon | --sysco | --sysc | --sys | --sy)
1246 ac_prev=sysconfdir ;;
1247 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1248 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1249 sysconfdir=$ac_optarg ;;
1251 -target | --target | --targe | --targ | --tar | --ta | --t)
1252 ac_prev=target_alias ;;
1253 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1254 target_alias=$ac_optarg ;;
1256 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1259 -version | --version | --versio | --versi | --vers | -V)
1260 ac_init_version=: ;;
1263 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266 { echo "$as_me: error: invalid package name: $ac_package" >&2
1267 { (exit 1); exit 1; }; }
1268 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1269 eval with_$ac_package=\$ac_optarg ;;
1271 -without-* | --without-*)
1272 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1275 { echo "$as_me: error: invalid package name: $ac_package" >&2
1276 { (exit 1); exit 1; }; }
1277 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1278 eval with_$ac_package=no ;;
1281 # Obsolete; use --with-x.
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1298 -*) { echo "$as_me: error: unrecognized option: $ac_option
1299 Try \`$0 --help' for more information." >&2
1300 { (exit 1); exit 1; }; }
1304 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1307 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1308 { (exit 1); exit 1; }; }
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 { echo "$as_me: error: missing argument to $ac_option" >&2
1326 { (exit 1); exit 1; }; }
1329 # Be sure to have absolute directory names.
1330 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1331 datadir sysconfdir sharedstatedir localstatedir includedir \
1332 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333 libdir localedir mandir
1335 eval ac_val=\$$ac_var
1337 [\\/$]* | ?:[\\/]* ) continue;;
1338 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1341 { (exit 1); exit 1; }; }
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1365 test "$silent" = yes && exec 6>/dev/null
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 { echo "$as_me: error: Working directory cannot be determined" >&2
1372 { (exit 1); exit 1; }; }
1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1374 { echo "$as_me: error: pwd does not report name of working directory" >&2
1375 { (exit 1); exit 1; }; }
1378 # Find the source files, if location was not specified.
1379 if test -z "$srcdir"; then
1380 ac_srcdir_defaulted=yes
1381 # Try the directory containing this script, then the parent directory.
1382 ac_confdir=`$as_dirname -- "$0" ||
1383 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1384 X"$0" : 'X\(//\)[^/]' \| \
1385 X"$0" : 'X\(//\)$' \| \
1386 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1406 if test ! -r "$srcdir/$ac_unique_file"; then
1410 ac_srcdir_defaulted=no
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1413 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1414 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1415 { (exit 1); exit 1; }; }
1417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1419 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1420 { (exit 1); exit 1; }; }
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1432 for ac_var in $ac_precious_vars; do
1433 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1434 eval ac_env_${ac_var}_value=\$${ac_var}
1435 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1436 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1440 # Report the --help message.
1442 if test "$ac_init_help" = "long"; then
1443 # Omit some internal or obsolete options to make the list less imposing.
1444 # This message is too long to be a string in the A/UX 3.1 sh.
1446 \`configure' configures this package to adapt to many kinds of systems.
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE. See below for descriptions of some of the useful variables.
1453 Defaults for the options are specified in brackets.
1456 -h, --help display this help and exit
1457 --help=short display options specific to this package
1458 --help=recursive display the short help of all the included packages
1459 -V, --version display version information and exit
1460 -q, --quiet, --silent do not print \`checking...' messages
1461 --cache-file=FILE cache test results in FILE [disabled]
1462 -C, --config-cache alias for \`--cache-file=config.cache'
1463 -n, --no-create do not create output files
1464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1466 Installation directories:
1467 --prefix=PREFIX install architecture-independent files in PREFIX
1468 [$ac_default_prefix]
1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1477 For better control, use the options below.
1479 Fine tuning of the installation directories:
1480 --bindir=DIR user executables [EPREFIX/bin]
1481 --sbindir=DIR system admin executables [EPREFIX/sbin]
1482 --libexecdir=DIR program executables [EPREFIX/libexec]
1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1486 --libdir=DIR object code libraries [EPREFIX/lib]
1487 --includedir=DIR C header files [PREFIX/include]
1488 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1489 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1490 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1491 --infodir=DIR info documentation [DATAROOTDIR/info]
1492 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1493 --mandir=DIR man documentation [DATAROOTDIR/man]
1494 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1495 --htmldir=DIR html documentation [DOCDIR]
1496 --dvidir=DIR dvi documentation [DOCDIR]
1497 --pdfdir=DIR pdf documentation [DOCDIR]
1498 --psdir=DIR ps documentation [DOCDIR]
1504 --build=BUILD configure for building on BUILD [guessed]
1505 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1509 if test -n "$ac_init_help"; then
1514 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1515 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1516 --enable-dev-mode Turn on developer mode
1517 --disable-largefile omit support for large files
1520 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1521 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1522 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1523 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1524 --with-execinfo=PATH use Stack Backtrace support files in PATH
1525 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1526 --with-curl=PATH use cURL files in PATH
1527 --with-curses=PATH use curses files in PATH
1528 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1529 --with-gnutls=PATH use GNU TLS support (used for iksemel only) files in
1531 --with-gsm=PATH use GSM files in PATH , or 'internal'
1532 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1533 --with-imap=PATH use UW IMAP Toolkit files in PATH
1534 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1535 --with-kde=PATH use KDE files in PATH
1536 --with-misdn=PATH use mISDN User Library files in PATH
1537 --with-nbs=PATH use Network Broadcast Sound files in PATH
1538 --with-ncurses=PATH use ncurses files in PATH
1539 --with-netsnmp=PATH use Net-SNMP files in PATH
1540 --with-newt=PATH use newt files in PATH
1541 --with-odbc=PATH use unixODBC files in PATH
1542 --with-ogg=PATH use OGG files in PATH
1543 --with-osptk=PATH use OSP Toolkit files in PATH
1544 --with-oss=PATH use Open Sound System files in PATH
1545 --with-popt=PATH use popt files in PATH
1546 --with-postgres=PATH use PostgreSQL files in PATH
1547 --with-pri=PATH use ISDN PRI files in PATH
1548 --with-ss7=PATH use ISDN SS7 files in PATH
1549 --with-pwlib=PATH use PWlib files in PATH
1550 --with-h323=PATH use OpenH323 files in PATH
1551 --with-qt=PATH use Qt files in PATH
1552 --with-radius=PATH use Radius Client files in PATH
1553 --with-speex=PATH use Speex files in PATH
1554 --with-sqlite=PATH use SQLite files in PATH
1555 --with-sqlite3=PATH use SQLite files in PATH
1556 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1557 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1559 --with-tds=PATH use FreeTDS files in PATH
1560 --with-termcap=PATH use Termcap files in PATH
1561 --with-tinfo=PATH use Term Info files in PATH
1562 --with-tonezone=PATH use tonezone files in PATH
1563 --with-vorbis=PATH use Vorbis files in PATH
1564 --with-vpb=PATH use Voicetronix API files in PATH
1565 --with-z=PATH use zlib files in PATH
1566 --with-zaptel=PATH use Zaptel files in PATH
1567 --with-zaptel_transcode=PATH
1568 use Zaptel_transcode files in PATH
1569 --with-zaptel_vldtmf=PATH
1570 use Zaptel_vldtmf files in PATH
1572 Some influential environment variables:
1573 CC C compiler command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1576 nonstandard directory <lib dir>
1577 LIBS libraries to pass to the linker, e.g. -l<library>
1578 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1579 you have headers in a nonstandard directory <include dir>
1581 CXX C++ compiler command
1582 CXXFLAGS C++ compiler flags
1583 CXXCPP C++ preprocessor
1585 Use these variables to override the choices made by `configure' or to help
1586 it to find libraries and programs with nonstandard names/locations.
1592 if test "$ac_init_help" = "recursive"; then
1593 # If there are subdirs, report their specific --help.
1594 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1595 test -d "$ac_dir" || continue
1599 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1602 # A ".." for each directory in $ac_dir_suffix.
1603 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1604 case $ac_top_builddir_sub in
1605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1609 ac_abs_top_builddir=$ac_pwd
1610 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1611 # for backward compatibility:
1612 ac_top_builddir=$ac_top_build_prefix
1615 .) # We are building in place.
1617 ac_top_srcdir=$ac_top_builddir_sub
1618 ac_abs_top_srcdir=$ac_pwd ;;
1619 [\\/]* | ?:[\\/]* ) # Absolute name.
1620 ac_srcdir=$srcdir$ac_dir_suffix;
1621 ac_top_srcdir=$srcdir
1622 ac_abs_top_srcdir=$srcdir ;;
1624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1625 ac_top_srcdir=$ac_top_build_prefix$srcdir
1626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1628 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1630 cd "$ac_dir" || { ac_status=$?; continue; }
1631 # Check for guested configure.
1632 if test -f "$ac_srcdir/configure.gnu"; then
1634 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1635 elif test -f "$ac_srcdir/configure"; then
1637 $SHELL "$ac_srcdir/configure" --help=recursive
1639 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1641 cd "$ac_pwd" || { ac_status=$?; break; }
1645 test -n "$ac_init_help" && exit $ac_status
1646 if $ac_init_version; then
1649 generated by GNU Autoconf 2.61
1651 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1652 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1653 This configure script is free software; the Free Software Foundation
1654 gives unlimited permission to copy, distribute and modify it.
1660 cat >config.log <<_ACEOF
1661 This file contains any messages produced by compilers while
1662 running configure, to aid debugging if configure makes a mistake.
1664 It was created by $as_me, which was
1665 generated by GNU Autoconf 2.61. Invocation command line was
1677 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1678 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1679 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1680 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1681 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1683 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1684 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1686 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1687 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1688 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1689 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1690 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1691 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1692 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir=.
1701 echo "PATH: $as_dir"
1717 # Keep a trace of the command line.
1718 # Strip out --no-create and --no-recursion so they do not pile up.
1719 # Strip out --silent because we don't want to record it for future runs.
1720 # Also quote any args containing shell meta-characters.
1721 # Make two passes to allow for proper duplicate-argument suppression.
1725 ac_must_keep_next=false
1731 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1732 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1733 | -silent | --silent | --silen | --sile | --sil)
1736 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1739 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1741 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1742 if test $ac_must_keep_next = true; then
1743 ac_must_keep_next=false # Got value, back to normal.
1746 *=* | --config-cache | -C | -disable-* | --disable-* \
1747 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1748 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1749 | -with-* | --with-* | -without-* | --without-* | --x)
1750 case "$ac_configure_args0 " in
1751 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1754 -* ) ac_must_keep_next=true ;;
1757 ac_configure_args="$ac_configure_args '$ac_arg'"
1762 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1763 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1765 # When interrupted or exit'd, cleanup temporary files, and complete
1766 # config.log. We remove comments because anyway the quotes in there
1767 # would cause problems or look ugly.
1768 # WARNING: Use '\'' to represent an apostrophe within the trap.
1769 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1770 trap 'exit_status=$?
1771 # Save into config.log some information that might help in debugging.
1776 ## ---------------- ##
1777 ## Cache variables. ##
1778 ## ---------------- ##
1781 # The following way of writing the cache mishandles newlines in values,
1783 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1784 eval ac_val=\$$ac_var
1788 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1789 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1792 _ | IFS | as_nl) ;; #(
1793 *) $as_unset $ac_var ;;
1798 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1799 *${as_nl}ac_space=\ *)
1801 "s/'\''/'\''\\\\'\'''\''/g;
1802 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1805 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1813 ## ----------------- ##
1814 ## Output variables. ##
1815 ## ----------------- ##
1818 for ac_var in $ac_subst_vars
1820 eval ac_val=\$$ac_var
1822 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1824 echo "$ac_var='\''$ac_val'\''"
1828 if test -n "$ac_subst_files"; then
1830 ## ------------------- ##
1831 ## File substitutions. ##
1832 ## ------------------- ##
1835 for ac_var in $ac_subst_files
1837 eval ac_val=\$$ac_var
1839 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1841 echo "$ac_var='\''$ac_val'\''"
1846 if test -s confdefs.h; then
1856 test "$ac_signal" != 0 &&
1857 echo "$as_me: caught signal $ac_signal"
1858 echo "$as_me: exit $exit_status"
1860 rm -f core *.core core.conftest.* &&
1861 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1864 for ac_signal in 1 2 13 15; do
1865 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1869 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1870 rm -f -r conftest* confdefs.h
1872 # Predefined preprocessor variables.
1874 cat >>confdefs.h <<_ACEOF
1875 #define PACKAGE_NAME "$PACKAGE_NAME"
1879 cat >>confdefs.h <<_ACEOF
1880 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1884 cat >>confdefs.h <<_ACEOF
1885 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_STRING "$PACKAGE_STRING"
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1899 # Let the site file select an alternate cache file if it wants to.
1900 # Prefer explicitly selected file to automatically selected ones.
1901 if test -n "$CONFIG_SITE"; then
1902 set x "$CONFIG_SITE"
1903 elif test "x$prefix" != xNONE; then
1904 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1906 set x "$ac_default_prefix/share/config.site" \
1907 "$ac_default_prefix/etc/config.site"
1912 if test -r "$ac_site_file"; then
1913 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1914 echo "$as_me: loading site script $ac_site_file" >&6;}
1915 sed 's/^/| /' "$ac_site_file" >&5
1920 if test -r "$cache_file"; then
1921 # Some versions of bash will fail to source /dev/null (special
1922 # files actually), so we avoid doing that.
1923 if test -f "$cache_file"; then
1924 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1925 echo "$as_me: loading cache $cache_file" >&6;}
1927 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1928 *) . "./$cache_file";;
1932 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1933 echo "$as_me: creating cache $cache_file" >&6;}
1937 ac_header_list="$ac_header_list sys/time.h"
1938 ac_header_list="$ac_header_list unistd.h"
1939 ac_func_list="$ac_func_list alarm"
1940 ac_header_list="$ac_header_list utime.h"
1941 # Check that the precious variables saved in the cache have kept the same
1943 ac_cache_corrupted=false
1944 for ac_var in $ac_precious_vars; do
1945 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1946 eval ac_new_set=\$ac_env_${ac_var}_set
1947 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1948 eval ac_new_val=\$ac_env_${ac_var}_value
1949 case $ac_old_set,$ac_new_set in
1951 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1952 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1953 ac_cache_corrupted=: ;;
1955 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1956 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1957 ac_cache_corrupted=: ;;
1960 if test "x$ac_old_val" != "x$ac_new_val"; then
1961 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1962 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1963 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1964 echo "$as_me: former value: $ac_old_val" >&2;}
1965 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1966 echo "$as_me: current value: $ac_new_val" >&2;}
1967 ac_cache_corrupted=:
1970 # Pass precious variables to config.status.
1971 if test "$ac_new_set" = set; then
1973 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1974 *) ac_arg=$ac_var=$ac_new_val ;;
1976 case " $ac_configure_args " in
1977 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1978 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1982 if $ac_cache_corrupted; then
1983 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1984 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1985 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1986 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1987 { (exit 1); exit 1; }; }
2007 ac_cpp='$CPP $CPPFLAGS'
2008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2014 # cross-compile macros
2016 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2017 if test -f "$ac_dir/install-sh"; then
2019 ac_install_sh="$ac_aux_dir/install-sh -c"
2021 elif test -f "$ac_dir/install.sh"; then
2023 ac_install_sh="$ac_aux_dir/install.sh -c"
2025 elif test -f "$ac_dir/shtool"; then
2027 ac_install_sh="$ac_aux_dir/shtool install -c"
2031 if test -z "$ac_aux_dir"; then
2032 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2033 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2034 { (exit 1); exit 1; }; }
2037 # These three variables are undocumented and unsupported,
2038 # and are intended to be withdrawn in a future Autoconf release.
2039 # They can cause serious problems if a builder's source tree is in a directory
2040 # whose full name contains unusual characters.
2041 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2042 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2043 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2046 # Make sure we can run config.sub.
2047 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2048 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2049 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2050 { (exit 1); exit 1; }; }
2052 { echo "$as_me:$LINENO: checking build system type" >&5
2053 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2054 if test "${ac_cv_build+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 ac_build_alias=$build_alias
2058 test "x$ac_build_alias" = x &&
2059 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2060 test "x$ac_build_alias" = x &&
2061 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2062 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2063 { (exit 1); exit 1; }; }
2064 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2065 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2066 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2067 { (exit 1); exit 1; }; }
2070 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2071 echo "${ECHO_T}$ac_cv_build" >&6; }
2072 case $ac_cv_build in
2074 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2075 echo "$as_me: error: invalid value of canonical build" >&2;}
2076 { (exit 1); exit 1; }; };;
2079 ac_save_IFS=$IFS; IFS='-'
2085 # Remember, the first character of IFS is used to create $*,
2086 # except with old shells:
2089 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2092 { echo "$as_me:$LINENO: checking host system type" >&5
2093 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2094 if test "${ac_cv_host+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 if test "x$host_alias" = x; then
2098 ac_cv_host=$ac_cv_build
2100 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2101 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2102 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2103 { (exit 1); exit 1; }; }
2107 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2108 echo "${ECHO_T}$ac_cv_host" >&6; }
2111 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2112 echo "$as_me: error: invalid value of canonical host" >&2;}
2113 { (exit 1); exit 1; }; };;
2116 ac_save_IFS=$IFS; IFS='-'
2122 # Remember, the first character of IFS is used to create $*,
2123 # except with old shells:
2126 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2130 # check existence of the package
2133 # specify output header file
2134 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2141 cat >>confdefs.h <<\_ACEOF
2142 #define _GNU_SOURCE 1
2147 ac_cpp='$CPP $CPPFLAGS'
2148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2151 if test -n "$ac_tool_prefix"; then
2152 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2153 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2156 if test "${ac_cv_prog_CC+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 if test -n "$CC"; then
2160 ac_cv_prog_CC="$CC" # Let the user override the test.
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir=.
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test -n "$CC"; then
2181 { echo "$as_me:$LINENO: result: $CC" >&5
2182 echo "${ECHO_T}$CC" >&6; }
2184 { echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6; }
2190 if test -z "$ac_cv_prog_CC"; then
2192 # Extract the first word of "gcc", so it can be a program name with args.
2193 set dummy gcc; ac_word=$2
2194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2196 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 if test -n "$ac_ct_CC"; then
2200 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206 test -z "$as_dir" && as_dir=.
2207 for ac_exec_ext in '' $ac_executable_extensions; do
2208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2209 ac_cv_prog_ac_ct_CC="gcc"
2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2220 if test -n "$ac_ct_CC"; then
2221 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2222 echo "${ECHO_T}$ac_ct_CC" >&6; }
2224 { echo "$as_me:$LINENO: result: no" >&5
2225 echo "${ECHO_T}no" >&6; }
2228 if test "x$ac_ct_CC" = x; then
2231 case $cross_compiling:$ac_tool_warned in
2233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2234 whose name does not start with the host triplet. If you think this
2235 configuration is useful to you, please write to autoconf@gnu.org." >&5
2236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2237 whose name does not start with the host triplet. If you think this
2238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2239 ac_tool_warned=yes ;;
2247 if test -z "$CC"; then
2248 if test -n "$ac_tool_prefix"; then
2249 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2250 set dummy ${ac_tool_prefix}cc; ac_word=$2
2251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2253 if test "${ac_cv_prog_CC+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 if test -n "$CC"; then
2257 ac_cv_prog_CC="$CC" # Let the user override the test.
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir=.
2264 for ac_exec_ext in '' $ac_executable_extensions; do
2265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2266 ac_cv_prog_CC="${ac_tool_prefix}cc"
2267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 if test -n "$CC"; then
2278 { echo "$as_me:$LINENO: result: $CC" >&5
2279 echo "${ECHO_T}$CC" >&6; }
2281 { echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6; }
2288 if test -z "$CC"; then
2289 # Extract the first word of "cc", so it can be a program name with args.
2290 set dummy cc; ac_word=$2
2291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2293 if test "${ac_cv_prog_CC+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 if test -n "$CC"; then
2297 ac_cv_prog_CC="$CC" # Let the user override the test.
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2308 ac_prog_rejected=yes
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 if test $ac_prog_rejected = yes; then
2320 # We found a bogon in the path, so make sure we never use it.
2321 set dummy $ac_cv_prog_CC
2323 if test $# != 0; then
2324 # We chose a different compiler from the bogus one.
2325 # However, it has the same basename, so the bogon will be chosen
2326 # first if we set CC to just the basename; use the full file name.
2328 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2334 if test -n "$CC"; then
2335 { echo "$as_me:$LINENO: result: $CC" >&5
2336 echo "${ECHO_T}$CC" >&6; }
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2344 if test -z "$CC"; then
2345 if test -n "$ac_tool_prefix"; then
2346 for ac_prog in cl.exe
2348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2352 if test "${ac_cv_prog_CC+set}" = set; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 if test -n "$CC"; then
2356 ac_cv_prog_CC="$CC" # Let the user override the test.
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir=.
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 if test -n "$CC"; then
2377 { echo "$as_me:$LINENO: result: $CC" >&5
2378 echo "${ECHO_T}$CC" >&6; }
2380 { echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6; }
2385 test -n "$CC" && break
2388 if test -z "$CC"; then
2390 for ac_prog in cl.exe
2392 # Extract the first word of "$ac_prog", so it can be a program name with args.
2393 set dummy $ac_prog; ac_word=$2
2394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$ac_ct_CC"; then
2400 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_ac_ct_CC="$ac_prog"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2420 if test -n "$ac_ct_CC"; then
2421 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2422 echo "${ECHO_T}$ac_ct_CC" >&6; }
2424 { echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6; }
2429 test -n "$ac_ct_CC" && break
2432 if test "x$ac_ct_CC" = x; then
2435 case $cross_compiling:$ac_tool_warned in
2437 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2438 whose name does not start with the host triplet. If you think this
2439 configuration is useful to you, please write to autoconf@gnu.org." >&5
2440 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2441 whose name does not start with the host triplet. If you think this
2442 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2443 ac_tool_warned=yes ;;
2452 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2453 See \`config.log' for more details." >&5
2454 echo "$as_me: error: no acceptable C compiler found in \$PATH
2455 See \`config.log' for more details." >&2;}
2456 { (exit 1); exit 1; }; }
2458 # Provide some information about the compiler.
2459 echo "$as_me:$LINENO: checking for C compiler version" >&5
2460 ac_compiler=`set X $ac_compile; echo $2`
2461 { (ac_try="$ac_compiler --version >&5"
2463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2464 *) ac_try_echo=$ac_try;;
2466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2467 (eval "$ac_compiler --version >&5") 2>&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }
2471 { (ac_try="$ac_compiler -v >&5"
2473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2474 *) ac_try_echo=$ac_try;;
2476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2477 (eval "$ac_compiler -v >&5") 2>&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }
2481 { (ac_try="$ac_compiler -V >&5"
2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484 *) ac_try_echo=$ac_try;;
2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2487 (eval "$ac_compiler -V >&5") 2>&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }
2492 cat >conftest.$ac_ext <<_ACEOF
2495 cat confdefs.h >>conftest.$ac_ext
2496 cat >>conftest.$ac_ext <<_ACEOF
2497 /* end confdefs.h. */
2507 ac_clean_files_save=$ac_clean_files
2508 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2509 # Try to create an executable without -o first, disregard a.out.
2510 # It will help us diagnose broken compilers, and finding out an intuition
2512 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2513 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2514 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2516 # List of possible output files, starting from the most likely.
2517 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2518 # only as a last resort. b.out is created by i960 compilers.
2519 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2521 # The IRIX 6 linker writes into existing files which may not be
2522 # executable, retaining their permissions. Remove them first so a
2523 # subsequent execution test works.
2525 for ac_file in $ac_files
2528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2529 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2534 if { (ac_try="$ac_link_default"
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link_default") 2>&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2545 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2546 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2547 # so that the user can short-circuit this test for compilers unknown to
2549 for ac_file in $ac_files ''
2551 test -f "$ac_file" || continue
2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2556 # We found the default executable, but exeext='' is most
2560 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2562 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2564 # We set ac_cv_exeext here because the later test for it is not
2565 # safe: cross compilers may not add the suffix if given an `-o'
2566 # argument, so we may need to know it at that point already.
2567 # Even if this section looks crufty: it has the advantage of
2574 test "$ac_cv_exeext" = no && ac_cv_exeext=
2580 { echo "$as_me:$LINENO: result: $ac_file" >&5
2581 echo "${ECHO_T}$ac_file" >&6; }
2582 if test -z "$ac_file"; then
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2586 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2587 See \`config.log' for more details." >&5
2588 echo "$as_me: error: C compiler cannot create executables
2589 See \`config.log' for more details." >&2;}
2590 { (exit 77); exit 77; }; }
2593 ac_exeext=$ac_cv_exeext
2595 # Check that the compiler produces executables we can run. If not, either
2596 # the compiler is broken, or we cross compile.
2597 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2598 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2599 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2600 # If not cross compiling, check that we can run a simple program.
2601 if test "$cross_compiling" != yes; then
2602 if { ac_try='./$ac_file'
2603 { (case "(($ac_try" in
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2608 (eval "$ac_try") 2>&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; }; then
2614 if test "$cross_compiling" = maybe; then
2617 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2618 If you meant to cross compile, use \`--host'.
2619 See \`config.log' for more details." >&5
2620 echo "$as_me: error: cannot run C compiled programs.
2621 If you meant to cross compile, use \`--host'.
2622 See \`config.log' for more details." >&2;}
2623 { (exit 1); exit 1; }; }
2627 { echo "$as_me:$LINENO: result: yes" >&5
2628 echo "${ECHO_T}yes" >&6; }
2630 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2631 ac_clean_files=$ac_clean_files_save
2632 # Check that the compiler produces executables we can run. If not, either
2633 # the compiler is broken, or we cross compile.
2634 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2635 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2636 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2637 echo "${ECHO_T}$cross_compiling" >&6; }
2639 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2640 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2641 if { (ac_try="$ac_link"
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647 (eval "$ac_link") 2>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; then
2651 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2652 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2653 # work properly (i.e., refer to `conftest.exe'), while it won't with
2655 for ac_file in conftest.exe conftest conftest.*; do
2656 test -f "$ac_file" || continue
2658 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2659 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2665 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2666 See \`config.log' for more details." >&5
2667 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2668 See \`config.log' for more details." >&2;}
2669 { (exit 1); exit 1; }; }
2672 rm -f conftest$ac_cv_exeext
2673 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2674 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2676 rm -f conftest.$ac_ext
2677 EXEEXT=$ac_cv_exeext
2679 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2680 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2681 if test "${ac_cv_objext+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 cat >conftest.$ac_ext <<_ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2699 rm -f conftest.o conftest.obj
2700 if { (ac_try="$ac_compile"
2702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2706 (eval "$ac_compile") 2>&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; then
2710 for ac_file in conftest.o conftest.obj conftest.*; do
2711 test -f "$ac_file" || continue;
2713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2714 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2719 echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.$ac_ext >&5
2722 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2723 See \`config.log' for more details." >&5
2724 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2725 See \`config.log' for more details." >&2;}
2726 { (exit 1); exit 1; }; }
2729 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2731 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2732 echo "${ECHO_T}$ac_cv_objext" >&6; }
2733 OBJEXT=$ac_cv_objext
2735 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2736 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2737 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 cat >conftest.$ac_ext <<_ACEOF
2743 cat confdefs.h >>conftest.$ac_ext
2744 cat >>conftest.$ac_ext <<_ACEOF
2745 /* end confdefs.h. */
2758 rm -f conftest.$ac_objext
2759 if { (ac_try="$ac_compile"
2761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762 *) ac_try_echo=$ac_try;;
2764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2765 (eval "$ac_compile") 2>conftest.er1
2767 grep -v '^ *+' conftest.er1 >conftest.err
2769 cat conftest.err >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } && {
2772 test -z "$ac_c_werror_flag" ||
2773 test ! -s conftest.err
2774 } && test -s conftest.$ac_objext; then
2777 echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2787 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2788 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2789 GCC=`test $ac_compiler_gnu = yes && echo yes`
2790 ac_test_CFLAGS=${CFLAGS+set}
2791 ac_save_CFLAGS=$CFLAGS
2792 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2793 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2794 if test "${ac_cv_prog_cc_g+set}" = set; then
2795 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 ac_save_c_werror_flag=$ac_c_werror_flag
2798 ac_c_werror_flag=yes
2801 cat >conftest.$ac_ext <<_ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2816 rm -f conftest.$ac_objext
2817 if { (ac_try="$ac_compile"
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compile") 2>conftest.er1
2825 grep -v '^ *+' conftest.er1 >conftest.err
2827 cat conftest.err >&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } && {
2830 test -z "$ac_c_werror_flag" ||
2831 test ! -s conftest.err
2832 } && test -s conftest.$ac_objext; then
2835 echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2839 cat >conftest.$ac_ext <<_ACEOF
2842 cat confdefs.h >>conftest.$ac_ext
2843 cat >>conftest.$ac_ext <<_ACEOF
2844 /* end confdefs.h. */
2854 rm -f conftest.$ac_objext
2855 if { (ac_try="$ac_compile"
2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2861 (eval "$ac_compile") 2>conftest.er1
2863 grep -v '^ *+' conftest.er1 >conftest.err
2865 cat conftest.err >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } && {
2868 test -z "$ac_c_werror_flag" ||
2869 test ! -s conftest.err
2870 } && test -s conftest.$ac_objext; then
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.$ac_ext >&5
2876 ac_c_werror_flag=$ac_save_c_werror_flag
2878 cat >conftest.$ac_ext <<_ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2893 rm -f conftest.$ac_objext
2894 if { (ac_try="$ac_compile"
2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2900 (eval "$ac_compile") 2>conftest.er1
2902 grep -v '^ *+' conftest.er1 >conftest.err
2904 cat conftest.err >&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); } && {
2907 test -z "$ac_c_werror_flag" ||
2908 test ! -s conftest.err
2909 } && test -s conftest.$ac_objext; then
2912 echo "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.$ac_ext >&5
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 ac_c_werror_flag=$ac_save_c_werror_flag
2927 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2928 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2929 if test "$ac_test_CFLAGS" = set; then
2930 CFLAGS=$ac_save_CFLAGS
2931 elif test $ac_cv_prog_cc_g = yes; then
2932 if test "$GCC" = yes; then
2938 if test "$GCC" = yes; then
2944 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2945 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2946 if test "${ac_cv_prog_cc_c89+set}" = set; then
2947 echo $ECHO_N "(cached) $ECHO_C" >&6
2949 ac_cv_prog_cc_c89=no
2951 cat >conftest.$ac_ext <<_ACEOF
2954 cat confdefs.h >>conftest.$ac_ext
2955 cat >>conftest.$ac_ext <<_ACEOF
2956 /* end confdefs.h. */
2959 #include <sys/types.h>
2960 #include <sys/stat.h>
2961 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2962 struct buf { int x; };
2963 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2964 static char *e (p, i)
2970 static char *f (char * (*g) (char **, int), char **p, ...)
2975 s = g (p, va_arg (v,int));
2980 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2981 function prototypes and stuff, but not '\xHH' hex character constants.
2982 These don't provoke an error unfortunately, instead are silently treated
2983 as 'x'. The following induces an error, until -std is added to get
2984 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2985 array size at least. It's necessary to write '\x00'==0 to get something
2986 that's true only with -std. */
2987 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2989 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2990 inside strings and character constants. */
2992 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2994 int test (int i, double x);
2995 struct s1 {int (*f) (int a);};
2996 struct s2 {int (*f) (double a);};
2997 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3003 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3008 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3009 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3011 CC="$ac_save_CC $ac_arg"
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3019 (eval "$ac_compile") 2>conftest.er1
3021 grep -v '^ *+' conftest.er1 >conftest.err
3023 cat conftest.err >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } && {
3026 test -z "$ac_c_werror_flag" ||
3027 test ! -s conftest.err
3028 } && test -s conftest.$ac_objext; then
3029 ac_cv_prog_cc_c89=$ac_arg
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3037 rm -f core conftest.err conftest.$ac_objext
3038 test "x$ac_cv_prog_cc_c89" != "xno" && break
3040 rm -f conftest.$ac_ext
3045 case "x$ac_cv_prog_cc_c89" in
3047 { echo "$as_me:$LINENO: result: none needed" >&5
3048 echo "${ECHO_T}none needed" >&6; } ;;
3050 { echo "$as_me:$LINENO: result: unsupported" >&5
3051 echo "${ECHO_T}unsupported" >&6; } ;;
3053 CC="$CC $ac_cv_prog_cc_c89"
3054 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3055 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3060 ac_cpp='$CPP $CPPFLAGS'
3061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3067 ac_cpp='$CPP $CPPFLAGS'
3068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3071 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3072 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3073 # On Suns, sometimes $CPP names a directory.
3074 if test -n "$CPP" && test -d "$CPP"; then
3077 if test -z "$CPP"; then
3078 if test "${ac_cv_prog_CPP+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 # Double quotes because CPP needs to be expanded
3082 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3085 for ac_c_preproc_warn_flag in '' yes
3087 # Use a header file that comes with gcc, so configuring glibc
3088 # with a fresh cross-compiler works.
3089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3090 # <limits.h> exists even on freestanding compilers.
3091 # On the NeXT, cc -E runs the code through the compiler's parser,
3092 # not just through cpp. "Syntax error" is here to catch this case.
3093 cat >conftest.$ac_ext <<_ACEOF
3096 cat confdefs.h >>conftest.$ac_ext
3097 cat >>conftest.$ac_ext <<_ACEOF
3098 /* end confdefs.h. */
3100 # include <limits.h>
3102 # include <assert.h>
3106 if { (ac_try="$ac_cpp conftest.$ac_ext"
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3114 grep -v '^ *+' conftest.er1 >conftest.err
3116 cat conftest.err >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); } >/dev/null && {
3119 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3120 test ! -s conftest.err
3124 echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.$ac_ext >&5
3127 # Broken: fails on valid input.
3131 rm -f conftest.err conftest.$ac_ext
3133 # OK, works on sane cases. Now check whether nonexistent headers
3134 # can be detected and how.
3135 cat >conftest.$ac_ext <<_ACEOF
3138 cat confdefs.h >>conftest.$ac_ext
3139 cat >>conftest.$ac_ext <<_ACEOF
3140 /* end confdefs.h. */
3141 #include <ac_nonexistent.h>
3143 if { (ac_try="$ac_cpp conftest.$ac_ext"
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3151 grep -v '^ *+' conftest.er1 >conftest.err
3153 cat conftest.err >&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); } >/dev/null && {
3156 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3157 test ! -s conftest.err
3159 # Broken: success on invalid input.
3162 echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3165 # Passes both tests.
3170 rm -f conftest.err conftest.$ac_ext
3173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3174 rm -f conftest.err conftest.$ac_ext
3175 if $ac_preproc_ok; then
3187 { echo "$as_me:$LINENO: result: $CPP" >&5
3188 echo "${ECHO_T}$CPP" >&6; }
3190 for ac_c_preproc_warn_flag in '' yes
3192 # Use a header file that comes with gcc, so configuring glibc
3193 # with a fresh cross-compiler works.
3194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3195 # <limits.h> exists even on freestanding compilers.
3196 # On the NeXT, cc -E runs the code through the compiler's parser,
3197 # not just through cpp. "Syntax error" is here to catch this case.
3198 cat >conftest.$ac_ext <<_ACEOF
3201 cat confdefs.h >>conftest.$ac_ext
3202 cat >>conftest.$ac_ext <<_ACEOF
3203 /* end confdefs.h. */
3205 # include <limits.h>
3207 # include <assert.h>
3211 if { (ac_try="$ac_cpp conftest.$ac_ext"
3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3219 grep -v '^ *+' conftest.er1 >conftest.err
3221 cat conftest.err >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); } >/dev/null && {
3224 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3225 test ! -s conftest.err
3229 echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3232 # Broken: fails on valid input.
3236 rm -f conftest.err conftest.$ac_ext
3238 # OK, works on sane cases. Now check whether nonexistent headers
3239 # can be detected and how.
3240 cat >conftest.$ac_ext <<_ACEOF
3243 cat confdefs.h >>conftest.$ac_ext
3244 cat >>conftest.$ac_ext <<_ACEOF
3245 /* end confdefs.h. */
3246 #include <ac_nonexistent.h>
3248 if { (ac_try="$ac_cpp conftest.$ac_ext"
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3256 grep -v '^ *+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } >/dev/null && {
3261 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3262 test ! -s conftest.err
3264 # Broken: success on invalid input.
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 # Passes both tests.
3275 rm -f conftest.err conftest.$ac_ext
3278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3279 rm -f conftest.err conftest.$ac_ext
3280 if $ac_preproc_ok; then
3283 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3284 See \`config.log' for more details." >&5
3285 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3286 See \`config.log' for more details." >&2;}
3287 { (exit 1); exit 1; }; }
3291 ac_cpp='$CPP $CPPFLAGS'
3292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3297 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3298 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3299 if test "${ac_cv_path_GREP+set}" = set; then
3300 echo $ECHO_N "(cached) $ECHO_C" >&6
3302 # Extract the first word of "grep ggrep" to use in msg output
3303 if test -z "$GREP"; then
3304 set dummy grep ggrep; ac_prog_name=$2
3305 if test "${ac_cv_path_GREP+set}" = set; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 ac_path_GREP_found=false
3309 # Loop through the user's path and test for each of PROGNAME-LIST
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3314 test -z "$as_dir" && as_dir=.
3315 for ac_prog in grep ggrep; do
3316 for ac_exec_ext in '' $ac_executable_extensions; do
3317 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3318 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3319 # Check for GNU ac_path_GREP and select it if it is found.
3320 # Check for GNU $ac_path_GREP
3321 case `"$ac_path_GREP" --version 2>&1` in
3323 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3326 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3329 cat "conftest.in" "conftest.in" >"conftest.tmp"
3330 mv "conftest.tmp" "conftest.in"
3331 cp "conftest.in" "conftest.nl"
3332 echo 'GREP' >> "conftest.nl"
3333 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3335 ac_count=`expr $ac_count + 1`
3336 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3337 # Best one so far, save it but keep looking for a better one
3338 ac_cv_path_GREP="$ac_path_GREP"
3339 ac_path_GREP_max=$ac_count
3341 # 10*(2^10) chars as input seems more than enough
3342 test $ac_count -gt 10 && break
3344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3348 $ac_path_GREP_found && break 3
3358 GREP="$ac_cv_path_GREP"
3359 if test -z "$GREP"; then
3360 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3361 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3362 { (exit 1); exit 1; }; }
3366 ac_cv_path_GREP=$GREP
3371 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3372 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3373 GREP="$ac_cv_path_GREP"
3376 { echo "$as_me:$LINENO: checking for egrep" >&5
3377 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3378 if test "${ac_cv_path_EGREP+set}" = set; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3382 then ac_cv_path_EGREP="$GREP -E"
3384 # Extract the first word of "egrep" to use in msg output
3385 if test -z "$EGREP"; then
3386 set dummy egrep; ac_prog_name=$2
3387 if test "${ac_cv_path_EGREP+set}" = set; then
3388 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 ac_path_EGREP_found=false
3391 # Loop through the user's path and test for each of PROGNAME-LIST
3392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3393 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3396 test -z "$as_dir" && as_dir=.
3397 for ac_prog in egrep; do
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3400 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3401 # Check for GNU ac_path_EGREP and select it if it is found.
3402 # Check for GNU $ac_path_EGREP
3403 case `"$ac_path_EGREP" --version 2>&1` in
3405 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3408 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3411 cat "conftest.in" "conftest.in" >"conftest.tmp"
3412 mv "conftest.tmp" "conftest.in"
3413 cp "conftest.in" "conftest.nl"
3414 echo 'EGREP' >> "conftest.nl"
3415 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3416 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3417 ac_count=`expr $ac_count + 1`
3418 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3419 # Best one so far, save it but keep looking for a better one
3420 ac_cv_path_EGREP="$ac_path_EGREP"
3421 ac_path_EGREP_max=$ac_count
3423 # 10*(2^10) chars as input seems more than enough
3424 test $ac_count -gt 10 && break
3426 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3430 $ac_path_EGREP_found && break 3
3440 EGREP="$ac_cv_path_EGREP"
3441 if test -z "$EGREP"; then
3442 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3443 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3444 { (exit 1); exit 1; }; }
3448 ac_cv_path_EGREP=$EGREP
3454 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3455 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3456 EGREP="$ac_cv_path_EGREP"
3460 { echo "$as_me:$LINENO: checking for AIX" >&5
3461 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3462 cat >conftest.$ac_ext <<_ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3474 $EGREP "yes" >/dev/null 2>&1; then
3475 { echo "$as_me:$LINENO: result: yes" >&5
3476 echo "${ECHO_T}yes" >&6; }
3477 cat >>confdefs.h <<\_ACEOF
3478 #define _ALL_SOURCE 1
3482 { echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6; }
3488 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3489 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3490 if test "${ac_cv_header_stdc+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 cat >conftest.$ac_ext <<_ACEOF
3496 cat confdefs.h >>conftest.$ac_ext
3497 cat >>conftest.$ac_ext <<_ACEOF
3498 /* end confdefs.h. */
3512 rm -f conftest.$ac_objext
3513 if { (ac_try="$ac_compile"
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3521 grep -v '^ *+' conftest.er1 >conftest.err
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_c_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3529 ac_cv_header_stdc=yes
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3534 ac_cv_header_stdc=no
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 if test $ac_cv_header_stdc = yes; then
3540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3541 cat >conftest.$ac_ext <<_ACEOF
3544 cat confdefs.h >>conftest.$ac_ext
3545 cat >>conftest.$ac_ext <<_ACEOF
3546 /* end confdefs.h. */
3550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3551 $EGREP "memchr" >/dev/null 2>&1; then
3554 ac_cv_header_stdc=no
3560 if test $ac_cv_header_stdc = yes; then
3561 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3562 cat >conftest.$ac_ext <<_ACEOF
3565 cat confdefs.h >>conftest.$ac_ext
3566 cat >>conftest.$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3572 $EGREP "free" >/dev/null 2>&1; then
3575 ac_cv_header_stdc=no
3581 if test $ac_cv_header_stdc = yes; then
3582 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3583 if test "$cross_compiling" = yes; then
3586 cat >conftest.$ac_ext <<_ACEOF
3589 cat confdefs.h >>conftest.$ac_ext
3590 cat >>conftest.$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3594 #if ((' ' & 0x0FF) == 0x020)
3595 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3596 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3598 # define ISLOWER(c) \
3599 (('a' <= (c) && (c) <= 'i') \
3600 || ('j' <= (c) && (c) <= 'r') \
3601 || ('s' <= (c) && (c) <= 'z'))
3602 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3605 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3610 for (i = 0; i < 256; i++)
3611 if (XOR (islower (i), ISLOWER (i))
3612 || toupper (i) != TOUPPER (i))
3617 rm -f conftest$ac_exeext
3618 if { (ac_try="$ac_link"
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;
3623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3624 (eval "$ac_link") 2>&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3628 { (case "(($ac_try" in
3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630 *) ac_try_echo=$ac_try;;
3632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3633 (eval "$ac_try") 2>&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; }; then
3639 echo "$as_me: program exited with status $ac_status" >&5
3640 echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.$ac_ext >&5
3644 ac_cv_header_stdc=no
3646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3652 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3653 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3654 if test $ac_cv_header_stdc = yes; then
3656 cat >>confdefs.h <<\_ACEOF
3657 #define STDC_HEADERS 1
3662 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3672 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3673 inttypes.h stdint.h unistd.h
3675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3676 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 cat >conftest.$ac_ext <<_ACEOF
3684 cat confdefs.h >>conftest.$ac_ext
3685 cat >>conftest.$ac_ext <<_ACEOF
3686 /* end confdefs.h. */
3687 $ac_includes_default
3689 #include <$ac_header>
3691 rm -f conftest.$ac_objext
3692 if { (ac_try="$ac_compile"
3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3695 *) ac_try_echo=$ac_try;;
3697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3698 (eval "$ac_compile") 2>conftest.er1
3700 grep -v '^ *+' conftest.er1 >conftest.err
3702 cat conftest.err >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); } && {
3705 test -z "$ac_c_werror_flag" ||
3706 test ! -s conftest.err
3707 } && test -s conftest.$ac_objext; then
3708 eval "$as_ac_Header=yes"
3710 echo "$as_me: failed program was:" >&5
3711 sed 's/^/| /' conftest.$ac_ext >&5
3713 eval "$as_ac_Header=no"
3716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 ac_res=`eval echo '${'$as_ac_Header'}'`
3719 { echo "$as_me:$LINENO: result: $ac_res" >&5
3720 echo "${ECHO_T}$ac_res" >&6; }
3721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3722 cat >>confdefs.h <<_ACEOF
3723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3731 if test "${ac_cv_header_minix_config_h+set}" = set; then
3732 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3733 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3734 if test "${ac_cv_header_minix_config_h+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3738 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3740 # Is the header compilable?
3741 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3742 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 $ac_includes_default
3750 #include <minix/config.h>
3752 rm -f conftest.$ac_objext
3753 if { (ac_try="$ac_compile"
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759 (eval "$ac_compile") 2>conftest.er1
3761 grep -v '^ *+' conftest.er1 >conftest.err
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } && {
3766 test -z "$ac_c_werror_flag" ||
3767 test ! -s conftest.err
3768 } && test -s conftest.$ac_objext; then
3769 ac_header_compiler=yes
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 ac_header_compiler=no
3777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3778 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3779 echo "${ECHO_T}$ac_header_compiler" >&6; }
3781 # Is the header present?
3782 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3783 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 #include <minix/config.h>
3792 if { (ac_try="$ac_cpp conftest.$ac_ext"
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3800 grep -v '^ *+' conftest.er1 >conftest.err
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } >/dev/null && {
3805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3806 test ! -s conftest.err
3808 ac_header_preproc=yes
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 ac_header_preproc=no
3816 rm -f conftest.err conftest.$ac_ext
3817 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3818 echo "${ECHO_T}$ac_header_preproc" >&6; }
3820 # So? What about this header?
3821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3823 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3824 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3825 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3826 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3827 ac_header_preproc=yes
3830 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3831 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3832 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3833 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3834 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3835 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3836 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3837 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3838 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3839 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3840 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3841 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3845 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3846 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3847 if test "${ac_cv_header_minix_config_h+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 ac_cv_header_minix_config_h=$ac_header_preproc
3852 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3853 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3856 if test $ac_cv_header_minix_config_h = yes; then
3863 if test "$MINIX" = yes; then
3865 cat >>confdefs.h <<\_ACEOF
3866 #define _POSIX_SOURCE 1
3870 cat >>confdefs.h <<\_ACEOF
3871 #define _POSIX_1_SOURCE 2
3875 cat >>confdefs.h <<\_ACEOF
3891 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3892 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3893 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 cat >conftest.$ac_ext <<_ACEOF
3899 cat confdefs.h >>conftest.$ac_ext
3900 cat >>conftest.$ac_ext <<_ACEOF
3901 /* end confdefs.h. */
3903 # define __EXTENSIONS__ 1
3904 $ac_includes_default
3913 rm -f conftest.$ac_objext
3914 if { (ac_try="$ac_compile"
3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3920 (eval "$ac_compile") 2>conftest.er1
3922 grep -v '^ *+' conftest.er1 >conftest.err
3924 cat conftest.err >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); } && {
3927 test -z "$ac_c_werror_flag" ||
3928 test ! -s conftest.err
3929 } && test -s conftest.$ac_objext; then
3930 ac_cv_safe_to_define___extensions__=yes
3932 echo "$as_me: failed program was:" >&5
3933 sed 's/^/| /' conftest.$ac_ext >&5
3935 ac_cv_safe_to_define___extensions__=no
3938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3940 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3941 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
3942 test $ac_cv_safe_to_define___extensions__ = yes &&
3943 cat >>confdefs.h <<\_ACEOF
3944 #define __EXTENSIONS__ 1