2 # From configure.ac Revision: 57557 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60.
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 Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
27 BIN_SH=xpg4; export BIN_SH # for Tru64
28 DUALCASE=1; export DUALCASE # for MKS sh
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
69 # Find who we are. Look in the path if we contain no directory separator.
71 *[\\/]* ) as_myself=$0 ;;
72 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x; then
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 # Required to use basename.
115 if expr a : '\(a\)' >/dev/null 2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129 # Name of the executable.
130 as_me=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
160 if test $as_have_required = yes && (eval ":
170 as_func_ret_success () {
173 as_func_ret_failure () {
178 if as_func_success; then
182 echo as_func_success failed.
185 if as_func_failure; then
187 echo as_func_failure succeeded.
190 if as_func_ret_success; then
194 echo as_func_ret_success failed.
197 if as_func_ret_failure; then
199 echo as_func_ret_failure succeeded.
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 echo positional parameters were not saved.
209 test \$exitcode = 0) || { (exit 1); exit 1; }
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
250 BIN_SH=xpg4; export BIN_SH # for Tru64
251 DUALCASE=1; export DUALCASE # for MKS sh
256 CONFIG_SHELL=$as_shell
258 if { "$as_shell" 2> /dev/null <<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
268 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
270 BIN_SH=xpg4; export BIN_SH # for Tru64
271 DUALCASE=1; export DUALCASE # for MKS sh
283 as_func_ret_success () {
286 as_func_ret_failure () {
291 if as_func_success; then
295 echo as_func_success failed.
298 if as_func_failure; then
300 echo as_func_failure succeeded.
303 if as_func_ret_success; then
307 echo as_func_ret_success failed.
310 if as_func_ret_failure; then
312 echo as_func_ret_failure succeeded.
315 if ( set x; as_func_ret_success y && test x = "$1" ); then
319 echo positional parameters were not saved.
322 test $exitcode = 0) || { (exit 1); exit 1; }
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
339 if test "x$CONFIG_SHELL" != x; then
340 for as_var in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 if test $as_have_required = no; then
349 echo This script requires a shell more modern than all the
350 echo shells that I found on your system. Please install a
351 echo modern shell, or manually run the script under such a
352 echo shell if you do have one.
353 { (exit 1); exit 1; }
363 (eval "as_func_return () {
372 as_func_ret_success () {
375 as_func_ret_failure () {
380 if as_func_success; then
384 echo as_func_success failed.
387 if as_func_failure; then
389 echo as_func_failure succeeded.
392 if as_func_ret_success; then
396 echo as_func_ret_success failed.
399 if as_func_ret_failure; then
401 echo as_func_ret_failure succeeded.
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 echo positional parameters were not saved.
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system,
414 echo including any error possibly output before this
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x "$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 ECHO_C= ECHO_N= ECHO_T=
473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 if expr a : '\(a\)' >/dev/null 2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 rm -f conf$$ conf$$.exe conf$$.file
488 if test -d conf$$.dir; then
489 rm -f conf$$.dir/conf$$.file
495 if ln -s conf$$.file conf$$ 2>/dev/null; then
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
503 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
514 test -d ./-p && rmdir ./-p
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.file <<_ASEOF
525 if test -x conf$$.file >/dev/null 2>&1; then
526 as_executable_p="test -x"
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 exec 7<&0 </dev/null 6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix=/usr/local
552 ac_config_libobj_dir=.
558 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Identity of this package.
567 ac_unique_file="asterisk"
568 ac_unique_file="main/asterisk.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
573 # include <sys/types.h>
576 # include <sys/stat.h>
587 # if !STDC_HEADERS && HAVE_MEMORY_H
593 # include <strings.h>
596 # include <inttypes.h>
614 program_transform_name
863 ZAPTEL_TRANSCODE_INCLUDE
867 ZAPTEL_VLDTMF_INCLUDE
901 ac_precious_vars='build_alias
915 # Initialize some variables set by options.
917 ac_init_version=false
918 # The variables have the same names as the options, with
919 # dashes changed to underlines.
927 program_transform_name=s,x,x,
935 # Installation directory options.
936 # These are left unexpanded so users can "make install exec_prefix=/foo"
937 # and all the variables that are supposed to be based on exec_prefix
938 # by default will actually change.
939 # Use braces instead of parens because sh, perl, etc. also accept them.
940 # (The list follows the same order as the GNU Coding Standards.)
941 bindir='${exec_prefix}/bin'
942 sbindir='${exec_prefix}/sbin'
943 libexecdir='${exec_prefix}/libexec'
944 datarootdir='${prefix}/share'
945 datadir='${datarootdir}'
946 sysconfdir='${prefix}/etc'
947 sharedstatedir='${prefix}/com'
948 localstatedir='${prefix}/var'
949 includedir='${prefix}/include'
950 oldincludedir='/usr/include'
951 docdir='${datarootdir}/doc/${PACKAGE}'
952 infodir='${datarootdir}/info'
957 libdir='${exec_prefix}/lib'
958 localedir='${datarootdir}/locale'
959 mandir='${datarootdir}/man'
965 # If the previous option needs an argument, assign it.
966 if test -n "$ac_prev"; then
967 eval $ac_prev=\$ac_option
973 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 # Accept the important Cygnus configure options, so we can diagnose typos.
979 case $ac_dashdash$ac_option in
983 -bindir | --bindir | --bindi | --bind | --bin | --bi)
985 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
988 -build | --build | --buil | --bui | --bu)
989 ac_prev=build_alias ;;
990 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
991 build_alias=$ac_optarg ;;
993 -cache-file | --cache-file | --cache-fil | --cache-fi \
994 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
995 ac_prev=cache_file ;;
996 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
997 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
998 cache_file=$ac_optarg ;;
1000 --config-cache | -C)
1001 cache_file=config.cache ;;
1003 -datadir | --datadir | --datadi | --datad)
1005 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1006 datadir=$ac_optarg ;;
1008 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1009 | --dataroo | --dataro | --datar)
1010 ac_prev=datarootdir ;;
1011 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1012 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1013 datarootdir=$ac_optarg ;;
1015 -disable-* | --disable-*)
1016 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1019 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1022 eval enable_$ac_feature=no ;;
1024 -docdir | --docdir | --docdi | --doc | --do)
1026 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1027 docdir=$ac_optarg ;;
1029 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1031 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1032 dvidir=$ac_optarg ;;
1034 -enable-* | --enable-*)
1035 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1038 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1039 { (exit 1); exit 1; }; }
1040 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1041 eval enable_$ac_feature=\$ac_optarg ;;
1043 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1044 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1045 | --exec | --exe | --ex)
1046 ac_prev=exec_prefix ;;
1047 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1048 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1049 | --exec=* | --exe=* | --ex=*)
1050 exec_prefix=$ac_optarg ;;
1052 -gas | --gas | --ga | --g)
1053 # Obsolete; use --with-gas.
1056 -help | --help | --hel | --he | -h)
1057 ac_init_help=long ;;
1058 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1059 ac_init_help=recursive ;;
1060 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1061 ac_init_help=short ;;
1063 -host | --host | --hos | --ho)
1064 ac_prev=host_alias ;;
1065 -host=* | --host=* | --hos=* | --ho=*)
1066 host_alias=$ac_optarg ;;
1068 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1070 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1072 htmldir=$ac_optarg ;;
1074 -includedir | --includedir | --includedi | --included | --include \
1075 | --includ | --inclu | --incl | --inc)
1076 ac_prev=includedir ;;
1077 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1078 | --includ=* | --inclu=* | --incl=* | --inc=*)
1079 includedir=$ac_optarg ;;
1081 -infodir | --infodir | --infodi | --infod | --info | --inf)
1083 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1084 infodir=$ac_optarg ;;
1086 -libdir | --libdir | --libdi | --libd)
1088 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1089 libdir=$ac_optarg ;;
1091 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1092 | --libexe | --libex | --libe)
1093 ac_prev=libexecdir ;;
1094 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1095 | --libexe=* | --libex=* | --libe=*)
1096 libexecdir=$ac_optarg ;;
1098 -localedir | --localedir | --localedi | --localed | --locale)
1099 ac_prev=localedir ;;
1100 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1101 localedir=$ac_optarg ;;
1103 -localstatedir | --localstatedir | --localstatedi | --localstated \
1104 | --localstate | --localstat | --localsta | --localst | --locals)
1105 ac_prev=localstatedir ;;
1106 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1107 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1108 localstatedir=$ac_optarg ;;
1110 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1112 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1113 mandir=$ac_optarg ;;
1115 -nfp | --nfp | --nf)
1116 # Obsolete; use --without-fp.
1119 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1120 | --no-cr | --no-c | -n)
1123 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1124 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1127 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1128 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1129 | --oldin | --oldi | --old | --ol | --o)
1130 ac_prev=oldincludedir ;;
1131 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1132 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1133 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1134 oldincludedir=$ac_optarg ;;
1136 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1138 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1139 prefix=$ac_optarg ;;
1141 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1142 | --program-pre | --program-pr | --program-p)
1143 ac_prev=program_prefix ;;
1144 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1145 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1146 program_prefix=$ac_optarg ;;
1148 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1149 | --program-suf | --program-su | --program-s)
1150 ac_prev=program_suffix ;;
1151 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1152 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1153 program_suffix=$ac_optarg ;;
1155 -program-transform-name | --program-transform-name \
1156 | --program-transform-nam | --program-transform-na \
1157 | --program-transform-n | --program-transform- \
1158 | --program-transform | --program-transfor \
1159 | --program-transfo | --program-transf \
1160 | --program-trans | --program-tran \
1161 | --progr-tra | --program-tr | --program-t)
1162 ac_prev=program_transform_name ;;
1163 -program-transform-name=* | --program-transform-name=* \
1164 | --program-transform-nam=* | --program-transform-na=* \
1165 | --program-transform-n=* | --program-transform-=* \
1166 | --program-transform=* | --program-transfor=* \
1167 | --program-transfo=* | --program-transf=* \
1168 | --program-trans=* | --program-tran=* \
1169 | --progr-tra=* | --program-tr=* | --program-t=*)
1170 program_transform_name=$ac_optarg ;;
1172 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1174 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1175 pdfdir=$ac_optarg ;;
1177 -psdir | --psdir | --psdi | --psd | --ps)
1179 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1183 | -silent | --silent | --silen | --sile | --sil)
1186 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1188 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1190 sbindir=$ac_optarg ;;
1192 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1193 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1194 | --sharedst | --shareds | --shared | --share | --shar \
1196 ac_prev=sharedstatedir ;;
1197 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1198 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1199 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1201 sharedstatedir=$ac_optarg ;;
1203 -site | --site | --sit)
1205 -site=* | --site=* | --sit=*)
1208 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1210 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1211 srcdir=$ac_optarg ;;
1213 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1214 | --syscon | --sysco | --sysc | --sys | --sy)
1215 ac_prev=sysconfdir ;;
1216 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1217 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1218 sysconfdir=$ac_optarg ;;
1220 -target | --target | --targe | --targ | --tar | --ta | --t)
1221 ac_prev=target_alias ;;
1222 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1223 target_alias=$ac_optarg ;;
1225 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1228 -version | --version | --versio | --versi | --vers | -V)
1229 ac_init_version=: ;;
1232 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1235 { echo "$as_me: error: invalid package name: $ac_package" >&2
1236 { (exit 1); exit 1; }; }
1237 ac_package=`echo $ac_package| sed 's/-/_/g'`
1238 eval with_$ac_package=\$ac_optarg ;;
1240 -without-* | --without-*)
1241 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1244 { echo "$as_me: error: invalid package name: $ac_package" >&2
1245 { (exit 1); exit 1; }; }
1246 ac_package=`echo $ac_package | sed 's/-/_/g'`
1247 eval with_$ac_package=no ;;
1250 # Obsolete; use --with-x.
1253 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1254 | --x-incl | --x-inc | --x-in | --x-i)
1255 ac_prev=x_includes ;;
1256 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1257 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1258 x_includes=$ac_optarg ;;
1260 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1261 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1262 ac_prev=x_libraries ;;
1263 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1264 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1265 x_libraries=$ac_optarg ;;
1267 -*) { echo "$as_me: error: unrecognized option: $ac_option
1268 Try \`$0 --help' for more information." >&2
1269 { (exit 1); exit 1; }; }
1273 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1276 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1277 { (exit 1); exit 1; }; }
1278 eval $ac_envvar=\$ac_optarg
1279 export $ac_envvar ;;
1282 # FIXME: should be removed in autoconf 3.0.
1283 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1284 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1285 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1286 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292 if test -n "$ac_prev"; then
1293 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1294 { echo "$as_me: error: missing argument to $ac_option" >&2
1295 { (exit 1); exit 1; }; }
1298 # Be sure to have absolute directory names.
1299 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1300 datadir sysconfdir sharedstatedir localstatedir includedir \
1301 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1302 libdir localedir mandir
1304 eval ac_val=\$$ac_var
1306 [\\/$]* | ?:[\\/]* ) continue;;
1307 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1309 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1310 { (exit 1); exit 1; }; }
1313 # There might be people who depend on the old broken behavior: `$host'
1314 # used to hold the argument of --host etc.
1315 # FIXME: To remove some day.
1318 target=$target_alias
1320 # FIXME: To remove some day.
1321 if test "x$host_alias" != x; then
1322 if test "x$build_alias" = x; then
1323 cross_compiling=maybe
1324 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1325 If a cross compiler is detected then cross compile mode will be used." >&2
1326 elif test "x$build_alias" != "x$host_alias"; then
1332 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1334 test "$silent" = yes && exec 6>/dev/null
1337 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1338 ac_ls_di=`ls -di .` &&
1339 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1340 { echo "$as_me: error: Working directory cannot be determined" >&2
1341 { (exit 1); exit 1; }; }
1342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1343 { echo "$as_me: error: pwd does not report name of working directory" >&2
1344 { (exit 1); exit 1; }; }
1347 # Find the source files, if location was not specified.
1348 if test -z "$srcdir"; then
1349 ac_srcdir_defaulted=yes
1350 # Try the directory containing this script, then the parent directory.
1351 ac_confdir=`$as_dirname -- "$0" ||
1352 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1353 X"$0" : 'X\(//\)[^/]' \| \
1354 X"$0" : 'X\(//\)$' \| \
1355 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1379 ac_srcdir_defaulted=no
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1382 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1383 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1384 { (exit 1); exit 1; }; }
1386 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1388 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1389 { (exit 1); exit 1; }; }
1391 # When building in place, set srcdir=.
1392 if test "$ac_abs_confdir" = "$ac_pwd"; then
1395 # Remove unnecessary trailing slashes from srcdir.
1396 # Double slashes in file names in object file debugging info
1397 # mess up M-x gdb in Emacs.
1399 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1401 for ac_var in $ac_precious_vars; do
1402 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1403 eval ac_env_${ac_var}_value=\$${ac_var}
1404 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1405 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1409 # Report the --help message.
1411 if test "$ac_init_help" = "long"; then
1412 # Omit some internal or obsolete options to make the list less imposing.
1413 # This message is too long to be a string in the A/UX 3.1 sh.
1415 \`configure' configures this package to adapt to many kinds of systems.
1417 Usage: $0 [OPTION]... [VAR=VALUE]...
1419 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1420 VAR=VALUE. See below for descriptions of some of the useful variables.
1422 Defaults for the options are specified in brackets.
1425 -h, --help display this help and exit
1426 --help=short display options specific to this package
1427 --help=recursive display the short help of all the included packages
1428 -V, --version display version information and exit
1429 -q, --quiet, --silent do not print \`checking...' messages
1430 --cache-file=FILE cache test results in FILE [disabled]
1431 -C, --config-cache alias for \`--cache-file=config.cache'
1432 -n, --no-create do not create output files
1433 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1435 Installation directories:
1436 --prefix=PREFIX install architecture-independent files in PREFIX
1437 [$ac_default_prefix]
1438 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1441 By default, \`make install' will install all the files in
1442 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1443 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1444 for instance \`--prefix=\$HOME'.
1446 For better control, use the options below.
1448 Fine tuning of the installation directories:
1449 --bindir=DIR user executables [EPREFIX/bin]
1450 --sbindir=DIR system admin executables [EPREFIX/sbin]
1451 --libexecdir=DIR program executables [EPREFIX/libexec]
1452 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1453 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1454 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1455 --libdir=DIR object code libraries [EPREFIX/lib]
1456 --includedir=DIR C header files [PREFIX/include]
1457 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1458 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1459 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1460 --infodir=DIR info documentation [DATAROOTDIR/info]
1461 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1462 --mandir=DIR man documentation [DATAROOTDIR/man]
1463 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1464 --htmldir=DIR html documentation [DOCDIR]
1465 --dvidir=DIR dvi documentation [DOCDIR]
1466 --pdfdir=DIR pdf documentation [DOCDIR]
1467 --psdir=DIR ps documentation [DOCDIR]
1473 --build=BUILD configure for building on BUILD [guessed]
1474 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1478 if test -n "$ac_init_help"; then
1483 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1484 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1485 --enable-dev-mode Turn on developer mode
1486 --disable-largefile omit support for large files
1489 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1490 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1491 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1492 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1493 --with-execinfo=PATH use Stack Backtrace support files in PATH
1494 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1495 --with-curl=PATH use cURL files in PATH
1496 --with-curses=PATH use curses files in PATH
1497 --with-gnutls=PATH use GNU TLS support (used for iksemel only) files in
1499 --with-gsm=PATH use GSM files in PATH , or 'internal'
1500 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1501 --with-imap=PATH use UW IMAP Toolkit files in PATH
1502 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1503 --with-kde=PATH use KDE files in PATH
1504 --with-misdn=PATH use mISDN User Library files in PATH
1505 --with-nbs=PATH use Network Broadcast Sound files in PATH
1506 --with-ncurses=PATH use ncurses files in PATH
1507 --with-netsnmp=PATH use Net-SNMP files in PATH
1508 --with-newt=PATH use newt files in PATH
1509 --with-odbc=PATH use unixODBC files in PATH
1510 --with-ogg=PATH use OGG files in PATH
1511 --with-osptk=PATH use OSP Toolkit files in PATH
1512 --with-oss=PATH use Open Sound System files in PATH
1513 --with-popt=PATH use popt files in PATH
1514 --with-postgres=PATH use PostgreSQL files in PATH
1515 --with-pri=PATH use ISDN PRI files in PATH
1516 --with-ss7=PATH use ISDN SS7 files in PATH
1517 --with-pwlib=PATH use PWlib files in PATH
1518 --with-h323=PATH use OpenH323 files in PATH
1519 --with-qt=PATH use Qt files in PATH
1520 --with-radius=PATH use Radius Client files in PATH
1521 --with-speex=PATH use Speex files in PATH
1522 --with-sqlite=PATH use SQLite files in PATH
1523 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1524 --with-ssl=PATH use OpenSSL files in PATH
1525 --with-tds=PATH use FreeTDS files in PATH
1526 --with-termcap=PATH use Termcap files in PATH
1527 --with-tinfo=PATH use Term Info files in PATH
1528 --with-tonezone=PATH use tonezone files in PATH
1529 --with-vorbis=PATH use Vorbis files in PATH
1530 --with-vpb=PATH use Voicetronix API files in PATH
1531 --with-z=PATH use zlib files in PATH
1532 --with-zaptel=PATH use Zaptel files in PATH
1533 --with-zaptel_transcode=PATH
1534 use Zaptel_transcode files in PATH
1535 --with-zaptel_vldtmf=PATH
1536 use Zaptel_vldtmf files in PATH
1538 Some influential environment variables:
1539 CC C compiler command
1540 CFLAGS C compiler flags
1541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1542 nonstandard directory <lib dir>
1543 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1546 CXX C++ compiler command
1547 CXXFLAGS C++ compiler flags
1548 CXXCPP C++ preprocessor
1550 Use these variables to override the choices made by `configure' or to help
1551 it to find libraries and programs with nonstandard names/locations.
1557 if test "$ac_init_help" = "recursive"; then
1558 # If there are subdirs, report their specific --help.
1559 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1560 test -d "$ac_dir" || continue
1564 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1566 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1567 # A ".." for each directory in $ac_dir_suffix.
1568 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1569 case $ac_top_builddir_sub in
1570 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1571 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1574 ac_abs_top_builddir=$ac_pwd
1575 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1576 # for backward compatibility:
1577 ac_top_builddir=$ac_top_build_prefix
1580 .) # We are building in place.
1582 ac_top_srcdir=$ac_top_builddir_sub
1583 ac_abs_top_srcdir=$ac_pwd ;;
1584 [\\/]* | ?:[\\/]* ) # Absolute name.
1585 ac_srcdir=$srcdir$ac_dir_suffix;
1586 ac_top_srcdir=$srcdir
1587 ac_abs_top_srcdir=$srcdir ;;
1589 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1590 ac_top_srcdir=$ac_top_build_prefix$srcdir
1591 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1593 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1595 cd "$ac_dir" || { ac_status=$?; continue; }
1596 # Check for guested configure.
1597 if test -f "$ac_srcdir/configure.gnu"; then
1599 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1600 elif test -f "$ac_srcdir/configure"; then
1602 $SHELL "$ac_srcdir/configure" --help=recursive
1604 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1606 cd "$ac_pwd" || { ac_status=$?; break; }
1610 test -n "$ac_init_help" && exit $ac_status
1611 if $ac_init_version; then
1614 generated by GNU Autoconf 2.60
1616 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1617 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1618 This configure script is free software; the Free Software Foundation
1619 gives unlimited permission to copy, distribute and modify it.
1625 cat >config.log <<_ACEOF
1626 This file contains any messages produced by compilers while
1627 running configure, to aid debugging if configure makes a mistake.
1629 It was created by $as_me, which was
1630 generated by GNU Autoconf 2.60. Invocation command line was
1642 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1643 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1644 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1645 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1646 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1648 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1649 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1651 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1652 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1653 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1654 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1655 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1656 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1657 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1665 test -z "$as_dir" && as_dir=.
1666 echo "PATH: $as_dir"
1682 # Keep a trace of the command line.
1683 # Strip out --no-create and --no-recursion so they do not pile up.
1684 # Strip out --silent because we don't want to record it for future runs.
1685 # Also quote any args containing shell meta-characters.
1686 # Make two passes to allow for proper duplicate-argument suppression.
1690 ac_must_keep_next=false
1696 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1698 | -silent | --silent | --silen | --sile | --sil)
1701 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1704 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1706 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1707 if test $ac_must_keep_next = true; then
1708 ac_must_keep_next=false # Got value, back to normal.
1711 *=* | --config-cache | -C | -disable-* | --disable-* \
1712 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1713 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1714 | -with-* | --with-* | -without-* | --without-* | --x)
1715 case "$ac_configure_args0 " in
1716 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1719 -* ) ac_must_keep_next=true ;;
1722 ac_configure_args="$ac_configure_args '$ac_arg'"
1727 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1728 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1730 # When interrupted or exit'd, cleanup temporary files, and complete
1731 # config.log. We remove comments because anyway the quotes in there
1732 # would cause problems or look ugly.
1733 # WARNING: Use '\'' to represent an apostrophe within the trap.
1734 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1735 trap 'exit_status=$?
1736 # Save into config.log some information that might help in debugging.
1741 ## ---------------- ##
1742 ## Cache variables. ##
1743 ## ---------------- ##
1746 # The following way of writing the cache mishandles newlines in values,
1748 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1749 eval ac_val=\$$ac_var
1753 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1754 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1757 _ | IFS | as_nl) ;; #(
1758 *) $as_unset $ac_var ;;
1763 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1764 *${as_nl}ac_space=\ *)
1766 "s/'\''/'\''\\\\'\'''\''/g;
1767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1770 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1778 ## ----------------- ##
1779 ## Output variables. ##
1780 ## ----------------- ##
1783 for ac_var in $ac_subst_vars
1785 eval ac_val=\$$ac_var
1787 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1789 echo "$ac_var='\''$ac_val'\''"
1793 if test -n "$ac_subst_files"; then
1795 ## ------------------- ##
1796 ## File substitutions. ##
1797 ## ------------------- ##
1800 for ac_var in $ac_subst_files
1802 eval ac_val=\$$ac_var
1804 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1806 echo "$ac_var='\''$ac_val'\''"
1811 if test -s confdefs.h; then
1821 test "$ac_signal" != 0 &&
1822 echo "$as_me: caught signal $ac_signal"
1823 echo "$as_me: exit $exit_status"
1825 rm -f core *.core core.conftest.* &&
1826 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1829 for ac_signal in 1 2 13 15; do
1830 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1834 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1835 rm -f -r conftest* confdefs.h
1837 # Predefined preprocessor variables.
1839 cat >>confdefs.h <<_ACEOF
1840 #define PACKAGE_NAME "$PACKAGE_NAME"
1844 cat >>confdefs.h <<_ACEOF
1845 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1849 cat >>confdefs.h <<_ACEOF
1850 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1854 cat >>confdefs.h <<_ACEOF
1855 #define PACKAGE_STRING "$PACKAGE_STRING"
1859 cat >>confdefs.h <<_ACEOF
1860 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1864 # Let the site file select an alternate cache file if it wants to.
1865 # Prefer explicitly selected file to automatically selected ones.
1866 if test -n "$CONFIG_SITE"; then
1867 set x "$CONFIG_SITE"
1868 elif test "x$prefix" != xNONE; then
1869 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1871 set x "$ac_default_prefix/share/config.site" \
1872 "$ac_default_prefix/etc/config.site"
1877 if test -r "$ac_site_file"; then
1878 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1879 echo "$as_me: loading site script $ac_site_file" >&6;}
1880 sed 's/^/| /' "$ac_site_file" >&5
1885 if test -r "$cache_file"; then
1886 # Some versions of bash will fail to source /dev/null (special
1887 # files actually), so we avoid doing that.
1888 if test -f "$cache_file"; then
1889 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1890 echo "$as_me: loading cache $cache_file" >&6;}
1892 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1893 *) . "./$cache_file";;
1897 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1898 echo "$as_me: creating cache $cache_file" >&6;}
1902 # Check that the precious variables saved in the cache have kept the same
1904 ac_cache_corrupted=false
1905 for ac_var in $ac_precious_vars; do
1906 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1907 eval ac_new_set=\$ac_env_${ac_var}_set
1908 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1909 eval ac_new_val=\$ac_env_${ac_var}_value
1910 case $ac_old_set,$ac_new_set in
1912 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1913 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1914 ac_cache_corrupted=: ;;
1916 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1917 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1918 ac_cache_corrupted=: ;;
1921 if test "x$ac_old_val" != "x$ac_new_val"; then
1922 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1923 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1924 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1925 echo "$as_me: former value: $ac_old_val" >&2;}
1926 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1927 echo "$as_me: current value: $ac_new_val" >&2;}
1928 ac_cache_corrupted=:
1931 # Pass precious variables to config.status.
1932 if test "$ac_new_set" = set; then
1934 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1935 *) ac_arg=$ac_var=$ac_new_val ;;
1937 case " $ac_configure_args " in
1938 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1939 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1943 if $ac_cache_corrupted; then
1944 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1945 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1946 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1947 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1948 { (exit 1); exit 1; }; }
1968 ac_cpp='$CPP $CPPFLAGS'
1969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1975 # cross-compile macros
1977 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1978 if test -f "$ac_dir/install-sh"; then
1980 ac_install_sh="$ac_aux_dir/install-sh -c"
1982 elif test -f "$ac_dir/install.sh"; then
1984 ac_install_sh="$ac_aux_dir/install.sh -c"
1986 elif test -f "$ac_dir/shtool"; then
1988 ac_install_sh="$ac_aux_dir/shtool install -c"
1992 if test -z "$ac_aux_dir"; then
1993 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1994 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1995 { (exit 1); exit 1; }; }
1998 # These three variables are undocumented and unsupported,
1999 # and are intended to be withdrawn in a future Autoconf release.
2000 # They can cause serious problems if a builder's source tree is in a directory
2001 # whose full name contains unusual characters.
2002 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2003 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2004 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2007 # Make sure we can run config.sub.
2008 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2009 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2010 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2011 { (exit 1); exit 1; }; }
2013 { echo "$as_me:$LINENO: checking build system type" >&5
2014 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2015 if test "${ac_cv_build+set}" = set; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 ac_build_alias=$build_alias
2019 test "x$ac_build_alias" = x &&
2020 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2021 test "x$ac_build_alias" = x &&
2022 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2023 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2024 { (exit 1); exit 1; }; }
2025 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2026 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2027 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2028 { (exit 1); exit 1; }; }
2031 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2032 echo "${ECHO_T}$ac_cv_build" >&6; }
2033 case $ac_cv_build in
2035 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2036 echo "$as_me: error: invalid value of canonical build" >&2;}
2037 { (exit 1); exit 1; }; };;
2040 ac_save_IFS=$IFS; IFS='-'
2046 # Remember, the first character of IFS is used to create $*,
2047 # except with old shells:
2050 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2053 { echo "$as_me:$LINENO: checking host system type" >&5
2054 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2055 if test "${ac_cv_host+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 if test "x$host_alias" = x; then
2059 ac_cv_host=$ac_cv_build
2061 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2062 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2063 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2064 { (exit 1); exit 1; }; }
2068 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2069 echo "${ECHO_T}$ac_cv_host" >&6; }
2072 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2073 echo "$as_me: error: invalid value of canonical host" >&2;}
2074 { (exit 1); exit 1; }; };;
2077 ac_save_IFS=$IFS; IFS='-'
2083 # Remember, the first character of IFS is used to create $*,
2084 # except with old shells:
2087 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2091 # check existence of the package
2094 # specify output header file
2095 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2102 cat >>confdefs.h <<\_ACEOF
2103 #define _GNU_SOURCE 1
2108 ac_cpp='$CPP $CPPFLAGS'
2109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2112 if test -n "$ac_tool_prefix"; then
2113 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2114 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2117 if test "${ac_cv_prog_CC+set}" = set; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2120 if test -n "$CC"; then
2121 ac_cv_prog_CC="$CC" # Let the user override the test.
2123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127 test -z "$as_dir" && as_dir=.
2128 for ac_exec_ext in '' $ac_executable_extensions; do
2129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2130 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 if test -n "$CC"; then
2142 { echo "$as_me:$LINENO: result: $CC" >&5
2143 echo "${ECHO_T}$CC" >&6; }
2145 { echo "$as_me:$LINENO: result: no" >&5
2146 echo "${ECHO_T}no" >&6; }
2151 if test -z "$ac_cv_prog_CC"; then
2153 # Extract the first word of "gcc", so it can be a program name with args.
2154 set dummy gcc; ac_word=$2
2155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$ac_ct_CC"; then
2161 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2170 ac_cv_prog_ac_ct_CC="gcc"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2181 if test -n "$ac_ct_CC"; then
2182 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2183 echo "${ECHO_T}$ac_ct_CC" >&6; }
2185 { echo "$as_me:$LINENO: result: no" >&5
2186 echo "${ECHO_T}no" >&6; }
2189 if test "x$ac_ct_CC" = x; then
2192 case $cross_compiling:$ac_tool_warned in
2194 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2195 whose name does not start with the host triplet. If you think this
2196 configuration is useful to you, please write to autoconf@gnu.org." >&5
2197 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2198 whose name does not start with the host triplet. If you think this
2199 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2200 ac_tool_warned=yes ;;
2208 if test -z "$CC"; then
2209 if test -n "$ac_tool_prefix"; then
2210 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2211 set dummy ${ac_tool_prefix}cc; ac_word=$2
2212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2214 if test "${ac_cv_prog_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 if test -n "$CC"; then
2218 ac_cv_prog_CC="$CC" # Let the user override the test.
2220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224 test -z "$as_dir" && as_dir=.
2225 for ac_exec_ext in '' $ac_executable_extensions; do
2226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2227 ac_cv_prog_CC="${ac_tool_prefix}cc"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 if test -n "$CC"; then
2239 { echo "$as_me:$LINENO: result: $CC" >&5
2240 echo "${ECHO_T}$CC" >&6; }
2242 { echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6; }
2249 if test -z "$CC"; then
2250 # Extract the first word of "cc", so it can be a program name with args.
2251 set dummy cc; ac_word=$2
2252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2254 if test "${ac_cv_prog_CC+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2257 if test -n "$CC"; then
2258 ac_cv_prog_CC="$CC" # Let the user override the test.
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2268 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2269 ac_prog_rejected=yes
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 if test $ac_prog_rejected = yes; then
2281 # We found a bogon in the path, so make sure we never use it.
2282 set dummy $ac_cv_prog_CC
2284 if test $# != 0; then
2285 # We chose a different compiler from the bogus one.
2286 # However, it has the same basename, so the bogon will be chosen
2287 # first if we set CC to just the basename; use the full file name.
2289 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2295 if test -n "$CC"; then
2296 { echo "$as_me:$LINENO: result: $CC" >&5
2297 echo "${ECHO_T}$CC" >&6; }
2299 { echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6; }
2305 if test -z "$CC"; then
2306 if test -n "$ac_tool_prefix"; then
2307 for ac_prog in cl.exe
2309 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2310 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2313 if test "${ac_cv_prog_CC+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 if test -n "$CC"; then
2317 ac_cv_prog_CC="$CC" # Let the user override the test.
2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir=.
2324 for ac_exec_ext in '' $ac_executable_extensions; do
2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2326 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 if test -n "$CC"; then
2338 { echo "$as_me:$LINENO: result: $CC" >&5
2339 echo "${ECHO_T}$CC" >&6; }
2341 { echo "$as_me:$LINENO: result: no" >&5
2342 echo "${ECHO_T}no" >&6; }
2346 test -n "$CC" && break
2349 if test -z "$CC"; then
2351 for ac_prog in cl.exe
2353 # Extract the first word of "$ac_prog", so it can be a program name with args.
2354 set dummy $ac_prog; ac_word=$2
2355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2357 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 if test -n "$ac_ct_CC"; then
2361 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2370 ac_cv_prog_ac_ct_CC="$ac_prog"
2371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2381 if test -n "$ac_ct_CC"; then
2382 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2383 echo "${ECHO_T}$ac_ct_CC" >&6; }
2385 { echo "$as_me:$LINENO: result: no" >&5
2386 echo "${ECHO_T}no" >&6; }
2390 test -n "$ac_ct_CC" && break
2393 if test "x$ac_ct_CC" = x; then
2396 case $cross_compiling:$ac_tool_warned in
2398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2399 whose name does not start with the host triplet. If you think this
2400 configuration is useful to you, please write to autoconf@gnu.org." >&5
2401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2402 whose name does not start with the host triplet. If you think this
2403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2404 ac_tool_warned=yes ;;
2413 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2414 See \`config.log' for more details." >&5
2415 echo "$as_me: error: no acceptable C compiler found in \$PATH
2416 See \`config.log' for more details." >&2;}
2417 { (exit 1); exit 1; }; }
2419 # Provide some information about the compiler.
2420 echo "$as_me:$LINENO: checking for C compiler version" >&5
2421 ac_compiler=`set X $ac_compile; echo $2`
2422 { (ac_try="$ac_compiler --version >&5"
2424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2425 *) ac_try_echo=$ac_try;;
2427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2428 (eval "$ac_compiler --version >&5") 2>&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }
2432 { (ac_try="$ac_compiler -v >&5"
2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2438 (eval "$ac_compiler -v >&5") 2>&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }
2442 { (ac_try="$ac_compiler -V >&5"
2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2448 (eval "$ac_compiler -V >&5") 2>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }
2453 cat >conftest.$ac_ext <<_ACEOF
2456 cat confdefs.h >>conftest.$ac_ext
2457 cat >>conftest.$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2468 ac_clean_files_save=$ac_clean_files
2469 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2470 # Try to create an executable without -o first, disregard a.out.
2471 # It will help us diagnose broken compilers, and finding out an intuition
2473 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2474 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2475 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2477 # List of possible output files, starting from the most likely.
2478 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2479 # only as a last resort. b.out is created by i960 compilers.
2480 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2482 # The IRIX 6 linker writes into existing files which may not be
2483 # executable, retaining their permissions. Remove them first so a
2484 # subsequent execution test works.
2486 for ac_file in $ac_files
2489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2490 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2495 if { (ac_try="$ac_link_default"
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_link_default") 2>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; then
2505 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2506 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2507 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2508 # so that the user can short-circuit this test for compilers unknown to
2510 for ac_file in $ac_files
2512 test -f "$ac_file" || continue
2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2517 # We found the default executable, but exeext='' is most
2521 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2523 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2525 # We set ac_cv_exeext here because the later test for it is not
2526 # safe: cross compilers may not add the suffix if given an `-o'
2527 # argument, so we may need to know it at that point already.
2528 # Even if this section looks crufty: it has the advantage of
2535 test "$ac_cv_exeext" = no && ac_cv_exeext=
2538 echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.$ac_ext >&5
2541 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: C compiler cannot create executables
2544 See \`config.log' for more details." >&2;}
2545 { (exit 77); exit 77; }; }
2548 ac_exeext=$ac_cv_exeext
2549 { echo "$as_me:$LINENO: result: $ac_file" >&5
2550 echo "${ECHO_T}$ac_file" >&6; }
2552 # Check that the compiler produces executables we can run. If not, either
2553 # the compiler is broken, or we cross compile.
2554 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2555 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2556 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2557 # If not cross compiling, check that we can run a simple program.
2558 if test "$cross_compiling" != yes; then
2559 if { ac_try='./$ac_file'
2560 { (case "(($ac_try" in
2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2562 *) ac_try_echo=$ac_try;;
2564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2565 (eval "$ac_try") 2>&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; }; then
2571 if test "$cross_compiling" = maybe; then
2574 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2575 If you meant to cross compile, use \`--host'.
2576 See \`config.log' for more details." >&5
2577 echo "$as_me: error: cannot run C compiled programs.
2578 If you meant to cross compile, use \`--host'.
2579 See \`config.log' for more details." >&2;}
2580 { (exit 1); exit 1; }; }
2584 { echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6; }
2587 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2588 ac_clean_files=$ac_clean_files_save
2589 # Check that the compiler produces executables we can run. If not, either
2590 # the compiler is broken, or we cross compile.
2591 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2592 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2593 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2594 echo "${ECHO_T}$cross_compiling" >&6; }
2596 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2597 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2598 if { (ac_try="$ac_link"
2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_link") 2>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; then
2608 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2609 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2610 # work properly (i.e., refer to `conftest.exe'), while it won't with
2612 for ac_file in conftest.exe conftest conftest.*; do
2613 test -f "$ac_file" || continue
2615 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2616 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2622 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2623 See \`config.log' for more details." >&5
2624 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2625 See \`config.log' for more details." >&2;}
2626 { (exit 1); exit 1; }; }
2629 rm -f conftest$ac_cv_exeext
2630 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2631 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2633 rm -f conftest.$ac_ext
2634 EXEEXT=$ac_cv_exeext
2636 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2637 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2638 if test "${ac_cv_objext+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 cat >conftest.$ac_ext <<_ACEOF
2644 cat confdefs.h >>conftest.$ac_ext
2645 cat >>conftest.$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2656 rm -f conftest.o conftest.obj
2657 if { (ac_try="$ac_compile"
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2663 (eval "$ac_compile") 2>&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; then
2667 for ac_file in conftest.o conftest.obj conftest.*; do
2668 test -f "$ac_file" || continue;
2670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2671 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2676 echo "$as_me: failed program was:" >&5
2677 sed 's/^/| /' conftest.$ac_ext >&5
2679 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2680 See \`config.log' for more details." >&5
2681 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2682 See \`config.log' for more details." >&2;}
2683 { (exit 1); exit 1; }; }
2686 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2688 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2689 echo "${ECHO_T}$ac_cv_objext" >&6; }
2690 OBJEXT=$ac_cv_objext
2692 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2693 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2694 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2695 echo $ECHO_N "(cached) $ECHO_C" >&6
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2715 rm -f conftest.$ac_objext
2716 if { (ac_try="$ac_compile"
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2722 (eval "$ac_compile") 2>conftest.er1
2724 grep -v '^ *+' conftest.er1 >conftest.err
2726 cat conftest.err >&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } &&
2729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2730 { (case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_try") 2>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; } &&
2739 { ac_try='test -s conftest.$ac_objext'
2740 { (case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2745 (eval "$ac_try") 2>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.$ac_ext >&5
2757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2761 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2762 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2763 GCC=`test $ac_compiler_gnu = yes && echo yes`
2764 ac_test_CFLAGS=${CFLAGS+set}
2765 ac_save_CFLAGS=$CFLAGS
2766 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2767 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2768 if test "${ac_cv_prog_cc_g+set}" = set; then
2769 echo $ECHO_N "(cached) $ECHO_C" >&6
2771 ac_save_c_werror_flag=$ac_c_werror_flag
2772 ac_c_werror_flag=yes
2775 cat >conftest.$ac_ext <<_ACEOF
2778 cat confdefs.h >>conftest.$ac_ext
2779 cat >>conftest.$ac_ext <<_ACEOF
2780 /* end confdefs.h. */
2790 rm -f conftest.$ac_objext
2791 if { (ac_try="$ac_compile"
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_compile") 2>conftest.er1
2799 grep -v '^ *+' conftest.er1 >conftest.err
2801 cat conftest.err >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } &&
2804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2805 { (case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2810 (eval "$ac_try") 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; } &&
2814 { ac_try='test -s conftest.$ac_objext'
2815 { (case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_try") 2>&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2830 cat >conftest.$ac_ext <<_ACEOF
2833 cat confdefs.h >>conftest.$ac_ext
2834 cat >>conftest.$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2845 rm -f conftest.$ac_objext
2846 if { (ac_try="$ac_compile"
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_compile") 2>conftest.er1
2854 grep -v '^ *+' conftest.er1 >conftest.err
2856 cat conftest.err >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
2859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2860 { (case "(($ac_try" in
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2865 (eval "$ac_try") 2>&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; } &&
2869 { ac_try='test -s conftest.$ac_objext'
2870 { (case "(($ac_try" in
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2875 (eval "$ac_try") 2>&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2881 echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2884 ac_c_werror_flag=$ac_save_c_werror_flag
2886 cat >conftest.$ac_ext <<_ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2901 rm -f conftest.$ac_objext
2902 if { (ac_try="$ac_compile"
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2908 (eval "$ac_compile") 2>conftest.er1
2910 grep -v '^ *+' conftest.er1 >conftest.err
2912 cat conftest.err >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } &&
2915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2916 { (case "(($ac_try" in
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2921 (eval "$ac_try") 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; } &&
2925 { ac_try='test -s conftest.$ac_objext'
2926 { (case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2931 (eval "$ac_try") 2>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; }; then
2937 echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2950 ac_c_werror_flag=$ac_save_c_werror_flag
2952 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2953 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2954 if test "$ac_test_CFLAGS" = set; then
2955 CFLAGS=$ac_save_CFLAGS
2956 elif test $ac_cv_prog_cc_g = yes; then
2957 if test "$GCC" = yes; then
2963 if test "$GCC" = yes; then
2969 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2970 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2971 if test "${ac_cv_prog_cc_c89+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 ac_cv_prog_cc_c89=no
2976 cat >conftest.$ac_ext <<_ACEOF
2979 cat confdefs.h >>conftest.$ac_ext
2980 cat >>conftest.$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2984 #include <sys/types.h>
2985 #include <sys/stat.h>
2986 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2987 struct buf { int x; };
2988 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2989 static char *e (p, i)
2995 static char *f (char * (*g) (char **, int), char **p, ...)
3000 s = g (p, va_arg (v,int));
3005 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3006 function prototypes and stuff, but not '\xHH' hex character constants.
3007 These don't provoke an error unfortunately, instead are silently treated
3008 as 'x'. The following induces an error, until -std is added to get
3009 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3010 array size at least. It's necessary to write '\x00'==0 to get something
3011 that's true only with -std. */
3012 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3014 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3015 inside strings and character constants. */
3017 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3019 int test (int i, double x);
3020 struct s1 {int (*f) (int a);};
3021 struct s2 {int (*f) (double a);};
3022 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3028 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3033 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3034 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3036 CC="$ac_save_CC $ac_arg"
3037 rm -f conftest.$ac_objext
3038 if { (ac_try="$ac_compile"
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3044 (eval "$ac_compile") 2>conftest.er1
3046 grep -v '^ *+' conftest.er1 >conftest.err
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } &&
3051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3052 { (case "(($ac_try" in
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3057 (eval "$ac_try") 2>&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; } &&
3061 { ac_try='test -s conftest.$ac_objext'
3062 { (case "(($ac_try" in
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3067 (eval "$ac_try") 2>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; }; then
3071 ac_cv_prog_cc_c89=$ac_arg
3073 echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.$ac_ext >&5
3079 rm -f core conftest.err conftest.$ac_objext
3080 test "x$ac_cv_prog_cc_c89" != "xno" && break
3082 rm -f conftest.$ac_ext
3087 case "x$ac_cv_prog_cc_c89" in
3089 { echo "$as_me:$LINENO: result: none needed" >&5
3090 echo "${ECHO_T}none needed" >&6; } ;;
3092 { echo "$as_me:$LINENO: result: unsupported" >&5
3093 echo "${ECHO_T}unsupported" >&6; } ;;
3095 CC="$CC $ac_cv_prog_cc_c89"
3096 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3097 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3102 ac_cpp='$CPP $CPPFLAGS'
3103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3109 ac_cpp='$CPP $CPPFLAGS'
3110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3113 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3114 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3115 # On Suns, sometimes $CPP names a directory.
3116 if test -n "$CPP" && test -d "$CPP"; then
3119 if test -z "$CPP"; then
3120 if test "${ac_cv_prog_CPP+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 # Double quotes because CPP needs to be expanded
3124 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3127 for ac_c_preproc_warn_flag in '' yes
3129 # Use a header file that comes with gcc, so configuring glibc
3130 # with a fresh cross-compiler works.
3131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3132 # <limits.h> exists even on freestanding compilers.
3133 # On the NeXT, cc -E runs the code through the compiler's parser,
3134 # not just through cpp. "Syntax error" is here to catch this case.
3135 cat >conftest.$ac_ext <<_ACEOF
3138 cat confdefs.h >>conftest.$ac_ext
3139 cat >>conftest.$ac_ext <<_ACEOF
3140 /* end confdefs.h. */
3142 # include <limits.h>
3144 # include <assert.h>
3148 if { (ac_try="$ac_cpp conftest.$ac_ext"
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3154 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3156 grep -v '^ *+' conftest.er1 >conftest.err
3158 cat conftest.err >&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); } >/dev/null; then
3161 if test -s conftest.err; then
3162 ac_cpp_err=$ac_c_preproc_warn_flag
3163 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3170 if test -z "$ac_cpp_err"; then
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 # Broken: fails on valid input.
3180 rm -f conftest.err conftest.$ac_ext
3182 # OK, works on sane cases. Now check whether nonexistent headers
3183 # can be detected and how.
3184 cat >conftest.$ac_ext <<_ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3190 #include <ac_nonexistent.h>
3192 if { (ac_try="$ac_cpp conftest.$ac_ext"
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3200 grep -v '^ *+' conftest.er1 >conftest.err
3202 cat conftest.err >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); } >/dev/null; then
3205 if test -s conftest.err; then
3206 ac_cpp_err=$ac_c_preproc_warn_flag
3207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3214 if test -z "$ac_cpp_err"; then
3215 # Broken: success on invalid input.
3218 echo "$as_me: failed program was:" >&5
3219 sed 's/^/| /' conftest.$ac_ext >&5
3221 # Passes both tests.
3226 rm -f conftest.err conftest.$ac_ext
3229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3230 rm -f conftest.err conftest.$ac_ext
3231 if $ac_preproc_ok; then
3243 { echo "$as_me:$LINENO: result: $CPP" >&5
3244 echo "${ECHO_T}$CPP" >&6; }
3246 for ac_c_preproc_warn_flag in '' yes
3248 # Use a header file that comes with gcc, so configuring glibc
3249 # with a fresh cross-compiler works.
3250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3251 # <limits.h> exists even on freestanding compilers.
3252 # On the NeXT, cc -E runs the code through the compiler's parser,
3253 # not just through cpp. "Syntax error" is here to catch this case.
3254 cat >conftest.$ac_ext <<_ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3261 # include <limits.h>
3263 # include <assert.h>
3267 if { (ac_try="$ac_cpp conftest.$ac_ext"
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3275 grep -v '^ *+' conftest.er1 >conftest.err
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } >/dev/null; then
3280 if test -s conftest.err; then
3281 ac_cpp_err=$ac_c_preproc_warn_flag
3282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3289 if test -z "$ac_cpp_err"; then
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3295 # Broken: fails on valid input.
3299 rm -f conftest.err conftest.$ac_ext
3301 # OK, works on sane cases. Now check whether nonexistent headers
3302 # can be detected and how.
3303 cat >conftest.$ac_ext <<_ACEOF
3306 cat confdefs.h >>conftest.$ac_ext
3307 cat >>conftest.$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3309 #include <ac_nonexistent.h>
3311 if { (ac_try="$ac_cpp conftest.$ac_ext"
3313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3314 *) ac_try_echo=$ac_try;;
3316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3319 grep -v '^ *+' conftest.er1 >conftest.err
3321 cat conftest.err >&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } >/dev/null; then
3324 if test -s conftest.err; then
3325 ac_cpp_err=$ac_c_preproc_warn_flag
3326 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3333 if test -z "$ac_cpp_err"; then
3334 # Broken: success on invalid input.
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3340 # Passes both tests.
3345 rm -f conftest.err conftest.$ac_ext
3348 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3349 rm -f conftest.err conftest.$ac_ext
3350 if $ac_preproc_ok; then
3353 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3354 See \`config.log' for more details." >&5
3355 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3356 See \`config.log' for more details." >&2;}
3357 { (exit 1); exit 1; }; }
3361 ac_cpp='$CPP $CPPFLAGS'
3362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3367 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3368 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3369 if test "${ac_cv_path_GREP+set}" = set; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 # Extract the first word of "grep ggrep" to use in msg output
3373 if test -z "$GREP"; then
3374 set dummy grep ggrep; ac_prog_name=$2
3375 if test "${ac_cv_path_GREP+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 ac_path_GREP_found=false
3379 # Loop through the user's path and test for each of PROGNAME-LIST
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3384 test -z "$as_dir" && as_dir=.
3385 for ac_prog in grep ggrep; do
3386 for ac_exec_ext in '' $ac_executable_extensions; do
3387 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3388 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3389 # Check for GNU ac_path_GREP and select it if it is found.
3390 # Check for GNU $ac_path_GREP
3391 case `"$ac_path_GREP" --version 2>&1` in
3393 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3396 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3399 cat "conftest.in" "conftest.in" >"conftest.tmp"
3400 mv "conftest.tmp" "conftest.in"
3401 cp "conftest.in" "conftest.nl"
3402 echo 'GREP' >> "conftest.nl"
3403 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3404 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3405 ac_count=`expr $ac_count + 1`
3406 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3407 # Best one so far, save it but keep looking for a better one
3408 ac_cv_path_GREP="$ac_path_GREP"
3409 ac_path_GREP_max=$ac_count
3411 # 10*(2^10) chars as input seems more than enough
3412 test $ac_count -gt 10 && break
3414 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3418 $ac_path_GREP_found && break 3
3428 GREP="$ac_cv_path_GREP"
3429 if test -z "$GREP"; then
3430 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3431 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3432 { (exit 1); exit 1; }; }
3436 ac_cv_path_GREP=$GREP
3441 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3442 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3443 GREP="$ac_cv_path_GREP"
3446 { echo "$as_me:$LINENO: checking for egrep" >&5
3447 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3448 if test "${ac_cv_path_EGREP+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3452 then ac_cv_path_EGREP="$GREP -E"
3454 # Extract the first word of "egrep" to use in msg output
3455 if test -z "$EGREP"; then
3456 set dummy egrep; ac_prog_name=$2
3457 if test "${ac_cv_path_EGREP+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 ac_path_EGREP_found=false
3461 # Loop through the user's path and test for each of PROGNAME-LIST
3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3466 test -z "$as_dir" && as_dir=.
3467 for ac_prog in egrep; do
3468 for ac_exec_ext in '' $ac_executable_extensions; do
3469 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3470 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3471 # Check for GNU ac_path_EGREP and select it if it is found.
3472 # Check for GNU $ac_path_EGREP
3473 case `"$ac_path_EGREP" --version 2>&1` in
3475 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3478 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3481 cat "conftest.in" "conftest.in" >"conftest.tmp"
3482 mv "conftest.tmp" "conftest.in"
3483 cp "conftest.in" "conftest.nl"
3484 echo 'EGREP' >> "conftest.nl"
3485 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3486 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3487 ac_count=`expr $ac_count + 1`
3488 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3489 # Best one so far, save it but keep looking for a better one
3490 ac_cv_path_EGREP="$ac_path_EGREP"
3491 ac_path_EGREP_max=$ac_count
3493 # 10*(2^10) chars as input seems more than enough
3494 test $ac_count -gt 10 && break
3496 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3500 $ac_path_EGREP_found && break 3
3510 EGREP="$ac_cv_path_EGREP"
3511 if test -z "$EGREP"; then
3512 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3513 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3514 { (exit 1); exit 1; }; }
3518 ac_cv_path_EGREP=$EGREP
3524 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3525 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3526 EGREP="$ac_cv_path_EGREP"
3530 { echo "$as_me:$LINENO: checking for AIX" >&5
3531 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3532 cat >conftest.$ac_ext <<_ACEOF
3535 cat confdefs.h >>conftest.$ac_ext
3536 cat >>conftest.$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3544 $EGREP "yes" >/dev/null 2>&1; then
3545 { echo "$as_me:$LINENO: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6; }
3547 cat >>confdefs.h <<\_ACEOF
3548 #define _ALL_SOURCE 1
3552 { echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6; }
3558 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3559 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3560 if test "${ac_cv_header_stdc+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 cat >conftest.$ac_ext <<_ACEOF
3566 cat confdefs.h >>conftest.$ac_ext
3567 cat >>conftest.$ac_ext <<_ACEOF
3568 /* end confdefs.h. */
3582 rm -f conftest.$ac_objext
3583 if { (ac_try="$ac_compile"
3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3589 (eval "$ac_compile") 2>conftest.er1
3591 grep -v '^ *+' conftest.er1 >conftest.err
3593 cat conftest.err >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); } &&
3596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3597 { (case "(($ac_try" in
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3602 (eval "$ac_try") 2>&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; } &&
3606 { ac_try='test -s conftest.$ac_objext'
3607 { (case "(($ac_try" in
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3612 (eval "$ac_try") 2>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; }; then
3616 ac_cv_header_stdc=yes
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3621 ac_cv_header_stdc=no
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3626 if test $ac_cv_header_stdc = yes; then
3627 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3628 cat >conftest.$ac_ext <<_ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3638 $EGREP "memchr" >/dev/null 2>&1; then
3641 ac_cv_header_stdc=no
3647 if test $ac_cv_header_stdc = yes; then
3648 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3649 cat >conftest.$ac_ext <<_ACEOF
3652 cat confdefs.h >>conftest.$ac_ext
3653 cat >>conftest.$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3659 $EGREP "free" >/dev/null 2>&1; then
3662 ac_cv_header_stdc=no
3668 if test $ac_cv_header_stdc = yes; then
3669 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3670 if test "$cross_compiling" = yes; then
3673 cat >conftest.$ac_ext <<_ACEOF
3676 cat confdefs.h >>conftest.$ac_ext
3677 cat >>conftest.$ac_ext <<_ACEOF
3678 /* end confdefs.h. */
3681 #if ((' ' & 0x0FF) == 0x020)
3682 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3683 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3685 # define ISLOWER(c) \
3686 (('a' <= (c) && (c) <= 'i') \
3687 || ('j' <= (c) && (c) <= 'r') \
3688 || ('s' <= (c) && (c) <= 'z'))
3689 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3692 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3697 for (i = 0; i < 256; i++)
3698 if (XOR (islower (i), ISLOWER (i))
3699 || toupper (i) != TOUPPER (i))
3704 rm -f conftest$ac_exeext
3705 if { (ac_try="$ac_link"
3707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3708 *) ac_try_echo=$ac_try;;
3710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3711 (eval "$ac_link") 2>&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3715 { (case "(($ac_try" in
3716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3717 *) ac_try_echo=$ac_try;;
3719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3720 (eval "$ac_try") 2>&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); }; }; then
3726 echo "$as_me: program exited with status $ac_status" >&5
3727 echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.$ac_ext >&5
3731 ac_cv_header_stdc=no
3733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3739 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3740 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3741 if test $ac_cv_header_stdc = yes; then
3743 cat >>confdefs.h <<\_ACEOF
3744 #define STDC_HEADERS 1
3749 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3759 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3760 inttypes.h stdint.h unistd.h
3762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 cat >conftest.$ac_ext <<_ACEOF
3771 cat confdefs.h >>conftest.$ac_ext
3772 cat >>conftest.$ac_ext <<_ACEOF
3773 /* end confdefs.h. */
3774 $ac_includes_default
3776 #include <$ac_header>
3778 rm -f conftest.$ac_objext
3779 if { (ac_try="$ac_compile"
3781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3782 *) ac_try_echo=$ac_try;;
3784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3785 (eval "$ac_compile") 2>conftest.er1
3787 grep -v '^ *+' conftest.er1 >conftest.err
3789 cat conftest.err >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); } &&
3792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3793 { (case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_try") 2>&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; } &&
3802 { ac_try='test -s conftest.$ac_objext'
3803 { (case "(($ac_try" in
3804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805 *) ac_try_echo=$ac_try;;
3807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3808 (eval "$ac_try") 2>&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3812 eval "$as_ac_Header=yes"
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.$ac_ext >&5
3817 eval "$as_ac_Header=no"
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 ac_res=`eval echo '${'$as_ac_Header'}'`
3823 { echo "$as_me:$LINENO: result: $ac_res" >&5
3824 echo "${ECHO_T}$ac_res" >&6; }
3825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3826 cat >>confdefs.h <<_ACEOF
3827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3835 if test "${ac_cv_header_minix_config_h+set}" = set; then
3836 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3837 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3838 if test "${ac_cv_header_minix_config_h+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3842 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3844 # Is the header compilable?
3845 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3846 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3847 cat >conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3853 $ac_includes_default
3854 #include <minix/config.h>
3856 rm -f conftest.$ac_objext
3857 if { (ac_try="$ac_compile"
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863 (eval "$ac_compile") 2>conftest.er1
3865 grep -v '^ *+' conftest.er1 >conftest.err
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } &&
3870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3871 { (case "(($ac_try" in
3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873 *) ac_try_echo=$ac_try;;
3875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3876 (eval "$ac_try") 2>&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; } &&
3880 { ac_try='test -s conftest.$ac_objext'
3881 { (case "(($ac_try" in
3882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883 *) ac_try_echo=$ac_try;;
3885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3886 (eval "$ac_try") 2>&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); }; }; then
3890 ac_header_compiler=yes
3892 echo "$as_me: failed program was:" >&5
3893 sed 's/^/| /' conftest.$ac_ext >&5
3895 ac_header_compiler=no
3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3899 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3900 echo "${ECHO_T}$ac_header_compiler" >&6; }
3902 # Is the header present?
3903 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3904 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3905 cat >conftest.$ac_ext <<_ACEOF
3908 cat confdefs.h >>conftest.$ac_ext
3909 cat >>conftest.$ac_ext <<_ACEOF
3910 /* end confdefs.h. */
3911 #include <minix/config.h>
3913 if { (ac_try="$ac_cpp conftest.$ac_ext"
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3921 grep -v '^ *+' conftest.er1 >conftest.err
3923 cat conftest.err >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } >/dev/null; then
3926 if test -s conftest.err; then
3927 ac_cpp_err=$ac_c_preproc_warn_flag
3928 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3935 if test -z "$ac_cpp_err"; then
3936 ac_header_preproc=yes
3938 echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.$ac_ext >&5
3941 ac_header_preproc=no
3944 rm -f conftest.err conftest.$ac_ext
3945 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3946 echo "${ECHO_T}$ac_header_preproc" >&6; }
3948 # So? What about this header?
3949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3951 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3952 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3953 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3954 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3955 ac_header_preproc=yes
3958 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3959 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3960 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3961 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3962 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3963 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3964 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3965 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3966 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3967 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3968 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3969 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3973 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3974 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3975 if test "${ac_cv_header_minix_config_h+set}" = set; then
3976 echo $ECHO_N "(cached) $ECHO_C" >&6
3978 ac_cv_header_minix_config_h=$ac_header_preproc
3980 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3981 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3984 if test $ac_cv_header_minix_config_h = yes; then
3991 if test "$MINIX" = yes; then
3993 cat >>confdefs.h <<\_ACEOF
3994 #define _POSIX_SOURCE 1
3998 cat >>confdefs.h <<\_ACEOF
3999 #define _POSIX_1_SOURCE 2
4003 cat >>confdefs.h <<\_ACEOF
4019 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4020 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4021 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4022 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 cat >conftest.$ac_ext <<_ACEOF
4027 cat confdefs.h >>conftest.$ac_ext
4028 cat >>conftest.$ac_ext <<_ACEOF
4029 /* end confdefs.h. */
4031 # define __EXTENSIONS__ 1
4032 $ac_includes_default
4041 rm -f conftest.$ac_objext
4042 if { (ac_try="$ac_compile"
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4048 (eval "$ac_compile") 2>conftest.er1
4050 grep -v '^ *+' conftest.er1 >conftest.err
4052 cat conftest.err >&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); } &&
4055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4056 { (case "(($ac_try" in
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4061 (eval "$ac_try") 2>&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; } &&
4065 { ac_try='test -s conftest.$ac_objext'
4066 { (case "(($ac_try" in
4067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4071 (eval "$ac_try") 2>&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }; }; then
4075 ac_cv_safe_to_define___extensions__=yes
4077 echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4080 ac_cv_safe_to_define___extensions__=no
4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4086 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4087 test $ac_cv_safe_to_define___extensions__ = yes &&
4088 cat >>confdefs.h <<\_ACEOF
4089 #define __EXTENSIONS__ 1
4092 cat >>confdefs.h <<\_ACEOF
4093 #define _POSIX_PTHREAD_SEMANTICS 1
4096 # note- does not work on FreeBSD
4098 case "${host_os}" in
4100 ac_default_prefix=/usr/local
4101 CPPFLAGS=-I/usr/local/include
4102 LDFLAGS=-L/usr/local/lib
4106 ac_default_prefix=/usr
4107 if test ${sysconfdir} = '${prefix}/etc'; then
4110 if test ${mandir} = '${prefix}/man'; then
4111 mandir=/usr/share/man
4116 if test ${localstatedir} = '${prefix}/var'; then
4120 BUILD_PLATFORM=${build}
4121 BUILD_CPU=${build_cpu}
4122 BUILD_VENDOR=${build_vendor}
4123 BUILD_OS=${build_os}
4130 HOST_PLATFORM=${host}
4131 HOST_CPU=${host_cpu}
4132 HOST_VENDOR=${host_vendor}
4140 case "${host_os}" in
4161 if test -n "$ac_tool_prefix"; then
4162 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
4163 set dummy ${ac_tool_prefix}uname; ac_word=$2
4164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4166 if test "${ac_cv_path_UNAME+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4171 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178 test -z "$as_dir" && as_dir=.
4179 for ac_exec_ext in '' $ac_executable_extensions; do
4180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4181 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 UNAME=$ac_cv_path_UNAME
4193 if test -n "$UNAME"; then
4194 { echo "$as_me:$LINENO: result: $UNAME" >&5
4195 echo "${ECHO_T}$UNAME" >&6; }
4197 { echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6; }
4203 if test -z "$ac_cv_path_UNAME"; then
4205 # Extract the first word of "uname", so it can be a program name with args.
4206 set dummy uname; ac_word=$2
4207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4209 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4212 case $ac_pt_UNAME in
4214 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4224 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4236 if test -n "$ac_pt_UNAME"; then
4237 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4238 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4240 { echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6; }
4244 if test "x$ac_pt_UNAME" = x; then
4247 case $cross_compiling:$ac_tool_warned in
4249 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4250 whose name does not start with the host triplet. If you think this
4251 configuration is useful to you, please write to autoconf@gnu.org." >&5
4252 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4253 whose name does not start with the host triplet. If you think this
4254 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4255 ac_tool_warned=yes ;;
4260 UNAME="$ac_cv_path_UNAME"
4263 if test ! x"${UNAME}" = xNo; then
4264 PBX_OSREV=$(${UNAME} -r)
4274 # cross-compile checks
4275 if test "${cross_compiling}" = "yes";
4277 if test -n "$ac_tool_prefix"; then
4278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4279 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4282 if test "${ac_cv_prog_CC+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 if test -n "$CC"; then
4286 ac_cv_prog_CC="$CC" # Let the user override the test.
4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 test -z "$as_dir" && as_dir=.
4293 for ac_exec_ext in '' $ac_executable_extensions; do
4294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4295 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 if test -n "$CC"; then
4307 { echo "$as_me:$LINENO: result: $CC" >&5
4308 echo "${ECHO_T}$CC" >&6; }
4310 { echo "$as_me:$LINENO: result: no" >&5
4311 echo "${ECHO_T}no" >&6; }
4316 if test -z "$ac_cv_prog_CC"; then
4318 # Extract the first word of "gcc", so it can be a program name with args.
4319 set dummy gcc; ac_word=$2
4320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 if test -n "$ac_ct_CC"; then
4326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir=.
4333 for ac_exec_ext in '' $ac_executable_extensions; do
4334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4335 ac_cv_prog_ac_ct_CC="gcc"
4336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4346 if test -n "$ac_ct_CC"; then
4347 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4348 echo "${ECHO_T}$ac_ct_CC" >&6; }
4350 { echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6; }
4354 if test "x$ac_ct_CC" = x; then
4357 case $cross_compiling:$ac_tool_warned in
4359 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4360 whose name does not start with the host triplet. If you think this
4361 configuration is useful to you, please write to autoconf@gnu.org." >&5
4362 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4363 whose name does not start with the host triplet. If you think this
4364 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4365 ac_tool_warned=yes ;;
4373 if test -n "$ac_tool_prefix"; then
4374 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4375 set dummy ${ac_tool_prefix}g++; ac_word=$2
4376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4378 if test "${ac_cv_prog_CXX+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 if test -n "$CXX"; then
4382 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4391 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4402 if test -n "$CXX"; then
4403 { echo "$as_me:$LINENO: result: $CXX" >&5
4404 echo "${ECHO_T}$CXX" >&6; }
4406 { echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6; }
4412 if test -z "$ac_cv_prog_CXX"; then
4414 # Extract the first word of "g++", so it can be a program name with args.
4415 set dummy g++; ac_word=$2
4416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4418 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4419 echo $ECHO_N "(cached) $ECHO_C" >&6
4421 if test -n "$ac_ct_CXX"; then
4422 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir=.
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4431 ac_cv_prog_ac_ct_CXX="g++"
4432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4442 if test -n "$ac_ct_CXX"; then
4443 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4444 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4446 { echo "$as_me:$LINENO: result: no" >&5
4447 echo "${ECHO_T}no" >&6; }
4450 if test "x$ac_ct_CXX" = x; then
4453 case $cross_compiling:$ac_tool_warned in
4455 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4456 whose name does not start with the host triplet. If you think this
4457 configuration is useful to you, please write to autoconf@gnu.org." >&5
4458 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4459 whose name does not start with the host triplet. If you think this
4460 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4461 ac_tool_warned=yes ;;
4466 CXX="$ac_cv_prog_CXX"
4469 if test -n "$ac_tool_prefix"; then
4470 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4471 set dummy ${ac_tool_prefix}ld; ac_word=$2
4472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4474 if test "${ac_cv_prog_LD+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 if test -n "$LD"; then
4478 ac_cv_prog_LD="$LD" # Let the user override the test.
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4487 ac_cv_prog_LD="${ac_tool_prefix}ld"
4488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 if test -n "$LD"; then
4499 { echo "$as_me:$LINENO: result: $LD" >&5
4500 echo "${ECHO_T}$LD" >&6; }
4502 { echo "$as_me:$LINENO: result: no" >&5
4503 echo "${ECHO_T}no" >&6; }
4508 if test -z "$ac_cv_prog_LD"; then
4510 # Extract the first word of "ld", so it can be a program name with args.
4511 set dummy ld; ac_word=$2
4512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4514 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 if test -n "$ac_ct_LD"; then
4518 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4527 ac_cv_prog_ac_ct_LD="ld"
4528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4538 if test -n "$ac_ct_LD"; then
4539 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4540 echo "${ECHO_T}$ac_ct_LD" >&6; }
4542 { echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6; }
4546 if test "x$ac_ct_LD" = x; then
4549 case $cross_compiling:$ac_tool_warned in
4551 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4552 whose name does not start with the host triplet. If you think this
4553 configuration is useful to you, please write to autoconf@gnu.org." >&5
4554 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4555 whose name does not start with the host triplet. If you think this
4556 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4557 ac_tool_warned=yes ;;
4565 if test -n "$ac_tool_prefix"; then
4566 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4567 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4570 if test "${ac_cv_prog_RANLIB+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 if test -n "$RANLIB"; then
4574 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4583 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 RANLIB=$ac_cv_prog_RANLIB
4594 if test -n "$RANLIB"; then
4595 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4596 echo "${ECHO_T}$RANLIB" >&6; }
4598 { echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6; }
4604 if test -z "$ac_cv_prog_RANLIB"; then
4605 ac_ct_RANLIB=$RANLIB
4606 # Extract the first word of "ranlib", so it can be a program name with args.
4607 set dummy ranlib; ac_word=$2
4608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4610 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 if test -n "$ac_ct_RANLIB"; then
4614 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4623 ac_cv_prog_ac_ct_RANLIB="ranlib"
4624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4634 if test -n "$ac_ct_RANLIB"; then
4635 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4636 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4638 { echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6; }
4642 if test "x$ac_ct_RANLIB" = x; then
4645 case $cross_compiling:$ac_tool_warned in
4647 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4648 whose name does not start with the host triplet. If you think this
4649 configuration is useful to you, please write to autoconf@gnu.org." >&5
4650 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4651 whose name does not start with the host triplet. If you think this
4652 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4653 ac_tool_warned=yes ;;
4655 RANLIB=$ac_ct_RANLIB
4658 RANLIB="$ac_cv_prog_RANLIB"
4661 if test -n "$ac_tool_prefix"; then
4662 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4663 set dummy ${ac_tool_prefix}ar; ac_word=$2
4664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4666 if test "${ac_cv_prog_AR+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 if test -n "$AR"; then
4670 ac_cv_prog_AR="$AR" # Let the user override the test.
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir=.
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4679 ac_cv_prog_AR="${ac_tool_prefix}ar"
4680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 if test -n "$AR"; then
4691 { echo "$as_me:$LINENO: result: $AR" >&5
4692 echo "${ECHO_T}$AR" >&6; }
4694 { echo "$as_me:$LINENO: result: no" >&5
4695 echo "${ECHO_T}no" >&6; }
4700 if test -z "$ac_cv_prog_AR"; then
4702 # Extract the first word of "ar", so it can be a program name with args.
4703 set dummy ar; ac_word=$2
4704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4706 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6