2 # From configure.ac Revision: 83517 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
582 ac_unique_file="asterisk"
583 ac_unique_file="main/asterisk.c"
584 # Factoring default headers for most tests.
585 ac_includes_default="\
587 #ifdef HAVE_SYS_TYPES_H
588 # include <sys/types.h>
590 #ifdef HAVE_SYS_STAT_H
591 # include <sys/stat.h>
597 # ifdef HAVE_STDLIB_H
602 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #ifdef HAVE_STRINGS_H
608 # include <strings.h>
610 #ifdef HAVE_INTTYPES_H
611 # include <inttypes.h>
631 program_transform_name
897 ZAPTEL_TRANSCODE_INCLUDE
901 ZAPTEL_VLDTMF_INCLUDE
909 AST_DECLARATION_AFTER_STATEMENT
940 ac_precious_vars='build_alias
955 # Initialize some variables set by options.
957 ac_init_version=false
958 # The variables have the same names as the options, with
959 # dashes changed to underlines.
967 program_transform_name=s,x,x,
975 # Installation directory options.
976 # These are left unexpanded so users can "make install exec_prefix=/foo"
977 # and all the variables that are supposed to be based on exec_prefix
978 # by default will actually change.
979 # Use braces instead of parens because sh, perl, etc. also accept them.
980 # (The list follows the same order as the GNU Coding Standards.)
981 bindir='${exec_prefix}/bin'
982 sbindir='${exec_prefix}/sbin'
983 libexecdir='${exec_prefix}/libexec'
984 datarootdir='${prefix}/share'
985 datadir='${datarootdir}'
986 sysconfdir='${prefix}/etc'
987 sharedstatedir='${prefix}/com'
988 localstatedir='${prefix}/var'
989 includedir='${prefix}/include'
990 oldincludedir='/usr/include'
991 docdir='${datarootdir}/doc/${PACKAGE}'
992 infodir='${datarootdir}/info'
997 libdir='${exec_prefix}/lib'
998 localedir='${datarootdir}/locale'
999 mandir='${datarootdir}/man'
1005 # If the previous option needs an argument, assign it.
1006 if test -n "$ac_prev"; then
1007 eval $ac_prev=\$ac_option
1013 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1017 # Accept the important Cygnus configure options, so we can diagnose typos.
1019 case $ac_dashdash$ac_option in
1023 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1025 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1026 bindir=$ac_optarg ;;
1028 -build | --build | --buil | --bui | --bu)
1029 ac_prev=build_alias ;;
1030 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1031 build_alias=$ac_optarg ;;
1033 -cache-file | --cache-file | --cache-fil | --cache-fi \
1034 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1035 ac_prev=cache_file ;;
1036 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1037 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1038 cache_file=$ac_optarg ;;
1040 --config-cache | -C)
1041 cache_file=config.cache ;;
1043 -datadir | --datadir | --datadi | --datad)
1045 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1046 datadir=$ac_optarg ;;
1048 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1049 | --dataroo | --dataro | --datar)
1050 ac_prev=datarootdir ;;
1051 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1052 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1053 datarootdir=$ac_optarg ;;
1055 -disable-* | --disable-*)
1056 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1059 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1060 { (exit 1); exit 1; }; }
1061 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1062 eval enable_$ac_feature=no ;;
1064 -docdir | --docdir | --docdi | --doc | --do)
1066 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1067 docdir=$ac_optarg ;;
1069 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1071 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1072 dvidir=$ac_optarg ;;
1074 -enable-* | --enable-*)
1075 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1078 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1079 { (exit 1); exit 1; }; }
1080 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1081 eval enable_$ac_feature=\$ac_optarg ;;
1083 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1084 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1085 | --exec | --exe | --ex)
1086 ac_prev=exec_prefix ;;
1087 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1088 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1089 | --exec=* | --exe=* | --ex=*)
1090 exec_prefix=$ac_optarg ;;
1092 -gas | --gas | --ga | --g)
1093 # Obsolete; use --with-gas.
1096 -help | --help | --hel | --he | -h)
1097 ac_init_help=long ;;
1098 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1099 ac_init_help=recursive ;;
1100 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1101 ac_init_help=short ;;
1103 -host | --host | --hos | --ho)
1104 ac_prev=host_alias ;;
1105 -host=* | --host=* | --hos=* | --ho=*)
1106 host_alias=$ac_optarg ;;
1108 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1110 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1112 htmldir=$ac_optarg ;;
1114 -includedir | --includedir | --includedi | --included | --include \
1115 | --includ | --inclu | --incl | --inc)
1116 ac_prev=includedir ;;
1117 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1118 | --includ=* | --inclu=* | --incl=* | --inc=*)
1119 includedir=$ac_optarg ;;
1121 -infodir | --infodir | --infodi | --infod | --info | --inf)
1123 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1124 infodir=$ac_optarg ;;
1126 -libdir | --libdir | --libdi | --libd)
1128 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1129 libdir=$ac_optarg ;;
1131 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1132 | --libexe | --libex | --libe)
1133 ac_prev=libexecdir ;;
1134 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1135 | --libexe=* | --libex=* | --libe=*)
1136 libexecdir=$ac_optarg ;;
1138 -localedir | --localedir | --localedi | --localed | --locale)
1139 ac_prev=localedir ;;
1140 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1141 localedir=$ac_optarg ;;
1143 -localstatedir | --localstatedir | --localstatedi | --localstated \
1144 | --localstate | --localstat | --localsta | --localst | --locals)
1145 ac_prev=localstatedir ;;
1146 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1147 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1148 localstatedir=$ac_optarg ;;
1150 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1152 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1153 mandir=$ac_optarg ;;
1155 -nfp | --nfp | --nf)
1156 # Obsolete; use --without-fp.
1159 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1160 | --no-cr | --no-c | -n)
1163 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1164 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1167 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1168 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1169 | --oldin | --oldi | --old | --ol | --o)
1170 ac_prev=oldincludedir ;;
1171 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1172 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1173 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1174 oldincludedir=$ac_optarg ;;
1176 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1178 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1179 prefix=$ac_optarg ;;
1181 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1182 | --program-pre | --program-pr | --program-p)
1183 ac_prev=program_prefix ;;
1184 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1185 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1186 program_prefix=$ac_optarg ;;
1188 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1189 | --program-suf | --program-su | --program-s)
1190 ac_prev=program_suffix ;;
1191 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1192 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1193 program_suffix=$ac_optarg ;;
1195 -program-transform-name | --program-transform-name \
1196 | --program-transform-nam | --program-transform-na \
1197 | --program-transform-n | --program-transform- \
1198 | --program-transform | --program-transfor \
1199 | --program-transfo | --program-transf \
1200 | --program-trans | --program-tran \
1201 | --progr-tra | --program-tr | --program-t)
1202 ac_prev=program_transform_name ;;
1203 -program-transform-name=* | --program-transform-name=* \
1204 | --program-transform-nam=* | --program-transform-na=* \
1205 | --program-transform-n=* | --program-transform-=* \
1206 | --program-transform=* | --program-transfor=* \
1207 | --program-transfo=* | --program-transf=* \
1208 | --program-trans=* | --program-tran=* \
1209 | --progr-tra=* | --program-tr=* | --program-t=*)
1210 program_transform_name=$ac_optarg ;;
1212 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1214 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1215 pdfdir=$ac_optarg ;;
1217 -psdir | --psdir | --psdi | --psd | --ps)
1219 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223 | -silent | --silent | --silen | --sile | --sil)
1226 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1228 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1230 sbindir=$ac_optarg ;;
1232 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1233 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1234 | --sharedst | --shareds | --shared | --share | --shar \
1236 ac_prev=sharedstatedir ;;
1237 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1238 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1239 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1241 sharedstatedir=$ac_optarg ;;
1243 -site | --site | --sit)
1245 -site=* | --site=* | --sit=*)
1248 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1250 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1251 srcdir=$ac_optarg ;;
1253 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1254 | --syscon | --sysco | --sysc | --sys | --sy)
1255 ac_prev=sysconfdir ;;
1256 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1257 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1258 sysconfdir=$ac_optarg ;;
1260 -target | --target | --targe | --targ | --tar | --ta | --t)
1261 ac_prev=target_alias ;;
1262 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1263 target_alias=$ac_optarg ;;
1265 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1268 -version | --version | --versio | --versi | --vers | -V)
1269 ac_init_version=: ;;
1272 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\$ac_optarg ;;
1280 -without-* | --without-*)
1281 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1284 { echo "$as_me: error: invalid package name: $ac_package" >&2
1285 { (exit 1); exit 1; }; }
1286 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1287 eval with_$ac_package=no ;;
1290 # Obsolete; use --with-x.
1293 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1294 | --x-incl | --x-inc | --x-in | --x-i)
1295 ac_prev=x_includes ;;
1296 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1297 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1298 x_includes=$ac_optarg ;;
1300 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1301 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1302 ac_prev=x_libraries ;;
1303 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1304 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1305 x_libraries=$ac_optarg ;;
1307 -*) { echo "$as_me: error: unrecognized option: $ac_option
1308 Try \`$0 --help' for more information." >&2
1309 { (exit 1); exit 1; }; }
1313 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1314 # Reject names that are not valid shell variable names.
1315 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1316 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1317 { (exit 1); exit 1; }; }
1318 eval $ac_envvar=\$ac_optarg
1319 export $ac_envvar ;;
1322 # FIXME: should be removed in autoconf 3.0.
1323 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1325 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1332 if test -n "$ac_prev"; then
1333 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1334 { echo "$as_me: error: missing argument to $ac_option" >&2
1335 { (exit 1); exit 1; }; }
1338 # Be sure to have absolute directory names.
1339 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1340 datadir sysconfdir sharedstatedir localstatedir includedir \
1341 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1342 libdir localedir mandir
1344 eval ac_val=\$$ac_var
1346 [\\/$]* | ?:[\\/]* ) continue;;
1347 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1349 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1350 { (exit 1); exit 1; }; }
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1358 target=$target_alias
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x; then
1362 if test "x$build_alias" = x; then
1363 cross_compiling=maybe
1364 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1365 If a cross compiler is detected then cross compile mode will be used." >&2
1366 elif test "x$build_alias" != "x$host_alias"; then
1372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1374 test "$silent" = yes && exec 6>/dev/null
1377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di=`ls -di .` &&
1379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380 { echo "$as_me: error: Working directory cannot be determined" >&2
1381 { (exit 1); exit 1; }; }
1382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1383 { echo "$as_me: error: pwd does not report name of working directory" >&2
1384 { (exit 1); exit 1; }; }
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir=`$as_dirname -- "$0" ||
1392 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$0" : 'X\(//\)[^/]' \| \
1394 X"$0" : 'X\(//\)$' \| \
1395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1419 ac_srcdir_defaulted=no
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1424 { (exit 1); exit 1; }; }
1426 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1429 { (exit 1); exit 1; }; }
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 for ac_var in $ac_precious_vars; do
1442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_${ac_var}_value=\$${ac_var}
1444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1455 \`configure' configures this package to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1513 --build=BUILD configure for building on BUILD [guessed]
1514 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1518 if test -n "$ac_init_help"; then
1523 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1524 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1525 --enable-dev-mode Turn on developer mode
1526 --disable-largefile omit support for large files
1529 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1530 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1531 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1532 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1533 --with-execinfo=PATH use Stack Backtrace support files in PATH
1534 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1535 --with-curl=PATH use cURL files in PATH
1536 --with-curses=PATH use curses files in PATH
1537 --with-crypto=PATH use OpenSSL Cryptography support files in PATH
1538 --with-gnutls=PATH use GNU TLS support (used for iksemel only) files in
1540 --with-gsm=PATH use GSM files in PATH , or 'internal'
1541 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1542 --with-imap=PATH use UW IMAP Toolkit files in PATH
1543 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1544 --with-kde=PATH use KDE files in PATH
1545 --with-ltdl=PATH use libtool files in PATH
1546 --with-misdn=PATH use mISDN User Library files in PATH
1547 --with-nbs=PATH use Network Broadcast Sound files in PATH
1548 --with-ncurses=PATH use ncurses files in PATH
1549 --with-netsnmp=PATH use Net-SNMP files in PATH
1550 --with-newt=PATH use newt files in PATH
1551 --with-odbc=PATH use unixODBC files in PATH
1552 --with-ogg=PATH use OGG files in PATH
1553 --with-osptk=PATH use OSP Toolkit files in PATH
1554 --with-oss=PATH use Open Sound System files in PATH
1555 --with-popt=PATH use popt files in PATH
1556 --with-postgres=PATH use PostgreSQL files in PATH
1557 --with-pri=PATH use ISDN PRI files in PATH
1558 --with-ss7=PATH use ISDN SS7 files in PATH
1559 --with-pwlib=PATH use PWlib files in PATH
1560 --with-h323=PATH use OpenH323 files in PATH
1561 --with-qt=PATH use Qt files in PATH
1562 --with-radius=PATH use Radius Client files in PATH
1563 --with-speex=PATH use Speex files in PATH
1564 --with-sqlite=PATH use SQLite files in PATH
1565 --with-sqlite3=PATH use SQLite files in PATH
1566 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1567 --with-ssl=PATH use OpenSSL Secure Sockets Layer support files in
1569 --with-tds=PATH use FreeTDS files in PATH
1570 --with-termcap=PATH use Termcap files in PATH
1571 --with-tinfo=PATH use Term Info files in PATH
1572 --with-tonezone=PATH use tonezone files in PATH
1573 --with-usb=PATH use usb files in PATH
1574 --with-vorbis=PATH use Vorbis files in PATH
1575 --with-vpb=PATH use Voicetronix API files in PATH
1576 --with-z=PATH use zlib files in PATH
1577 --with-zaptel=PATH use Zaptel files in PATH
1578 --with-zaptel_transcode=PATH
1579 use Zaptel_transcode files in PATH
1580 --with-zaptel_vldtmf=PATH
1581 use Zaptel_vldtmf files in PATH
1583 Some influential environment variables:
1584 CC C compiler command
1585 CFLAGS C compiler flags
1586 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1587 nonstandard directory <lib dir>
1588 LIBS libraries to pass to the linker, e.g. -l<library>
1589 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1590 you have headers in a nonstandard directory <include dir>
1592 CXX C++ compiler command
1593 CXXFLAGS C++ compiler flags
1594 CXXCPP C++ preprocessor
1596 Use these variables to override the choices made by `configure' or to help
1597 it to find libraries and programs with nonstandard names/locations.
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1606 test -d "$ac_dir" || continue
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1626 .) # We are building in place.
1628 ac_top_srcdir=$ac_top_builddir_sub
1629 ac_abs_top_srcdir=$ac_pwd ;;
1630 [\\/]* | ?:[\\/]* ) # Absolute name.
1631 ac_srcdir=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir=$srcdir
1633 ac_abs_top_srcdir=$srcdir ;;
1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" || { ac_status=$?; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1650 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 cd "$ac_pwd" || { ac_status=$?; break; }
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1660 generated by GNU Autoconf 2.61
1662 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1663 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1671 cat >config.log <<_ACEOF
1672 This file contains any messages produced by compilers while
1673 running configure, to aid debugging if configure makes a mistake.
1675 It was created by $as_me, which was
1676 generated by GNU Autoconf 2.61. Invocation command line was
1688 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1689 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1690 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1691 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1692 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1694 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1695 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1697 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1698 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1699 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1700 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1701 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1702 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1703 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 echo "PATH: $as_dir"
1728 # Keep a trace of the command line.
1729 # Strip out --no-create and --no-recursion so they do not pile up.
1730 # Strip out --silent because we don't want to record it for future runs.
1731 # Also quote any args containing shell meta-characters.
1732 # Make two passes to allow for proper duplicate-argument suppression.
1736 ac_must_keep_next=false
1742 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1743 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1744 | -silent | --silent | --silen | --sile | --sil)
1747 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1750 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1752 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1753 if test $ac_must_keep_next = true; then
1754 ac_must_keep_next=false # Got value, back to normal.
1757 *=* | --config-cache | -C | -disable-* | --disable-* \
1758 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1759 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1760 | -with-* | --with-* | -without-* | --without-* | --x)
1761 case "$ac_configure_args0 " in
1762 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1765 -* ) ac_must_keep_next=true ;;
1768 ac_configure_args="$ac_configure_args '$ac_arg'"
1773 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1774 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1776 # When interrupted or exit'd, cleanup temporary files, and complete
1777 # config.log. We remove comments because anyway the quotes in there
1778 # would cause problems or look ugly.
1779 # WARNING: Use '\'' to represent an apostrophe within the trap.
1780 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1781 trap 'exit_status=$?
1782 # Save into config.log some information that might help in debugging.
1787 ## ---------------- ##
1788 ## Cache variables. ##
1789 ## ---------------- ##
1792 # The following way of writing the cache mishandles newlines in values,
1794 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1795 eval ac_val=\$$ac_var
1799 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1800 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1803 _ | IFS | as_nl) ;; #(
1804 *) $as_unset $ac_var ;;
1809 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1810 *${as_nl}ac_space=\ *)
1812 "s/'\''/'\''\\\\'\'''\''/g;
1813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1824 ## ----------------- ##
1825 ## Output variables. ##
1826 ## ----------------- ##
1829 for ac_var in $ac_subst_vars
1831 eval ac_val=\$$ac_var
1833 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 echo "$ac_var='\''$ac_val'\''"
1839 if test -n "$ac_subst_files"; then
1841 ## ------------------- ##
1842 ## File substitutions. ##
1843 ## ------------------- ##
1846 for ac_var in $ac_subst_files
1848 eval ac_val=\$$ac_var
1850 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1852 echo "$ac_var='\''$ac_val'\''"
1857 if test -s confdefs.h; then
1867 test "$ac_signal" != 0 &&
1868 echo "$as_me: caught signal $ac_signal"
1869 echo "$as_me: exit $exit_status"
1871 rm -f core *.core core.conftest.* &&
1872 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1875 for ac_signal in 1 2 13 15; do
1876 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1880 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1881 rm -f -r conftest* confdefs.h
1883 # Predefined preprocessor variables.
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_NAME "$PACKAGE_NAME"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_STRING "$PACKAGE_STRING"
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1910 # Let the site file select an alternate cache file if it wants to.
1911 # Prefer explicitly selected file to automatically selected ones.
1912 if test -n "$CONFIG_SITE"; then
1913 set x "$CONFIG_SITE"
1914 elif test "x$prefix" != xNONE; then
1915 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1917 set x "$ac_default_prefix/share/config.site" \
1918 "$ac_default_prefix/etc/config.site"
1923 if test -r "$ac_site_file"; then
1924 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1925 echo "$as_me: loading site script $ac_site_file" >&6;}
1926 sed 's/^/| /' "$ac_site_file" >&5
1931 if test -r "$cache_file"; then
1932 # Some versions of bash will fail to source /dev/null (special
1933 # files actually), so we avoid doing that.
1934 if test -f "$cache_file"; then
1935 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1936 echo "$as_me: loading cache $cache_file" >&6;}
1938 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1939 *) . "./$cache_file";;
1943 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1944 echo "$as_me: creating cache $cache_file" >&6;}
1948 ac_header_list="$ac_header_list sys/time.h"
1949 ac_header_list="$ac_header_list unistd.h"
1950 ac_func_list="$ac_func_list alarm"
1951 ac_header_list="$ac_header_list utime.h"
1952 # Check that the precious variables saved in the cache have kept the same
1954 ac_cache_corrupted=false
1955 for ac_var in $ac_precious_vars; do
1956 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1957 eval ac_new_set=\$ac_env_${ac_var}_set
1958 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1959 eval ac_new_val=\$ac_env_${ac_var}_value
1960 case $ac_old_set,$ac_new_set in
1962 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1963 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1964 ac_cache_corrupted=: ;;
1966 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1967 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1968 ac_cache_corrupted=: ;;
1971 if test "x$ac_old_val" != "x$ac_new_val"; then
1972 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1973 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1974 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1975 echo "$as_me: former value: $ac_old_val" >&2;}
1976 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1977 echo "$as_me: current value: $ac_new_val" >&2;}
1978 ac_cache_corrupted=:
1981 # Pass precious variables to config.status.
1982 if test "$ac_new_set" = set; then
1984 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1985 *) ac_arg=$ac_var=$ac_new_val ;;
1987 case " $ac_configure_args " in
1988 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1989 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1993 if $ac_cache_corrupted; then
1994 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1995 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1996 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1997 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1998 { (exit 1); exit 1; }; }
2018 ac_cpp='$CPP $CPPFLAGS'
2019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2025 # cross-compile macros
2027 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2028 if test -f "$ac_dir/install-sh"; then
2030 ac_install_sh="$ac_aux_dir/install-sh -c"
2032 elif test -f "$ac_dir/install.sh"; then
2034 ac_install_sh="$ac_aux_dir/install.sh -c"
2036 elif test -f "$ac_dir/shtool"; then
2038 ac_install_sh="$ac_aux_dir/shtool install -c"
2042 if test -z "$ac_aux_dir"; then
2043 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2044 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2045 { (exit 1); exit 1; }; }
2048 # These three variables are undocumented and unsupported,
2049 # and are intended to be withdrawn in a future Autoconf release.
2050 # They can cause serious problems if a builder's source tree is in a directory
2051 # whose full name contains unusual characters.
2052 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2053 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2054 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2057 # Make sure we can run config.sub.
2058 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2059 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2060 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2061 { (exit 1); exit 1; }; }
2063 { echo "$as_me:$LINENO: checking build system type" >&5
2064 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2065 if test "${ac_cv_build+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2068 ac_build_alias=$build_alias
2069 test "x$ac_build_alias" = x &&
2070 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2071 test "x$ac_build_alias" = x &&
2072 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2073 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2074 { (exit 1); exit 1; }; }
2075 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2076 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2077 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2078 { (exit 1); exit 1; }; }
2081 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2082 echo "${ECHO_T}$ac_cv_build" >&6; }
2083 case $ac_cv_build in
2085 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2086 echo "$as_me: error: invalid value of canonical build" >&2;}
2087 { (exit 1); exit 1; }; };;
2090 ac_save_IFS=$IFS; IFS='-'
2096 # Remember, the first character of IFS is used to create $*,
2097 # except with old shells:
2100 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2103 { echo "$as_me:$LINENO: checking host system type" >&5
2104 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2105 if test "${ac_cv_host+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 if test "x$host_alias" = x; then
2109 ac_cv_host=$ac_cv_build
2111 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2112 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2113 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2114 { (exit 1); exit 1; }; }
2118 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2119 echo "${ECHO_T}$ac_cv_host" >&6; }
2122 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2123 echo "$as_me: error: invalid value of canonical host" >&2;}
2124 { (exit 1); exit 1; }; };;
2127 ac_save_IFS=$IFS; IFS='-'
2133 # Remember, the first character of IFS is used to create $*,
2134 # except with old shells:
2137 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2141 # check existence of the package
2144 # specify output header file
2145 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2152 cat >>confdefs.h <<\_ACEOF
2153 #define _GNU_SOURCE 1
2158 ac_cpp='$CPP $CPPFLAGS'
2159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2164 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC="$CC" # Let the user override the test.
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2201 if test -z "$ac_cv_prog_CC"; then
2203 # Extract the first word of "gcc", so it can be a program name with args.
2204 set dummy gcc; ac_word=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$ac_ct_CC"; then
2211 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 ac_cv_prog_ac_ct_CC="gcc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2231 if test -n "$ac_ct_CC"; then
2232 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2233 echo "${ECHO_T}$ac_ct_CC" >&6; }
2235 { echo "$as_me:$LINENO: result: no" >&5
2236 echo "${ECHO_T}no" >&6; }
2239 if test "x$ac_ct_CC" = x; then
2242 case $cross_compiling:$ac_tool_warned in
2244 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2245 whose name does not start with the host triplet. If you think this
2246 configuration is useful to you, please write to autoconf@gnu.org." >&5
2247 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2248 whose name does not start with the host triplet. If you think this
2249 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2250 ac_tool_warned=yes ;;
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2261 set dummy ${ac_tool_prefix}cc; ac_word=$2
2262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2264 if test "${ac_cv_prog_CC+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 if test -n "$CC"; then
2268 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 ac_cv_prog_CC="${ac_tool_prefix}cc"
2278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 if test -n "$CC"; then
2289 { echo "$as_me:$LINENO: result: $CC" >&5
2290 echo "${ECHO_T}$CC" >&6; }
2292 { echo "$as_me:$LINENO: result: no" >&5
2293 echo "${ECHO_T}no" >&6; }
2299 if test -z "$CC"; then
2300 # Extract the first word of "cc", so it can be a program name with args.
2301 set dummy cc; ac_word=$2
2302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2304 if test "${ac_cv_prog_CC+set}" = set; then
2305 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 if test -n "$CC"; then
2308 ac_cv_prog_CC="$CC" # Let the user override the test.
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2318 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2319 ac_prog_rejected=yes
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 if test $ac_prog_rejected = yes; then
2331 # We found a bogon in the path, so make sure we never use it.
2332 set dummy $ac_cv_prog_CC
2334 if test $# != 0; then
2335 # We chose a different compiler from the bogus one.
2336 # However, it has the same basename, so the bogon will be chosen
2337 # first if we set CC to just the basename; use the full file name.
2339 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2345 if test -n "$CC"; then
2346 { echo "$as_me:$LINENO: result: $CC" >&5
2347 echo "${ECHO_T}$CC" >&6; }
2349 { echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6; }
2355 if test -z "$CC"; then
2356 if test -n "$ac_tool_prefix"; then
2357 for ac_prog in cl.exe
2359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2360 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2363 if test "${ac_cv_prog_CC+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 if test -n "$CC"; then
2367 ac_cv_prog_CC="$CC" # Let the user override the test.
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir=.
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 if test -n "$CC"; then
2388 { echo "$as_me:$LINENO: result: $CC" >&5
2389 echo "${ECHO_T}$CC" >&6; }
2391 { echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6; }
2396 test -n "$CC" && break
2399 if test -z "$CC"; then
2401 for ac_prog in cl.exe
2403 # Extract the first word of "$ac_prog", so it can be a program name with args.
2404 set dummy $ac_prog; ac_word=$2
2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2407 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 if test -n "$ac_ct_CC"; then
2411 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_prog_ac_ct_CC="$ac_prog"
2421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2431 if test -n "$ac_ct_CC"; then
2432 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2433 echo "${ECHO_T}$ac_ct_CC" >&6; }
2435 { echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6; }
2440 test -n "$ac_ct_CC" && break
2443 if test "x$ac_ct_CC" = x; then
2446 case $cross_compiling:$ac_tool_warned in
2448 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2449 whose name does not start with the host triplet. If you think this
2450 configuration is useful to you, please write to autoconf@gnu.org." >&5
2451 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2452 whose name does not start with the host triplet. If you think this
2453 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2454 ac_tool_warned=yes ;;
2463 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2464 See \`config.log' for more details." >&5
2465 echo "$as_me: error: no acceptable C compiler found in \$PATH
2466 See \`config.log' for more details." >&2;}
2467 { (exit 1); exit 1; }; }
2469 # Provide some information about the compiler.
2470 echo "$as_me:$LINENO: checking for C compiler version" >&5
2471 ac_compiler=`set X $ac_compile; echo $2`
2472 { (ac_try="$ac_compiler --version >&5"
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2478 (eval "$ac_compiler --version >&5") 2>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }
2482 { (ac_try="$ac_compiler -v >&5"
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2488 (eval "$ac_compiler -v >&5") 2>&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }
2492 { (ac_try="$ac_compiler -V >&5"
2494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2495 *) ac_try_echo=$ac_try;;
2497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2498 (eval "$ac_compiler -V >&5") 2>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }
2503 cat >conftest.$ac_ext <<_ACEOF
2506 cat confdefs.h >>conftest.$ac_ext
2507 cat >>conftest.$ac_ext <<_ACEOF
2508 /* end confdefs.h. */
2518 ac_clean_files_save=$ac_clean_files
2519 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2520 # Try to create an executable without -o first, disregard a.out.
2521 # It will help us diagnose broken compilers, and finding out an intuition
2523 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2524 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2525 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2527 # List of possible output files, starting from the most likely.
2528 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2529 # only as a last resort. b.out is created by i960 compilers.
2530 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2532 # The IRIX 6 linker writes into existing files which may not be
2533 # executable, retaining their permissions. Remove them first so a
2534 # subsequent execution test works.
2536 for ac_file in $ac_files
2539 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2540 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2545 if { (ac_try="$ac_link_default"
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2551 (eval "$ac_link_default") 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; then
2555 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2556 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2557 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2558 # so that the user can short-circuit this test for compilers unknown to
2560 for ac_file in $ac_files ''
2562 test -f "$ac_file" || continue
2564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2567 # We found the default executable, but exeext='' is most
2571 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2573 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2575 # We set ac_cv_exeext here because the later test for it is not
2576 # safe: cross compilers may not add the suffix if given an `-o'
2577 # argument, so we may need to know it at that point already.
2578 # Even if this section looks crufty: it has the advantage of
2585 test "$ac_cv_exeext" = no && ac_cv_exeext=
2591 { echo "$as_me:$LINENO: result: $ac_file" >&5
2592 echo "${ECHO_T}$ac_file" >&6; }
2593 if test -z "$ac_file"; then
2594 echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2597 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2598 See \`config.log' for more details." >&5
2599 echo "$as_me: error: C compiler cannot create executables
2600 See \`config.log' for more details." >&2;}
2601 { (exit 77); exit 77; }; }
2604 ac_exeext=$ac_cv_exeext
2606 # Check that the compiler produces executables we can run. If not, either
2607 # the compiler is broken, or we cross compile.
2608 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2609 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2610 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2611 # If not cross compiling, check that we can run a simple program.
2612 if test "$cross_compiling" != yes; then
2613 if { ac_try='./$ac_file'
2614 { (case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_try") 2>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; }; then
2625 if test "$cross_compiling" = maybe; then
2628 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2629 If you meant to cross compile, use \`--host'.
2630 See \`config.log' for more details." >&5
2631 echo "$as_me: error: cannot run C compiled programs.
2632 If you meant to cross compile, use \`--host'.
2633 See \`config.log' for more details." >&2;}
2634 { (exit 1); exit 1; }; }
2638 { echo "$as_me:$LINENO: result: yes" >&5
2639 echo "${ECHO_T}yes" >&6; }
2641 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2642 ac_clean_files=$ac_clean_files_save
2643 # Check that the compiler produces executables we can run. If not, either
2644 # the compiler is broken, or we cross compile.
2645 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2646 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2647 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2648 echo "${ECHO_T}$cross_compiling" >&6; }
2650 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2651 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2652 if { (ac_try="$ac_link"
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_link") 2>&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; then
2662 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2663 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2664 # work properly (i.e., refer to `conftest.exe'), while it won't with
2666 for ac_file in conftest.exe conftest conftest.*; do
2667 test -f "$ac_file" || continue
2669 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2670 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2676 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2677 See \`config.log' for more details." >&5
2678 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2679 See \`config.log' for more details." >&2;}
2680 { (exit 1); exit 1; }; }
2683 rm -f conftest$ac_cv_exeext
2684 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2685 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2687 rm -f conftest.$ac_ext
2688 EXEEXT=$ac_cv_exeext
2690 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2691 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2692 if test "${ac_cv_objext+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 cat >conftest.$ac_ext <<_ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2710 rm -f conftest.o conftest.obj
2711 if { (ac_try="$ac_compile"
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compile") 2>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; then
2721 for ac_file in conftest.o conftest.obj conftest.*; do
2722 test -f "$ac_file" || continue;
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2725 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2734 See \`config.log' for more details." >&5
2735 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2736 See \`config.log' for more details." >&2;}
2737 { (exit 1); exit 1; }; }
2740 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2742 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2743 echo "${ECHO_T}$ac_cv_objext" >&6; }
2744 OBJEXT=$ac_cv_objext
2746 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2747 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2748 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2749 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 cat >conftest.$ac_ext <<_ACEOF
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2769 rm -f conftest.$ac_objext
2770 if { (ac_try="$ac_compile"
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2776 (eval "$ac_compile") 2>conftest.er1
2778 grep -v '^ *+' conftest.er1 >conftest.err
2780 cat conftest.err >&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } && {
2783 test -z "$ac_c_werror_flag" ||
2784 test ! -s conftest.err
2785 } && test -s conftest.$ac_objext; then
2788 echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2795 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2798 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2799 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2800 GCC=`test $ac_compiler_gnu = yes && echo yes`
2801 ac_test_CFLAGS=${CFLAGS+set}
2802 ac_save_CFLAGS=$CFLAGS
2803 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2804 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2805 if test "${ac_cv_prog_cc_g+set}" = set; then
2806 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 ac_save_c_werror_flag=$ac_c_werror_flag
2809 ac_c_werror_flag=yes
2812 cat >conftest.$ac_ext <<_ACEOF
2815 cat confdefs.h >>conftest.$ac_ext
2816 cat >>conftest.$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2827 rm -f conftest.$ac_objext
2828 if { (ac_try="$ac_compile"
2830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2834 (eval "$ac_compile") 2>conftest.er1
2836 grep -v '^ *+' conftest.er1 >conftest.err
2838 cat conftest.err >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); } && {
2841 test -z "$ac_c_werror_flag" ||
2842 test ! -s conftest.err
2843 } && test -s conftest.$ac_objext; then
2846 echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.$ac_ext >&5
2850 cat >conftest.$ac_ext <<_ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2865 rm -f conftest.$ac_objext
2866 if { (ac_try="$ac_compile"
2868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2869 *) ac_try_echo=$ac_try;;
2871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2872 (eval "$ac_compile") 2>conftest.er1
2874 grep -v '^ *+' conftest.er1 >conftest.err
2876 cat conftest.err >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); } && {
2879 test -z "$ac_c_werror_flag" ||
2880 test ! -s conftest.err
2881 } && test -s conftest.$ac_objext; then
2884 echo "$as_me: failed program was:" >&5
2885 sed 's/^/| /' conftest.$ac_ext >&5
2887 ac_c_werror_flag=$ac_save_c_werror_flag
2889 cat >conftest.$ac_ext <<_ACEOF
2892 cat confdefs.h >>conftest.$ac_ext
2893 cat >>conftest.$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2913 grep -v '^ *+' conftest.er1 >conftest.err
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.$ac_objext; then
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2936 ac_c_werror_flag=$ac_save_c_werror_flag
2938 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2939 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2940 if test "$ac_test_CFLAGS" = set; then
2941 CFLAGS=$ac_save_CFLAGS
2942 elif test $ac_cv_prog_cc_g = yes; then
2943 if test "$GCC" = yes; then
2949 if test "$GCC" = yes; then
2955 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2956 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2957 if test "${ac_cv_prog_cc_c89+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 ac_cv_prog_cc_c89=no
2962 cat >conftest.$ac_ext <<_ACEOF
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h. */
2970 #include <sys/types.h>
2971 #include <sys/stat.h>
2972 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2973 struct buf { int x; };
2974 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2975 static char *e (p, i)
2981 static char *f (char * (*g) (char **, int), char **p, ...)
2986 s = g (p, va_arg (v,int));
2991 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2992 function prototypes and stuff, but not '\xHH' hex character constants.
2993 These don't provoke an error unfortunately, instead are silently treated
2994 as 'x'. The following induces an error, until -std is added to get
2995 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2996 array size at least. It's necessary to write '\x00'==0 to get something
2997 that's true only with -std. */
2998 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3000 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3001 inside strings and character constants. */
3003 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3005 int test (int i, double x);
3006 struct s1 {int (*f) (int a);};
3007 struct s2 {int (*f) (double a);};
3008 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3014 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3019 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3020 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3022 CC="$ac_save_CC $ac_arg"
3023 rm -f conftest.$ac_objext
3024 if { (ac_try="$ac_compile"
3026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;
3029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3030 (eval "$ac_compile") 2>conftest.er1
3032 grep -v '^ *+' conftest.er1 >conftest.err
3034 cat conftest.err >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); } && {
3037 test -z "$ac_c_werror_flag" ||
3038 test ! -s conftest.err
3039 } && test -s conftest.$ac_objext; then
3040 ac_cv_prog_cc_c89=$ac_arg
3042 echo "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.$ac_ext >&5
3048 rm -f core conftest.err conftest.$ac_objext
3049 test "x$ac_cv_prog_cc_c89" != "xno" && break
3051 rm -f conftest.$ac_ext
3056 case "x$ac_cv_prog_cc_c89" in
3058 { echo "$as_me:$LINENO: result: none needed" >&5
3059 echo "${ECHO_T}none needed" >&6; } ;;
3061 { echo "$as_me:$LINENO: result: unsupported" >&5
3062 echo "${ECHO_T}unsupported" >&6; } ;;
3064 CC="$CC $ac_cv_prog_cc_c89"
3065 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3066 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3071 ac_cpp='$CPP $CPPFLAGS'
3072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3078 ac_cpp='$CPP $CPPFLAGS'
3079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3082 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3083 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3084 # On Suns, sometimes $CPP names a directory.
3085 if test -n "$CPP" && test -d "$CPP"; then
3088 if test -z "$CPP"; then
3089 if test "${ac_cv_prog_CPP+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 # Double quotes because CPP needs to be expanded
3093 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3096 for ac_c_preproc_warn_flag in '' yes
3098 # Use a header file that comes with gcc, so configuring glibc
3099 # with a fresh cross-compiler works.
3100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3101 # <limits.h> exists even on freestanding compilers.
3102 # On the NeXT, cc -E runs the code through the compiler's parser,
3103 # not just through cpp. "Syntax error" is here to catch this case.
3104 cat >conftest.$ac_ext <<_ACEOF
3107 cat confdefs.h >>conftest.$ac_ext
3108 cat >>conftest.$ac_ext <<_ACEOF
3109 /* end confdefs.h. */
3111 # include <limits.h>
3113 # include <assert.h>
3117 if { (ac_try="$ac_cpp conftest.$ac_ext"
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3125 grep -v '^ *+' conftest.er1 >conftest.err
3127 cat conftest.err >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } >/dev/null && {
3130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3131 test ! -s conftest.err
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 # Broken: fails on valid input.
3142 rm -f conftest.err conftest.$ac_ext
3144 # OK, works on sane cases. Now check whether nonexistent headers
3145 # can be detected and how.
3146 cat >conftest.$ac_ext <<_ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3152 #include <ac_nonexistent.h>
3154 if { (ac_try="$ac_cpp conftest.$ac_ext"
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3162 grep -v '^ *+' conftest.er1 >conftest.err
3164 cat conftest.err >&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); } >/dev/null && {
3167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3168 test ! -s conftest.err
3170 # Broken: success on invalid input.
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 # Passes both tests.
3181 rm -f conftest.err conftest.$ac_ext
3184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3185 rm -f conftest.err conftest.$ac_ext
3186 if $ac_preproc_ok; then
3198 { echo "$as_me:$LINENO: result: $CPP" >&5
3199 echo "${ECHO_T}$CPP" >&6; }
3201 for ac_c_preproc_warn_flag in '' yes
3203 # Use a header file that comes with gcc, so configuring glibc
3204 # with a fresh cross-compiler works.
3205 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3206 # <limits.h> exists even on freestanding compilers.
3207 # On the NeXT, cc -E runs the code through the compiler's parser,
3208 # not just through cpp. "Syntax error" is here to catch this case.
3209 cat >conftest.$ac_ext <<_ACEOF
3212 cat confdefs.h >>conftest.$ac_ext
3213 cat >>conftest.$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3216 # include <limits.h>
3218 # include <assert.h>
3222 if { (ac_try="$ac_cpp conftest.$ac_ext"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3230 grep -v '^ *+' conftest.er1 >conftest.err
3232 cat conftest.err >&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); } >/dev/null && {
3235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3236 test ! -s conftest.err
3240 echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3243 # Broken: fails on valid input.
3247 rm -f conftest.err conftest.$ac_ext
3249 # OK, works on sane cases. Now check whether nonexistent headers
3250 # can be detected and how.
3251 cat >conftest.$ac_ext <<_ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3257 #include <ac_nonexistent.h>
3259 if { (ac_try="$ac_cpp conftest.$ac_ext"
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3267 grep -v '^ *+' conftest.er1 >conftest.err
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } >/dev/null && {
3272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3273 test ! -s conftest.err
3275 # Broken: success on invalid input.
3278 echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3281 # Passes both tests.
3286 rm -f conftest.err conftest.$ac_ext
3289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3290 rm -f conftest.err conftest.$ac_ext
3291 if $ac_preproc_ok; then
3294 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3295 See \`config.log' for more details." >&5
3296 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3297 See \`config.log' for more details." >&2;}
3298 { (exit 1); exit 1; }; }
3302 ac_cpp='$CPP $CPPFLAGS'
3303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3308 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3309 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3310 if test "${ac_cv_path_GREP+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 # Extract the first word of "grep ggrep" to use in msg output
3314 if test -z "$GREP"; then
3315 set dummy grep ggrep; ac_prog_name=$2
3316 if test "${ac_cv_path_GREP+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 ac_path_GREP_found=false
3320 # Loop through the user's path and test for each of PROGNAME-LIST
3321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3325 test -z "$as_dir" && as_dir=.
3326 for ac_prog in grep ggrep; do
3327 for ac_exec_ext in '' $ac_executable_extensions; do
3328 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3329 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3330 # Check for GNU ac_path_GREP and select it if it is found.
3331 # Check for GNU $ac_path_GREP
3332 case `"$ac_path_GREP" --version 2>&1` in
3334 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3337 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3340 cat "conftest.in" "conftest.in" >"conftest.tmp"
3341 mv "conftest.tmp" "conftest.in"
3342 cp "conftest.in" "conftest.nl"
3343 echo 'GREP' >> "conftest.nl"
3344 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3346 ac_count=`expr $ac_count + 1`
3347 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3348 # Best one so far, save it but keep looking for a better one
3349 ac_cv_path_GREP="$ac_path_GREP"
3350 ac_path_GREP_max=$ac_count
3352 # 10*(2^10) chars as input seems more than enough
3353 test $ac_count -gt 10 && break
3355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3359 $ac_path_GREP_found && break 3
3369 GREP="$ac_cv_path_GREP"
3370 if test -z "$GREP"; then
3371 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3372 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3373 { (exit 1); exit 1; }; }
3377 ac_cv_path_GREP=$GREP
3382 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3383 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3384 GREP="$ac_cv_path_GREP"
3387 { echo "$as_me:$LINENO: checking for egrep" >&5
3388 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3389 if test "${ac_cv_path_EGREP+set}" = set; then
3390 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3393 then ac_cv_path_EGREP="$GREP -E"
3395 # Extract the first word of "egrep" to use in msg output
3396 if test -z "$EGREP"; then
3397 set dummy egrep; ac_prog_name=$2
3398 if test "${ac_cv_path_EGREP+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 ac_path_EGREP_found=false
3402 # Loop through the user's path and test for each of PROGNAME-LIST
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3407 test -z "$as_dir" && as_dir=.
3408 for ac_prog in egrep; do
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3411 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3412 # Check for GNU ac_path_EGREP and select it if it is found.
3413 # Check for GNU $ac_path_EGREP
3414 case `"$ac_path_EGREP" --version 2>&1` in
3416 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3419 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3422 cat "conftest.in" "conftest.in" >"conftest.tmp"
3423 mv "conftest.tmp" "conftest.in"
3424 cp "conftest.in" "conftest.nl"
3425 echo 'EGREP' >> "conftest.nl"
3426 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3428 ac_count=`expr $ac_count + 1`
3429 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3430 # Best one so far, save it but keep looking for a better one
3431 ac_cv_path_EGREP="$ac_path_EGREP"
3432 ac_path_EGREP_max=$ac_count
3434 # 10*(2^10) chars as input seems more than enough
3435 test $ac_count -gt 10 && break
3437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3441 $ac_path_EGREP_found && break 3
3451 EGREP="$ac_cv_path_EGREP"
3452 if test -z "$EGREP"; then
3453 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3454 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3455 { (exit 1); exit 1; }; }
3459 ac_cv_path_EGREP=$EGREP
3465 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3466 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3467 EGREP="$ac_cv_path_EGREP"
3471 { echo "$as_me:$LINENO: checking for AIX" >&5
3472 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3473 cat >conftest.$ac_ext <<_ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3485 $EGREP "yes" >/dev/null 2>&1; then
3486 { echo "$as_me:$LINENO: result: yes" >&5
3487 echo "${ECHO_T}yes" >&6; }
3488 cat >>confdefs.h <<\_ACEOF
3489 #define _ALL_SOURCE 1
3493 { echo "$as_me:$LINENO: result: no" >&5
3494 echo "${ECHO_T}no" >&6; }
3499 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3500 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3501 if test "${ac_cv_header_stdc+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 cat >conftest.$ac_ext <<_ACEOF
3507 cat confdefs.h >>conftest.$ac_ext
3508 cat >>conftest.$ac_ext <<_ACEOF
3509 /* end confdefs.h. */
3523 rm -f conftest.$ac_objext
3524 if { (ac_try="$ac_compile"
3526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3530 (eval "$ac_compile") 2>conftest.er1
3532 grep -v '^ *+' conftest.er1 >conftest.err
3534 cat conftest.err >&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); } && {
3537 test -z "$ac_c_werror_flag" ||
3538 test ! -s conftest.err
3539 } && test -s conftest.$ac_objext; then
3540 ac_cv_header_stdc=yes
3542 echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.$ac_ext >&5
3545 ac_cv_header_stdc=no
3548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 if test $ac_cv_header_stdc = yes; then
3551 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3552 cat >conftest.$ac_ext <<_ACEOF
3555 cat confdefs.h >>conftest.$ac_ext
3556 cat >>conftest.$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3562 $EGREP "memchr" >/dev/null 2>&1; then
3565 ac_cv_header_stdc=no
3571 if test $ac_cv_header_stdc = yes; then
3572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3573 cat >conftest.$ac_ext <<_ACEOF
3576 cat confdefs.h >>conftest.$ac_ext
3577 cat >>conftest.$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3583 $EGREP "free" >/dev/null 2>&1; then
3586 ac_cv_header_stdc=no
3592 if test $ac_cv_header_stdc = yes; then
3593 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3594 if test "$cross_compiling" = yes; then
3597 cat >conftest.$ac_ext <<_ACEOF
3600 cat confdefs.h >>conftest.$ac_ext
3601 cat >>conftest.$ac_ext <<_ACEOF
3602 /* end confdefs.h. */
3605 #if ((' ' & 0x0FF) == 0x020)
3606 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3607 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3609 # define ISLOWER(c) \
3610 (('a' <= (c) && (c) <= 'i') \
3611 || ('j' <= (c) && (c) <= 'r') \
3612 || ('s' <= (c) && (c) <= 'z'))
3613 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3616 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3621 for (i = 0; i < 256; i++)
3622 if (XOR (islower (i), ISLOWER (i))
3623 || toupper (i) != TOUPPER (i))
3628 rm -f conftest$ac_exeext
3629 if { (ac_try="$ac_link"
3631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;
3634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3635 (eval "$ac_link") 2>&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3639 { (case "(($ac_try" in
3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641 *) ac_try_echo=$ac_try;;
3643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3644 (eval "$ac_try") 2>&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3650 echo "$as_me: program exited with status $ac_status" >&5
3651 echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3655 ac_cv_header_stdc=no
3657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3663 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3664 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3665 if test $ac_cv_header_stdc = yes; then
3667 cat >>confdefs.h <<\_ACEOF
3668 #define STDC_HEADERS 1
3673 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3683 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3684 inttypes.h stdint.h unistd.h
3686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 cat >conftest.$ac_ext <<_ACEOF
3695 cat confdefs.h >>conftest.$ac_ext
3696 cat >>conftest.$ac_ext <<_ACEOF
3697 /* end confdefs.h. */
3698 $ac_includes_default
3700 #include <$ac_header>
3702 rm -f conftest.$ac_objext
3703 if { (ac_try="$ac_compile"
3705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3706 *) ac_try_echo=$ac_try;;
3708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3709 (eval "$ac_compile") 2>conftest.er1
3711 grep -v '^ *+' conftest.er1 >conftest.err
3713 cat conftest.err >&5
3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715 (exit $ac_status); } && {
3716 test -z "$ac_c_werror_flag" ||
3717 test ! -s conftest.err
3718 } && test -s conftest.$ac_objext; then
3719 eval "$as_ac_Header=yes"
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.$ac_ext >&5
3724 eval "$as_ac_Header=no"
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3729 ac_res=`eval echo '${'$as_ac_Header'}'`
3730 { echo "$as_me:$LINENO: result: $ac_res" >&5
3731 echo "${ECHO_T}$ac_res" >&6; }
3732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3733 cat >>confdefs.h <<_ACEOF
3734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3742 if test "${ac_cv_header_minix_config_h+set}" = set; then
3743 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3744 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3745 if test "${ac_cv_header_minix_config_h+set}" = set; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3749 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3751 # Is the header compilable?
3752 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3753 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3754 cat >conftest.$ac_ext <<_ACEOF
3757 cat confdefs.h >>conftest.$ac_ext
3758 cat >>conftest.$ac_ext <<_ACEOF
3759 /* end confdefs.h. */
3760 $ac_includes_default
3761 #include <minix/config.h>
3763 rm -f conftest.$ac_objext
3764 if { (ac_try="$ac_compile"
3766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767 *) ac_try_echo=$ac_try;;
3769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3770 (eval "$ac_compile") 2>conftest.er1
3772 grep -v '^ *+' conftest.er1 >conftest.err
3774 cat conftest.err >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } && {
3777 test -z "$ac_c_werror_flag" ||
3778 test ! -s conftest.err
3779 } && test -s conftest.$ac_objext; then
3780 ac_header_compiler=yes
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.$ac_ext >&5
3785 ac_header_compiler=no
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3790 echo "${ECHO_T}$ac_header_compiler" >&6; }
3792 # Is the header present?
3793 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3794 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3795 cat >conftest.$ac_ext <<_ACEOF
3798 cat confdefs.h >>conftest.$ac_ext
3799 cat >>conftest.$ac_ext <<_ACEOF
3800 /* end confdefs.h. */
3801 #include <minix/config.h>
3803 if { (ac_try="$ac_cpp conftest.$ac_ext"
3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806 *) ac_try_echo=$ac_try;;
3808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3811 grep -v '^ *+' conftest.er1 >conftest.err
3813 cat conftest.err >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); } >/dev/null && {
3816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3817 test ! -s conftest.err
3819 ac_header_preproc=yes
3821 echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.$ac_ext >&5
3824 ac_header_preproc=no
3827 rm -f conftest.err conftest.$ac_ext
3828 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3829 echo "${ECHO_T}$ac_header_preproc" >&6; }
3831 # So? What about this header?
3832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3834 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3835 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3836 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3837 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3838 ac_header_preproc=yes
3841 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3842 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3843 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3844 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3845 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3846 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3847 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3848 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3849 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3850 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3851 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3852 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3856 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3857 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3858 if test "${ac_cv_header_minix_config_h+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3861 ac_cv_header_minix_config_h=$ac_header_preproc
3863 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3864 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3867 if test $ac_cv_header_minix_config_h = yes; then
3874 if test "$MINIX" = yes; then
3876 cat >>confdefs.h <<\_ACEOF
3877 #define _POSIX_SOURCE 1
3881 cat >>confdefs.h <<\_ACEOF
3882 #define _POSIX_1_SOURCE 2
3886 cat >>confdefs.h <<\_ACEOF
3902 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3903 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3904 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 cat >conftest.$ac_ext <<_ACEOF
3910 cat confdefs.h >>conftest.$ac_ext
3911 cat >>conftest.$ac_ext <<_ACEOF
3912 /* end confdefs.h. */
3914 # define __EXTENSIONS__ 1
3915 $ac_includes_default
3924 rm -f conftest.$ac_objext
3925 if { (ac_try="$ac_compile"
3927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3931 (eval "$ac_compile") 2>conftest.er1
3933 grep -v '^ *+' conftest.er1 >conftest.err
3935 cat conftest.err >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } && {
3938 test -z "$ac_c_werror_flag" ||
3939 test ! -s conftest.err
3940 } && test -s conftest.$ac_objext; then
3941 ac_cv_safe_to_define___extensions__=yes
3943 echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.$ac_ext >&5
3946 ac_cv_safe_to_define___extensions__=no
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3952 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
3953 test $ac_cv_safe_to_define___extensions__ = yes &&
3954 cat >>confdefs.h <<\_ACEOF
3955 #define __EXTENSIONS__ 1
3958 cat >>confdefs.h <<\_ACEOF
3959 #define _POSIX_PTHREAD_SEMANTICS 1
3962 cat >>confdefs.h <<\_ACEOF
3963 #define _TANDEM_SOURCE 1
3966 # note- does not work on FreeBSD
3968 case "${host_os}" in
3970 ac_default_prefix=/usr/local
3971 CPPFLAGS=-I/usr/local/include
3972 LDFLAGS=-L/usr/local/lib
3976 ac_default_prefix=/usr
3977 if test ${sysconfdir} = '${prefix}/etc'; then
3980 if test ${mandir} = '${prefix}/man'; then
3981 mandir=/usr/share/man
3986 if test ${localstatedir} = '${prefix}/var'; then
3990 BUILD_PLATFORM=${build}
3991 BUILD_CPU=${build_cpu}
3992 BUILD_VENDOR=${build_vendor}
3993 BUILD_OS=${build_os}
4000 HOST_PLATFORM=${host}
4001 HOST_CPU=${host_cpu}
4002 HOST_VENDOR=${host_vendor}
4010 case "${host_os}" in
4031 if test -n "$ac_tool_prefix"; then
4032 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4033 set dummy ${ac_tool_prefix}uname; ac_word=$2
4034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4036 if test "${ac_cv_path_UNAME+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4041 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir=.
4049 for ac_exec_ext in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 UNAME=$ac_cv_path_UNAME
4063 if test -n "$UNAME"; then
4064 { echo "$as_me:$LINENO: result: $UNAME" >&5
4065 echo "${ECHO_T}$UNAME" >&6; }
4067 { echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6; }
4073 if test -z "$ac_cv_path_UNAME"; then
4075 # Extract the first word of "uname", so it can be a program name with args.
4076 set dummy uname; ac_word=$2
4077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4079 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 case $ac_pt_UNAME in
4084 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4094 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4106 if test -n "$ac_pt_UNAME"; then
4107 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4108 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4110 { echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6; }
4114 if test "x$ac_pt_UNAME" = x; then
4117 case $cross_compiling:$ac_tool_warned in
4119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4120 whose name does not start with the host triplet. If you think this
4121 configuration is useful to you, please write to autoconf@gnu.org." >&5
4122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4123 whose name does not start with the host triplet. If you think this
4124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4125 ac_tool_warned=yes ;;
4130 UNAME="$ac_cv_path_UNAME"
4133 if test ! x"${UNAME}" = xNo; then
4134 PBX_OSREV=$(${UNAME} -r)
4144 # cross-compile checks
4145 if test "${cross_compiling}" = "yes";
4147 if test -n "$ac_tool_prefix"; then
4148 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4149 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4152 if test "${ac_cv_prog_CC+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 if test -n "$CC"; then
4156 ac_cv_prog_CC="$CC" # Let the user override the test.
4158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162 test -z "$as_dir" && as_dir=.
4163 for ac_exec_ext in '' $ac_executable_extensions; do
4164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4165 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 if test -n "$CC"; then
4177 { echo "$as_me:$LINENO: result: $CC" >&5
4178 echo "${ECHO_T}$CC" >&6; }
4180 { echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6; }
4186 if test -z "$ac_cv_prog_CC"; then
4188 # Extract the first word of "gcc", so it can be a program name with args.
4189 set dummy gcc; ac_word=$2
4190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4193 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 if test -n "$ac_ct_CC"; then
4196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4205 ac_cv_prog_ac_ct_CC="gcc"
4206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4216 if test -n "$ac_ct_CC"; then
4217 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4218 echo "${ECHO_T}$ac_ct_CC" >&6; }
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4224 if test "x$ac_ct_CC" = x; then
4227 case $cross_compiling:$ac_tool_warned in
4229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4230 whose name does not start with the host triplet. If you think this
4231 configuration is useful to you, please write to autoconf@gnu.org." >&5
4232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4233 whose name does not start with the host triplet. If you think this
4234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4235 ac_tool_warned=yes ;;
4243 if test -n "$ac_tool_prefix"; then
4244 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4245 set dummy ${ac_tool_prefix}g++; ac_word=$2
4246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4248 if test "${ac_cv_prog_CXX+set}" = set; then
4249 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 if test -n "$CXX"; then
4252 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 test -z "$as_dir" && as_dir=.
4259 for ac_exec_ext in '' $ac_executable_extensions; do
4260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4261 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 if test -n "$CXX"; then
4273 { echo "$as_me:$LINENO: result: $CXX" >&5
4274 echo "${ECHO_T}$CXX" >&6; }
4276 { echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6; }
4282 if test -z "$ac_cv_prog_CXX"; then
4284 # Extract the first word of "g++", so it can be a program name with args.
4285 set dummy g++; ac_word=$2
4286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4288 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4291 if test -n "$ac_ct_CXX"; then
4292 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir=.
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_ac_ct_CXX="g++"
4302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4312 if test -n "$ac_ct_CXX"; then
4313 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4314 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4316 { echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6; }
4320 if test "x$ac_ct_CXX" = x; then
4323 case $cross_compiling:$ac_tool_warned in
4325 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4326 whose name does not start with the host triplet. If you think this
4327 configuration is useful to you, please write to autoconf@gnu.org." >&5
4328 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4329 whose name does not start with the host triplet. If you think this
4330 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4331 ac_tool_warned=yes ;;
4336 CXX="$ac_cv_prog_CXX"
4339 if test -n "$ac_tool_prefix"; then
4340 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4341 set dummy ${ac_tool_prefix}ld; ac_word=$2
4342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4344 if test "${ac_cv_prog_LD+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 if test -n "$LD"; then
4348 ac_cv_prog_LD="$LD" # Let the user override the test.
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 test -z "$as_dir" && as_dir=.
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357 ac_cv_prog_LD="${ac_tool_prefix}ld"
4358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 if test -n "$LD"; then
4369 { echo "$as_me:$LINENO: result: $LD" >&5
4370 echo "${ECHO_T}$LD" >&6; }
4372 { echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6; }
4378 if test -z "$ac_cv_prog_LD"; then
4380 # Extract the first word of "ld", so it can be a program name with args.
4381 set dummy ld; ac_word=$2
4382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4384 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4385 echo $ECHO_N "(cached) $ECHO_C" >&6
4387 if test -n "$ac_ct_LD"; then
4388 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir=.
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4397 ac_cv_prog_ac_ct_LD="ld"
4398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4408 if test -n "$ac_ct_LD"; then
4409 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4410 echo "${ECHO_T}$ac_ct_LD" >&6; }
4412 { echo "$as_me:$LINENO: result: no" >&5
4413 echo "${ECHO_T}no" >&6; }
4416 if test "x$ac_ct_LD" = x; then
4419 case $cross_compiling:$ac_tool_warned in
4421 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4422 whose name does not start with the host triplet. If you think this
4423 configuration is useful to you, please write to autoconf@gnu.org." >&5
4424 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4425 whose name does not start with the host triplet. If you think this
4426 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4427 ac_tool_warned=yes ;;
4435 if test -n "$ac_tool_prefix"; then
4436 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4437 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4440 if test "${ac_cv_prog_RANLIB+set}" = set; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 if test -n "$RANLIB"; then
4444 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4453 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 RANLIB=$ac_cv_prog_RANLIB
4464 if test -n "$RANLIB"; then
4465 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4466 echo "${ECHO_T}$RANLIB" >&6; }
4468 { echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6; }
4474 if test -z "$ac_cv_prog_RANLIB"; then
4475 ac_ct_RANLIB=$RANLIB
4476 # Extract the first word of "ranlib", so it can be a program name with args.
4477 set dummy ranlib; ac_word=$2
4478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4480 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$ac_ct_RANLIB"; then
4484 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_RANLIB="ranlib"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4504 if test -n "$ac_ct_RANLIB"; then
4505 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4506 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4508 { echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6; }
4512 if test "x$ac_ct_RANLIB" = x; then
4515 case $cross_compiling:$ac_tool_warned in
4517 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4518 whose name does not start with the host triplet. If you think this
4519 configuration is useful to you, please write to autoconf@gnu.org." >&5
4520 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4521 whose name does not start with the host triplet. If you think this
4522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4523 ac_tool_warned=yes ;;
4525 RANLIB=$ac_ct_RANLIB
4528 RANLIB="$ac_cv_prog_RANLIB"
4533 # Checks for programs.
4535 ac_cpp='$CPP $CPPFLAGS'
4536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4539 if test -n "$ac_tool_prefix"; then
4540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4544 if test "${ac_cv_prog_CC+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 if test -n "$CC"; then
4548 ac_cv_prog_CC="$CC" # Let the user override the test.
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 test -z "$as_dir" && as_dir=.
4555 for ac_exec_ext in '' $ac_executable_extensions; do
4556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 if test -n "$CC"; then
4569 { echo "$as_me:$LINENO: result: $CC" >&5
4570 echo "${ECHO_T}$CC" >&6; }
4572 { echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6; }
4578 if test -z "$ac_cv_prog_CC"; then
4580 # Extract the first word of "gcc", so it can be a program name with args.
4581 set dummy gcc; ac_word=$2
4582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 if test -n "$ac_ct_CC"; then
4588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir=.
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_ac_ct_CC="gcc"
4598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4608 if test -n "$ac_ct_CC"; then
4609 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4610 echo "${ECHO_T}$ac_ct_CC" >&6; }
4612 { echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6; }
4616 if test "x$ac_ct_CC" = x; then
4619 case $cross_compiling:$ac_tool_warned in
4621 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4622 whose name does not start with the host triplet. If you think this
4623 configuration is useful to you, please write to autoconf@gnu.org." >&5
4624 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4625 whose name does not start with the host triplet. If you think this
4626 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4627 ac_tool_warned=yes ;;
4635 if test -z "$CC"; then
4636 if test -n "$ac_tool_prefix"; then
4637 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4638 set dummy ${ac_tool_prefix}cc; ac_word=$2
4639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4641 if test "${ac_cv_prog_CC+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 if test -n "$CC"; then
4645 ac_cv_prog_CC="$CC" # Let the user override the test.
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 test -z "$as_dir" && as_dir=.
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4654 ac_cv_prog_CC="${ac_tool_prefix}cc"
4655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 if test -n "$CC"; then
4666 { echo "$as_me:$LINENO: result: $CC" >&5
4667 echo "${ECHO_T}$CC" >&6; }
4669 { echo "$as_me:$LINENO: result: no" >&5
4670 echo "${ECHO_T}no" >&6; }
4676 if test -z "$CC"; then
4677 # Extract the first word of "cc", so it can be a program name with args.
4678 set dummy cc; ac_word=$2
4679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4681 if test "${ac_cv_prog_CC+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 if test -n "$CC"; then
4685 ac_cv_prog_CC="$CC" # Let the user override the test.
4688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692 test -z "$as_dir" && as_dir=.
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4695 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4696 ac_prog_rejected=yes
4700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4707 if test $ac_prog_rejected = yes; then
4708 # We found a bogon in the path, so make sure we never use it.
4709 set dummy $ac_cv_prog_CC
4711 if test $# != 0; then
4712 # We chose a different compiler from the bogu