2 # From configure.ac Revision: 51239 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) ||
{ (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") ||
{
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir
-p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
582 ac_unique_file
="asterisk"
583 ac_unique_file
="main/asterisk.c"
584 # Factoring default headers for most tests.
585 ac_includes_default
="\
587 #ifdef HAVE_SYS_TYPES_H
588 # include <sys/types.h>
590 #ifdef HAVE_SYS_STAT_H
591 # include <sys/stat.h>
597 # ifdef HAVE_STDLIB_H
602 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #ifdef HAVE_STRINGS_H
608 # include <strings.h>
610 #ifdef HAVE_INTTYPES_H
611 # include <inttypes.h>
631 program_transform_name
900 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-curl=PATH use cURL files
in PATH
1494 --with-curses=PATH use curses files
in PATH
1495 --with-gnutls=PATH use GNU TLS support
(used
for iksemel only
) files
in
1497 --with-gsm=PATH use GSM files
in PATH
, or
'internal'
1498 --with-iksemel=PATH use Iksemel Jabber Library files
in PATH
1499 --with-imap=PATH use UW IMAP Toolkit files
in PATH
1500 --with-isdnnet=PATH use ISDN4Linux Library files
in PATH
1501 --with-kde=PATH use KDE files
in PATH
1502 --with-misdn=PATH use mISDN User Library files
in PATH
1503 --with-nbs=PATH use Network Broadcast Sound files
in PATH
1504 --with-ncurses=PATH use ncurses files
in PATH
1505 --with-netsnmp=PATH use Net-SNMP files
in PATH
1506 --with-newt=PATH use newt files
in PATH
1507 --with-odbc=PATH use unixODBC files
in PATH
1508 --with-ogg=PATH use OGG files
in PATH
1509 --with-osptk=PATH use OSP Toolkit files
in PATH
1510 --with-oss=PATH use Open Sound System files
in PATH
1511 --with-popt=PATH use popt files
in PATH
1512 --with-postgres=PATH use PostgreSQL files
in PATH
1513 --with-pri=PATH use ISDN PRI files
in PATH
1514 --with-pwlib=PATH use PWlib files
in PATH
1515 --with-h323=PATH use OpenH323 files
in PATH
1516 --with-qt=PATH use Qt files
in PATH
1517 --with-radius=PATH use Radius Client files
in PATH
1518 --with-speex=PATH use Speex files
in PATH
1519 --with-sqlite=PATH use SQLite files
in PATH
1520 --with-suppserv=PATH use mISDN Supplemental Services files
in PATH
1521 --with-ssl=PATH use OpenSSL files
in PATH
1522 --with-tds=PATH use FreeTDS files
in PATH
1523 --with-termcap=PATH use Termcap files
in PATH
1524 --with-tinfo=PATH use Term Info files
in PATH
1525 --with-tonezone=PATH use tonezone files
in PATH
1526 --with-vorbis=PATH use Vorbis files
in PATH
1527 --with-vpb=PATH use Voicetronix API files
in PATH
1528 --with-z=PATH use zlib files
in PATH
1529 --with-zaptel=PATH use Zaptel files
in PATH
1531 Some influential environment variables
:
1532 CC C compiler
command
1533 CFLAGS C compiler flags
1534 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1535 nonstandard directory
<lib dir
>
1536 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1537 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1538 you have headers
in a nonstandard directory
<include dir
>
1540 CXX C
++ compiler
command
1541 CXXFLAGS C
++ compiler flags
1542 CXXCPP C
++ preprocessor
1544 Use these variables to override the choices made by
`configure' or to help
1545 it to find libraries and programs with nonstandard names/locations.
1551 if test "$ac_init_help" = "recursive"; then
1552 # If there are subdirs, report their specific --help.
1553 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1554 test -d "$ac_dir" || continue
1558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1561 # A ".." for each directory in $ac_dir_suffix.
1562 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1563 case $ac_top_builddir_sub in
1564 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1565 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1568 ac_abs_top_builddir=$ac_pwd
1569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1570 # for backward compatibility:
1571 ac_top_builddir=$ac_top_build_prefix
1574 .) # We are building in place.
1576 ac_top_srcdir=$ac_top_builddir_sub
1577 ac_abs_top_srcdir=$ac_pwd ;;
1578 [\\/]* | ?:[\\/]* ) # Absolute name.
1579 ac_srcdir=$srcdir$ac_dir_suffix;
1580 ac_top_srcdir=$srcdir
1581 ac_abs_top_srcdir=$srcdir ;;
1583 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1584 ac_top_srcdir=$ac_top_build_prefix$srcdir
1585 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1589 cd "$ac_dir" || { ac_status=$?; continue; }
1590 # Check for guested configure.
1591 if test -f "$ac_srcdir/configure.gnu"; then
1593 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1594 elif test -f "$ac_srcdir/configure"; then
1596 $SHELL "$ac_srcdir/configure" --help=recursive
1598 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1600 cd "$ac_pwd" || { ac_status=$?; break; }
1604 test -n "$ac_init_help" && exit $ac_status
1605 if $ac_init_version; then
1608 generated by GNU Autoconf 2.61
1610 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1611 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1612 This configure script is free software; the Free Software Foundation
1613 gives unlimited permission to copy, distribute and modify it.
1619 cat >config.log <<_ACEOF
1620 This file contains any messages produced by compilers while
1621 running configure, to aid debugging if configure makes a mistake.
1623 It was created by $as_me, which was
1624 generated by GNU Autoconf 2.61. Invocation command line was
1636 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1637 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1638 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1639 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1640 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1642 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1643 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1645 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1646 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1647 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1648 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1649 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1650 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1651 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1659 test -z "$as_dir" && as_dir=.
1660 echo "PATH: $as_dir"
1676 # Keep a trace of the command line.
1677 # Strip out --no-create and --no-recursion so they do not pile up.
1678 # Strip out --silent because we don't want to record it for future runs.
1679 # Also quote any args containing shell meta-characters.
1680 # Make two passes to allow for proper duplicate-argument suppression.
1684 ac_must_keep_next=false
1690 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1691 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1692 | -silent | --silent | --silen | --sile | --sil)
1695 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1698 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1700 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1701 if test $ac_must_keep_next = true; then
1702 ac_must_keep_next=false # Got value, back to normal.
1705 *=* | --config-cache | -C | -disable-* | --disable-* \
1706 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1707 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1708 | -with-* | --with-* | -without-* | --without-* | --x)
1709 case "$ac_configure_args0 " in
1710 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1713 -* ) ac_must_keep_next=true ;;
1716 ac_configure_args="$ac_configure_args '$ac_arg'"
1721 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1722 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1724 # When interrupted or exit'd, cleanup temporary files, and complete
1725 # config.log. We remove comments because anyway the quotes in there
1726 # would cause problems or look ugly.
1727 # WARNING: Use '\'' to represent an apostrophe within the trap.
1728 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1729 trap 'exit_status=$?
1730 # Save into config.log some information that might help in debugging.
1735 ## ---------------- ##
1736 ## Cache variables. ##
1737 ## ---------------- ##
1740 # The following way of writing the cache mishandles newlines in values,
1742 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1743 eval ac_val=\$$ac_var
1747 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1748 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1751 _ | IFS | as_nl) ;; #(
1752 *) $as_unset $ac_var ;;
1757 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1758 *${as_nl}ac_space=\ *)
1760 "s/'\''/'\''\\\\'\'''\''/g;
1761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1764 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1772 ## ----------------- ##
1773 ## Output variables. ##
1774 ## ----------------- ##
1777 for ac_var in $ac_subst_vars
1779 eval ac_val=\$$ac_var
1781 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1783 echo "$ac_var='\''$ac_val'\''"
1787 if test -n "$ac_subst_files"; then
1789 ## ------------------- ##
1790 ## File substitutions. ##
1791 ## ------------------- ##
1794 for ac_var in $ac_subst_files
1796 eval ac_val=\$$ac_var
1798 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1800 echo "$ac_var='\''$ac_val'\''"
1805 if test -s confdefs.h; then
1815 test "$ac_signal" != 0 &&
1816 echo "$as_me: caught signal $ac_signal"
1817 echo "$as_me: exit $exit_status"
1819 rm -f core *.core core.conftest.* &&
1820 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1823 for ac_signal in 1 2 13 15; do
1824 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1828 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1829 rm -f -r conftest* confdefs.h
1831 # Predefined preprocessor variables.
1833 cat >>confdefs.h <<_ACEOF
1834 #define PACKAGE_NAME "$PACKAGE_NAME"
1838 cat >>confdefs.h <<_ACEOF
1839 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_STRING "$PACKAGE_STRING"
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1858 # Let the site file select an alternate cache file if it wants to.
1859 # Prefer explicitly selected file to automatically selected ones.
1860 if test -n "$CONFIG_SITE"; then
1861 set x "$CONFIG_SITE"
1862 elif test "x$prefix" != xNONE; then
1863 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1865 set x "$ac_default_prefix/share/config.site" \
1866 "$ac_default_prefix/etc/config.site"
1871 if test -r "$ac_site_file"; then
1872 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1873 echo "$as_me: loading site script $ac_site_file" >&6;}
1874 sed 's/^/| /' "$ac_site_file" >&5
1879 if test -r "$cache_file"; then
1880 # Some versions of bash will fail to source /dev/null (special
1881 # files actually), so we avoid doing that.
1882 if test -f "$cache_file"; then
1883 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1884 echo "$as_me: loading cache $cache_file" >&6;}
1886 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1887 *) . "./$cache_file";;
1891 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1892 echo "$as_me: creating cache $cache_file" >&6;}
1896 ac_header_list="$ac_header_list sys/time.h"
1897 ac_header_list="$ac_header_list unistd.h"
1898 ac_func_list="$ac_func_list alarm"
1899 ac_header_list="$ac_header_list utime.h"
1900 # Check that the precious variables saved in the cache have kept the same
1902 ac_cache_corrupted=false
1903 for ac_var in $ac_precious_vars; do
1904 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1905 eval ac_new_set=\$ac_env_${ac_var}_set
1906 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1907 eval ac_new_val=\$ac_env_${ac_var}_value
1908 case $ac_old_set,$ac_new_set in
1910 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1911 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1912 ac_cache_corrupted=: ;;
1914 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1915 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1916 ac_cache_corrupted=: ;;
1919 if test "x$ac_old_val" != "x$ac_new_val"; then
1920 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1921 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1922 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1923 echo "$as_me: former value
: $ac_old_val" >&2;}
1924 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1925 echo "$as_me: current value
: $ac_new_val" >&2;}
1926 ac_cache_corrupted=:
1929 # Pass precious variables to config.status.
1930 if test "$ac_new_set" = set; then
1932 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1933 *) ac_arg=$ac_var=$ac_new_val ;;
1935 case " $ac_configure_args " in
1936 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1937 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1941 if $ac_cache_corrupted; then
1942 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1943 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1944 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1945 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1946 { (exit 1); exit 1; }; }
1966 ac_cpp='$CPP $CPPFLAGS'
1967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1973 # cross-compile macros
1975 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1976 if test -f "$ac_dir/install-sh"; then
1978 ac_install_sh="$ac_aux_dir/install-sh -c"
1980 elif test -f "$ac_dir/install.sh"; then
1982 ac_install_sh="$ac_aux_dir/install.sh -c"
1984 elif test -f "$ac_dir/shtool"; then
1986 ac_install_sh="$ac_aux_dir/shtool install -c"
1990 if test -z "$ac_aux_dir"; then
1991 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1992 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1993 { (exit 1); exit 1; }; }
1996 # These three variables are undocumented and unsupported,
1997 # and are intended to be withdrawn in a future Autoconf release.
1998 # They can cause serious problems if a builder's source tree is in a directory
1999 # whose full name contains unusual characters.
2000 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2001 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2002 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2005 # Make sure we can run config.sub.
2006 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2007 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2008 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2009 { (exit 1); exit 1; }; }
2011 { echo "$as_me:$LINENO: checking build system type" >&5
2012 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2013 if test "${ac_cv_build+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 ac_build_alias=$build_alias
2017 test "x$ac_build_alias" = x &&
2018 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2019 test "x$ac_build_alias" = x &&
2020 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2021 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2022 { (exit 1); exit 1; }; }
2023 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2024 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2025 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2026 { (exit 1); exit 1; }; }
2029 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2030 echo "${ECHO_T}$ac_cv_build" >&6; }
2031 case $ac_cv_build in
2033 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2034 echo "$as_me: error: invalid value of canonical build" >&2;}
2035 { (exit 1); exit 1; }; };;
2038 ac_save_IFS=$IFS; IFS='-'
2044 # Remember, the first character of IFS is used to create $*,
2045 # except with old shells:
2048 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2051 { echo "$as_me:$LINENO: checking host system type" >&5
2052 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2053 if test "${ac_cv_host+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 if test "x$host_alias" = x; then
2057 ac_cv_host=$ac_cv_build
2059 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2060 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2061 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2062 { (exit 1); exit 1; }; }
2066 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2067 echo "${ECHO_T}$ac_cv_host" >&6; }
2070 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2071 echo "$as_me: error: invalid value of canonical host" >&2;}
2072 { (exit 1); exit 1; }; };;
2075 ac_save_IFS=$IFS; IFS='-'
2081 # Remember, the first character of IFS is used to create $*,
2082 # except with old shells:
2085 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2089 # check existence of the package
2092 # specify output header file
2093 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2100 cat >>confdefs.h <<\_ACEOF
2101 #define _GNU_SOURCE 1
2106 ac_cpp='$CPP $CPPFLAGS'
2107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2110 if test -n "$ac_tool_prefix"; then
2111 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2112 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2115 if test "${ac_cv_prog_CC+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 if test -n "$CC"; then
2119 ac_cv_prog_CC="$CC" # Let the user override the test.
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 if test -n "$CC"; then
2140 { echo "$as_me:$LINENO: result: $CC" >&5
2141 echo "${ECHO_T}$CC" >&6; }
2143 { echo "$as_me:$LINENO: result: no" >&5
2144 echo "${ECHO_T}no" >&6; }
2149 if test -z "$ac_cv_prog_CC"; then
2151 # Extract the first word of "gcc", so it can be a program name with args.
2152 set dummy gcc; ac_word=$2
2153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2155 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$ac_ct_CC"; then
2159 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168 ac_cv_prog_ac_ct_CC="gcc"
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2179 if test -n "$ac_ct_CC"; then
2180 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2181 echo "${ECHO_T}$ac_ct_CC" >&6; }
2183 { echo "$as_me:$LINENO: result: no" >&5
2184 echo "${ECHO_T}no" >&6; }
2187 if test "x$ac_ct_CC" = x; then
2190 case $cross_compiling:$ac_tool_warned in
2192 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2193 whose name does not start with the host triplet. If you think this
2194 configuration is useful to you, please write to autoconf@gnu.org." >&5
2195 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2196 whose name does not start with the host triplet. If you think this
2197 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2198 ac_tool_warned=yes ;;
2206 if test -z "$CC"; then
2207 if test -n "$ac_tool_prefix"; then
2208 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2209 set dummy ${ac_tool_prefix}cc; ac_word=$2
2210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2212 if test "${ac_cv_prog_CC+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 if test -n "$CC"; then
2216 ac_cv_prog_CC="$CC" # Let the user override the test.
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir=.
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2225 ac_cv_prog_CC="${ac_tool_prefix}cc"
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 if test -n "$CC"; then
2237 { echo "$as_me:$LINENO: result: $CC" >&5
2238 echo "${ECHO_T}$CC" >&6; }
2240 { echo "$as_me:$LINENO: result: no" >&5
2241 echo "${ECHO_T}no" >&6; }
2247 if test -z "$CC"; then
2248 # Extract the first word of "cc", so it can be a program name with args.
2249 set dummy cc; ac_word=$2
2250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2252 if test "${ac_cv_prog_CC+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 if test -n "$CC"; then
2256 ac_cv_prog_CC="$CC" # Let the user override the test.
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir=.
2264 for ac_exec_ext in '' $ac_executable_extensions; do
2265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2266 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2267 ac_prog_rejected=yes
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 if test $ac_prog_rejected = yes; then
2279 # We found a bogon in the path, so make sure we never use it.
2280 set dummy $ac_cv_prog_CC
2282 if test $# != 0; then
2283 # We chose a different compiler from the bogus one.
2284 # However, it has the same basename, so the bogon will be chosen
2285 # first if we set CC to just the basename; use the full file name.
2287 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2293 if test -n "$CC"; then
2294 { echo "$as_me:$LINENO: result: $CC" >&5
2295 echo "${ECHO_T}$CC" >&6; }
2297 { echo "$as_me:$LINENO: result: no" >&5
2298 echo "${ECHO_T}no" >&6; }
2303 if test -z "$CC"; then
2304 if test -n "$ac_tool_prefix"; then
2305 for ac_prog in cl.exe
2307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_CC+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$CC"; then
2315 ac_cv_prog_CC="$CC" # Let the user override the test.
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 if test -n "$CC"; then
2336 { echo "$as_me:$LINENO: result: $CC" >&5
2337 echo "${ECHO_T}$CC" >&6; }
2339 { echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6; }
2344 test -n "$CC" && break
2347 if test -z "$CC"; then
2349 for ac_prog in cl.exe
2351 # Extract the first word of "$ac_prog", so it can be a program name with args.
2352 set dummy $ac_prog; ac_word=$2
2353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 if test -n "$ac_ct_CC"; then
2359 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_ac_ct_CC="$ac_prog"
2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2379 if test -n "$ac_ct_CC"; then
2380 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2381 echo "${ECHO_T}$ac_ct_CC" >&6; }
2383 { echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6; }
2388 test -n "$ac_ct_CC" && break
2391 if test "x$ac_ct_CC" = x; then
2394 case $cross_compiling:$ac_tool_warned in
2396 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2397 whose name does not start with the host triplet. If you think this
2398 configuration is useful to you, please write to autoconf@gnu.org." >&5
2399 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2400 whose name does not start with the host triplet. If you think this
2401 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2402 ac_tool_warned=yes ;;
2411 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2412 See \`config.log
' for more details." >&5
2413 echo "$as_me: error: no acceptable C compiler found in \$PATH
2414 See \`config.log' for more details.
" >&2;}
2415 { (exit 1); exit 1; }; }
2417 # Provide some information about the compiler.
2418 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2419 ac_compiler=`set X $ac_compile; echo $2`
2420 { (ac_try="$ac_compiler --version >&5"
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2426 (eval "$ac_compiler --version >&5") 2>&5
2428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2429 (exit $ac_status); }
2430 { (ac_try="$ac_compiler -v >&5"
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2435 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2436 (eval "$ac_compiler -v >&5") 2>&5
2438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2439 (exit $ac_status); }
2440 { (ac_try="$ac_compiler -V >&5"
2442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2443 *) ac_try_echo=$ac_try;;
2445 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2446 (eval "$ac_compiler -V >&5") 2>&5
2448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2449 (exit $ac_status); }
2451 cat >conftest.$ac_ext <<_ACEOF
2454 cat confdefs.h >>conftest.$ac_ext
2455 cat >>conftest.$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2466 ac_clean_files_save=$ac_clean_files
2467 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2468 # Try to create an executable without -o first, disregard a.out.
2469 # It will help us diagnose broken compilers, and finding out an intuition
2471 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2472 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2473 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2475 # List of possible output files, starting from the most likely.
2476 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2477 # only as a last resort. b.out is created by i960 compilers.
2478 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2480 # The IRIX 6 linker writes into existing files which may not be
2481 # executable, retaining their permissions. Remove them first so a
2482 # subsequent execution test works.
2484 for ac_file in $ac_files
2487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2488 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2493 if { (ac_try="$ac_link_default"
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2498 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2499 (eval "$ac_link_default") 2>&5
2501 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2502 (exit $ac_status); }; then
2503 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2504 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2505 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2506 # so that the user can short-circuit this test for compilers unknown to
2508 for ac_file in $ac_files ''
2510 test -f "$ac_file" || continue
2512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2515 # We found the default executable, but exeext='' is most
2519 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2521 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2523 # We set ac_cv_exeext here because the later test for it is not
2524 # safe: cross compilers may not add the suffix if given an `-o'
2525 # argument, so we may need to know it at that point already.
2526 # Even if this section looks crufty: it has the advantage of
2533 test "$ac_cv_exeext" = no && ac_cv_exeext=
2539 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2540 echo "${ECHO_T}$ac_file" >&6; }
2541 if test -z "$ac_file"; then
2542 echo "$as_me: failed program was
:" >&5
2543 sed 's/^/| /' conftest.$ac_ext >&5
2545 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2546 See \
`config.log' for more details." >&5
2547 echo "$as_me: error: C compiler cannot create executables
2548 See \`config.log
' for more details." >&2;}
2549 { (exit 77); exit 77; }; }
2552 ac_exeext=$ac_cv_exeext
2554 # Check that the compiler produces executables we can run. If not, either
2555 # the compiler is broken, or we cross compile.
2556 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2557 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2558 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2559 # If not cross compiling, check that we can run a simple program.
2560 if test "$cross_compiling" != yes; then
2561 if { ac_try='.
/$ac_file'
2562 { (case "(($ac_try" in
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2567 (eval "$ac_try") 2>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; }; then
2573 if test "$cross_compiling" = maybe; then
2576 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2577 If you meant to cross compile, use \`--host'.
2578 See \
`config.log' for more details." >&5
2579 echo "$as_me: error: cannot run C compiled programs.
2580 If you meant to cross compile, use \`--host'.
2581 See \`config.log' for more details.
" >&2;}
2582 { (exit 1); exit 1; }; }
2586 { echo "$as_me:$LINENO: result
: yes" >&5
2587 echo "${ECHO_T}yes" >&6; }
2589 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2590 ac_clean_files=$ac_clean_files_save
2591 # Check that the compiler produces executables we can run. If not, either
2592 # the compiler is broken, or we cross compile.
2593 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2594 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2595 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2596 echo "${ECHO_T}$cross_compiling" >&6; }
2598 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2599 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2600 if { (ac_try="$ac_link"
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2605 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2606 (eval "$ac_link") 2>&5
2608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2609 (exit $ac_status); }; then
2610 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2611 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2612 # work properly (i.e., refer to `conftest.exe'), while it won't with
2614 for ac_file in conftest.exe conftest conftest.*; do
2615 test -f "$ac_file" || continue
2617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2618 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2624 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2625 See \
`config.log' for more details." >&5
2626 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2627 See \`config.log
' for more details." >&2;}
2628 { (exit 1); exit 1; }; }
2631 rm -f conftest$ac_cv_exeext
2632 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2633 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2635 rm -f conftest.$ac_ext
2636 EXEEXT=$ac_cv_exeext
2638 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2639 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2640 if test "${ac_cv_objext+set}" = set; then
2641 echo $ECHO_N "(cached) $ECHO_C" >&6
2643 cat >conftest.$ac_ext <<_ACEOF
2646 cat confdefs.h >>conftest.$ac_ext
2647 cat >>conftest.$ac_ext <<_ACEOF
2648 /* end confdefs.h. */
2658 rm -f conftest.o conftest.obj
2659 if { (ac_try="$ac_compile"
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2665 (eval "$ac_compile") 2>&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; then
2669 for ac_file in conftest.o conftest.obj conftest.*; do
2670 test -f "$ac_file" || continue;
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2673 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2678 echo "$as_me: failed program was:" >&5
2679 sed 's
/^
/|
/' conftest.$ac_ext >&5
2681 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2682 See \`config.log' for more details.
" >&5
2683 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2684 See \
`config.log' for more details." >&2;}
2685 { (exit 1); exit 1; }; }
2688 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2690 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2691 echo "${ECHO_T}$ac_cv_objext" >&6; }
2692 OBJEXT=$ac_cv_objext
2694 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2695 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2696 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 cat >conftest.$ac_ext <<_ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2717 rm -f conftest.$ac_objext
2718 if { (ac_try="$ac_compile"
2720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2721 *) ac_try_echo
=$ac_try;;
2723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2724 (eval "$ac_compile") 2>conftest.er1
2726 grep -v '^ *+' conftest.er1
>conftest.err
2728 cat conftest.err
>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } && {
2731 test -z "$ac_c_werror_flag" ||
2732 test ! -s conftest.err
2733 } && test -s conftest.
$ac_objext; then
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.
$ac_ext >&5
2742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2743 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2746 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2747 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2748 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2749 ac_test_CFLAGS
=${CFLAGS+set}
2750 ac_save_CFLAGS
=$CFLAGS
2751 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2752 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2753 if test "${ac_cv_prog_cc_g+set}" = set; then
2754 echo $ECHO_N "(cached) $ECHO_C" >&6
2756 ac_save_c_werror_flag
=$ac_c_werror_flag
2757 ac_c_werror_flag
=yes
2760 cat >conftest.
$ac_ext <<_ACEOF
2763 cat confdefs.h
>>conftest.
$ac_ext
2764 cat >>conftest.
$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2775 rm -f conftest.
$ac_objext
2776 if { (ac_try
="$ac_compile"
2778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2779 *) ac_try_echo=$ac_try;;
2781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2782 (eval "$ac_compile") 2>conftest.er1
2784 grep -v '^ *+' conftest.er1 >conftest.err
2786 cat conftest.err >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); } && {
2789 test -z "$ac_c_werror_flag" ||
2790 test ! -s conftest.err
2791 } && test -s conftest.$ac_objext; then
2794 echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.$ac_ext >&5
2798 cat >conftest.$ac_ext <<_ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2813 rm -f conftest.$ac_objext
2814 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
2822 grep -v '^ *+' conftest.er1
>conftest.err
2824 cat conftest.err
>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } && {
2827 test -z "$ac_c_werror_flag" ||
2828 test ! -s conftest.err
2829 } && test -s conftest.
$ac_objext; then
2832 echo "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.
$ac_ext >&5
2835 ac_c_werror_flag
=$ac_save_c_werror_flag
2837 cat >conftest.
$ac_ext <<_ACEOF
2840 cat confdefs.h
>>conftest.
$ac_ext
2841 cat >>conftest.
$ac_ext <<_ACEOF
2842 /* end confdefs.h. */
2852 rm -f conftest.
$ac_objext
2853 if { (ac_try
="$ac_compile"
2855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2856 *) ac_try_echo=$ac_try;;
2858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2859 (eval "$ac_compile") 2>conftest.er1
2861 grep -v '^ *+' conftest.er1 >conftest.err
2863 cat conftest.err >&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); } && {
2866 test -z "$ac_c_werror_flag" ||
2867 test ! -s conftest.err
2868 } && test -s conftest.$ac_objext; then
2871 echo "$as_me: failed program was:" >&5
2872 sed 's/^/| /' conftest.$ac_ext >&5
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 ac_c_werror_flag=$ac_save_c_werror_flag
2886 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2887 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2888 if test "$ac_test_CFLAGS" = set; then
2889 CFLAGS=$ac_save_CFLAGS
2890 elif test $ac_cv_prog_cc_g = yes; then
2891 if test "$GCC" = yes; then
2897 if test "$GCC" = yes; then
2903 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2904 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2905 if test "${ac_cv_prog_cc_c89+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 ac_cv_prog_cc_c89=no
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2918 #include <sys/types.h>
2919 #include <sys/stat.h>
2920 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2921 struct buf { int x; };
2922 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2923 static char *e (p, i)
2929 static char *f (char * (*g) (char **, int), char **p, ...)
2934 s = g (p, va_arg (v,int));
2939 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2940 function prototypes and stuff, but not '\xHH' hex character constants.
2941 These don't provoke an error unfortunately, instead are silently treated
2942 as 'x'. The following induces an error, until -std is added to get
2943 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2944 array size at least. It's necessary to write '\x00'==0 to get something
2945 that's true only with -std. */
2946 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2948 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2949 inside strings and character constants. */
2951 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2953 int test (int i, double x);
2954 struct s1 {int (*f) (int a);};
2955 struct s2 {int (*f) (double a);};
2956 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2962 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2967 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2968 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2970 CC="$ac_save_CC $ac_arg"
2971 rm -f conftest.$ac_objext
2972 if { (ac_try="$ac_compile"
2974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2975 *) ac_try_echo
=$ac_try;;
2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_compile") 2>conftest.er1
2980 grep -v '^ *+' conftest.er1
>conftest.err
2982 cat conftest.err
>&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); } && {
2985 test -z "$ac_c_werror_flag" ||
2986 test ! -s conftest.err
2987 } && test -s conftest.
$ac_objext; then
2988 ac_cv_prog_cc_c89
=$ac_arg
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.
$ac_ext >&5
2996 rm -f core conftest.err conftest.
$ac_objext
2997 test "x$ac_cv_prog_cc_c89" != "xno" && break
2999 rm -f conftest.
$ac_ext
3004 case "x$ac_cv_prog_cc_c89" in
3006 { echo "$as_me:$LINENO: result: none needed" >&5
3007 echo "${ECHO_T}none needed" >&6; } ;;
3009 { echo "$as_me:$LINENO: result: unsupported" >&5
3010 echo "${ECHO_T}unsupported" >&6; } ;;
3012 CC
="$CC $ac_cv_prog_cc_c89"
3013 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3014 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3019 ac_cpp
='$CPP $CPPFLAGS'
3020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3026 ac_cpp
='$CPP $CPPFLAGS'
3027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3030 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3031 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3032 # On Suns, sometimes $CPP names a directory.
3033 if test -n "$CPP" && test -d "$CPP"; then
3036 if test -z "$CPP"; then
3037 if test "${ac_cv_prog_CPP+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 # Double quotes because CPP needs to be expanded
3041 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3044 for ac_c_preproc_warn_flag
in '' yes
3046 # Use a header file that comes with gcc, so configuring glibc
3047 # with a fresh cross-compiler works.
3048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3049 # <limits.h> exists even on freestanding compilers.
3050 # On the NeXT, cc -E runs the code through the compiler's parser,
3051 # not just through cpp. "Syntax error" is here to catch this case.
3052 cat >conftest.
$ac_ext <<_ACEOF
3055 cat confdefs.h
>>conftest.
$ac_ext
3056 cat >>conftest.
$ac_ext <<_ACEOF
3057 /* end confdefs.h. */
3059 # include <limits.h>
3061 # include <assert.h>
3065 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3073 grep -v '^ *+' conftest.er1 >conftest.err
3075 cat conftest.err >&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); } >/dev/null && {
3078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3079 test ! -s conftest.err
3083 echo "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3086 # Broken: fails on valid input.
3090 rm -f conftest.err conftest.$ac_ext
3092 # OK, works on sane cases. Now check whether nonexistent headers
3093 # can be detected and how.
3094 cat >conftest.$ac_ext <<_ACEOF
3097 cat confdefs.h >>conftest.$ac_ext
3098 cat >>conftest.$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3100 #include <ac_nonexistent.h>
3102 if { (ac_try="$ac_cpp conftest.$ac_ext"
3104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3105 *) ac_try_echo
=$ac_try;;
3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3110 grep -v '^ *+' conftest.er1
>conftest.err
3112 cat conftest.err
>&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } >/dev
/null
&& {
3115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3116 test ! -s conftest.err
3118 # Broken: success on invalid input.
3121 echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.
$ac_ext >&5
3124 # Passes both tests.
3129 rm -f conftest.err conftest.
$ac_ext
3132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3133 rm -f conftest.err conftest.
$ac_ext
3134 if $ac_preproc_ok; then
3146 { echo "$as_me:$LINENO: result: $CPP" >&5
3147 echo "${ECHO_T}$CPP" >&6; }
3149 for ac_c_preproc_warn_flag
in '' yes
3151 # Use a header file that comes with gcc, so configuring glibc
3152 # with a fresh cross-compiler works.
3153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3154 # <limits.h> exists even on freestanding compilers.
3155 # On the NeXT, cc -E runs the code through the compiler's parser,
3156 # not just through cpp. "Syntax error" is here to catch this case.
3157 cat >conftest.
$ac_ext <<_ACEOF
3160 cat confdefs.h
>>conftest.
$ac_ext
3161 cat >>conftest.
$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3164 # include <limits.h>
3166 # include <assert.h>
3170 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3178 grep -v '^ *+' conftest.er1 >conftest.err
3180 cat conftest.err >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } >/dev/null && {
3183 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3184 test ! -s conftest.err
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.$ac_ext >&5
3191 # Broken: fails on valid input.
3195 rm -f conftest.err conftest.$ac_ext
3197 # OK, works on sane cases. Now check whether nonexistent headers
3198 # can be detected and how.
3199 cat >conftest.$ac_ext <<_ACEOF
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3205 #include <ac_nonexistent.h>
3207 if { (ac_try="$ac_cpp conftest.$ac_ext"
3209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3210 *) ac_try_echo
=$ac_try;;
3212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3215 grep -v '^ *+' conftest.er1
>conftest.err
3217 cat conftest.err
>&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } >/dev
/null
&& {
3220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3221 test ! -s conftest.err
3223 # Broken: success on invalid input.
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.
$ac_ext >&5
3229 # Passes both tests.
3234 rm -f conftest.err conftest.
$ac_ext
3237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3238 rm -f conftest.err conftest.
$ac_ext
3239 if $ac_preproc_ok; then
3242 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3243 See \`config.log' for more details." >&5
3244 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3245 See \`config.log' for more details." >&2;}
3246 { (exit 1); exit 1; }; }
3250 ac_cpp
='$CPP $CPPFLAGS'
3251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3256 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3257 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3258 if test "${ac_cv_path_GREP+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3261 # Extract the first word of "grep ggrep" to use in msg output
3262 if test -z "$GREP"; then
3263 set dummy
grep ggrep
; ac_prog_name
=$2
3264 if test "${ac_cv_path_GREP+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 ac_path_GREP_found
=false
3268 # Loop through the user's path and test for each of PROGNAME-LIST
3269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3270 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3273 test -z "$as_dir" && as_dir
=.
3274 for ac_prog
in grep ggrep
; do
3275 for ac_exec_ext
in '' $ac_executable_extensions; do
3276 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3277 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3278 # Check for GNU ac_path_GREP and select it if it is found.
3279 # Check for GNU $ac_path_GREP
3280 case `"$ac_path_GREP" --version 2>&1` in
3282 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3285 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3288 cat "conftest.in" "conftest.in" >"conftest.tmp"
3289 mv "conftest.tmp" "conftest.in"
3290 cp "conftest.in" "conftest.nl"
3291 echo 'GREP' >> "conftest.nl"
3292 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3293 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3294 ac_count
=`expr $ac_count + 1`
3295 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3296 # Best one so far, save it but keep looking for a better one
3297 ac_cv_path_GREP
="$ac_path_GREP"
3298 ac_path_GREP_max
=$ac_count
3300 # 10*(2^10) chars as input seems more than enough
3301 test $ac_count -gt 10 && break
3303 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3307 $ac_path_GREP_found && break 3
3317 GREP
="$ac_cv_path_GREP"
3318 if test -z "$GREP"; then
3319 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3320 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3321 { (exit 1); exit 1; }; }
3325 ac_cv_path_GREP
=$GREP
3330 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3331 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3332 GREP
="$ac_cv_path_GREP"
3335 { echo "$as_me:$LINENO: checking for egrep" >&5
3336 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3337 if test "${ac_cv_path_EGREP+set}" = set; then
3338 echo $ECHO_N "(cached) $ECHO_C" >&6
3340 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3341 then ac_cv_path_EGREP
="$GREP -E"
3343 # Extract the first word of "egrep" to use in msg output
3344 if test -z "$EGREP"; then
3345 set dummy
egrep; ac_prog_name
=$2
3346 if test "${ac_cv_path_EGREP+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 ac_path_EGREP_found
=false
3350 # Loop through the user's path and test for each of PROGNAME-LIST
3351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3352 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3355 test -z "$as_dir" && as_dir
=.
3356 for ac_prog
in egrep; do
3357 for ac_exec_ext
in '' $ac_executable_extensions; do
3358 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3359 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3360 # Check for GNU ac_path_EGREP and select it if it is found.
3361 # Check for GNU $ac_path_EGREP
3362 case `"$ac_path_EGREP" --version 2>&1` in
3364 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3367 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3370 cat "conftest.in" "conftest.in" >"conftest.tmp"
3371 mv "conftest.tmp" "conftest.in"
3372 cp "conftest.in" "conftest.nl"
3373 echo 'EGREP' >> "conftest.nl"
3374 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3375 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3376 ac_count
=`expr $ac_count + 1`
3377 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3378 # Best one so far, save it but keep looking for a better one
3379 ac_cv_path_EGREP
="$ac_path_EGREP"
3380 ac_path_EGREP_max
=$ac_count
3382 # 10*(2^10) chars as input seems more than enough
3383 test $ac_count -gt 10 && break
3385 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3389 $ac_path_EGREP_found && break 3
3399 EGREP
="$ac_cv_path_EGREP"
3400 if test -z "$EGREP"; then
3401 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3402 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3403 { (exit 1); exit 1; }; }
3407 ac_cv_path_EGREP
=$EGREP
3413 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3414 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3415 EGREP
="$ac_cv_path_EGREP"
3419 { echo "$as_me:$LINENO: checking for AIX" >&5
3420 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3421 cat >conftest.
$ac_ext <<_ACEOF
3424 cat confdefs.h
>>conftest.
$ac_ext
3425 cat >>conftest.
$ac_ext <<_ACEOF
3426 /* end confdefs.h. */
3432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3433 $EGREP "yes" >/dev
/null
2>&1; then
3434 { echo "$as_me:$LINENO: result: yes" >&5
3435 echo "${ECHO_T}yes" >&6; }
3436 cat >>confdefs.h
<<\_ACEOF
3437 #define _ALL_SOURCE 1
3441 { echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6; }
3447 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3448 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3449 if test "${ac_cv_header_stdc+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 cat >conftest.
$ac_ext <<_ACEOF
3455 cat confdefs.h
>>conftest.
$ac_ext
3456 cat >>conftest.
$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3471 rm -f conftest.
$ac_objext
3472 if { (ac_try
="$ac_compile"
3474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3478 (eval "$ac_compile") 2>conftest.er1
3480 grep -v '^ *+' conftest.er1 >conftest.err
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } && {
3485 test -z "$ac_c_werror_flag" ||
3486 test ! -s conftest.err
3487 } && test -s conftest.$ac_objext; then
3488 ac_cv_header_stdc=yes
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 ac_cv_header_stdc=no
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498 if test $ac_cv_header_stdc = yes; then
3499 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3500 cat >conftest.$ac_ext <<_ACEOF
3503 cat confdefs.h >>conftest.$ac_ext
3504 cat >>conftest.$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3510 $EGREP "memchr" >/dev/null 2>&1; then
3513 ac_cv_header_stdc=no
3519 if test $ac_cv_header_stdc = yes; then
3520 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3521 cat >conftest.$ac_ext <<_ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3531 $EGREP "free" >/dev/null 2>&1; then
3534 ac_cv_header_stdc=no
3540 if test $ac_cv_header_stdc = yes; then
3541 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3542 if test "$cross_compiling" = yes; then
3545 cat >conftest.$ac_ext <<_ACEOF
3548 cat confdefs.h >>conftest.$ac_ext
3549 cat >>conftest.$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3553 #if ((' ' & 0x0FF) == 0x020)
3554 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3555 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3557 # define ISLOWER(c) \
3558 (('a' <= (c) && (c) <= 'i') \
3559 || ('j' <= (c) && (c) <= 'r') \
3560 || ('s' <= (c) && (c) <= 'z'))
3561 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3564 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3569 for (i = 0; i < 256; i++)
3570 if (XOR (islower (i), ISLOWER (i))
3571 || toupper (i) != TOUPPER (i))
3576 rm -f conftest$ac_exeext
3577 if { (ac_try="$ac_link"
3579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3580 *) ac_try_echo
=$ac_try;;
3582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3583 (eval "$ac_link") 2>&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3587 { (case "(($ac_try" in
3588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592 (eval "$ac_try") 2>&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }; }; then
3598 echo "$as_me: program exited with status $ac_status" >&5
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.$ac_ext >&5
3603 ac_cv_header_stdc=no
3605 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3611 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3612 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3613 if test $ac_cv_header_stdc = yes; then
3615 cat >>confdefs.h <<\_ACEOF
3616 #define STDC_HEADERS 1
3621 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3631 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3632 inttypes.h stdint.h unistd.h
3634 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 cat >conftest.$ac_ext <<_ACEOF
3643 cat confdefs.h >>conftest.$ac_ext
3644 cat >>conftest.$ac_ext <<_ACEOF
3645 /* end confdefs.h. */
3646 $ac_includes_default
3648 #include <$ac_header>
3650 rm -f conftest.$ac_objext
3651 if { (ac_try="$ac_compile"
3653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3654 *) ac_try_echo
=$ac_try;;
3656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_compile") 2>conftest.er1
3659 grep -v '^ *+' conftest.er1
>conftest.err
3661 cat conftest.err
>&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } && {
3664 test -z "$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3666 } && test -s conftest.
$ac_objext; then
3667 eval "$as_ac_Header=yes"
3669 echo "$as_me: failed program was:" >&5
3670 sed 's/^/| /' conftest.
$ac_ext >&5
3672 eval "$as_ac_Header=no"
3675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3677 ac_res
=`eval echo '${'$as_ac_Header'}'`
3678 { echo "$as_me:$LINENO: result: $ac_res" >&5
3679 echo "${ECHO_T}$ac_res" >&6; }
3680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3681 cat >>confdefs.h
<<_ACEOF
3682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3690 if test "${ac_cv_header_minix_config_h+set}" = set; then
3691 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3692 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3693 if test "${ac_cv_header_minix_config_h+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3697 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3699 # Is the header compilable?
3700 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3701 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3702 cat >conftest.
$ac_ext <<_ACEOF
3705 cat confdefs.h
>>conftest.
$ac_ext
3706 cat >>conftest.
$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3708 $ac_includes_default
3709 #include <minix/config.h>
3711 rm -f conftest.
$ac_objext
3712 if { (ac_try
="$ac_compile"
3714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3718 (eval "$ac_compile") 2>conftest.er1
3720 grep -v '^ *+' conftest.er1 >conftest.err
3722 cat conftest.err >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } && {
3725 test -z "$ac_c_werror_flag" ||
3726 test ! -s conftest.err
3727 } && test -s conftest.$ac_objext; then
3728 ac_header_compiler=yes
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.$ac_ext >&5
3733 ac_header_compiler=no
3736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3737 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3738 echo "${ECHO_T}$ac_header_compiler" >&6; }
3740 # Is the header present?
3741 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3742 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 #include <minix/config.h>
3751 if { (ac_try="$ac_cpp conftest.$ac_ext"
3753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3754 *) ac_try_echo
=$ac_try;;
3756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3759 grep -v '^ *+' conftest.er1
>conftest.err
3761 cat conftest.err
>&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } >/dev
/null
&& {
3764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3765 test ! -s conftest.err
3767 ac_header_preproc
=yes
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.
$ac_ext >&5
3772 ac_header_preproc
=no
3775 rm -f conftest.err conftest.
$ac_ext
3776 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3777 echo "${ECHO_T}$ac_header_preproc" >&6; }
3779 # So? What about this header?
3780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3782 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3783 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3784 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3785 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3786 ac_header_preproc
=yes
3789 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3790 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3791 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3792 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3793 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3794 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3795 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3796 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3797 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3798 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3799 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3800 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3804 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3805 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3806 if test "${ac_cv_header_minix_config_h+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 ac_cv_header_minix_config_h
=$ac_header_preproc
3811 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3812 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3815 if test $ac_cv_header_minix_config_h = yes; then
3822 if test "$MINIX" = yes; then
3824 cat >>confdefs.h
<<\_ACEOF
3825 #define _POSIX_SOURCE 1
3829 cat >>confdefs.h
<<\_ACEOF
3830 #define _POSIX_1_SOURCE 2
3834 cat >>confdefs.h
<<\_ACEOF
3850 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3851 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3852 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 cat >conftest.
$ac_ext <<_ACEOF
3858 cat confdefs.h
>>conftest.
$ac_ext
3859 cat >>conftest.
$ac_ext <<_ACEOF
3860 /* end confdefs.h. */
3862 # define __EXTENSIONS__ 1
3863 $ac_includes_default
3872 rm -f conftest.
$ac_objext
3873 if { (ac_try
="$ac_compile"
3875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3876 *) ac_try_echo=$ac_try;;
3878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3879 (eval "$ac_compile") 2>conftest.er1
3881 grep -v '^ *+' conftest.er1 >conftest.err
3883 cat conftest.err >&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } && {
3886 test -z "$ac_c_werror_flag" ||
3887 test ! -s conftest.err
3888 } && test -s conftest.$ac_objext; then
3889 ac_cv_safe_to_define___extensions__=yes
3891 echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.$ac_ext >&5
3894 ac_cv_safe_to_define___extensions__=no
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3899 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3900 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
3901 test $ac_cv_safe_to_define___extensions__ = yes &&
3902 cat >>confdefs.h <<\_ACEOF
3903 #define __EXTENSIONS__ 1
3906 cat >>confdefs.h <<\_ACEOF
3907 #define _POSIX_PTHREAD_SEMANTICS 1
3910 cat >>confdefs.h <<\_ACEOF
3911 #define _TANDEM_SOURCE 1
3916 case "${host_os}" in
3918 ac_default_prefix=/usr/local
3919 CPPFLAGS=-I/usr/local/include
3920 LDFLAGS=-L/usr/local/lib
3923 ac_default_prefix=/usr
3924 if test ${sysconfdir} = '${prefix}/etc'; then
3927 if test ${mandir} = '${prefix}/man'; then
3928 mandir=/usr/share/man
3933 if test ${localstatedir} = '${prefix}/var'; then
3937 BUILD_PLATFORM=${build}
3938 BUILD_CPU=${build_cpu}
3939 BUILD_VENDOR=${build_vendor}
3940 BUILD_OS=${build_os}
3947 HOST_PLATFORM=${host}
3948 HOST_CPU=${host_cpu}
3949 HOST_VENDOR=${host_vendor}
3957 case "${host_os}" in
3978 if test -n "$ac_tool_prefix"; then
3979 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
3980 set dummy ${ac_tool_prefix}uname; ac_word=$2
3981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3983 if test "${ac_cv_path_UNAME+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3998 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
3999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4009 UNAME=$ac_cv_path_UNAME
4010 if test -n "$UNAME"; then
4011 { echo "$as_me:$LINENO: result: $UNAME" >&5
4012 echo "${ECHO_T}$UNAME" >&6; }
4014 { echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6; }
4020 if test -z "$ac_cv_path_UNAME"; then
4022 # Extract the first word of "uname", so it can be a program name with args.
4023 set dummy uname; ac_word=$2
4024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4026 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 case $ac_pt_UNAME in
4031 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4041 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4052 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4053 if test -n "$ac_pt_UNAME"; then
4054 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4055 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4057 { echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6; }
4061 if test "x$ac_pt_UNAME" = x; then
4064 case $cross_compiling:$ac_tool_warned in
4066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4067 whose name does not start with the host triplet. If you think this
4068 configuration is useful to you, please write to autoconf@gnu.org." >&5
4069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4070 whose name does not start with the host triplet. If you think this
4071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4072 ac_tool_warned=yes ;;
4077 UNAME="$ac_cv_path_UNAME"
4080 if test ! x"${UNAME}" = xNo; then
4081 PBX_OSREV=$(${UNAME} -r)
4091 # cross-compile checks
4092 if test "${cross_compiling}" = "yes";
4094 if test -n "$ac_tool_prefix"; then
4095 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4096 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4099 if test "${ac_cv_prog_CC+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 if test -n "$CC"; then
4103 ac_cv_prog_CC="$CC" # Let the user override the test.
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4112 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4123 if test -n "$CC"; then
4124 { echo "$as_me:$LINENO: result: $CC" >&5
4125 echo "${ECHO_T}$CC" >&6; }
4127 { echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6; }
4133 if test -z "$ac_cv_prog_CC"; then
4135 # Extract the first word of "gcc", so it can be a program name with args.
4136 set dummy gcc; ac_word=$2
4137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 if test -n "$ac_ct_CC"; then
4143 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149 test -z "$as_dir" && as_dir=.
4150 for ac_exec_ext in '' $ac_executable_extensions; do
4151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4152 ac_cv_prog_ac_ct_CC="gcc"
4153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4162 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4163 if test -n "$ac_ct_CC"; then
4164 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4165 echo "${ECHO_T}$ac_ct_CC" >&6; }
4167 { echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6; }
4171 if test "x$ac_ct_CC" = x; then
4174 case $cross_compiling:$ac_tool_warned in
4176 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4177 whose name does not start with the host triplet. If you think this
4178 configuration is useful to you, please write to autoconf@gnu.org." >&5
4179 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4180 whose name does not start with the host triplet. If you think this
4181 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4182 ac_tool_warned=yes ;;
4190 if test -n "$ac_tool_prefix"; then
4191 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4192 set dummy ${ac_tool_prefix}g++; ac_word=$2
4193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4195 if test "${ac_cv_prog_CXX+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 if test -n "$CXX"; then
4199 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir=.
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 if test -n "$CXX"; then
4220 { echo "$as_me:$LINENO: result: $CXX" >&5
4221 echo "${ECHO_T}$CXX" >&6; }
4223 { echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6; }
4229 if test -z "$ac_cv_prog_CXX"; then
4231 # Extract the first word of "g++", so it can be a program name with args.
4232 set dummy g++; ac_word=$2
4233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4235 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 if test -n "$ac_ct_CXX"; then
4239 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir=.
4246 for ac_exec_ext in '' $ac_executable_extensions; do
4247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248 ac_cv_prog_ac_ct_CXX="g++"
4249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4259 if test -n "$ac_ct_CXX"; then
4260 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4261 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4263 { echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6; }
4267 if test "x$ac_ct_CXX" = x; then
4270 case $cross_compiling:$ac_tool_warned in
4272 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4273 whose name does not start with the host triplet. If you think this
4274 configuration is useful to you, please write to autoconf@gnu.org." >&5
4275 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4276 whose name does not start with the host triplet. If you think this
4277 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4278 ac_tool_warned=yes ;;
4283 CXX="$ac_cv_prog_CXX"
4286 if test -n "$ac_tool_prefix"; then
4287 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4288 set dummy ${ac_tool_prefix}ld; ac_word=$2
4289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4291 if test "${ac_cv_prog_LD+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 if test -n "$LD"; then
4295 ac_cv_prog_LD="$LD" # Let the user override the test.
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4304 ac_cv_prog_LD="${ac_tool_prefix}ld"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 if test -n "$LD"; then
4316 { echo "$as_me:$LINENO: result: $LD" >&5
4317 echo "${ECHO_T}$LD" >&6; }
4319 { echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6; }
4325 if test -z "$ac_cv_prog_LD"; then
4327 # Extract the first word of "ld", so it can be a program name with args.
4328 set dummy ld; ac_word=$2
4329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4331 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 if test -n "$ac_ct_LD"; then
4335 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir=.
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344 ac_cv_prog_ac_ct_LD="ld"
4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4355 if test -n "$ac_ct_LD"; then
4356 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4357 echo "${ECHO_T}$ac_ct_LD" >&6; }
4359 { echo "$as_me:$LINENO: result: no" >&5
4360 echo "${ECHO_T}no" >&6; }
4363 if test "x$ac_ct_LD" = x; then
4366 case $cross_compiling:$ac_tool_warned in
4368 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4369 whose name does not start with the host triplet. If you think this
4370 configuration is useful to you, please write to autoconf@gnu.org." >&5
4371 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4372 whose name does not start with the host triplet. If you think this
4373 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4374 ac_tool_warned=yes ;;
4382 if test -n "$ac_tool_prefix"; then
4383 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4384 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4387 if test "${ac_cv_prog_RANLIB+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 if test -n "$RANLIB"; then
4391 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 RANLIB=$ac_cv_prog_RANLIB
4411 if test -n "$RANLIB"; then
4412 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4413 echo "${ECHO_T}$RANLIB" >&6; }
4415 { echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6; }
4421 if test -z "$ac_cv_prog_RANLIB"; then
4422 ac_ct_RANLIB=$RANLIB
4423 # Extract the first word of "ranlib", so it can be a program name with args.
4424 set dummy ranlib; ac_word=$2
4425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4427 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 if test -n "$ac_ct_RANLIB"; then
4431 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4440 ac_cv_prog_ac_ct_RANLIB="ranlib"
4441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4451 if test -n "$ac_ct_RANLIB"; then
4452 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4453 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4455 { echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6; }
4459 if test "x$ac_ct_RANLIB" = x; then
4462 case $cross_compiling:$ac_tool_warned in
4464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4465 whose name does not start with the host triplet. If you think this
4466 configuration is useful to you, please write to autoconf@gnu.org." >&5
4467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4468 whose name does not start with the host triplet. If you think this
4469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4470 ac_tool_warned=yes ;;
4472 RANLIB=$ac_ct_RANLIB
4475 RANLIB="$ac_cv_prog_RANLIB"
4478 if test -n "$ac_tool_prefix"; then
4479 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4480 set dummy ${ac_tool_prefix}ar; ac_word=$2
4481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4483 if test "${ac_cv_prog_AR+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 if test -n "$AR"; then
4487 ac_cv_prog_AR="$AR" # Let the user override the test.
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496 ac_cv_prog_AR="${ac_tool_prefix}ar"
4497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 if test -n "$AR"; then
4508 { echo "$as_me:$LINENO: result: $AR" >&5
4509 echo "${ECHO_T}$AR" >&6; }
4511 { echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6; }
4517 if test -z "$ac_cv_prog_AR"; then
4519 # Extract the first word of "ar", so it can be a program name with args.
4520 set dummy ar; ac_word=$2
4521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4523 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 if test -n "$ac_ct_AR"; then
4527 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 test -z "$as_dir" && as_dir=.
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4536 ac_cv_prog_ac_ct_AR="ar"
4537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4547 if test -n "$ac_ct_AR"; then
4548 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4549 echo "${ECHO_T}$ac_ct_AR" >&6; }
4551 { echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6; }
4555 if test "x$ac_ct_AR" = x; then
4558 case $cross_compiling:$ac_tool_warned in
4560 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4561 whose name does not start with the host triplet. If you think this
4562 configuration is useful to you, please write to autoconf@gnu.org." >&5
4563 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4564 whose name does not start with the host triplet. If you think this
4565 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4566 ac_tool_warned=yes ;;
4576 # Checks for programs.
4578 ac_cpp='$CPP $CPPFLAGS'
4579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4582 if test -n "$ac_tool_prefix"; then
4583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4587 if test "${ac_cv_prog_CC+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 if test -n "$CC"; then
4591 ac_cv_prog_CC="$CC" # Let the user override the test.
4593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 test -z "$as_dir" && as_dir=.
4598 for ac_exec_ext in '' $ac_executable_extensions; do
4599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4600 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 if test -n "$CC"; then
4612 { echo "$as_me:$LINENO: result: $CC" >&5
4613 echo "${ECHO_T}$CC" >&6; }
4615 { echo "$as_me:$LINENO: result: no" >&5
4616 echo "${ECHO_T}no" >&6; }
4621 if test -z "$ac_cv_prog_CC"; then
4623 # Extract the first word of "gcc", so it can be a program name with args.
4624 set dummy gcc; ac_word=$2
4625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 if test -n "$ac_ct_CC"; then
4631 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637 test -z "$as_dir" && as_dir=.
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4640 ac_cv_prog_ac_ct_CC="gcc"
4641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4651 if test -n "$ac_ct_CC"; then
4652 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4653 echo "${ECHO_T}$ac_ct_CC" >&6; }
4655 { echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6; }
4659 if test "x$ac_ct_CC" = x; then
4662 case $cross_compiling:$ac_tool_warned in
4664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4665 whose name does not start with the host triplet. If you think this
4666 configuration is useful to you, please write to autoconf@gnu.org." >&5
4667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4668 whose name does not start with the host triplet. If you think this
4669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4670 ac_tool_warned=yes ;;
4678 if test -z "$CC"; then
4679 if test -n "$ac_tool_prefix"; then
4680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4681 set dummy ${ac_tool_prefix}cc; ac_word=$2
4682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4684 if test "${ac_cv_prog_CC+set}" = set; then
4685 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 if test -n "$CC"; then
4688 ac_cv_prog_CC="$CC" # Let the user override the test.
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4697 ac_cv_prog_CC="${ac_tool_prefix}cc"
4698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 if test -n "$CC"; then
4709 { echo "$as_me:$LINENO: result: $CC" >&5
4710 echo "${ECHO_T}$CC" >&6; }
4712 { echo "$as_me:$LINENO: result: no" >&5
4713 echo "${ECHO_T}no" >&6; }
4719 if test -z "$CC"; then
4720 # Extract the first word of "cc", so it can be a program name with args.
4721 set dummy cc; ac_word=$2
4722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4724 if test "${ac_cv_prog_CC+set}" = set; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6
4727 if test -n "$CC"; then
4728 ac_cv_prog_CC="$CC" # Let the user override the test.
4731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 test -z "$as_dir" && as_dir=.
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4738 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4739 ac_prog_rejected=yes
4743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4750 if test $ac_prog_rejected = yes; then
4751 # We found a bogon in the path, so make sure we never use it.
4752 set dummy $ac_cv_prog_CC
4754 if test $# != 0; then
4755 # We chose a different compiler from the bogus one.
4756 # However, it has the same basename, so the bogon will be chosen
4757 # first if we set CC to just the basename; use the full file name.
4759 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4765 if test -n "$CC"; then
4766 { echo "$as_me:$LINENO: result: $CC" >&5
4767 echo "${ECHO_T}$CC" >&6; }
4769 { echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6; }
4775 if test -z "$CC"; then
4776 if test -n "$ac_tool_prefix"; then
4777 for ac_prog in cl.exe
4779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4783 if test "${ac_cv_prog_CC+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4786 if test -n "$CC"; then
4787 ac_cv_prog_CC="$CC" # Let the user override the test.
4789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 test -z "$as_dir" && as_dir=.
4794 for ac_exec_ext in '' $ac_executable_extensions; do
4795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4796 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 if test -n "$CC"; then
4808 { echo "$as_me:$LINENO: result: $CC" >&5
4809 echo "${ECHO_T}$CC" >&6; }
4811 { echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6; }
4816 test -n "$CC" && break
4819 if test -z "$CC"; then
4821 for ac_prog in cl.exe
4823 # Extract the first word of "$ac_prog", so it can be a program name with args.
4824 set dummy $ac_prog; ac_word=$2
4825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 if test -n "$ac_ct_CC"; then
4831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4840 ac_cv_prog_ac_ct_CC="$ac_prog"
4841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4851 if test -n "$ac_ct_CC"; then
4852 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4853 echo "${ECHO_T}$ac_ct_CC" >&6; }
4855 { echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6; }
4860 test -n "$ac_ct_CC" && break
4863 if test "x$ac_ct_CC" = x; then
4866 case $cross_compiling:$ac_tool_warned in
4868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4869 whose name does not start with the host triplet. If you think this
4870 configuration is useful to you, please write to autoconf@gnu.org." >&5
4871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4872 whose name does not start with the host triplet. If you think this
4873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4874 ac_tool_warned=yes ;;
4883 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4884 See \`config.log
' for more details." >&5
4885 echo "$as_me: error: no acceptable C compiler found in \$PATH
4886 See \`config.log' for more details.
" >&2;}
4887 { (exit 1); exit 1; }; }
4889 # Provide some information about the compiler.
4890 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
4891 ac_compiler=`set X $ac_compile; echo $2`
4892 { (ac_try="$ac_compiler --version >&5"
4894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4895 *) ac_try_echo=$ac_try;;
4897 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4898 (eval "$ac_compiler --version >&5") 2>&5
4900 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4901 (exit $ac_status); }
4902 { (ac_try="$ac_compiler -v >&5"
4904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905 *) ac_try_echo=$ac_try;;
4907 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4908 (eval "$ac_compiler -v >&5") 2>&5
4910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4911 (exit $ac_status); }
4912 { (ac_try="$ac_compiler -V >&5"
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4917 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_compiler -V >&5") 2>&5
4920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4921 (exit $ac_status); }
4923 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
4924 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
4925 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4926 echo $ECHO_N "(cached
) $ECHO_C" >&6
4928 cat >conftest.$ac_ext <<_ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4946 rm -f conftest.$ac_objext
4947 if { (ac_try="$ac_compile"
4949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4950 *) ac_try_echo=$ac_try;;
4952 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4953 (eval "$ac_compile") 2>conftest.er1
4955 grep -v '^ *+' conftest.er1 >conftest.err
4957 cat conftest.err >&5
4958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4959 (exit $ac_status); } && {
4960 test -z "$ac_c_werror_flag" ||
4961 test ! -s conftest.err
4962 } && test -s conftest.$ac_objext; then
4965 echo "$as_me: failed program was
:" >&5
4966 sed 's/^/| /' conftest.$ac_ext >&5
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4975 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
4976 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4977 GCC=`test $ac_compiler_gnu = yes && echo yes`
4978 ac_test_CFLAGS=${CFLAGS+set}
4979 ac_save_CFLAGS=$CFLAGS
4980 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
4981 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
4982 if test "${ac_cv_prog_cc_g+set}" = set; then
4983 echo $ECHO_N "(cached
) $ECHO_C" >&6
4985 ac_save_c_werror_flag=$ac_c_werror_flag
4986 ac_c_werror_flag=yes
4989 cat >conftest.$ac_ext <<_ACEOF
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
5004 rm -f conftest.$ac_objext
5005 if { (ac_try="$ac_compile"
5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5008 *) ac_try_echo=$ac_try;;
5010 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5011 (eval "$ac_compile") 2>conftest.er1
5013 grep -v '^ *+' conftest.er1 >conftest.err
5015 cat conftest.err >&5
5016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5017 (exit $ac_status); } && {
5018 test -z "$ac_c_werror_flag" ||
5019 test ! -s conftest.err
5020 } && test -s conftest.$ac_objext; then
5023 echo "$as_me: failed program was
:" >&5
5024 sed 's/^/| /' conftest.$ac_ext >&5
5027 cat >conftest.$ac_ext <<_ACEOF
5030 cat confdefs.h >>conftest.$ac_ext
5031 cat >>conftest.$ac_ext <<_ACEOF
5032 /* end confdefs.h. */
5042 rm -f conftest.$ac_objext
5043 if { (ac_try="$ac_compile"
5045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046 *) ac_try_echo=$ac_try;;
5048 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5049 (eval "$ac_compile") 2>conftest.er1
5051 grep -v '^ *+' conftest.er1 >conftest.err
5053 cat conftest.err >&5
5054 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5055 (exit $ac_status); } && {
5056 test -z "$ac_c_werror_flag" ||
5057 test ! -s conftest.err
5058 } && test -s conftest.$ac_objext; then
5061 echo "$as_me: failed program was
:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5064 ac_c_werror_flag=$ac_save_c_werror_flag
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5081 rm -f conftest.$ac_objext
5082 if { (ac_try="$ac_compile"
5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5088 (eval "$ac_compile") 2>conftest.er1
5090 grep -v '^ *+' conftest.er1 >conftest.err
5092 cat conftest.err >&5
5093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5094 (exit $ac_status); } && {
5095 test -z "$ac_c_werror_flag" ||
5096 test ! -s conftest.err
5097 } && test -s conftest.$ac_objext; then
5100 echo "$as_me: failed program was
:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5113 ac_c_werror_flag=$ac_save_c_werror_flag
5115 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
5116 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5117 if test "$ac_test_CFLAGS" = set; then
5118 CFLAGS=$ac_save_CFLAGS
5119 elif test $ac_cv_prog_cc_g = yes; then
5120 if test "$GCC" = yes; then
5126 if test "$GCC" = yes; then
5132 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
5133 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
5134 if test "${ac_cv_prog_cc_c89+set}" = set; then
5135 echo $ECHO_N "(cached
) $ECHO_C" >&6
5137 ac_cv_prog_cc_c89=no
5139 cat >conftest.$ac_ext <<_ACEOF
5142 cat confdefs.h >>conftest.$ac_ext
5143 cat >>conftest.$ac_ext <<_ACEOF
5144 /* end confdefs.h. */
5147 #include <sys/types.h>
5148 #include <sys/stat.h>
5149 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5150 struct buf { int x; };
5151 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5152 static char *e (p, i)
5158 static char *f (char * (*g) (char **, int), char **p, ...)
5163 s = g (p, va_arg (v,int));
5168 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5169 function prototypes and stuff, but not '\xHH' hex character constants.
5170 These don't provoke an error unfortunately, instead are silently treated
5171 as 'x'. The following induces an error, until -std is added to get
5172 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5173 array size at least. It's necessary to write '\x00'==0 to get something
5174 that's true only with -std. */
5175 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5177 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5178 inside strings and character constants. */
5180 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5182 int test (int i, double x);
5183 struct s1 {int (*f) (int a);};
5184 struct s2 {int (*f) (double a);};
5185 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5191 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5196 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5197 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5199 CC="$ac_save_CC $ac_arg"
5200 rm -f conftest.$ac_objext
5201 if { (ac_try="$ac_compile"
5203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5204 *) ac_try_echo=$ac_try;;
5206 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5207 (eval "$ac_compile") 2>conftest.er1
5209 grep -v '^ *+' conftest.er1 >conftest.err
5211 cat conftest.err >&5
5212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5213 (exit $ac_status); } && {
5214 test -z "$ac_c_werror_flag" ||
5215 test ! -s conftest.err
5216 } && test -s conftest.$ac_objext; then
5217 ac_cv_prog_cc_c89=$ac_arg
5219 echo "$as_me: failed program was
:" >&5
5220 sed 's/^/| /' conftest.$ac_ext >&5
5225 rm -f core conftest.err conftest.$ac_objext
5226 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
5228 rm -f conftest.$ac_ext
5233 case "x
$ac_cv_prog_cc_c89" in
5235 { echo "$as_me:$LINENO: result
: none needed
" >&5
5236 echo "${ECHO_T}none needed
" >&6; } ;;
5238 { echo "$as_me:$LINENO: result
: unsupported
" >&5
5239 echo "${ECHO_T}unsupported
" >&6; } ;;
5241 CC="$CC $ac_cv_prog_cc_c89"
5242 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
5243 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5248 ac_cpp='$CPP $CPPFLAGS'
5249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5254 ac_cpp='$CXXCPP $CPPFLAGS'
5255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5258 if test -z "$CXX"; then
5259 if test -n "$CCC"; then
5262 if test -n "$ac_tool_prefix"; then
5263 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5266 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5267 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5268 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5269 if test "${ac_cv_prog_CXX+set}" = set; then
5270 echo $ECHO_N "(cached
) $ECHO_C" >&6
5272 if test -n "$CXX"; then
5273 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5283 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5293 if test -n "$CXX"; then
5294 { echo "$as_me:$LINENO: result
: $CXX" >&5
5295 echo "${ECHO_T}$CXX" >&6; }
5297 { echo "$as_me:$LINENO: result
: no
" >&5
5298 echo "${ECHO_T}no
" >&6; }
5302 test -n "$CXX" && break
5305 if test -z "$CXX"; then
5307 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5309 # Extract the first word of "$ac_prog", so it can be a program name with args.
5310 set dummy $ac_prog; ac_word=$2
5311 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5312 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5313 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5314 echo $ECHO_N "(cached
) $ECHO_C" >&6
5316 if test -n "$ac_ct_CXX"; then
5317 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 test -z "$as_dir" && as_dir=.
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5326 ac_cv_prog_ac_ct_CXX="$ac_prog"
5327 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5336 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5337 if test -n "$ac_ct_CXX"; then
5338 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
5339 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5341 { echo "$as_me:$LINENO: result
: no
" >&5
5342 echo "${ECHO_T}no
" >&6; }
5346 test -n "$ac_ct_CXX" && break
5349 if test "x
$ac_ct_CXX" = x; then
5352 case $cross_compiling:$ac_tool_warned in
5354 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5355 whose name does not start with the
host triplet. If you think this
5356 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5357 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5358 whose name does not start with the
host triplet. If you think this
5359 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5360 ac_tool_warned=yes ;;
5368 # Provide some information about the compiler.
5369 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
5370 ac_compiler=`set X $ac_compile; echo $2`
5371 { (ac_try="$ac_compiler --version >&5"
5373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5374 *) ac_try_echo=$ac_try;;
5376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5377 (eval "$ac_compiler --version >&5") 2>&5
5379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5380 (exit $ac_status); }
5381 { (ac_try="$ac_compiler -v >&5"
5383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_compiler -v >&5") 2>&5
5389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5390 (exit $ac_status); }
5391 { (ac_try="$ac_compiler -V >&5"
5393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394 *) ac_try_echo=$ac_try;;
5396 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5397 (eval "$ac_compiler -V >&5") 2>&5
5399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5400 (exit $ac_status); }
5402 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
5403 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
5404 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5405 echo $ECHO_N "(cached
) $ECHO_C" >&6
5407 cat >conftest.$ac_ext <<_ACEOF
5410 cat confdefs.h >>conftest.$ac_ext
5411 cat >>conftest.$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5425 rm -f conftest.$ac_objext
5426 if { (ac_try="$ac_compile"
5428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5429 *) ac_try_echo=$ac_try;;
5431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5432 (eval "$ac_compile") 2>conftest.er1
5434 grep -v '^ *+' conftest.er1 >conftest.err
5436 cat conftest.err >&5
5437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5438 (exit $ac_status); } && {
5439 test -z "$ac_cxx_werror_flag" ||
5440 test ! -s conftest.err
5441 } && test -s conftest.$ac_objext; then
5444 echo "$as_me: failed program was
:" >&5
5445 sed 's/^/| /' conftest.$ac_ext >&5
5450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5451 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5454 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
5455 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5456 GXX=`test $ac_compiler_gnu = yes && echo yes`
5457 ac_test_CXXFLAGS=${CXXFLAGS+set}
5458 ac_save_CXXFLAGS=$CXXFLAGS
5459 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
5460 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
5461 if test "${ac_cv_prog_cxx_g+set}" = set; then
5462 echo $ECHO_N "(cached
) $ECHO_C" >&6
5464 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5465 ac_cxx_werror_flag=yes
5468 cat >conftest.$ac_ext <<_ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5483 rm -f conftest.$ac_objext
5484 if { (ac_try="$ac_compile"
5486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5487 *) ac_try_echo=$ac_try;;
5489 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5490 (eval "$ac_compile") 2>conftest.er1
5492 grep -v '^ *+' conftest.er1 >conftest.err
5494 cat conftest.err >&5
5495 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5496 (exit $ac_status); } && {
5497 test -z "$ac_cxx_werror_flag" ||
5498 test ! -s conftest.err
5499 } && test -s conftest.$ac_objext; then
5500 ac_cv_prog_cxx_g=yes
5502 echo "$as_me: failed program was
:" >&5
5503 sed 's/^/| /' conftest.$ac_ext >&5
5506 cat >conftest.$ac_ext <<_ACEOF
5509 cat confdefs.h >>conftest.$ac_ext
5510 cat >>conftest.$ac_ext <<_ACEOF
5511 /* end confdefs.h. */
5521 rm -f conftest.$ac_objext
5522 if { (ac_try="$ac_compile"
5524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5525 *) ac_try_echo=$ac_try;;
5527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5528 (eval "$ac_compile") 2>conftest.er1
5530 grep -v '^ *+' conftest.er1 >conftest.err
5532 cat conftest.err >&5
5533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5534 (exit $ac_status); } && {
5535 test -z "$ac_cxx_werror_flag" ||
5536 test ! -s conftest.err
5537 } && test -s conftest.$ac_objext; then
5540 echo "$as_me: failed program was
:" >&5
5541 sed 's/^/| /' conftest.$ac_ext >&5
5543 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5545 cat >conftest.$ac_ext <<_ACEOF
5548 cat confdefs.h >>conftest.$ac_ext
5549 cat >>conftest.$ac_ext <<_ACEOF
5550 /* end confdefs.h. */
5560 rm -f conftest.$ac_objext
5561 if { (ac_try="$ac_compile"
5563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5564 *) ac_try_echo=$ac_try;;
5566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5567 (eval "$ac_compile") 2>conftest.er1
5569 grep -v '^ *+' conftest.er1 >conftest.err
5571 cat conftest.err >&5
5572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5573 (exit $ac_status); } && {
5574 test -z "$ac_cxx_werror_flag" ||
5575 test ! -s conftest.err
5576 } && test -s conftest.$ac_objext; then
5577 ac_cv_prog_cxx_g=yes
5579 echo "$as_me: failed program was
:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5592 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5594 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
5595 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5596 if test "$ac_test_CXXFLAGS" = set; then
5597 CXXFLAGS=$ac_save_CXXFLAGS
5598 elif test $ac_cv_prog_cxx_g = yes; then
5599 if test "$GXX" = yes; then
5605 if test "$GXX" = yes; then
5612 ac_cpp='$CPP $CPPFLAGS'
5613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5618 ac_cpp='$CPP $CPPFLAGS'
5619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5622 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5623 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
5624 # On Suns, sometimes $CPP names a directory.
5625 if test -n "$CPP" && test -d "$CPP"; then
5628 if test -z "$CPP"; then
5629 if test "${ac_cv_prog_CPP+set}" = set; then
5630 echo $ECHO_N "(cached
) $ECHO_C" >&6
5632 # Double quotes because CPP needs to be expanded
5633 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5636 for ac_c_preproc_warn_flag in '' yes
5638 # Use a header file that comes with gcc, so configuring glibc
5639 # with a fresh cross-compiler works.
5640 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5641 # <limits.h> exists even on freestanding compilers.
5642 # On the NeXT, cc -E runs the code through the compiler's parser,
5643 # not just through cpp. "Syntax error
" is here to catch this case.
5644 cat >conftest.$ac_ext <<_ACEOF
5647 cat confdefs.h >>conftest.$ac_ext
5648 cat >>conftest.$ac_ext <<_ACEOF
5649 /* end confdefs.h. */
5651 # include <limits.h>
5653 # include <assert.h>
5657 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5660 *) ac_try_echo=$ac_try;;
5662 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5663 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5665 grep -v '^ *+' conftest.er1 >conftest.err
5667 cat conftest.err >&5
5668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5669 (exit $ac_status); } >/dev/null && {
5670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5671 test ! -s conftest.err
5675 echo "$as_me: failed program was
:" >&5
5676 sed 's/^/| /' conftest.$ac_ext >&5
5678 # Broken: fails on valid input.
5682 rm -f conftest.err conftest.$ac_ext
5684 # OK, works on sane cases. Now check whether nonexistent headers
5685 # can be detected and how.
5686 cat >conftest.$ac_ext <<_ACEOF
5689 cat confdefs.h >>conftest.$ac_ext
5690 cat >>conftest.$ac_ext <<_ACEOF
5691 /* end confdefs.h. */
5692 #include <ac_nonexistent.h>
5694 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5702 grep -v '^ *+' conftest.er1 >conftest.err
5704 cat conftest.err >&5
5705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5706 (exit $ac_status); } >/dev/null && {
5707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5708 test ! -s conftest.err
5710 # Broken: success on invalid input.
5713 echo "$as_me: failed program was
:" >&5
5714 sed 's/^/| /' conftest.$ac_ext >&5
5716 # Passes both tests.
5721 rm -f conftest.err conftest.$ac_ext
5724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5725 rm -f conftest.err conftest.$ac_ext
5726 if $ac_preproc_ok; then
5738 { echo "$as_me:$LINENO: result
: $CPP" >&5
5739 echo "${ECHO_T}$CPP" >&6; }
5741 for ac_c_preproc_warn_flag in '' yes
5743 # Use a header file that comes with gcc, so configuring glibc
5744 # with a fresh cross-compiler works.
5745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5746 # <limits.h> exists even on freestanding compilers.
5747 # On the NeXT, cc -E runs the code through the compiler's parser,
5748 # not just through cpp. "Syntax error
" is here to catch this case.
5749 cat >conftest.$ac_ext <<_ACEOF
5752 cat confdefs.h >>conftest.$ac_ext
5753 cat >>conftest.$ac_ext <<_ACEOF
5754 /* end confdefs.h. */
5756 # include <limits.h>
5758 # include <assert.h>
5762 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5765 *) ac_try_echo=$ac_try;;
5767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5768 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5770 grep -v '^ *+' conftest.er1 >conftest.err
5772 cat conftest.err >&5
5773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5774 (exit $ac_status); } >/dev/null && {
5775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5776 test ! -s conftest.err
5780 echo "$as_me: failed program was
:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5783 # Broken: fails on valid input.
5787 rm -f conftest.err conftest.$ac_ext
5789 # OK, works on sane cases. Now check whether nonexistent headers
5790 # can be detected and how.
5791 cat >conftest.$ac_ext <<_ACEOF
5794 cat confdefs.h >>conftest.$ac_ext
5795 cat >>conftest.$ac_ext <<_ACEOF
5796 /* end confdefs.h. */
5797 #include <ac_nonexistent.h>
5799 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5802 *) ac_try_echo=$ac_try;;
5804 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5805 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5807 grep -v '^ *+' conftest.er1 >conftest.err
5809 cat conftest.err >&5
5810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5811 (exit $ac_status); } >/dev/null && {
5812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5813 test ! -s conftest.err
5815 # Broken: success on invalid input.
5818 echo "$as_me: failed program was
:" >&5
5819 sed 's/^/| /' conftest.$ac_ext >&5
5821 # Passes both tests.
5826 rm -f conftest.err conftest.$ac_ext
5829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5830 rm -f conftest.err conftest.$ac_ext
5831 if $ac_preproc_ok; then
5834 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5835 See \
`config.log' for more details." >&5
5836 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5837 See \`config.log
' for more details." >&2;}
5838 { (exit 1); exit 1; }; }
5842 ac_cpp='$CPP $CPPFLAGS'
5843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5844 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5848 ac_cpp='$CXXCPP $CPPFLAGS'
5849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5850 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5852 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5853 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5854 if test -z "$CXXCPP"; then
5855 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5856 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 # Double quotes because CXXCPP needs to be expanded
5859 for CXXCPP in "$CXX -E" "/lib/cpp"
5862 for ac_cxx_preproc_warn_flag in '' yes
5864 # Use a header file that comes with gcc, so configuring glibc
5865 # with a fresh cross-compiler works.
5866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5867 # <limits.h> exists even on freestanding compilers.
5868 # On the NeXT, cc -E runs the code through the compiler's parser
,
5869 # not just through cpp. "Syntax error" is here to catch this case.
5870 cat >conftest.
$ac_ext <<_ACEOF
5873 cat confdefs.h
>>conftest.
$ac_ext
5874 cat >>conftest.
$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5877 # include <limits.h>
5879 # include <assert.h>
5883 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5886 *) ac_try_echo=$ac_try;;
5888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5891 grep -v '^ *+' conftest.er1 >conftest.err
5893 cat conftest.err >&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); } >/dev/null && {
5896 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5897 test ! -s conftest.err
5901 echo "$as_me: failed program was:" >&5
5902 sed 's/^/| /' conftest.$ac_ext >&5
5904 # Broken: fails on valid input.
5908 rm -f conftest.err conftest.$ac_ext
5910 # OK, works on sane cases. Now check whether nonexistent headers
5911 # can be detected and how.
5912 cat >conftest.$ac_ext <<_ACEOF
5915 cat confdefs.h >>conftest.$ac_ext
5916 cat >>conftest.$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 #include <ac_nonexistent.h>
5920 if { (ac_try="$ac_cpp conftest.$ac_ext"
5922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5923 *) ac_try_echo
=$ac_try;;
5925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5928 grep -v '^ *+' conftest.er1
>conftest.err
5930 cat conftest.err
>&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } >/dev
/null
&& {
5933 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5934 test ! -s conftest.err
5936 # Broken: success on invalid input.
5939 echo "$as_me: failed program was:" >&5
5940 sed 's/^/| /' conftest.
$ac_ext >&5
5942 # Passes both tests.
5947 rm -f conftest.err conftest.
$ac_ext
5950 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5951 rm -f conftest.err conftest.
$ac_ext
5952 if $ac_preproc_ok; then
5957 ac_cv_prog_CXXCPP
=$CXXCPP
5960 CXXCPP
=$ac_cv_prog_CXXCPP
5962 ac_cv_prog_CXXCPP
=$CXXCPP
5964 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5965 echo "${ECHO_T}$CXXCPP" >&6; }
5967 for ac_cxx_preproc_warn_flag
in '' yes
5969 # Use a header file that comes with gcc, so configuring glibc
5970 # with a fresh cross-compiler works.
5971 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5972 # <limits.h> exists even on freestanding compilers.
5973 # On the NeXT, cc -E runs the code through the compiler's parser,
5974 # not just through cpp. "Syntax error" is here to catch this case.
5975 cat >conftest.
$ac_ext <<_ACEOF
5978 cat confdefs.h
>>conftest.
$ac_ext
5979 cat >>conftest.
$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5982 # include <limits.h>
5984 # include <assert.h>
5988 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5991 *) ac_try_echo=$ac_try;;
5993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5996 grep -v '^ *+' conftest.er1 >conftest.err
5998 cat conftest.err >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); } >/dev/null && {
6001 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6002 test ! -s conftest.err
6006 echo "$as_me: failed program was:" >&5
6007 sed 's/^/| /' conftest.$ac_ext >&5
6009 # Broken: fails on valid input.
6013 rm -f conftest.err conftest.$ac_ext
6015 # OK, works on sane cases. Now check whether nonexistent headers
6016 # can be detected and how.
6017 cat >conftest.$ac_ext <<_ACEOF
6020 cat confdefs.h >>conftest.$ac_ext
6021 cat >>conftest.$ac_ext <<_ACEOF
6022 /* end confdefs.h. */
6023 #include <ac_nonexistent.h>
6025 if { (ac_try="$ac_cpp conftest.$ac_ext"
6027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6028 *) ac_try_echo
=$ac_try;;
6030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6031 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6033 grep -v '^ *+' conftest.er1
>conftest.err
6035 cat conftest.err
>&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); } >/dev
/null
&& {
6038 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6039 test ! -s conftest.err
6041 # Broken: success on invalid input.
6044 echo "$as_me: failed program was:" >&5
6045 sed 's/^/| /' conftest.
$ac_ext >&5
6047 # Passes both tests.
6052 rm -f conftest.err conftest.
$ac_ext
6055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6056 rm -f conftest.err conftest.
$ac_ext
6057 if $ac_preproc_ok; then
6060 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6061 See \`config.log' for more details." >&5
6062 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6063 See \`config.log' for more details." >&2;}
6064 { (exit 1); exit 1; }; }
6068 ac_cpp
='$CPP $CPPFLAGS'
6069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6073 # This macro is just copied into our local acinclude.m4 from libtool.m4 so that
6074 # the developers regenerating the configure script don't have to install libtool.
6075 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6076 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6077 if test "${ac_cv_path_SED+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6081 for ac_i
in 1 2 3 4 5 6 7; do
6082 ac_script
="$ac_script$as_nl$ac_script"
6084 echo "$ac_script" |
sed 99q
>conftest.
sed
6085 $as_unset ac_script || ac_script
=
6086 # Extract the first word of "sed gsed" to use in msg output
6087 if test -z "$SED"; then
6088 set dummy
sed gsed
; ac_prog_name
=$2
6089 if test "${ac_cv_path_SED+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 ac_path_SED_found
=false
6093 # Loop through the user's path and test for each of PROGNAME-LIST
6094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6098 test -z "$as_dir" && as_dir
=.
6099 for ac_prog
in sed gsed
; do
6100 for ac_exec_ext
in '' $ac_executable_extensions; do
6101 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6102 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6103 # Check for GNU ac_path_SED and select it if it is found.
6104 # Check for GNU $ac_path_SED
6105 case `"$ac_path_SED" --version 2>&1` in
6107 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6110 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6113 cat "conftest.in" "conftest.in" >"conftest.tmp"
6114 mv "conftest.tmp" "conftest.in"
6115 cp "conftest.in" "conftest.nl"
6116 echo '' >> "conftest.nl"
6117 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6118 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6119 ac_count
=`expr $ac_count + 1`
6120 if test $ac_count -gt ${ac_path_SED_max-0}; then
6121 # Best one so far, save it but keep looking for a better one
6122 ac_cv_path_SED
="$ac_path_SED"
6123 ac_path_SED_max
=$ac_count
6125 # 10*(2^10) chars as input seems more than enough
6126 test $ac_count -gt 10 && break
6128 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6132 $ac_path_SED_found && break 3
6142 SED
="$ac_cv_path_SED"
6143 if test -z "$SED"; then
6144 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
6145 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
6146 { (exit 1); exit 1; }; }
6154 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6155 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
6156 SED
="$ac_cv_path_SED"
6159 { echo "$as_me:$LINENO: checking for egrep" >&5
6160 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6161 if test "${ac_cv_prog_egrep+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6164 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6165 then ac_cv_prog_egrep
='grep -E'
6166 else ac_cv_prog_egrep
='egrep'
6169 { echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6170 echo "${ECHO_T}$ac_cv_prog_egrep" >&6; }
6171 EGREP
=$ac_cv_prog_egrep
6175 # Check whether --with-gnu-ld was given.
6176 if test "${with_gnu_ld+set}" = set; then
6177 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6183 if test "$GCC" = yes; then
6184 # Check if gcc -print-prog-name=ld gives a path.
6185 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6186 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6189 # gcc leaves a trailing carriage return which upsets mingw
6190 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6192 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6195 # Accept absolute paths.
6197 re_direlt
='/[^/][^/]*/\.\./'
6198 # Canonicalize the pathname of ld
6199 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
6200 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6201 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6203 test -z "$LD" && LD
="$ac_prog"
6206 # If it fails, then pretend we aren't using GCC.
6210 # If it is relative, then search for the first ld in PATH.
6214 elif test "$with_gnu_ld" = yes; then
6215 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6216 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6218 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6219 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6221 if test "${lt_cv_path_LD+set}" = set; then
6222 echo $ECHO_N "(cached) $ECHO_C" >&6
6224 if test -z "$LD"; then
6225 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6226 for ac_dir
in $PATH; do
6228 test -z "$ac_dir" && ac_dir
=.
6229 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6230 lt_cv_path_LD
="$ac_dir/$ac_prog"
6231 # Check to see if the program is GNU ld. I'd rather use --version,
6232 # but apparently some variants of GNU ld only accept -v.
6233 # Break only if it was the GNU/non-GNU ld that we prefer.
6234 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6235 *GNU
* |
*'with BFD'*)
6236 test "$with_gnu_ld" != no
&& break
6239 test "$with_gnu_ld" != yes && break
6246 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6251 if test -n "$LD"; then
6252 { echo "$as_me:$LINENO: result: $LD" >&5
6253 echo "${ECHO_T}$LD" >&6; }
6255 { echo "$as_me:$LINENO: result: no" >&5
6256 echo "${ECHO_T}no" >&6; }
6258 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6259 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6260 { (exit 1); exit 1; }; }
6261 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6262 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6263 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6266 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6267 case `$LD -v 2>&1 </dev/null` in
6268 *GNU
* |
*'with BFD'*)
6269 lt_cv_prog_gnu_ld
=yes
6272 lt_cv_prog_gnu_ld
=no
6276 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6277 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6278 with_gnu_ld
=$lt_cv_prog_gnu_ld
6281 for ac_prog
in gawk mawk nawk
awk
6283 # Extract the first word of "$ac_prog", so it can be a program name with args.
6284 set dummy
$ac_prog; ac_word
=$2
6285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6287 if test "${ac_cv_prog_AWK+set}" = set; then
6288 echo $ECHO_N "(cached) $ECHO_C" >&6
6290 if test -n "$AWK"; then
6291 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir
=.
6298 for ac_exec_ext
in '' $ac_executable_extensions; do
6299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 ac_cv_prog_AWK
="$ac_prog"
6301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6311 if test -n "$AWK"; then
6312 { echo "$as_me:$LINENO: result: $AWK" >&5
6313 echo "${ECHO_T}$AWK" >&6; }
6315 { echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6; }
6320 test -n "$AWK" && break
6323 # Find a good install program. We prefer a C program (faster),
6324 # so one script is as good as another. But avoid the broken or
6325 # incompatible versions:
6326 # SysV /etc/install, /usr/sbin/install
6327 # SunOS /usr/etc/install
6328 # IRIX /sbin/install
6330 # AmigaOS /C/install, which installs bootblocks on floppy discs
6331 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6332 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6333 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6334 # OS/2's system install, which has a completely different semantic
6335 # ./install, which can be erroneously created by make from ./install.sh.
6336 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6337 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6338 if test -z "$INSTALL"; then
6339 if test "${ac_cv_path_install+set}" = set; then
6340 echo $ECHO_N "(cached) $ECHO_C" >&6
6342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6346 test -z "$as_dir" && as_dir
=.
6347 # Account for people who put trailing slashes in PATH elements.
6349 .
/ | .
// |
/cC
/* | \
6350 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6351 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6354 # OSF1 and SCO ODT 3.0 have their own names for install.
6355 # Don't use installbsd from OSF since it installs stuff as root
6357 for ac_prog
in ginstall scoinst
install; do
6358 for ac_exec_ext
in '' $ac_executable_extensions; do
6359 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6360 if test $ac_prog = install &&
6361 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6362 # AIX install. It has an incompatible calling convention.
6364 elif test $ac_prog = install &&
6365 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6366 # program-specific install script used by HP pwplus--don't use.
6369 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6382 if test "${ac_cv_path_install+set}" = set; then
6383 INSTALL
=$ac_cv_path_install
6385 # As a last resort, use the slow shell script. Don't cache a
6386 # value for INSTALL within a source directory, because that will
6387 # break other packages using the cache if that directory is
6388 # removed, or if the value is a relative name.
6389 INSTALL
=$ac_install_sh
6392 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6393 echo "${ECHO_T}$INSTALL" >&6; }
6395 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6396 # It thinks the first close brace ends the variable substitution.
6397 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6399 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6401 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6403 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6404 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6406 if test "$LN_S" = "ln -s"; then
6407 { echo "$as_me:$LINENO: result: yes" >&5
6408 echo "${ECHO_T}yes" >&6; }
6410 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6411 echo "${ECHO_T}no, using $LN_S" >&6; }
6414 if test -n "$ac_tool_prefix"; then
6415 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6416 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6419 if test "${ac_cv_prog_RANLIB+set}" = set; then
6420 echo $ECHO_N "(cached) $ECHO_C" >&6
6422 if test -n "$RANLIB"; then
6423 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6429 test -z "$as_dir" && as_dir
=.
6430 for ac_exec_ext
in '' $ac_executable_extensions; do
6431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6432 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 RANLIB
=$ac_cv_prog_RANLIB
6443 if test -n "$RANLIB"; then
6444 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6445 echo "${ECHO_T}$RANLIB" >&6; }
6447 { echo "$as_me:$LINENO: result: no" >&5
6448 echo "${ECHO_T}no" >&6; }
6453 if test -z "$ac_cv_prog_RANLIB"; then
6454 ac_ct_RANLIB
=$RANLIB
6455 # Extract the first word of "ranlib", so it can be a program name with args.
6456 set dummy ranlib
; ac_word
=$2
6457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6459 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 if test -n "$ac_ct_RANLIB"; then
6463 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6469 test -z "$as_dir" && as_dir
=.
6470 for ac_exec_ext
in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6483 if test -n "$ac_ct_RANLIB"; then
6484 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6485 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6487 { echo "$as_me:$LINENO: result: no" >&5
6488 echo "${ECHO_T}no" >&6; }
6491 if test "x$ac_ct_RANLIB" = x
; then
6494 case $cross_compiling:$ac_tool_warned in
6496 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6497 whose name does not start with the host triplet. If you think this
6498 configuration is useful to you, please write to autoconf@gnu.org." >&5
6499 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6500 whose name does not start with the host triplet. If you think this
6501 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6502 ac_tool_warned
=yes ;;
6504 RANLIB
=$ac_ct_RANLIB
6507 RANLIB
="$ac_cv_prog_RANLIB"
6510 { echo "$as_me:$LINENO: checking for GNU make" >&5
6511 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6512 if test "${GNU_MAKE+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 GNU_MAKE
='Not Found' ;
6516 GNU_MAKE_VERSION_MAJOR
=0 ;
6517 GNU_MAKE_VERSION_MINOR
=0 ;
6518 for a
in make gmake gnumake
; do
6519 if test -z "$a" ; then continue ; fi ;
6520 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
) ; then
6522 GNU_MAKE_VERSION_MAJOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f3 -d' ' | cut -f1 -d'.'`
6523 GNU_MAKE_VERSION_MINOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.' | cut -c1-2`
6529 { echo "$as_me:$LINENO: result: $GNU_MAKE" >&5
6530 echo "${ECHO_T}$GNU_MAKE" >&6; } ;
6531 if test "x$GNU_MAKE" = "xNot Found" ; then
6532 { { echo "$as_me:$LINENO: error: *** Please install GNU make. It is required to build Asterisk!" >&5
6533 echo "$as_me: error: *** Please install GNU make. It is required to build Asterisk!" >&2;}
6534 { (exit 1); exit 1; }; }
6541 if test "x$with_gnu_ld" = "xyes" ; then
6546 # Extract the first word of "grep", so it can be a program name with args.
6547 set dummy
grep; ac_word
=$2
6548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6550 if test "${ac_cv_path_GREP+set}" = set; then
6551 echo $ECHO_N "(cached) $ECHO_C" >&6
6555 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6562 test -z "$as_dir" && as_dir
=.
6563 for ac_exec_ext
in '' $ac_executable_extensions; do
6564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6565 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
=":"
6577 GREP
=$ac_cv_path_GREP
6578 if test -n "$GREP"; then
6579 { echo "$as_me:$LINENO: result: $GREP" >&5
6580 echo "${ECHO_T}$GREP" >&6; }
6582 { echo "$as_me:$LINENO: result: no" >&5
6583 echo "${ECHO_T}no" >&6; }
6587 # Extract the first word of "ar", so it can be a program name with args.
6588 set dummy
ar; ac_word
=$2
6589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6591 if test "${ac_cv_path_AR+set}" = set; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6596 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
6599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6603 test -z "$as_dir" && as_dir
=.
6604 for ac_exec_ext
in '' $ac_executable_extensions; do
6605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6606 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
6607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6614 test -z "$ac_cv_path_AR" && ac_cv_path_AR
=":"
6619 if test -n "$AR"; then
6620 { echo "$as_me:$LINENO: result: $AR" >&5
6621 echo "${ECHO_T}$AR" >&6; }
6623 { echo "$as_me:$LINENO: result: no" >&5
6624 echo "${ECHO_T}no" >&6; }
6628 # Extract the first word of "find", so it can be a program name with args.
6629 set dummy
find; ac_word
=$2
6630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6632 if test "${ac_cv_path_FIND+set}" = set; then
6633 echo $ECHO_N "(cached) $ECHO_C" >&6
6637 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6644 test -z "$as_dir" && as_dir
=.
6645 for ac_exec_ext
in '' $ac_executable_extensions; do
6646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
=":"
6659 FIND
=$ac_cv_path_FIND
6660 if test -n "$FIND"; then
6661 { echo "$as_me:$LINENO: result: $FIND" >&5
6662 echo "${ECHO_T}$FIND" >&6; }
6664 { echo "$as_me:$LINENO: result: no" >&5
6665 echo "${ECHO_T}no" >&6; }
6669 # Extract the first word of "compress", so it can be a program name with args.
6670 set dummy
compress; ac_word
=$2
6671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6673 if test "${ac_cv_path_COMPRESS+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 ac_cv_path_COMPRESS
="$COMPRESS" # Let the user override the test with a path.
6681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6685 test -z "$as_dir" && as_dir
=.
6686 for ac_exec_ext
in '' $ac_executable_extensions; do
6687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6688 ac_cv_path_COMPRESS
="$as_dir/$ac_word$ac_exec_ext"
6689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6696 test -z "$ac_cv_path_COMPRESS" && ac_cv_path_COMPRESS
=":"
6700 COMPRESS
=$ac_cv_path_COMPRESS
6701 if test -n "$COMPRESS"; then
6702 { echo "$as_me:$LINENO: result: $COMPRESS" >&5
6703 echo "${ECHO_T}$COMPRESS" >&6; }
6705 { echo "$as_me:$LINENO: result: no" >&5
6706 echo "${ECHO_T}no" >&6; }
6710 # Extract the first word of "basename", so it can be a program name with args.
6711 set dummy
basename; ac_word
=$2
6712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6714 if test "${ac_cv_path_BASENAME+set}" = set; then
6715 echo $ECHO_N "(cached) $ECHO_C" >&6
6719 ac_cv_path_BASENAME
="$BASENAME" # Let the user override the test with a path.
6722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6726 test -z "$as_dir" && as_dir
=.
6727 for ac_exec_ext
in '' $ac_executable_extensions; do
6728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6729 ac_cv_path_BASENAME
="$as_dir/$ac_word$ac_exec_ext"
6730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 test -z "$ac_cv_path_BASENAME" && ac_cv_path_BASENAME
=":"
6741 BASENAME
=$ac_cv_path_BASENAME
6742 if test -n "$BASENAME"; then
6743 { echo "$as_me:$LINENO: result: $BASENAME" >&5
6744 echo "${ECHO_T}$BASENAME" >&6; }
6746 { echo "$as_me:$LINENO: result: no" >&5
6747 echo "${ECHO_T}no" >&6; }
6751 # Extract the first word of "id", so it can be a program name with args.
6752 set dummy id
; ac_word
=$2
6753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6755 if test "${ac_cv_path_ID+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 ac_cv_path_ID
="$ID" # Let the user override the test with a path.
6763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6767 test -z "$as_dir" && as_dir
=.
6768 for ac_exec_ext
in '' $ac_executable_extensions; do
6769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6770 ac_cv_path_ID
="$as_dir/$ac_word$ac_exec_ext"
6771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 test -z "$ac_cv_path_ID" && ac_cv_path_ID
=":"
6783 if test -n "$ID"; then
6784 { echo "$as_me:$LINENO: result: $ID" >&5
6785 echo "${ECHO_T}$ID" >&6; }
6787 { echo "$as_me:$LINENO: result: no" >&5
6788 echo "${ECHO_T}no" >&6; }
6792 # Extract the first word of "dirname", so it can be a program name with args.
6793 set dummy
dirname; ac_word
=$2
6794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6796 if test "${ac_cv_path_DIRNAME+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 ac_cv_path_DIRNAME
="$DIRNAME" # Let the user override the test with a path.
6804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6808 test -z "$as_dir" && as_dir
=.
6809 for ac_exec_ext
in '' $ac_executable_extensions; do
6810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6811 ac_cv_path_DIRNAME
="$as_dir/$ac_word$ac_exec_ext"
6812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 test -z "$ac_cv_path_DIRNAME" && ac_cv_path_DIRNAME
=":"
6823 DIRNAME
=$ac_cv_path_DIRNAME
6824 if test -n "$DIRNAME"; then
6825 { echo "$as_me:$LINENO: result: $DIRNAME" >&5
6826 echo "${ECHO_T}$DIRNAME" >&6; }
6828 { echo "$as_me:$LINENO: result: no" >&5
6829 echo "${ECHO_T}no" >&6; }
6833 # Extract the first word of "sh", so it can be a program name with args.
6834 set dummy sh
; ac_word
=$2
6835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6837 if test "${ac_cv_path_SHELL+set}" = set; then
6838 echo $ECHO_N "(cached) $ECHO_C" >&6
6842 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
6845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6849 test -z "$as_dir" && as_dir
=.
6850 for ac_exec_ext
in '' $ac_executable_extensions; do
6851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6852 ac_cv_path_SHELL
="$as_dir/$ac_word$ac_exec_ext"
6853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6860 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
=":"
6864 SHELL
=$ac_cv_path_SHELL
6865 if test -n "$SHELL"; then
6866 { echo "$as_me:$LINENO: result: $SHELL" >&5
6867 echo "${ECHO_T}$SHELL" >&6; }
6869 { echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6; }
6874 # Extract the first word of "ln", so it can be a program name with args.
6875 set dummy
ln; ac_word
=$2
6876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6878 if test "${ac_cv_path_LN+set}" = set; then
6879 echo $ECHO_N "(cached) $ECHO_C" >&6
6883 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
6886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6890 test -z "$as_dir" && as_dir
=.
6891 for ac_exec_ext
in '' $ac_executable_extensions; do
6892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6893 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
6894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6901 test -z "$ac_cv_path_LN" && ac_cv_path_LN
=":"
6906 if test -n "$LN"; then
6907 { echo "$as_me:$LINENO: result: $LN" >&5
6908 echo "${ECHO_T}$LN" >&6; }
6910 { echo "$as_me:$LINENO: result: no" >&5
6911 echo "${ECHO_T}no" >&6; }
6915 # Extract the first word of "dot", so it can be a program name with args.
6916 set dummy dot
; ac_word
=$2
6917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6919 if test "${ac_cv_path_DOT+set}" = set; then
6920 echo $ECHO_N "(cached) $ECHO_C" >&6
6924 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
6927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6931 test -z "$as_dir" && as_dir
=.
6932 for ac_exec_ext
in '' $ac_executable_extensions; do
6933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6934 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
6935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
=":"
6947 if test -n "$DOT"; then
6948 { echo "$as_me:$LINENO: result: $DOT" >&5
6949 echo "${ECHO_T}$DOT" >&6; }
6951 { echo "$as_me:$LINENO: result: no" >&5
6952 echo "${ECHO_T}no" >&6; }
6956 # Extract the first word of "strip", so it can be a program name with args.
6957 set dummy strip
; ac_word
=$2
6958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6960 if test "${ac_cv_path_STRIP+set}" = set; then
6961 echo $ECHO_N "(cached) $ECHO_C" >&6
6965 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
6968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6972 test -z "$as_dir" && as_dir
=.
6973 for ac_exec_ext
in '' $ac_executable_extensions; do
6974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
6976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6983 test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP
=":"
6987 STRIP
=$ac_cv_path_STRIP
6988 if test -n "$STRIP"; then
6989 { echo "$as_me:$LINENO: result: $STRIP" >&5
6990 echo "${ECHO_T}$STRIP" >&6; }
6992 { echo "$as_me:$LINENO: result: no" >&5
6993 echo "${ECHO_T}no" >&6; }
6997 # Extract the first word of "wget", so it can be a program name with args.
6998 set dummy wget
; ac_word
=$2
6999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7001 if test "${ac_cv_path_WGET+set}" = set; then
7002 echo $ECHO_N "(cached) $ECHO_C" >&6
7006 ac_cv_path_WGET
="$WGET" # Let the user override the test with a path.
7009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir
=.
7014 for ac_exec_ext
in '' $ac_executable_extensions; do
7015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7016 ac_cv_path_WGET
="$as_dir/$ac_word$ac_exec_ext"
7017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7024 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET
=":"
7028 WGET
=$ac_cv_path_WGET
7029 if test -n "$WGET"; then
7030 { echo "$as_me:$LINENO: result: $WGET" >&5
7031 echo "${ECHO_T}$WGET" >&6; }
7033 { echo "$as_me:$LINENO: result: no" >&5
7034 echo "${ECHO_T}no" >&6; }
7038 if test "${WGET}" != ":" ; then
7041 # Extract the first word of "fetch", so it can be a program name with args.
7042 set dummy fetch
; ac_word
=$2
7043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7045 if test "${ac_cv_path_FETCH+set}" = set; then
7046 echo $ECHO_N "(cached) $ECHO_C" >&6
7050 ac_cv_path_FETCH
="$FETCH" # Let the user override the test with a path.
7053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7057 test -z "$as_dir" && as_dir
=.
7058 for ac_exec_ext
in '' $ac_executable_extensions; do
7059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7060 ac_cv_path_FETCH
="$as_dir/$ac_word$ac_exec_ext"
7061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7068 test -z "$ac_cv_path_FETCH" && ac_cv_path_FETCH
=":"
7072 FETCH
=$ac_cv_path_FETCH
7073 if test -n "$FETCH"; then
7074 { echo "$as_me:$LINENO: result: $FETCH" >&5
7075 echo "${ECHO_T}$FETCH" >&6; }
7077 { echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6; }
7090 ac_cpp
='$CPP $CPPFLAGS'
7091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7097 # We used to check for pthread.h first, but this fails if pthread.h
7098 # requires special compiler flags (e.g. on True64 or Sequent).
7099 # It gets checked for in the link test anyway.
7101 # First of all, check if the user has set any of the PTHREAD_LIBS,
7102 # etcetera environment variables, and if threads linking works using
7104 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
7105 save_CFLAGS
="$CFLAGS"
7106 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
7108 LIBS
="$PTHREAD_LIBS $LIBS"
7109 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
7110 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
7111 cat >conftest.
$ac_ext <<_ACEOF
7114 cat confdefs.h
>>conftest.
$ac_ext
7115 cat >>conftest.
$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7118 /* Override any GCC internal prototype to avoid an error.
7119 Use char because int might match the return type of a GCC
7120 builtin and then its argument prototype would still apply. */
7124 char pthread_join ();
7128 return pthread_join ();
7133 rm -f conftest.
$ac_objext conftest
$ac_exeext
7134 if { (ac_try
="$ac_link"
7136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7137 *) ac_try_echo=$ac_try;;
7139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7140 (eval "$ac_link") 2>conftest.er1
7142 grep -v '^ *+' conftest.er1 >conftest.err
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } && {
7147 test -z "$ac_c_werror_flag" ||
7148 test ! -s conftest.err
7149 } && test -s conftest$ac_exeext &&
7150 $as_test_x conftest$ac_exeext; then
7153 echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.$ac_ext >&5
7159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7160 conftest$ac_exeext conftest.$ac_ext
7161 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
7162 echo "${ECHO_T}$acx_pthread_ok" >&6; }
7163 if test x"$acx_pthread_ok" = xno; then
7168 CFLAGS="$save_CFLAGS"
7171 # We must check for the threads library under a number of different
7172 # names; the ordering is very important because some systems
7173 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
7174 # libraries is broken (non-POSIX).
7176 # Create a list of thread flags to try. Items starting with a "-" are
7177 # C compiler flags, and other items are library names, except for "none"
7178 # which indicates that we try without any flags at all, and "pthread-config"
7179 # which is a program returning the flags for the Pth emulation library.
7181 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
7183 # The ordering *is* (sometimes) important. Some notes on the
7184 # individual items follow:
7186 # pthreads: AIX (must check this before -lpthread)
7187 # none: in case threads are in libc; should be tried before -Kthread and
7188 # other compiler flags to prevent continual compiler warnings
7189 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
7190 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
7191 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
7192 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
7193 # -pthreads: Solaris/gcc
7194 # -mthreads: Mingw32/gcc, Lynx/gcc
7195 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
7196 # doesn't hurt to check since this sometimes defines pthreads too;
7197 # also defines -D_REENTRANT)
7198 # ... -mt is also the pthreads flag for HP/aCC
7199 # pthread: Linux, etcetera
7200 # --thread-safe: KAI C++
7201 # pthread-config: use pthread-config program (for GNU Pth library)
7203 case "${host_cpu}-${host_os}" in
7206 # On Solaris (at least, for some versions), libc contains stubbed
7207 # (non-functional) versions of the pthreads routines, so link-based
7208 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
7209 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
7210 # a function called by this macro, so we could check for that, but
7211 # who knows whether they'll stub that too in a future libc.) So,
7212 # we'll just look for -pthreads and -lpthread first:
7214 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
7218 if test x"$acx_pthread_ok" = xno; then
7219 for flag in $acx_pthread_flags; do
7223 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
7224 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
7228 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
7229 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
7230 PTHREAD_CFLAGS="$flag"
7234 # Extract the first word of "pthread-config", so it can be a program name with args.
7235 set dummy pthread-config; ac_word=$2
7236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7238 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
7239 echo $ECHO_N "(cached) $ECHO_C" >&6
7241 if test -n "$acx_pthread_config"; then
7242 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 test -z "$as_dir" && as_dir=.
7249 for ac_exec_ext in '' $ac_executable_extensions; do
7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 ac_cv_prog_acx_pthread_config="yes"
7252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
7262 acx_pthread_config=$ac_cv_prog_acx_pthread_config
7263 if test -n "$acx_pthread_config"; then
7264 { echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
7265 echo "${ECHO_T}$acx_pthread_config" >&6; }
7267 { echo "$as_me:$LINENO: result: no" >&5
7268 echo "${ECHO_T}no" >&6; }
7272 if test x"$acx_pthread_config" = xno; then continue; fi
7273 PTHREAD_CFLAGS="`pthread-config
--cflags`"
7274 PTHREAD_LIBS="`pthread-config
--ldflags` `pthread-config
--libs`"
7278 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
7279 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
7280 PTHREAD_LIBS="-l$flag"
7285 save_CFLAGS="$CFLAGS"
7286 LIBS="$PTHREAD_LIBS $LIBS"
7287 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
7289 # Check for various functions. We must include pthread.h,
7290 # since some functions may be macros. (On the Sequent, we
7291 # need a special flag -Kthread to make this header compile.)
7292 # We check for pthread_join because it is in -lpthread on IRIX
7293 # while pthread_create is in libc. We check for pthread_attr_init
7294 # due to DEC craziness with -lpthreads. We check for
7295 # pthread_cleanup_push because it is one of the few pthread
7296 # functions on Solaris that doesn't have a non-functional libc stub.
7297 # We try pthread_create on general principles.
7298 cat >conftest.$ac_ext <<_ACEOF
7301 cat confdefs.h >>conftest.$ac_ext
7302 cat >>conftest.$ac_ext <<_ACEOF
7303 /* end confdefs.h. */
7304 #include <pthread.h>
7308 pthread_t th; pthread_join(th, 0);
7309 pthread_attr_init(0); pthread_cleanup_push(0, 0);
7310 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
7315 rm -f conftest.$ac_objext conftest$ac_exeext
7316 if { (ac_try="$ac_link"
7318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7319 *) ac_try_echo
=$ac_try;;
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_link") 2>conftest.er1
7324 grep -v '^ *+' conftest.er1
>conftest.err
7326 cat conftest.err
>&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest
$ac_exeext &&
7332 $as_test_x conftest
$ac_exeext; then
7335 echo "$as_me: failed program was:" >&5
7336 sed 's/^/| /' conftest.
$ac_ext >&5
7341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7342 conftest
$ac_exeext conftest.
$ac_ext
7345 CFLAGS
="$save_CFLAGS"
7347 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
7348 echo "${ECHO_T}$acx_pthread_ok" >&6; }
7349 if test "x$acx_pthread_ok" = xyes
; then
7358 # Various other checks:
7359 if test "x$acx_pthread_ok" = xyes
; then
7361 LIBS
="$PTHREAD_LIBS $LIBS"
7362 save_CFLAGS
="$CFLAGS"
7363 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
7365 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
7366 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
7367 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
7369 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
7370 cat >conftest.
$ac_ext <<_ACEOF
7373 cat confdefs.h
>>conftest.
$ac_ext
7374 cat >>conftest.
$ac_ext <<_ACEOF
7375 /* end confdefs.h. */
7376 #include <pthread.h>
7380 int attr=$attr; return attr;
7385 rm -f conftest.
$ac_objext conftest
$ac_exeext
7386 if { (ac_try
="$ac_link"
7388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7389 *) ac_try_echo=$ac_try;;
7391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7392 (eval "$ac_link") 2>conftest.er1
7394 grep -v '^ *+' conftest.er1 >conftest.err
7396 cat conftest.err >&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } && {
7399 test -z "$ac_c_werror_flag" ||
7400 test ! -s conftest.err
7401 } && test -s conftest$ac_exeext &&
7402 $as_test_x conftest$ac_exeext; then
7403 attr_name=$attr; break
7405 echo "$as_me: failed program was:" >&5
7406 sed 's/^/| /' conftest.$ac_ext >&5
7411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7412 conftest$ac_exeext conftest.$ac_ext
7414 { echo "$as_me:$LINENO: result: $attr_name" >&5
7415 echo "${ECHO_T}$attr_name" >&6; }
7416 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
7418 cat >>confdefs.h <<_ACEOF
7419 #define PTHREAD_CREATE_JOINABLE $attr_name
7424 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
7425 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
7427 case "${host_cpu}-${host_os}" in
7428 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
7429 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
7431 { echo "$as_me:$LINENO: result: ${flag}" >&5
7432 echo "${ECHO_T}${flag}" >&6; }
7433 if test "x$flag" != xno; then
7434 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
7438 CFLAGS="$save_CFLAGS"
7440 # More AIX lossage: must compile with xlc_r or cc_r
7441 if test x"$GCC" != xyes; then
7442 for ac_prog in xlc_r cc_r
7444 # Extract the first word of "$ac_prog", so it can be a program name with args.
7445 set dummy $ac_prog; ac_word=$2
7446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7448 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
7449 echo $ECHO_N "(cached) $ECHO_C" >&6
7451 if test -n "$PTHREAD_CC"; then
7452 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
7454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 test -z "$as_dir" && as_dir=.
7459 for ac_exec_ext in '' $ac_executable_extensions; do
7460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7461 ac_cv_prog_PTHREAD_CC="$ac_prog"
7462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
7472 if test -n "$PTHREAD_CC"; then
7473 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
7474 echo "${ECHO_T}$PTHREAD_CC" >&6; }
7476 { echo "$as_me:$LINENO: result: no" >&5
7477 echo "${ECHO_T}no" >&6; }
7481 test -n "$PTHREAD_CC" && break
7483 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
7496 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
7497 if test x"$acx_pthread_ok" = xyes; then
7499 cat >>confdefs.h <<\_ACEOF
7500 #define HAVE_PTHREAD 1
7509 ac_cpp='$CPP $CPPFLAGS'
7510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7517 ac_cpp='$CPP $CPPFLAGS'
7518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7523 # Check whether --enable-dev-mode was given.
7524 if test "${enable_dev_mode+set}" = set; then
7525 enableval=$enable_dev_mode; case "${enableval}" in
7526 y|ye|yes) AST_DEVMODE=yes ;;
7527 n|no) AST_DEVMODE=no ;;
7528 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dev-mode" >&5
7529 echo "$as_me: error: bad value ${enableval} for --enable-dev-mode" >&2;}
7530 { (exit 1); exit 1; }; } ;;
7536 # package option names should be in alphabetical order
7537 # by the --with option name, to make things easier for the users :-)
7540 ALSA_DESCRIP="Advanced Linux Sound Architecture"
7541 ALSA_OPTION="asound"
7543 # Check whether --with-asound was given.
7544 if test "${with_asound+set}" = set; then
7545 withval=$with_asound;
7551 ALSA_MANDATORY="yes"
7554 ALSA_DIR="${withval}"
7555 ALSA_MANDATORY="yes"
7571 # Check whether --with-curl was given.
7572 if test "${with_curl+set}" = set; then
7579 CURL_MANDATORY="yes"
7582 CURL_DIR="${withval}"
7583 CURL_MANDATORY="yes"
7596 CURSES_DESCRIP="curses"
7597 CURSES_OPTION="curses"
7599 # Check whether --with-curses was given.
7600 if test "${with_curses+set}" = set; then
7601 withval=$with_curses;
7607 CURSES_MANDATORY="yes"
7610 CURSES_DIR="${withval}"
7611 CURSES_MANDATORY="yes"
7624 GNUTLS_DESCRIP="GNU TLS support (used for iksemel only)"
7625 GNUTLS_OPTION="gnutls"
7627 # Check whether --with-gnutls was given.
7628 if test "${with_gnutls+set}" = set; then
7629 withval=$with_gnutls;
7635 GNUTLS_MANDATORY="yes"
7638 GNUTLS_DIR="${withval}"
7639 GNUTLS_MANDATORY="yes"
7655 # Check whether --with-gsm was given.
7656 if test "${with_gsm+set}" = set; then
7666 GSM_DIR="${withval}"
7680 IKSEMEL_DESCRIP="Iksemel Jabber Library"
7681 IKSEMEL_OPTION="iksemel"
7683 # Check whether --with-iksemel was given.
7684 if test "${with_iksemel+set}" = set; then
7685 withval=$with_iksemel;
7691 IKSEMEL_MANDATORY="yes"
7694 IKSEMEL_DIR="${withval}"
7695 IKSEMEL_MANDATORY="yes"
7708 IMAP_TK_DESCRIP="UW IMAP Toolkit"
7709 IMAP_TK_OPTION="imap"
7711 # Check whether --with-imap was given.
7712 if test "${with_imap+set}" = set; then
7719 IMAP_TK_MANDATORY="yes"
7722 IMAP_TK_DIR="${withval}"
7723 IMAP_TK_MANDATORY="yes"
7736 ISDNNET_DESCRIP="ISDN4Linux Library"
7737 ISDNNET_OPTION="isdnnet"
7739 # Check whether --with-isdnnet was given.
7740 if test "${with_isdnnet+set}" = set; then
7741 withval=$with_isdnnet;
7747 ISDNNET_MANDATORY="yes"
7750 ISDNNET_DIR="${withval}"
7751 ISDNNET_MANDATORY="yes"
7767 # Check whether --with-kde was given.
7768 if test "${with_kde+set}" = set; then
7778 KDE_DIR="${withval}"
7792 MISDN_DESCRIP="mISDN User Library"
7793 MISDN_OPTION="misdn"
7795 # Check whether --with-misdn was given.
7796 if test "${with_misdn+set}" = set; then
7797 withval=$with_misdn;
7803 MISDN_MANDATORY="yes"
7806 MISDN_DIR="${withval}"
7807 MISDN_MANDATORY="yes"
7820 NBS_DESCRIP="Network Broadcast Sound"
7823 # Check whether --with-nbs was given.
7824 if test "${with_nbs+set}" = set; then
7834 NBS_DIR="${withval}"
7848 NCURSES_DESCRIP="ncurses"
7849 NCURSES_OPTION="ncurses"
7851 # Check whether --with-ncurses was given.
7852 if test "${with_ncurses+set}" = set; then
7853 withval=$with_ncurses;
7859 NCURSES_MANDATORY="yes"
7862 NCURSES_DIR="${withval}"
7863 NCURSES_MANDATORY="yes"
7876 NETSNMP_DESCRIP="Net-SNMP"
7877 NETSNMP_OPTION="netsnmp"
7879 # Check whether --with-netsnmp was given.
7880 if test "${with_netsnmp+set}" = set; then
7881 withval=$with_netsnmp;
7887 NETSNMP_MANDATORY="yes"
7890 NETSNMP_DIR="${withval}"
7891 NETSNMP_MANDATORY="yes"
7907 # Check whether --with-newt was given.
7908 if test "${with_newt+set}" = set; then
7915 NEWT_MANDATORY="yes"
7918 NEWT_DIR="${withval}"
7919 NEWT_MANDATORY="yes"
7932 UNIXODBC_DESCRIP="unixODBC"
7933 UNIXODBC_OPTION="odbc"
7935 # Check whether --with-odbc was given.
7936 if test "${with_odbc+set}" = set; then
7943 UNIXODBC_MANDATORY="yes"
7946 UNIXODBC_DIR="${withval}"
7947 UNIXODBC_MANDATORY="yes"
7963 # Check whether --with-ogg was given.
7964 if test "${with_ogg+set}" = set; then
7974 OGG_DIR="${withval}"
7988 OSPTK_DESCRIP="OSP Toolkit"
7989 OSPTK_OPTION="osptk"
7991 # Check whether --with-osptk was given.
7992 if test "${with_osptk+set}" = set; then
7993 withval=$with_osptk;
7999 OSPTK_MANDATORY="yes"
8002 OSPTK_DIR="${withval}"
8003 OSPTK_MANDATORY="yes"
8016 OSS_DESCRIP="Open Sound System"
8019 # Check whether --with-oss was given.
8020 if test "${with_oss+set}" = set; then
8030 OSS_DIR="${withval}"
8047 # Check whether --with-popt was given.
8048 if test "${with_popt+set}" = set; then
8055 POPT_MANDATORY="yes"
8058 POPT_DIR="${withval}"
8059 POPT_MANDATORY="yes"
8072 PGSQL_DESCRIP="PostgreSQL"
8073 PGSQL_OPTION="postgres"
8075 # Check whether --with-postgres was given.
8076 if test "${with_postgres+set}" = set; then
8077 withval=$with_postgres;
8083 PGSQL_MANDATORY="yes"
8086 PGSQL_DIR="${withval}"
8087 PGSQL_MANDATORY="yes"
8100 PRI_DESCRIP="ISDN PRI"
8103 # Check whether --with-pri was given.
8104 if test "${with_pri+set}" = set; then
8114 PRI_DIR="${withval}"
8128 PWLIB_DESCRIP="PWlib"
8129 PWLIB_OPTION="pwlib"
8131 # Check whether --with-pwlib was given.
8132 if test "${with_pwlib+set}" = set; then
8133 withval=$with_pwlib;
8139 PWLIB_MANDATORY="yes"
8142 PWLIB_DIR="${withval}"
8143 PWLIB_MANDATORY="yes"
8156 OPENH323_DESCRIP="OpenH323"
8157 OPENH323_OPTION="h323"
8159 # Check whether --with-h323 was given.
8160 if test "${with_h323+set}" = set; then
8167 OPENH323_MANDATORY="yes"
8170 OPENH323_DIR="${withval}"
8171 OPENH323_MANDATORY="yes"
8187 # Check whether --with-qt was given.
8188 if test "${with_qt+set}" = set; then
8212 RADIUS_DESCRIP="Radius Client"
8213 RADIUS_OPTION="radius"
8215 # Check whether --with-radius was given.
8216 if test "${with_radius+set}" = set; then
8217 withval=$with_radius;
8223 RADIUS_MANDATORY="yes"
8226 RADIUS_DIR="${withval}"
8227 RADIUS_MANDATORY="yes"
8240 SPEEX_DESCRIP="Speex"
8241 SPEEX_OPTION="speex"
8243 # Check whether --with-speex was given.
8244 if test "${with_speex+set}" = set; then
8245 withval=$with_speex;
8251 SPEEX_MANDATORY="yes"
8254 SPEEX_DIR="${withval}"
8255 SPEEX_MANDATORY="yes"
8268 SQLITE_DESCRIP="SQLite"
8269 SQLITE_OPTION="sqlite"
8271 # Check whether --with-sqlite was given.
8272 if test "${with_sqlite+set}" = set; then
8273 withval=$with_sqlite;
8279 SQLITE_MANDATORY="yes"
8282 SQLITE_DIR="${withval}"
8283 SQLITE_MANDATORY="yes"
8296 SUPPSERV_DESCRIP="mISDN Supplemental Services"
8297 SUPPSERV_OPTION="suppserv"
8299 # Check whether --with-suppserv was given.
8300 if test "${with_suppserv+set}" = set; then
8301 withval=$with_suppserv;
8307 SUPPSERV_MANDATORY="yes"
8310 SUPPSERV_DIR="${withval}"
8311 SUPPSERV_MANDATORY="yes"
8324 OPENSSL_DESCRIP="OpenSSL"
8325 OPENSSL_OPTION="ssl"
8327 # Check whether --with-ssl was given.
8328 if test "${with_ssl+set}" = set; then
8335 OPENSSL_MANDATORY="yes"
8338 OPENSSL_DIR="${withval}"
8339 OPENSSL_MANDATORY="yes"
8352 FREETDS_DESCRIP="FreeTDS"
8353 FREETDS_OPTION="tds"
8355 # Check whether --with-tds was given.
8356 if test "${with_tds+set}" = set; then
8363 FREETDS_MANDATORY="yes"
8366 FREETDS_DIR="${withval}"
8367 FREETDS_MANDATORY="yes"
8380 TERMCAP_DESCRIP="Termcap"
8381 TERMCAP_OPTION="termcap"
8383 # Check whether --with-termcap was given.
8384 if test "${with_termcap+set}" = set; then
8385 withval=$with_termcap;
8391 TERMCAP_MANDATORY="yes"
8394 TERMCAP_DIR="${withval}"
8395 TERMCAP_MANDATORY="yes"
8408 TINFO_DESCRIP="Term Info"
8409 TINFO_OPTION="tinfo"
8411 # Check whether --with-tinfo was given.
8412 if test "${with_tinfo+set}" = set; then
8413 withval=$with_tinfo;
8419 TINFO_MANDATORY="yes"
8422 TINFO_DIR="${withval}"
8423 TINFO_MANDATORY="yes"
8436 TONEZONE_DESCRIP="tonezone"
8437 TONEZONE_OPTION="tonezone"
8439 # Check whether --with-tonezone was given.
8440 if test "${with_tonezone+set}" = set; then
8441 withval=$with_tonezone;
8447 TONEZONE_MANDATORY="yes"
8450 TONEZONE_DIR="${withval}"
8451 TONEZONE_MANDATORY="yes"
8464 VORBIS_DESCRIP="Vorbis"
8465 VORBIS_OPTION="vorbis"
8467 # Check whether --with-vorbis was given.
8468 if test "${with_vorbis+set}" = set; then
8469 withval=$with_vorbis;
8475 VORBIS_MANDATORY="yes"
8478 VORBIS_DIR="${withval}"
8479 VORBIS_MANDATORY="yes"
8492 VPB_DESCRIP="Voicetronix API"
8495 # Check whether --with-vpb was given.
8496 if test "${with_vpb+set}" = set; then
8506 VPB_DIR="${withval}"
8523 # Check whether --with-z was given.
8524 if test "${with_z+set}" = set; then
8531 ZLIB_MANDATORY="yes"
8534 ZLIB_DIR="${withval}"
8535 ZLIB_MANDATORY="yes"
8548 ZAPTEL_DESCRIP="Zaptel"
8549 ZAPTEL_OPTION="zaptel"
8551 # Check whether --with-zaptel was given.
8552 if test "${with_zaptel+set}" = set; then
8553 withval=$with_zaptel;
8559 ZAPTEL_MANDATORY="yes"
8562 ZAPTEL_DIR="${withval}"
8563 ZAPTEL_MANDATORY="yes"
8576 # check for basic system features and functionality before
8577 # checking for package libraries
8579 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8580 # for constant arguments. Useless!
8581 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
8582 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
8583 if test "${ac_cv_working_alloca_h+set}" = set; then
8584 echo $ECHO_N "(cached) $ECHO_C" >&6
8586 cat >conftest.$ac_ext <<_ACEOF
8589 cat confdefs.h >>conftest.$ac_ext
8590 cat >>conftest.$ac_ext <<_ACEOF
8591 /* end confdefs.h. */
8596 char *p = (char *) alloca (2 * sizeof (int));
8602 rm -f conftest.$ac_objext conftest$ac_exeext
8603 if { (ac_try="$ac_link"
8605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8606 *) ac_try_echo
=$ac_try;;
8608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8609 (eval "$ac_link") 2>conftest.er1
8611 grep -v '^ *+' conftest.er1
>conftest.err
8613 cat conftest.err
>&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } && {
8616 test -z "$ac_c_werror_flag" ||
8617 test ! -s conftest.err
8618 } && test -s conftest
$ac_exeext &&
8619 $as_test_x conftest
$ac_exeext; then
8620 ac_cv_working_alloca_h
=yes
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.
$ac_ext >&5
8625 ac_cv_working_alloca_h
=no
8628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8629 conftest
$ac_exeext conftest.
$ac_ext
8631 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8632 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
8633 if test $ac_cv_working_alloca_h = yes; then
8635 cat >>confdefs.h
<<\_ACEOF
8636 #define HAVE_ALLOCA_H 1
8641 { echo "$as_me:$LINENO: checking for alloca" >&5
8642 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
8643 if test "${ac_cv_func_alloca_works+set}" = set; then
8644 echo $ECHO_N "(cached) $ECHO_C" >&6
8646 cat >conftest.
$ac_ext <<_ACEOF
8649 cat confdefs.h
>>conftest.
$ac_ext
8650 cat >>conftest.
$ac_ext <<_ACEOF
8651 /* end confdefs.h. */
8653 # define alloca __builtin_alloca
8656 # include <malloc.h>
8657 # define alloca _alloca
8659 # ifdef HAVE_ALLOCA_H
8660 # include <alloca.h>
8665 # ifndef alloca /* predefined by HP cc +Olibcalls */
8676 char *p = (char *) alloca (1);
8682 rm -f conftest.
$ac_objext conftest
$ac_exeext
8683 if { (ac_try
="$ac_link"
8685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8686 *) ac_try_echo=$ac_try;;
8688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8689 (eval "$ac_link") 2>conftest.er1
8691 grep -v '^ *+' conftest.er1 >conftest.err
8693 cat conftest.err >&5
8694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695 (exit $ac_status); } && {
8696 test -z "$ac_c_werror_flag" ||
8697 test ! -s conftest.err
8698 } && test -s conftest$ac_exeext &&
8699 $as_test_x conftest$ac_exeext; then
8700 ac_cv_func_alloca_works=yes
8702 echo "$as_me: failed program was:" >&5
8703 sed 's/^/| /' conftest.$ac_ext >&5
8705 ac_cv_func_alloca_works=no
8708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8709 conftest$ac_exeext conftest.$ac_ext
8711 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8712 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
8714 if test $ac_cv_func_alloca_works = yes; then
8716 cat >>confdefs.h <<\_ACEOF
8717 #define HAVE_ALLOCA 1
8721 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8722 # that cause trouble. Some versions do not even contain alloca or
8723 # contain a buggy version. If you still want to use their alloca,
8724 # use ar to extract alloca.o from them instead of compiling alloca.c.
8726 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
8728 cat >>confdefs.h <<\_ACEOF
8733 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
8734 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
8735 if test "${ac_cv_os_cray+set}" = set; then
8736 echo $ECHO_N "(cached
) $ECHO_C" >&6
8738 cat >conftest.$ac_ext <<_ACEOF
8741 cat confdefs.h >>conftest.$ac_ext
8742 cat >>conftest.$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8744 #if defined CRAY && ! defined CRAY2
8751 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8752 $EGREP "webecray
" >/dev/null 2>&1; then
8760 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
8761 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
8762 if test $ac_cv_os_cray = yes; then
8763 for ac_func in _getb67 GETB67 getb67; do
8764 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8765 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
8766 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
8767 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8768 echo $ECHO_N "(cached
) $ECHO_C" >&6
8770 cat >conftest.$ac_ext <<_ACEOF
8773 cat confdefs.h >>conftest.$ac_ext
8774 cat >>conftest.$ac_ext <<_ACEOF
8775 /* end confdefs.h. */
8776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8778 #define $ac_func innocuous_$ac_func
8780 /* System header to define __stub macros and hopefully few prototypes,
8781 which can conflict with char $ac_func (); below.
8782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8783 <limits.h> exists even on freestanding compilers. */
8786 # include <limits.h>
8788 # include <assert.h>
8793 /* Override any GCC internal prototype to avoid an error.
8794 Use char because int might match the return type of a GCC
8795 builtin and then its argument prototype would still apply. */
8800 /* The GNU C library defines this for functions which it implements
8801 to always fail with ENOSYS. Some functions are actually named
8802 something starting with __ and the normal name is an alias. */
8803 #if defined __stub_$ac_func || defined __stub___$ac_func
8815 rm -f conftest.$ac_objext conftest$ac_exeext
8816 if { (ac_try="$ac_link"
8818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8819 *) ac_try_echo=$ac_try;;
8821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8822 (eval "$ac_link") 2>conftest.er1
8824 grep -v '^ *+' conftest.er1 >conftest.err
8826 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8828 (exit $ac_status); } && {
8829 test -z "$ac_c_werror_flag" ||
8830 test ! -s conftest.err
8831 } && test -s conftest$ac_exeext &&
8832 $as_test_x conftest$ac_exeext; then
8833 eval "$as_ac_var=yes"
8835 echo "$as_me: failed program was
:" >&5
8836 sed 's/^/| /' conftest.$ac_ext >&5
8838 eval "$as_ac_var=no
"
8841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8842 conftest$ac_exeext conftest.$ac_ext
8844 ac_res=`eval echo '${'$as_ac_var'}'`
8845 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8846 echo "${ECHO_T}$ac_res" >&6; }
8847 if test `eval echo '${'$as_ac_var'}'` = yes; then
8849 cat >>confdefs.h <<_ACEOF
8850 #define CRAY_STACKSEG_END $ac_func
8859 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
8860 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
8861 if test "${ac_cv_c_stack_direction+set}" = set; then
8862 echo $ECHO_N "(cached
) $ECHO_C" >&6
8864 if test "$cross_compiling" = yes; then
8865 ac_cv_c_stack_direction=0
8867 cat >conftest.$ac_ext <<_ACEOF
8870 cat confdefs.h >>conftest.$ac_ext
8871 cat >>conftest.$ac_ext <<_ACEOF
8872 /* end confdefs.h. */
8873 $ac_includes_default
8875 find_stack_direction ()
8877 static char *addr = 0;
8882 return find_stack_direction ();
8885 return (&dummy > addr) ? 1 : -1;
8891 return find_stack_direction () < 0;
8894 rm -f conftest$ac_exeext
8895 if { (ac_try="$ac_link"
8897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8898 *) ac_try_echo=$ac_try;;
8900 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8901 (eval "$ac_link") 2>&5
8903 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8904 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8905 { (case "(($ac_try" in
8906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8907 *) ac_try_echo=$ac_try;;
8909 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8910 (eval "$ac_try") 2>&5
8912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8913 (exit $ac_status); }; }; then
8914 ac_cv_c_stack_direction=1
8916 echo "$as_me: program exited with status
$ac_status" >&5
8917 echo "$as_me: failed program was
:" >&5
8918 sed 's/^/| /' conftest.$ac_ext >&5
8921 ac_cv_c_stack_direction=-1
8923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8928 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
8929 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
8931 cat >>confdefs.h <<_ACEOF
8932 #define STACK_DIRECTION $ac_cv_c_stack_direction
8944 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8945 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8946 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8947 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8948 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8949 echo $ECHO_N "(cached
) $ECHO_C" >&6
8951 cat >conftest.$ac_ext <<_ACEOF
8954 cat confdefs.h >>conftest.$ac_ext
8955 cat >>conftest.$ac_ext <<_ACEOF
8956 /* end confdefs.h. */
8957 #include <sys/types.h>
8969 rm -f conftest.$ac_objext
8970 if { (ac_try="$ac_compile"
8972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8973 *) ac_try_echo=$ac_try;;
8975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8976 (eval "$ac_compile") 2>conftest.er1
8978 grep -v '^ *+' conftest.er1 >conftest.err
8980 cat conftest.err >&5
8981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8982 (exit $ac_status); } && {
8983 test -z "$ac_c_werror_flag" ||
8984 test ! -s conftest.err
8985 } && test -s conftest.$ac_objext; then
8986 eval "$as_ac_Header=yes"
8988 echo "$as_me: failed program was
:" >&5
8989 sed 's/^/| /' conftest.$ac_ext >&5
8991 eval "$as_ac_Header=no
"
8994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8996 ac_res=`eval echo '${'$as_ac_Header'}'`
8997 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8998 echo "${ECHO_T}$ac_res" >&6; }
8999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9000 cat >>confdefs.h <<_ACEOF
9001 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
9004 ac_header_dirent=$ac_hdr; break
9008 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9009 if test $ac_header_dirent = dirent.h; then
9010 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
9011 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
9012 if test "${ac_cv_search_opendir+set}" = set; then
9013 echo $ECHO_N "(cached
) $ECHO_C" >&6
9015 ac_func_search_save_LIBS=$LIBS
9016 cat >conftest.$ac_ext <<_ACEOF
9019 cat confdefs.h >>conftest.$ac_ext
9020 cat >>conftest.$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9023 /* Override any GCC internal prototype to avoid an error.
9024 Use char because int might match the return type of a GCC
9025 builtin and then its argument prototype would still apply. */
9038 for ac_lib in '' dir; do
9039 if test -z "$ac_lib"; then
9040 ac_res="none required
"
9043 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9045 rm -f conftest.$ac_objext conftest$ac_exeext
9046 if { (ac_try="$ac_link"
9048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9049 *) ac_try_echo=$ac_try;;
9051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9052 (eval "$ac_link") 2>conftest.er1
9054 grep -v '^ *+' conftest.er1 >conftest.err
9056 cat conftest.err >&5
9057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9058 (exit $ac_status); } && {
9059 test -z "$ac_c_werror_flag" ||
9060 test ! -s conftest.err
9061 } && test -s conftest$ac_exeext &&
9062 $as_test_x conftest$ac_exeext; then
9063 ac_cv_search_opendir=$ac_res
9065 echo "$as_me: failed program was
:" >&5
9066 sed 's/^/| /' conftest.$ac_ext >&5
9071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9073 if test "${ac_cv_search_opendir+set}" = set; then
9077 if test "${ac_cv_search_opendir+set}" = set; then
9080 ac_cv_search_opendir=no
9083 LIBS=$ac_func_search_save_LIBS
9085 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9086 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9087 ac_res=$ac_cv_search_opendir
9088 if test "$ac_res" != no; then
9089 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9094 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
9095 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
9096 if test "${ac_cv_search_opendir+set}" = set; then
9097 echo $ECHO_N "(cached
) $ECHO_C" >&6
9099 ac_func_search_save_LIBS=$LIBS
9100 cat >conftest.$ac_ext <<_ACEOF
9103 cat confdefs.h >>conftest.$ac_ext
9104 cat >>conftest.$ac_ext <<_ACEOF
9105 /* end confdefs.h. */
9107 /* Override any GCC internal prototype to avoid an error.
9108 Use char because int might match the return type of a GCC
9109 builtin and then its argument prototype would still apply. */
9122 for ac_lib in '' x; do
9123 if test -z "$ac_lib"; then
9124 ac_res="none required
"
9127 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9129 rm -f conftest.$ac_objext conftest$ac_exeext
9130 if { (ac_try="$ac_link"
9132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9133 *) ac_try_echo=$ac_try;;
9135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9136 (eval "$ac_link") 2>conftest.er1
9138 grep -v '^ *+' conftest.er1 >conftest.err
9140 cat conftest.err >&5
9141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9142 (exit $ac_status); } && {
9143 test -z "$ac_c_werror_flag" ||
9144 test ! -s conftest.err
9145 } && test -s conftest$ac_exeext &&
9146 $as_test_x conftest$ac_exeext; then
9147 ac_cv_search_opendir=$ac_res
9149 echo "$as_me: failed program was
:" >&5
9150 sed 's/^/| /' conftest.$ac_ext >&5
9155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9157 if test "${ac_cv_search_opendir+set}" = set; then
9161 if test "${ac_cv_search_opendir+set}" = set; then
9164 ac_cv_search_opendir=no
9167 LIBS=$ac_func_search_save_LIBS
9169 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9170 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9171 ac_res=$ac_cv_search_opendir
9172 if test "$ac_res" != no; then
9173 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9179 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
9180 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
9181 if test "${ac_cv_header_stdc+set}" = set; then
9182 echo $ECHO_N "(cached
) $ECHO_C" >&6
9184 cat >conftest.$ac_ext <<_ACEOF
9187 cat confdefs.h >>conftest.$ac_ext
9188 cat >>conftest.$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9203 rm -f conftest.$ac_objext
9204 if { (ac_try="$ac_compile"
9206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9207 *) ac_try_echo=$ac_try;;
9209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9210 (eval "$ac_compile") 2>conftest.er1
9212 grep -v '^ *+' conftest.er1 >conftest.err
9214 cat conftest.err >&5
9215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9216 (exit $ac_status); } && {
9217 test -z "$ac_c_werror_flag" ||
9218 test ! -s conftest.err
9219 } && test -s conftest.$ac_objext; then
9220 ac_cv_header_stdc=yes
9222 echo "$as_me: failed program was
:" >&5
9223 sed 's/^/| /' conftest.$ac_ext >&5
9225 ac_cv_header_stdc=no
9228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9230 if test $ac_cv_header_stdc = yes; then
9231 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9232 cat >conftest.$ac_ext <<_ACEOF
9235 cat confdefs.h >>conftest.$ac_ext
9236 cat >>conftest.$ac_ext <<_ACEOF
9237 /* end confdefs.h. */
9241 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9242 $EGREP "memchr
" >/dev/null 2>&1; then
9245 ac_cv_header_stdc=no
9251 if test $ac_cv_header_stdc = yes; then
9252 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9253 cat >conftest.$ac_ext <<_ACEOF
9256 cat confdefs.h >>conftest.$ac_ext
9257 cat >>conftest.$ac_ext <<_ACEOF
9258 /* end confdefs.h. */
9262 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9263 $EGREP "free
" >/dev/null 2>&1; then
9266 ac_cv_header_stdc=no
9272 if test $ac_cv_header_stdc = yes; then
9273 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9274 if test "$cross_compiling" = yes; then
9277 cat >conftest.$ac_ext <<_ACEOF
9280 cat confdefs.h >>conftest.$ac_ext
9281 cat >>conftest.$ac_ext <<_ACEOF
9282 /* end confdefs.h. */
9285 #if ((' ' & 0x0FF) == 0x020)
9286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9289 # define ISLOWER(c) \
9290 (('a' <= (c) && (c) <= 'i') \
9291 || ('j' <= (c) && (c) <= 'r') \
9292 || ('s' <= (c) && (c) <= 'z'))
9293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9301 for (i = 0; i < 256; i++)
9302 if (XOR (islower (i), ISLOWER (i))
9303 || toupper (i) != TOUPPER (i))
9308 rm -f conftest$ac_exeext
9309 if { (ac_try="$ac_link"
9311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9312 *) ac_try_echo=$ac_try;;
9314 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9315 (eval "$ac_link") 2>&5
9317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9319 { (case "(($ac_try" in
9320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9321 *) ac_try_echo=$ac_try;;
9323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9324 (eval "$ac_try") 2>&5
9326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9327 (exit $ac_status); }; }; then
9330 echo "$as_me: program exited with status
$ac_status" >&5
9331 echo "$as_me: failed program was
:" >&5
9332 sed 's/^/| /' conftest.$ac_ext >&5
9335 ac_cv_header_stdc=no
9337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9343 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
9344 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
9345 if test $ac_cv_header_stdc = yes; then
9347 cat >>confdefs.h <<\_ACEOF
9348 #define STDC_HEADERS 1
9353 { echo "$as_me:$LINENO: checking
for sys
/wait.h that is POSIX
.1 compatible
" >&5
9354 echo $ECHO_N "checking
for sys
/wait.h that is POSIX
.1 compatible...
$ECHO_C" >&6; }
9355 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9356 echo $ECHO_N "(cached
) $ECHO_C" >&6
9358 cat >conftest.$ac_ext <<_ACEOF
9361 cat confdefs.h >>conftest.$ac_ext
9362 cat >>conftest.$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9364 #include <sys/types.h>
9365 #include <sys/wait.h>
9367 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9370 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9378 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9383 rm -f conftest.$ac_objext
9384 if { (ac_try="$ac_compile"
9386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9387 *) ac_try_echo=$ac_try;;
9389 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9390 (eval "$ac_compile") 2>conftest.er1
9392 grep -v '^ *+' conftest.er1 >conftest.err
9394 cat conftest.err >&5
9395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9396 (exit $ac_status); } && {
9397 test -z "$ac_c_werror_flag" ||
9398 test ! -s conftest.err
9399 } && test -s conftest.$ac_objext; then
9400 ac_cv_header_sys_wait_h=yes
9402 echo "$as_me: failed program was
:" >&5
9403 sed 's/^/| /' conftest.$ac_ext >&5
9405 ac_cv_header_sys_wait_h=no
9408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9410 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_wait_h" >&5
9411 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
9412 if test $ac_cv_header_sys_wait_h = yes; then
9414 cat >>confdefs.h <<\_ACEOF
9415 #define HAVE_SYS_WAIT_H 1
9443 for ac_header in arpa/inet.h fcntl.h inttypes.h libintl.h limits.h locale.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h utime.h
9445 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9446 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9447 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9448 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9449 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9450 echo $ECHO_N "(cached
) $ECHO_C" >&6
9452 ac_res=`eval echo '${'$as_ac_Header'}'`
9453 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9454 echo "${ECHO_T}$ac_res" >&6; }
9456 # Is the header compilable?
9457 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9458 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
9459 cat >conftest.$ac_ext <<_ACEOF
9462 cat confdefs.h >>conftest.$ac_ext
9463 cat >>conftest.$ac_ext <<_ACEOF
9464 /* end confdefs.h. */
9465 $ac_includes_default
9466 #include <$ac_header>
9468 rm -f conftest.$ac_objext
9469 if { (ac_try="$ac_compile"
9471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9472 *) ac_try_echo=$ac_try;;
9474 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9475 (eval "$ac_compile") 2>conftest.er1
9477 grep -v '^ *+' conftest.er1 >conftest.err
9479 cat conftest.err >&5
9480 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9481 (exit $ac_status); } && {
9482 test -z "$ac_c_werror_flag" ||
9483 test ! -s conftest.err
9484 } && test -s conftest.$ac_objext; then
9485 ac_header_compiler=yes
9487 echo "$as_me: failed program was
:" >&5
9488 sed 's/^/| /' conftest.$ac_ext >&5
9490 ac_header_compiler=no
9493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9494 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9495 echo "${ECHO_T}$ac_header_compiler" >&6; }
9497 # Is the header present?
9498 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9499 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
9500 cat >conftest.$ac_ext <<_ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9506 #include <$ac_header>
9508 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9511 *) ac_try_echo=$ac_try;;
9513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9514 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9516 grep -v '^ *+' conftest.er1 >conftest.err
9518 cat conftest.err >&5
9519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9520 (exit $ac_status); } >/dev/null && {
9521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9522 test ! -s conftest.err
9524 ac_header_preproc=yes
9526 echo "$as_me: failed program was
:" >&5
9527 sed 's/^/| /' conftest.$ac_ext >&5
9529 ac_header_preproc=no
9532 rm -f conftest.err conftest.$ac_ext
9533 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9534 echo "${ECHO_T}$ac_header_preproc" >&6; }
9536 # So? What about this header?
9537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9539 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9540 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9541 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9542 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9543 ac_header_preproc=yes
9546 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9547 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9548 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9549 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9550 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9551 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9552 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9553 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9554 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9556 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9557 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9561 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9562 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9563 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9564 echo $ECHO_N "(cached
) $ECHO_C" >&6
9566 eval "$as_ac_Header=\
$ac_header_preproc"
9568 ac_res=`eval echo '${'$as_ac_Header'}'`
9569 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9570 echo "${ECHO_T}$ac_res" >&6; }
9573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9574 cat >>confdefs.h <<_ACEOF
9575 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9583 # Check whether --enable-largefile was given.
9584 if test "${enable_largefile+set}" = set; then
9585 enableval=$enable_largefile;
9588 if test "$enable_largefile" != no; then
9590 { echo "$as_me:$LINENO: checking
for special C compiler options needed
for large files
" >&5
9591 echo $ECHO_N "checking
for special C compiler options needed
for large files...
$ECHO_C" >&6; }
9592 if test "${ac_cv_sys_largefile_CC+set}" = set; then
9593 echo $ECHO_N "(cached
) $ECHO_C" >&6
9595 ac_cv_sys_largefile_CC=no
9596 if test "$GCC" != yes; then
9599 # IRIX 6.2 and later do not support large files by default,
9600 # so use the C compiler's -n32 option if that helps.
9601 cat >conftest.$ac_ext <<_ACEOF
9604 cat confdefs.h >>conftest.$ac_ext
9605 cat >>conftest.$ac_ext <<_ACEOF
9606 /* end confdefs.h. */
9607 #include <sys/types.h>
9608 /* Check that off_t can represent 2**63 - 1 correctly.
9609 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9610 since some C++ compilers masquerading as C compilers
9611 incorrectly reject 9223372036854775807. */
9612 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9613 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9614 && LARGE_OFF_T % 2147483647 == 1)
9624 rm -f conftest.$ac_objext
9625 if { (ac_try="$ac_compile"
9627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9628 *) ac_try_echo=$ac_try;;
9630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9631 (eval "$ac_compile") 2>conftest.er1
9633 grep -v '^ *+' conftest.er1 >conftest.err
9635 cat conftest.err >&5
9636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9637 (exit $ac_status); } && {
9638 test -z "$ac_c_werror_flag" ||
9639 test ! -s conftest.err
9640 } && test -s conftest.$ac_objext; then
9643 echo "$as_me: failed program was
:" >&5
9644 sed 's/^/| /' conftest.$ac_ext >&5
9649 rm -f core conftest.err conftest.$ac_objext
9651 rm -f conftest.$ac_objext
9652 if { (ac_try="$ac_compile"
9654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9655 *) ac_try_echo=$ac_try;;
9657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9658 (eval "$ac_compile") 2>conftest.er1
9660 grep -v '^ *+' conftest.er1 >conftest.err
9662 cat conftest.err >&5
9663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9664 (exit $ac_status); } && {
9665 test -z "$ac_c_werror_flag" ||
9666 test ! -s conftest.err
9667 } && test -s conftest.$ac_objext; then
9668 ac_cv_sys_largefile_CC=' -n32'; break
9670 echo "$as_me: failed program was
:" >&5
9671 sed 's/^/| /' conftest.$ac_ext >&5
9676 rm -f core conftest.err conftest.$ac_objext
9680 rm -f conftest.$ac_ext
9683 { echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_CC" >&5
9684 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
9685 if test "$ac_cv_sys_largefile_CC" != no; then
9686 CC=$CC$ac_cv_sys_largefile_CC
9689 { echo "$as_me:$LINENO: checking
for _FILE_OFFSET_BITS value needed
for large files
" >&5
9690 echo $ECHO_N "checking
for _FILE_OFFSET_BITS value needed
for large files...
$ECHO_C" >&6; }
9691 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9692 echo $ECHO_N "(cached
) $ECHO_C" >&6
9695 cat >conftest.$ac_ext <<_ACEOF
9698 cat confdefs.h >>conftest.$ac_ext
9699 cat >>conftest.$ac_ext <<_ACEOF
9700 /* end confdefs.h. */
9701 #include <sys/types.h>
9702 /* Check that off_t can represent 2**63 - 1 correctly.
9703 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9704 since some C++ compilers masquerading as C compilers
9705 incorrectly reject 9223372036854775807. */
9706 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9707 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9708 && LARGE_OFF_T % 2147483647 == 1)
9718 rm -f conftest.$ac_objext
9719 if { (ac_try="$ac_compile"
9721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9722 *) ac_try_echo=$ac_try;;
9724 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9725 (eval "$ac_compile") 2>conftest.er1
9727 grep -v '^ *+' conftest.er1 >conftest.err
9729 cat conftest.err >&5
9730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9731 (exit $ac_status); } && {
9732 test -z "$ac_c_werror_flag" ||
9733 test ! -s conftest.err
9734 } && test -s conftest.$ac_objext; then
9735 ac_cv_sys_file_offset_bits=no; break
9737 echo "$as_me: failed program was
:" >&5
9738 sed 's/^/| /' conftest.$ac_ext >&5
9743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9744 cat >conftest.$ac_ext <<_ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9750 #define _FILE_OFFSET_BITS 64
9751 #include <sys/types.h>
9752 /* Check that off_t can represent 2**63 - 1 correctly.
9753 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9754 since some C++ compilers masquerading as C compilers
9755 incorrectly reject 9223372036854775807. */
9756 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9757 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9758 && LARGE_OFF_T % 2147483647 == 1)
9768 rm -f conftest.$ac_objext
9769 if { (ac_try="$ac_compile"
9771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9772 *) ac_try_echo=$ac_try;;
9774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9775 (eval "$ac_compile") 2>conftest.er1
9777 grep -v '^ *+' conftest.er1 >conftest.err
9779 cat conftest.err >&5
9780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9781 (exit $ac_status); } && {
9782 test -z "$ac_c_werror_flag" ||
9783 test ! -s conftest.err
9784 } && test -s conftest.$ac_objext; then
9785 ac_cv_sys_file_offset_bits=64; break
9787 echo "$as_me: failed program was
:" >&5
9788 sed 's/^/| /' conftest.$ac_ext >&5
9793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9794 ac_cv_sys_file_offset_bits=unknown
9798 { echo "$as_me:$LINENO: result
: $ac_cv_sys_file_offset_bits" >&5
9799 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
9800 case $ac_cv_sys_file_offset_bits in #(
9803 cat >>confdefs.h <<_ACEOF
9804 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
9809 if test $ac_cv_sys_file_offset_bits = unknown; then
9810 { echo "$as_me:$LINENO: checking
for _LARGE_FILES value needed
for large files
" >&5
9811 echo $ECHO_N "checking
for _LARGE_FILES value needed
for large files...
$ECHO_C" >&6; }
9812 if test "${ac_cv_sys_large_files+set}" = set; then
9813 echo $ECHO_N "(cached
) $ECHO_C" >&6
9816 cat >conftest.$ac_ext <<_ACEOF
9819 cat confdefs.h >>conftest.$ac_ext
9820 cat >>conftest.$ac_ext <<_ACEOF
9821 /* end confdefs.h. */
9822 #include <sys/types.h>
9823 /* Check that off_t can represent 2**63 - 1 correctly.
9824 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9825 since some C++ compilers masquerading as C compilers
9826 incorrectly reject 9223372036854775807. */
9827 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9828 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9829 && LARGE_OFF_T % 2147483647 == 1)
9839 rm -f conftest.$ac_objext
9840 if { (ac_try="$ac_compile"
9842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9843 *) ac_try_echo=$ac_try;;
9845 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9846 (eval "$ac_compile") 2>conftest.er1
9848 grep -v '^ *+' conftest.er1 >conftest.err
9850 cat conftest.err >&5
9851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9852 (exit $ac_status); } && {
9853 test -z "$ac_c_werror_flag" ||
9854 test ! -s conftest.err
9855 } && test -s conftest.$ac_objext; then
9856 ac_cv_sys_large_files=no; break
9858 echo "$as_me: failed program was
:" >&5
9859 sed 's/^/| /' conftest.$ac_ext >&5
9864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9865 cat >conftest.$ac_ext <<_ACEOF
9868 cat confdefs.h >>conftest.$ac_ext
9869 cat >>conftest.$ac_ext <<_ACEOF
9870 /* end confdefs.h. */
9871 #define _LARGE_FILES 1
9872 #include <sys/types.h>
9873 /* Check that off_t can represent 2**63 - 1 correctly.
9874 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9875 since some C++ compilers masquerading as C compilers
9876 incorrectly reject 9223372036854775807. */
9877 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9878 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9879 && LARGE_OFF_T % 2147483647 == 1)
9889 rm -f conftest.$ac_objext
9890 if { (ac_try="$ac_compile"
9892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9893 *) ac_try_echo=$ac_try;;
9895 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9896 (eval "$ac_compile") 2>conftest.er1
9898 grep -v '^ *+' conftest.er1 >conftest.err
9900 cat conftest.err >&5
9901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9902 (exit $ac_status); } && {
9903 test -z "$ac_c_werror_flag" ||
9904 test ! -s conftest.err
9905 } && test -s conftest.$ac_objext; then
9906 ac_cv_sys_large_files=1; break
9908 echo "$as_me: failed program was
:" >&5
9909 sed 's/^/| /' conftest.$ac_ext >&5
9914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9915 ac_cv_sys_large_files=unknown
9919 { echo "$as_me:$LINENO: result
: $ac_cv_sys_large_files" >&5
9920 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
9921 case $ac_cv_sys_large_files in #(
9924 cat >>confdefs.h <<_ACEOF
9925 #define _LARGE_FILES $ac_cv_sys_large_files
9934 # Checks for typedefs, structures, and compiler characteristics.
9935 { echo "$as_me:$LINENO: checking
for stdbool.h that conforms to C99
" >&5
9936 echo $ECHO_N "checking
for stdbool.h that conforms to C99...
$ECHO_C" >&6; }
9937 if test "${ac_cv_header_stdbool_h+set}" = set; then
9938 echo $ECHO_N "(cached
) $ECHO_C" >&6
9940 cat >conftest.$ac_ext <<_ACEOF
9943 cat confdefs.h >>conftest.$ac_ext
9944 cat >>conftest.$ac_ext <<_ACEOF
9945 /* end confdefs.h. */
9947 #include <stdbool.h>
9949 "error
: bool is not defined
"
9952 "error
: false is not defined
"
9955 "error
: false is not
0"
9958 "error
: true is not defined
"
9961 "error
: true is not
1"
9963 #ifndef __bool_true_false_are_defined
9964 "error
: __bool_true_false_are_defined is not defined
"
9967 struct s { _Bool s: 1; _Bool t; } s;
9969 char a[true == 1 ? 1 : -1];
9970 char b[false == 0 ? 1 : -1];
9971 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9972 char d[(bool) 0.5 == true ? 1 : -1];
9974 char f[(_Bool) 0.0 == false ? 1 : -1];
9976 char h[sizeof (_Bool)];
9978 enum { j = false, k = true, l = false * true, m = true * 256 };
9980 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
9981 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
9982 # if defined __xlc__ || defined __GNUC__
9983 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
9984 reported by James Lemley on 2005-10-05; see
9985 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
9986 This test is not quite right, since xlc is allowed to
9987 reject this program, as the initializer for xlcbug is
9988 not one of the forms that C requires support for.
9989 However, doing the test right would require a runtime
9990 test, and that would make cross-compilation harder.
9991 Let us hope that IBM fixes the xlc bug, and also adds
9992 support for this kind of constant expression. In the
9993 meantime, this test will reject xlc, which is OK, since
9994 our stdbool.h substitute should suffice. We also test
9995 this with GCC, where it should work, to detect more
9996 quickly whether someone messes up the test in the
9998 char digs[] = "0123456789";
9999 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
10001 /* Catch a bug in an HP-UX C compiler. See
10002 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
10003 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
10014 /* Refer to every declared value, to avoid compiler optimizations. */
10015 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
10016 + !m + !n + !o + !p + !q + !pq);
10022 rm -f conftest.$ac_objext
10023 if { (ac_try="$ac_compile"
10024 case "(($ac_try" in
10025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10026 *) ac_try_echo=$ac_try;;
10028 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10029 (eval "$ac_compile") 2>conftest.er1
10031 grep -v '^ *+' conftest.er1 >conftest.err
10033 cat conftest.err >&5
10034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10035 (exit $ac_status); } && {
10036 test -z "$ac_c_werror_flag" ||
10037 test ! -s conftest.err
10038 } && test -s conftest.$ac_objext; then
10039 ac_cv_header_stdbool_h=yes
10041 echo "$as_me: failed program was
:" >&5
10042 sed 's/^/| /' conftest.$ac_ext >&5
10044 ac_cv_header_stdbool_h=no
10047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10049 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdbool_h" >&5
10050 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
10051 { echo "$as_me:$LINENO: checking
for _Bool
" >&5
10052 echo $ECHO_N "checking
for _Bool...
$ECHO_C" >&6; }
10053 if test "${ac_cv_type__Bool+set}" = set; then
10054 echo $ECHO_N "(cached
) $ECHO_C" >&6
10056 cat >conftest.$ac_ext <<_ACEOF
10059 cat confdefs.h >>conftest.$ac_ext
10060 cat >>conftest.$ac_ext <<_ACEOF
10061 /* end confdefs.h. */
10062 $ac_includes_default
10063 typedef _Bool ac__type_new_;
10067 if ((ac__type_new_ *) 0)
10069 if (sizeof (ac__type_new_))
10075 rm -f conftest.$ac_objext
10076 if { (ac_try="$ac_compile"
10077 case "(($ac_try" in
10078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10079 *) ac_try_echo=$ac_try;;
10081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10082 (eval "$ac_compile") 2>conftest.er1
10084 grep -v '^ *+' conftest.er1 >conftest.err
10086 cat conftest.err >&5
10087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10088 (exit $ac_status); } && {
10089 test -z "$ac_c_werror_flag" ||
10090 test ! -s conftest.err
10091 } && test -s conftest.$ac_objext; then
10092 ac_cv_type__Bool=yes
10094 echo "$as_me: failed program was
:" >&5
10095 sed 's/^/| /' conftest.$ac_ext >&5
10097 ac_cv_type__Bool=no
10100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10102 { echo "$as_me:$LINENO: result
: $ac_cv_type__Bool" >&5
10103 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
10104 if test $ac_cv_type__Bool = yes; then
10106 cat >>confdefs.h <<_ACEOF
10107 #define HAVE__BOOL 1
10113 if test $ac_cv_header_stdbool_h = yes; then
10115 cat >>confdefs.h <<\_ACEOF
10116 #define HAVE_STDBOOL_H 1
10121 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
10122 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
10123 if test "${ac_cv_c_const+set}" = set; then
10124 echo $ECHO_N "(cached
) $ECHO_C" >&6
10126 cat >conftest.$ac_ext <<_ACEOF
10129 cat confdefs.h >>conftest.$ac_ext
10130 cat >>conftest.$ac_ext <<_ACEOF
10131 /* end confdefs.h. */
10136 /* FIXME: Include the comments suggested by Paul. */
10137 #ifndef __cplusplus
10138 /* Ultrix mips cc rejects this. */
10139 typedef int charset[2];
10141 /* SunOS 4.1.1 cc rejects this. */
10142 char const *const *pcpcc;
10144 /* NEC SVR4.0.2 mips cc rejects this. */
10145 struct point {int x, y;};
10146 static struct point const zero = {0,0};
10147 /* AIX XL C 1.02.0.0 rejects this.
10148 It does not let you subtract one const X* pointer from another in
10149 an arm of an if-expression whose if-part is not a constant
10151 const char *g = "string
";
10152 pcpcc = &g + (g ? g-g : 0);
10153 /* HPUX 7.0 cc rejects these. */
10155 ppc = (char**) pcpcc;
10156 pcpcc = (char const *const *) ppc;
10157 { /* SCO 3.2v4 cc rejects this. */
10159 char const *s = 0 ? (char *) 0 : (char const *) 0;
10164 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10165 int x[] = {25, 17};
10166 const int *foo = &x[0];
10169 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10170 typedef const int *iptr;
10174 { /* AIX XL C 1.02.0.0 rejects this saying
10175 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10176 struct s { int j; const int *ap[3]; };
10177 struct s *b; b->j = 5;
10179 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10180 const int foo = 10;
10181 if (!foo) return 0;
10183 return !cs[0] && !zero.x;
10190 rm -f conftest.$ac_objext
10191 if { (ac_try="$ac_compile"
10192 case "(($ac_try" in
10193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10194 *) ac_try_echo=$ac_try;;
10196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10197 (eval "$ac_compile") 2>conftest.er1
10199 grep -v '^ *+' conftest.er1 >conftest.err
10201 cat conftest.err >&5
10202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10203 (exit $ac_status); } && {
10204 test -z "$ac_c_werror_flag" ||
10205 test ! -s conftest.err
10206 } && test -s conftest.$ac_objext; then
10209 echo "$as_me: failed program was
:" >&5
10210 sed 's/^/| /' conftest.$ac_ext >&5
10215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10217 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
10218 echo "${ECHO_T}$ac_cv_c_const" >&6; }
10219 if test $ac_cv_c_const = no; then
10221 cat >>confdefs.h <<\_ACEOF
10227 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
10228 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
10229 if test "${ac_cv_type_uid_t+set}" = set; then
10230 echo $ECHO_N "(cached
) $ECHO_C" >&6
10232 cat >conftest.$ac_ext <<_ACEOF
10235 cat confdefs.h >>conftest.$ac_ext
10236 cat >>conftest.$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10238 #include <sys/types.h>
10241 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
10242 $EGREP "uid_t
" >/dev/null 2>&1; then
10243 ac_cv_type_uid_t=yes
10245 ac_cv_type_uid_t=no
10250 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
10251 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
10252 if test $ac_cv_type_uid_t = no; then
10254 cat >>confdefs.h <<\_ACEOF
10259 cat >>confdefs.h <<\_ACEOF
10265 { echo "$as_me:$LINENO: checking
for inline
" >&5
10266 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
10267 if test "${ac_cv_c_inline+set}" = set; then
10268 echo $ECHO_N "(cached
) $ECHO_C" >&6
10271 for ac_kw in inline __inline__ __inline; do
10272 cat >conftest.$ac_ext <<_ACEOF
10275 cat confdefs.h >>conftest.$ac_ext
10276 cat >>conftest.$ac_ext <<_ACEOF
10277 /* end confdefs.h. */
10278 #ifndef __cplusplus
10280 static $ac_kw foo_t static_foo () {return 0; }
10281 $ac_kw foo_t foo () {return 0; }
10285 rm -f conftest.$ac_objext
10286 if { (ac_try="$ac_compile"
10287 case "(($ac_try" in
10288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10289 *) ac_try_echo=$ac_try;;
10291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10292 (eval "$ac_compile") 2>conftest.er1
10294 grep -v '^ *+' conftest.er1 >conftest.err
10296 cat conftest.err >&5
10297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10298 (exit $ac_status); } && {
10299 test -z "$ac_c_werror_flag" ||
10300 test ! -s conftest.err
10301 } && test -s conftest.$ac_objext; then
10302 ac_cv_c_inline=$ac_kw
10304 echo "$as_me: failed program was
:" >&5
10305 sed 's/^/| /' conftest.$ac_ext >&5
10310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10311 test "$ac_cv_c_inline" != no && break
10315 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
10316 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
10319 case $ac_cv_c_inline in
10322 case $ac_cv_c_inline in
10324 *) ac_val=$ac_cv_c_inline;;
10326 cat >>confdefs.h <<_ACEOF
10327 #ifndef __cplusplus
10328 #define inline $ac_val
10334 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
10335 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
10336 if test "${ac_cv_type_mode_t+set}" = set; then
10337 echo $ECHO_N "(cached
) $ECHO_C" >&6
10339 cat >conftest.$ac_ext <<_ACEOF
10342 cat confdefs.h >>conftest.$ac_ext
10343 cat >>conftest.$ac_ext <<_ACEOF
10344 /* end confdefs.h. */
10345 $ac_includes_default
10346 typedef mode_t ac__type_new_;
10350 if ((ac__type_new_ *) 0)
10352 if (sizeof (ac__type_new_))
10358 rm -f conftest.$ac_objext
10359 if { (ac_try="$ac_compile"
10360 case "(($ac_try" in
10361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10362 *) ac_try_echo=$ac_try;;
10364 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10365 (eval "$ac_compile") 2>conftest.er1
10367 grep -v '^ *+' conftest.er1 >conftest.err
10369 cat conftest.err >&5
10370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10371 (exit $ac_status); } && {
10372 test -z "$ac_c_werror_flag" ||
10373 test ! -s conftest.err
10374 } && test -s conftest.$ac_objext; then
10375 ac_cv_type_mode_t=yes
10377 echo "$as_me: failed program was
:" >&5
10378 sed 's/^/| /' conftest.$ac_ext >&5
10380 ac_cv_type_mode_t=no
10383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10385 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
10386 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
10387 if test $ac_cv_type_mode_t = yes; then
10391 cat >>confdefs.h <<_ACEOF
10397 { echo "$as_me:$LINENO: checking
for off_t
" >&5
10398 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
10399 if test "${ac_cv_type_off_t+set}" = set; then
10400 echo $ECHO_N "(cached
) $ECHO_C" >&6
10402 cat >conftest.$ac_ext <<_ACEOF
10405 cat confdefs.h >>conftest.$ac_ext
10406 cat >>conftest.$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10408 $ac_includes_default
10409 typedef off_t ac__type_new_;
10413 if ((ac__type_new_ *) 0)
10415 if (sizeof (ac__type_new_))
10421 rm -f conftest.$ac_objext
10422 if { (ac_try="$ac_compile"
10423 case "(($ac_try" in
10424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10425 *) ac_try_echo=$ac_try;;
10427 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10428 (eval "$ac_compile") 2>conftest.er1
10430 grep -v '^ *+' conftest.er1 >conftest.err
10432 cat conftest.err >&5
10433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10434 (exit $ac_status); } && {
10435 test -z "$ac_c_werror_flag" ||
10436 test ! -s conftest.err
10437 } && test -s conftest.$ac_objext; then
10438 ac_cv_type_off_t=yes
10440 echo "$as_me: failed program was
:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10443 ac_cv_type_off_t=no
10446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10448 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
10449 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
10450 if test $ac_cv_type_off_t = yes; then
10454 cat >>confdefs.h <<_ACEOF
10455 #define off_t long int
10460 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
10461 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
10462 if test "${ac_cv_type_pid_t+set}" = set; then
10463 echo $ECHO_N "(cached
) $ECHO_C" >&6
10465 cat >conftest.$ac_ext <<_ACEOF
10468 cat confdefs.h >>conftest.$ac_ext
10469 cat >>conftest.$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10471 $ac_includes_default
10472 typedef pid_t ac__type_new_;
10476 if ((ac__type_new_ *) 0)
10478 if (sizeof (ac__type_new_))
10484 rm -f conftest.$ac_objext
10485 if { (ac_try="$ac_compile"
10486 case "(($ac_try" in
10487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10488 *) ac_try_echo=$ac_try;;
10490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10491 (eval "$ac_compile") 2>conftest.er1
10493 grep -v '^ *+' conftest.er1 >conftest.err
10495 cat conftest.err >&5
10496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10497 (exit $ac_status); } && {
10498 test -z "$ac_c_werror_flag" ||
10499 test ! -s conftest.err
10500 } && test -s conftest.$ac_objext; then
10501 ac_cv_type_pid_t=yes
10503 echo "$as_me: failed program was
:" >&5
10504 sed 's/^/| /' conftest.$ac_ext >&5
10506 ac_cv_type_pid_t=no
10509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10511 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
10512 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
10513 if test $ac_cv_type_pid_t = yes; then
10517 cat >>confdefs.h <<_ACEOF
10523 { echo "$as_me:$LINENO: checking
for size_t
" >&5
10524 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
10525 if test "${ac_cv_type_size_t+set}" = set; then
10526 echo $ECHO_N "(cached
) $ECHO_C" >&6
10528 cat >conftest.$ac_ext <<_ACEOF
10531 cat confdefs.h >>conftest.$ac_ext
10532 cat >>conftest.$ac_ext <<_ACEOF
10533 /* end confdefs.h. */
10534 $ac_includes_default
10535 typedef size_t ac__type_new_;
10539 if ((ac__type_new_ *) 0)
10541 if (sizeof (ac__type_new_))
10547 rm -f conftest.$ac_objext
10548 if { (ac_try="$ac_compile"
10549 case "(($ac_try" in
10550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10551 *) ac_try_echo=$ac_try;;
10553 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10554 (eval "$ac_compile") 2>conftest.er1
10556 grep -v '^ *+' conftest.er1 >conftest.err
10558 cat conftest.err >&5
10559 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10560 (exit $ac_status); } && {
10561 test -z "$ac_c_werror_flag" ||
10562 test ! -s conftest.err
10563 } && test -s conftest.$ac_objext; then
10564 ac_cv_type_size_t=yes
10566 echo "$as_me: failed program was
:" >&5
10567 sed 's/^/| /' conftest.$ac_ext >&5
10569 ac_cv_type_size_t=no
10572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10574 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
10575 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
10576 if test $ac_cv_type_size_t = yes; then
10580 cat >>confdefs.h <<_ACEOF
10581 #define size_t unsigned int
10586 { echo "$as_me:$LINENO: checking
for struct stat.st_blksize
" >&5
10587 echo $ECHO_N "checking
for struct stat.st_blksize...
$ECHO_C" >&6; }
10588 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
10589 echo $ECHO_N "(cached
) $ECHO_C" >&6
10591 cat >conftest.$ac_ext <<_ACEOF
10594 cat confdefs.h >>conftest.$ac_ext
10595 cat >>conftest.$ac_ext <<_ACEOF
10596 /* end confdefs.h. */
10597 $ac_includes_default
10601 static struct stat ac_aggr;
10602 if (ac_aggr.st_blksize)
10608 rm -f conftest.$ac_objext
10609 if { (ac_try="$ac_compile"
10610 case "(($ac_try" in
10611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_compile") 2>conftest.er1
10617 grep -v '^ *+' conftest.er1 >conftest.err
10619 cat conftest.err >&5
10620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10621 (exit $ac_status); } && {
10622 test -z "$ac_c_werror_flag" ||
10623 test ! -s conftest.err
10624 } && test -s conftest.$ac_objext; then
10625 ac_cv_member_struct_stat_st_blksize=yes
10627 echo "$as_me: failed program was
:" >&5
10628 sed 's/^/| /' conftest.$ac_ext >&5
10630 cat >conftest.$ac_ext <<_ACEOF
10633 cat confdefs.h >>conftest.$ac_ext
10634 cat >>conftest.$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10636 $ac_includes_default
10640 static struct stat ac_aggr;
10641 if (sizeof ac_aggr.st_blksize)
10647 rm -f conftest.$ac_objext
10648 if { (ac_try="$ac_compile"
10649 case "(($ac_try" in
10650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10651 *) ac_try_echo=$ac_try;;
10653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10654 (eval "$ac_compile") 2>conftest.er1
10656 grep -v '^ *+' conftest.er1 >conftest.err
10658 cat conftest.err >&5
10659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10660 (exit $ac_status); } && {
10661 test -z "$ac_c_werror_flag" ||
10662 test ! -s conftest.err
10663 } && test -s conftest.$ac_objext; then
10664 ac_cv_member_struct_stat_st_blksize=yes
10666 echo "$as_me: failed program was
:" >&5
10667 sed 's/^/| /' conftest.$ac_ext >&5
10669 ac_cv_member_struct_stat_st_blksize=no
10672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10677 { echo "$as_me:$LINENO: result
: $ac_cv_member_struct_stat_st_blksize" >&5
10678 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
10679 if test $ac_cv_member_struct_stat_st_blksize = yes; then
10681 cat >>confdefs.h <<_ACEOF
10682 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
10688 { echo "$as_me:$LINENO: checking whether
time.h and sys
/time.h may both be included
" >&5
10689 echo $ECHO_N "checking whether
time.h and sys
/time.h may both be included...
$ECHO_C" >&6; }
10690 if test "${ac_cv_header_time+set}" = set; then
10691 echo $ECHO_N "(cached
) $ECHO_C" >&6
10693 cat >conftest.$ac_ext <<_ACEOF
10696 cat confdefs.h >>conftest.$ac_ext
10697 cat >>conftest.$ac_ext <<_ACEOF
10698 /* end confdefs.h. */
10699 #include <sys/types.h>
10700 #include <sys/time.h>
10706 if ((struct tm *) 0)
10712 rm -f conftest.$ac_objext
10713 if { (ac_try="$ac_compile"
10714 case "(($ac_try" in
10715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10716 *) ac_try_echo=$ac_try;;
10718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10719 (eval "$ac_compile") 2>conftest.er1
10721 grep -v '^ *+' conftest.er1 >conftest.err
10723 cat conftest.err >&5
10724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10725 (exit $ac_status); } && {
10726 test -z "$ac_c_werror_flag" ||
10727 test ! -s conftest.err
10728 } && test -s conftest.$ac_objext; then
10729 ac_cv_header_time=yes
10731 echo "$as_me: failed program was
:" >&5
10732 sed 's/^/| /' conftest.$ac_ext >&5
10734 ac_cv_header_time=no
10737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10739 { echo "$as_me:$LINENO: result
: $ac_cv_header_time" >&5
10740 echo "${ECHO_T}$ac_cv_header_time" >&6; }
10741 if test $ac_cv_header_time = yes; then
10743 cat >>confdefs.h <<\_ACEOF
10744 #define TIME_WITH_SYS_TIME 1
10749 { echo "$as_me:$LINENO: checking whether struct tm is
in sys
/time.h or
time.h
" >&5
10750 echo $ECHO_N "checking whether struct tm is
in sys
/time.h or
time.h...
$ECHO_C" >&6; }
10751 if test "${ac_cv_struct_tm+set}" = set; then
10752 echo $ECHO_N "(cached
) $ECHO_C" >&6
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 #include <sys/types.h>
10767 int *p = &tm.tm_sec;
10773 rm -f conftest.$ac_objext
10774 if { (ac_try="$ac_compile"
10775 case "(($ac_try" in
10776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10777 *) ac_try_echo=$ac_try;;
10779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10780 (eval "$ac_compile") 2>conftest.er1
10782 grep -v '^ *+' conftest.er1 >conftest.err
10784 cat conftest.err >&5
10785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10786 (exit $ac_status); } && {
10787 test -z "$ac_c_werror_flag" ||
10788 test ! -s conftest.err
10789 } && test -s conftest.$ac_objext; then
10790 ac_cv_struct_tm=time.h
10792 echo "$as_me: failed program was
:" >&5
10793 sed 's/^/| /' conftest.$ac_ext >&5
10795 ac_cv_struct_tm=sys/time.h
10798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10800 { echo "$as_me:$LINENO: result
: $ac_cv_struct_tm" >&5
10801 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
10802 if test $ac_cv_struct_tm = sys/time.h; then
10804 cat >>confdefs.h <<\_ACEOF
10805 #define TM_IN_SYS_TIME 1
10810 { echo "$as_me:$LINENO: checking
for working volatile
" >&5
10811 echo $ECHO_N "checking
for working volatile...
$ECHO_C" >&6; }
10812 if test "${ac_cv_c_volatile+set}" = set; then
10813 echo $ECHO_N "(cached
) $ECHO_C" >&6
10815 cat >conftest.$ac_ext <<_ACEOF
10818 cat confdefs.h >>conftest.$ac_ext
10819 cat >>conftest.$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10827 int * volatile y = (int *) 0;
10833 rm -f conftest.$ac_objext
10834 if { (ac_try="$ac_compile"
10835 case "(($ac_try" in
10836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10837 *) ac_try_echo=$ac_try;;
10839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10840 (eval "$ac_compile") 2>conftest.er1
10842 grep -v '^ *+' conftest.er1 >conftest.err
10844 cat conftest.err >&5
10845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10846 (exit $ac_status); } && {
10847 test -z "$ac_c_werror_flag" ||
10848 test ! -s conftest.err
10849 } && test -s conftest.$ac_objext; then
10850 ac_cv_c_volatile=yes
10852 echo "$as_me: failed program was
:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10855 ac_cv_c_volatile=no
10858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10860 { echo "$as_me:$LINENO: result
: $ac_cv_c_volatile" >&5
10861 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
10862 if test $ac_cv_c_volatile = no; then
10864 cat >>confdefs.h <<\_ACEOF
10870 { echo "$as_me:$LINENO: checking
for ptrdiff_t
" >&5
10871 echo $ECHO_N "checking
for ptrdiff_t...
$ECHO_C" >&6; }
10872 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10873 echo $ECHO_N "(cached
) $ECHO_C" >&6
10875 cat >conftest.$ac_ext <<_ACEOF
10878 cat confdefs.h >>conftest.$ac_ext
10879 cat >>conftest.$ac_ext <<_ACEOF
10880 /* end confdefs.h. */
10881 $ac_includes_default
10882 typedef ptrdiff_t ac__type_new_;
10886 if ((ac__type_new_ *) 0)
10888 if (sizeof (ac__type_new_))
10894 rm -f conftest.$ac_objext
10895 if { (ac_try="$ac_compile"
10896 case "(($ac_try" in
10897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10898 *) ac_try_echo=$ac_try;;
10900 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10901 (eval "$ac_compile") 2>conftest.er1
10903 grep -v '^ *+' conftest.er1 >conftest.err
10905 cat conftest.err >&5
10906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10907 (exit $ac_status); } && {
10908 test -z "$ac_c_werror_flag" ||
10909 test ! -s conftest.err
10910 } && test -s conftest.$ac_objext; then
10911 ac_cv_type_ptrdiff_t=yes
10913 echo "$as_me: failed program was
:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10916 ac_cv_type_ptrdiff_t=no
10919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10921 { echo "$as_me:$LINENO: result
: $ac_cv_type_ptrdiff_t" >&5
10922 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
10923 if test $ac_cv_type_ptrdiff_t = yes; then
10925 cat >>confdefs.h <<_ACEOF
10926 #define HAVE_PTRDIFF_T 1
10933 # Checks for library functions.
10935 for ac_header in unistd.h
10937 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10938 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10939 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10940 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10941 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10942 echo $ECHO_N "(cached
) $ECHO_C" >&6
10944 ac_res=`eval echo '${'$as_ac_Header'}'`
10945 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10946 echo "${ECHO_T}$ac_res" >&6; }
10948 # Is the header compilable?
10949 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10950 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10951 cat >conftest.$ac_ext <<_ACEOF
10954 cat confdefs.h >>conftest.$ac_ext
10955 cat >>conftest.$ac_ext <<_ACEOF
10956 /* end confdefs.h. */
10957 $ac_includes_default
10958 #include <$ac_header>
10960 rm -f conftest.$ac_objext
10961 if { (ac_try="$ac_compile"
10962 case "(($ac_try" in
10963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10964 *) ac_try_echo=$ac_try;;
10966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10967 (eval "$ac_compile") 2>conftest.er1
10969 grep -v '^ *+' conftest.er1 >conftest.err
10971 cat conftest.err >&5
10972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10973 (exit $ac_status); } && {
10974 test -z "$ac_c_werror_flag" ||
10975 test ! -s conftest.err
10976 } && test -s conftest.$ac_objext; then
10977 ac_header_compiler=yes
10979 echo "$as_me: failed program was
:" >&5
10980 sed 's/^/| /' conftest.$ac_ext >&5
10982 ac_header_compiler=no
10985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10986 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10987 echo "${ECHO_T}$ac_header_compiler" >&6; }
10989 # Is the header present?
10990 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10991 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10992 cat >conftest.$ac_ext <<_ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998 #include <$ac_header>
11000 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11001 case "(($ac_try" in
11002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11003 *) ac_try_echo=$ac_try;;
11005 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11006 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11008 grep -v '^ *+' conftest.er1 >conftest.err
11010 cat conftest.err >&5
11011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11012 (exit $ac_status); } >/dev/null && {
11013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11014 test ! -s conftest.err
11016 ac_header_preproc=yes
11018 echo "$as_me: failed program was
:" >&5
11019 sed 's/^/| /' conftest.$ac_ext >&5
11021 ac_header_preproc=no
11024 rm -f conftest.err conftest.$ac_ext
11025 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11026 echo "${ECHO_T}$ac_header_preproc" >&6; }
11028 # So? What about this header?
11029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11031 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11032 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11033 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11035 ac_header_preproc=yes
11038 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11039 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11040 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11041 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11042 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11043 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11044 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11045 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11046 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11048 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11049 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11053 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11054 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11055 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11056 echo $ECHO_N "(cached
) $ECHO_C" >&6
11058 eval "$as_ac_Header=\
$ac_header_preproc"
11060 ac_res=`eval echo '${'$as_ac_Header'}'`
11061 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11062 echo "${ECHO_T}$ac_res" >&6; }
11065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11066 cat >>confdefs.h <<_ACEOF
11067 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11074 { echo "$as_me:$LINENO: checking
for working chown
" >&5
11075 echo $ECHO_N "checking
for working chown...
$ECHO_C" >&6; }
11076 if test "${ac_cv_func_chown_works+set}" = set; then
11077 echo $ECHO_N "(cached
) $ECHO_C" >&6
11079 if test "$cross_compiling" = yes; then
11080 ac_cv_func_chown_works=no
11082 cat >conftest.$ac_ext <<_ACEOF
11085 cat confdefs.h >>conftest.$ac_ext
11086 cat >>conftest.$ac_ext <<_ACEOF
11087 /* end confdefs.h. */
11088 $ac_includes_default
11094 char *f = "conftest.chown
";
11095 struct stat before, after;
11097 if (creat (f, 0600) < 0)
11099 if (stat (f, &before) < 0)
11101 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
11103 if (stat (f, &after) < 0)
11105 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
11111 rm -f conftest$ac_exeext
11112 if { (ac_try="$ac_link"
11113 case "(($ac_try" in
11114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11115 *) ac_try_echo=$ac_try;;
11117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11118 (eval "$ac_link") 2>&5
11120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11122 { (case "(($ac_try" in
11123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11124 *) ac_try_echo=$ac_try;;
11126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11127 (eval "$ac_try") 2>&5
11129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ac_cv_func_chown_works=yes
11133 echo "$as_me: program exited with status
$ac_status" >&5
11134 echo "$as_me: failed program was
:" >&5
11135 sed 's/^/| /' conftest.$ac_ext >&5
11137 ( exit $ac_status )
11138 ac_cv_func_chown_works=no
11140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11144 rm -f conftest.chown
11147 { echo "$as_me:$LINENO: result
: $ac_cv_func_chown_works" >&5
11148 echo "${ECHO_T}$ac_cv_func_chown_works" >&6; }
11149 if test $ac_cv_func_chown_works = yes; then
11151 cat >>confdefs.h <<\_ACEOF
11152 #define HAVE_CHOWN 1
11157 { echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
11158 echo $ECHO_N "checking whether closedir returns void...
$ECHO_C" >&6; }
11159 if test "${ac_cv_func_closedir_void+set}" = set; then
11160 echo $ECHO_N "(cached
) $ECHO_C" >&6
11162 if test "$cross_compiling" = yes; then
11163 ac_cv_func_closedir_void=yes
11165 cat >conftest.$ac_ext <<_ACEOF
11168 cat confdefs.h >>conftest.$ac_ext
11169 cat >>conftest.$ac_ext <<_ACEOF
11170 /* end confdefs.h. */
11171 $ac_includes_default
11172 #include <$ac_header_dirent>
11173 #ifndef __cplusplus
11180 return closedir (opendir (".
")) != 0;
11185 rm -f conftest$ac_exeext
11186 if { (ac_try="$ac_link"
11187 case "(($ac_try" in
11188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11189 *) ac_try_echo=$ac_try;;
11191 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11192 (eval "$ac_link") 2>&5
11194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11195 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11196 { (case "(($ac_try" in
11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11198 *) ac_try_echo=$ac_try;;
11200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11201 (eval "$ac_try") 2>&5
11203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11204 (exit $ac_status); }; }; then
11205 ac_cv_func_closedir_void=no
11207 echo "$as_me: program exited with status
$ac_status" >&5
11208 echo "$as_me: failed program was
:" >&5
11209 sed 's/^/| /' conftest.$ac_ext >&5
11211 ( exit $ac_status )
11212 ac_cv_func_closedir_void=yes
11214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11219 { echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
11220 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
11221 if test $ac_cv_func_closedir_void = yes; then
11223 cat >>confdefs.h <<\_ACEOF
11224 #define CLOSEDIR_VOID 1
11229 { echo "$as_me:$LINENO: checking
for error_at_line
" >&5
11230 echo $ECHO_N "checking
for error_at_line...
$ECHO_C" >&6; }
11231 if test "${ac_cv_lib_error_at_line+set}" = set; then
11232 echo $ECHO_N "(cached
) $ECHO_C" >&6
11234 cat >conftest.$ac_ext <<_ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11244 error_at_line (0, 0, "", 0, "an error occurred
");
11249 rm -f conftest.$ac_objext conftest$ac_exeext
11250 if { (ac_try="$ac_link"
11251 case "(($ac_try" in
11252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11253 *) ac_try_echo=$ac_try;;
11255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11256 (eval "$ac_link") 2>conftest.er1
11258 grep -v '^ *+' conftest.er1 >conftest.err
11260 cat conftest.err >&5
11261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11262 (exit $ac_status); } && {
11263 test -z "$ac_c_werror_flag" ||
11264 test ! -s conftest.err
11265 } && test -s conftest$ac_exeext &&
11266 $as_test_x conftest$ac_exeext; then
11267 ac_cv_lib_error_at_line=yes
11269 echo "$as_me: failed program was
:" >&5
11270 sed 's/^/| /' conftest.$ac_ext >&5
11272 ac_cv_lib_error_at_line=no
11275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11276 conftest$ac_exeext conftest.$ac_ext
11278 { echo "$as_me:$LINENO: result
: $ac_cv_lib_error_at_line" >&5
11279 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
11280 if test $ac_cv_lib_error_at_line = no; then
11281 case " $LIBOBJS " in
11282 *" error.
$ac_objext "* ) ;;
11283 *) LIBOBJS="$LIBOBJS error.
$ac_objext"
11290 for ac_header in vfork.h
11292 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11293 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11294 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11295 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11296 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11297 echo $ECHO_N "(cached
) $ECHO_C" >&6
11299 ac_res=`eval echo '${'$as_ac_Header'}'`
11300 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11301 echo "${ECHO_T}$ac_res" >&6; }
11303 # Is the header compilable?
11304 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11305 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11306 cat >conftest.$ac_ext <<_ACEOF
11309 cat confdefs.h >>conftest.$ac_ext
11310 cat >>conftest.$ac_ext <<_ACEOF
11311 /* end confdefs.h. */
11312 $ac_includes_default
11313 #include <$ac_header>
11315 rm -f conftest.$ac_objext
11316 if { (ac_try="$ac_compile"
11317 case "(($ac_try" in
11318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11319 *) ac_try_echo=$ac_try;;
11321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11322 (eval "$ac_compile") 2>conftest.er1
11324 grep -v '^ *+' conftest.er1 >conftest.err
11326 cat conftest.err >&5
11327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11328 (exit $ac_status); } && {
11329 test -z "$ac_c_werror_flag" ||
11330 test ! -s conftest.err
11331 } && test -s conftest.$ac_objext; then
11332 ac_header_compiler=yes
11334 echo "$as_me: failed program was
:" >&5
11335 sed 's/^/| /' conftest.$ac_ext >&5
11337 ac_header_compiler=no
11340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11341 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11342 echo "${ECHO_T}$ac_header_compiler" >&6; }
11344 # Is the header present?
11345 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11346 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11347 cat >conftest.$ac_ext <<_ACEOF
11350 cat confdefs.h >>conftest.$ac_ext
11351 cat >>conftest.$ac_ext <<_ACEOF
11352 /* end confdefs.h. */
11353 #include <$ac_header>
11355 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11356 case "(($ac_try" in
11357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11358 *) ac_try_echo=$ac_try;;
11360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11361 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11363 grep -v '^ *+' conftest.er1 >conftest.err
11365 cat conftest.err >&5
11366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11367 (exit $ac_status); } >/dev/null && {
11368 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11369 test ! -s conftest.err
11371 ac_header_preproc=yes
11373 echo "$as_me: failed program was
:" >&5
11374 sed 's/^/| /' conftest.$ac_ext >&5
11376 ac_header_preproc=no
11379 rm -f conftest.err conftest.$ac_ext
11380 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11381 echo "${ECHO_T}$ac_header_preproc" >&6; }
11383 # So? What about this header?
11384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11386 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11387 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11388 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11390 ac_header_preproc=yes
11393 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11394 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11395 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11396 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11397 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11398 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11399 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11400 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11401 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11403 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11404 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11408 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11409 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11410 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11411 echo $ECHO_N "(cached
) $ECHO_C" >&6
11413 eval "$as_ac_Header=\
$ac_header_preproc"
11415 ac_res=`eval echo '${'$as_ac_Header'}'`
11416 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11417 echo "${ECHO_T}$ac_res" >&6; }
11420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11421 cat >>confdefs.h <<_ACEOF
11422 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11431 for ac_func in fork vfork
11433 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11434 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11435 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11436 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11437 echo $ECHO_N "(cached
) $ECHO_C" >&6
11439 cat >conftest.$ac_ext <<_ACEOF
11442 cat confdefs.h >>conftest.$ac_ext
11443 cat >>conftest.$ac_ext <<_ACEOF
11444 /* end confdefs.h. */
11445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11447 #define $ac_func innocuous_$ac_func
11449 /* System header to define __stub macros and hopefully few prototypes,
11450 which can conflict with char $ac_func (); below.
11451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11452 <limits.h> exists even on freestanding compilers. */
11455 # include <limits.h>
11457 # include <assert.h>
11462 /* Override any GCC internal prototype to avoid an error.
11463 Use char because int might match the return type of a GCC
11464 builtin and then its argument prototype would still apply. */
11469 /* The GNU C library defines this for functions which it implements
11470 to always fail with ENOSYS. Some functions are actually named
11471 something starting with __ and the normal name is an alias. */
11472 #if defined __stub_$ac_func || defined __stub___$ac_func
11479 return $ac_func ();
11484 rm -f conftest.$ac_objext conftest$ac_exeext
11485 if { (ac_try="$ac_link"
11486 case "(($ac_try" in
11487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11488 *) ac_try_echo=$ac_try;;
11490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11491 (eval "$ac_link") 2>conftest.er1
11493 grep -v '^ *+' conftest.er1 >conftest.err
11495 cat conftest.err >&5
11496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11497 (exit $ac_status); } && {
11498 test -z "$ac_c_werror_flag" ||
11499 test ! -s conftest.err
11500 } && test -s conftest$ac_exeext &&
11501 $as_test_x conftest$ac_exeext; then
11502 eval "$as_ac_var=yes"
11504 echo "$as_me: failed program was
:" >&5
11505 sed 's/^/| /' conftest.$ac_ext >&5
11507 eval "$as_ac_var=no
"
11510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11511 conftest$ac_exeext conftest.$ac_ext
11513 ac_res=`eval echo '${'$as_ac_var'}'`
11514 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11515 echo "${ECHO_T}$ac_res" >&6; }
11516 if test `eval echo '${'$as_ac_var'}'` = yes; then
11517 cat >>confdefs.h <<_ACEOF
11518 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11524 if test "x
$ac_cv_func_fork" = xyes; then
11525 { echo "$as_me:$LINENO: checking
for working fork
" >&5
11526 echo $ECHO_N "checking
for working fork...
$ECHO_C" >&6; }
11527 if test "${ac_cv_func_fork_works+set}" = set; then
11528 echo $ECHO_N "(cached
) $ECHO_C" >&6
11530 if test "$cross_compiling" = yes; then
11531 ac_cv_func_fork_works=cross
11533 cat >conftest.$ac_ext <<_ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539 $ac_includes_default
11544 /* By Ruediger Kuhlmann. */
11545 return fork () < 0;
11551 rm -f conftest$ac_exeext
11552 if { (ac_try="$ac_link"
11553 case "(($ac_try" in
11554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11555 *) ac_try_echo=$ac_try;;
11557 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11558 (eval "$ac_link") 2>&5
11560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11562 { (case "(($ac_try" in
11563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11564 *) ac_try_echo=$ac_try;;
11566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11567 (eval "$ac_try") 2>&5
11569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11570 (exit $ac_status); }; }; then
11571 ac_cv_func_fork_works=yes
11573 echo "$as_me: program exited with status
$ac_status" >&5
11574 echo "$as_me: failed program was
:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11577 ( exit $ac_status )
11578 ac_cv_func_fork_works=no
11580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11585 { echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
11586 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
11589 ac_cv_func_fork_works=$ac_cv_func_fork
11591 if test "x
$ac_cv_func_fork_works" = xcross; then
11593 *-*-amigaos* | *-*-msdosdjgpp* | *-*-uclinux* )
11594 # Override, as these systems have only a dummy fork() stub
11595 ac_cv_func_fork_works=no
11598 ac_cv_func_fork_works=yes
11601 { echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
11602 echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
11604 ac_cv_func_vfork_works=$ac_cv_func_vfork
11605 if test "x
$ac_cv_func_vfork" = xyes; then
11606 { echo "$as_me:$LINENO: checking
for working vfork
" >&5
11607 echo $ECHO_N "checking
for working vfork...
$ECHO_C" >&6; }
11608 if test "${ac_cv_func_vfork_works+set}" = set; then
11609 echo $ECHO_N "(cached
) $ECHO_C" >&6
11611 if test "$cross_compiling" = yes; then
11612 ac_cv_func_vfork_works=cross
11614 cat >conftest.$ac_ext <<_ACEOF
11617 cat confdefs.h >>conftest.$ac_ext
11618 cat >>conftest.$ac_ext <<_ACEOF
11619 /* end confdefs.h. */
11620 /* Thanks to Paul Eggert for this test. */
11621 $ac_includes_default
11622 #include <sys/wait.h>
11623 #ifdef HAVE_VFORK_H
11624 # include <vfork.h>
11626 /* On some sparc systems, changes by the child to local and incoming
11627 argument registers are propagated back to the parent. The compiler
11628 is told about this with #include <vfork.h>, but some compilers
11629 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11630 static variable whose address is put into a register that is
11631 clobbered by the vfork. */
11634 sparc_address_test (int arg)
11636 sparc_address_test (arg) int arg;
11639 static pid_t child;
11657 pid_t parent = getpid ();
11660 sparc_address_test (0);
11665 /* Here is another test for sparc vfork register problems. This
11666 test uses lots of local variables, at least as many local
11667 variables as main has allocated so far including compiler
11668 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11669 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11670 reuse the register of parent for one of the local variables,
11671 since it will think that parent can't possibly be used any more
11672 in this routine. Assigning to the local variable will thus
11673 munge parent in the parent process. */
11675 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11676 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11677 /* Convince the compiler that p..p7 are live; otherwise, it might
11678 use the same hardware register for all 8 local variables. */
11679 if (p != p1 || p != p2 || p != p3 || p != p4
11680 || p != p5 || p != p6 || p != p7)
11683 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11684 from child file descriptors. If the child closes a descriptor
11685 before it execs or exits, this munges the parent's descriptor
11686 as well. Test for this by closing stdout in the child. */
11687 _exit(close(fileno(stdout)) != 0);
11692 while (wait(&status) != child)
11695 /* Was there some problem with vforking? */
11698 /* Did the child fail? (This shouldn't happen.) */
11701 /* Did the vfork/compiler bug occur? */
11702 || parent != getpid()
11704 /* Did the file descriptor bug occur? */
11705 || fstat(fileno(stdout), &st) != 0
11710 rm -f conftest$ac_exeext
11711 if { (ac_try="$ac_link"
11712 case "(($ac_try" in
11713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11714 *) ac_try_echo=$ac_try;;
11716 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11717 (eval "$ac_link") 2>&5
11719 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11720 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11721 { (case "(($ac_try" in
11722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11723 *) ac_try_echo=$ac_try;;
11725 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11726 (eval "$ac_try") 2>&5
11728 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11729 (exit $ac_status); }; }; then
11730 ac_cv_func_vfork_works=yes
11732 echo "$as_me: program exited with status
$ac_status" >&5
11733 echo "$as_me: failed program was
:" >&5
11734 sed 's/^/| /' conftest.$ac_ext >&5
11736 ( exit $ac_status )
11737 ac_cv_func_vfork_works=no
11739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11744 { echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
11745 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
11748 if test "x
$ac_cv_func_fork_works" = xcross; then
11749 ac_cv_func_vfork_works=$ac_cv_func_vfork
11750 { echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
11751 echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
11754 if test "x
$ac_cv_func_vfork_works" = xyes; then
11756 cat >>confdefs.h <<\_ACEOF
11757 #define HAVE_WORKING_VFORK 1
11762 cat >>confdefs.h <<\_ACEOF
11767 if test "x
$ac_cv_func_fork_works" = xyes; then
11769 cat >>confdefs.h <<\_ACEOF
11770 #define HAVE_WORKING_FORK 1
11775 { echo "$as_me:$LINENO: checking
for _LARGEFILE_SOURCE value needed
for large files
" >&5
11776 echo $ECHO_N "checking
for _LARGEFILE_SOURCE value needed
for large files...
$ECHO_C" >&6; }
11777 if test "${ac_cv_sys_largefile_source+set}" = set; then
11778 echo $ECHO_N "(cached
) $ECHO_C" >&6
11781 cat >conftest.$ac_ext <<_ACEOF
11784 cat confdefs.h >>conftest.$ac_ext
11785 cat >>conftest.$ac_ext <<_ACEOF
11786 /* end confdefs.h. */
11787 #include <sys/types.h> /* for off_t */
11792 int (*fp) (FILE *, off_t, int) = fseeko;
11793 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11798 rm -f conftest.$ac_objext conftest$ac_exeext
11799 if { (ac_try="$ac_link"
11800 case "(($ac_try" in
11801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11802 *) ac_try_echo=$ac_try;;
11804 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11805 (eval "$ac_link") 2>conftest.er1
11807 grep -v '^ *+' conftest.er1 >conftest.err
11809 cat conftest.err >&5
11810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11811 (exit $ac_status); } && {
11812 test -z "$ac_c_werror_flag" ||
11813 test ! -s conftest.err
11814 } && test -s conftest$ac_exeext &&
11815 $as_test_x conftest$ac_exeext; then
11816 ac_cv_sys_largefile_source=no; break
11818 echo "$as_me: failed program was
:" >&5
11819 sed 's/^/| /' conftest.$ac_ext >&5
11824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11825 conftest$ac_exeext conftest.$ac_ext
11826 cat >conftest.$ac_ext <<_ACEOF
11829 cat confdefs.h >>conftest.$ac_ext
11830 cat >>conftest.$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11832 #define _LARGEFILE_SOURCE 1
11833 #include <sys/types.h> /* for off_t */
11838 int (*fp) (FILE *, off_t, int) = fseeko;
11839 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11844 rm -f conftest.$ac_objext conftest$ac_exeext
11845 if { (ac_try="$ac_link"
11846 case "(($ac_try" in
11847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11848 *) ac_try_echo=$ac_try;;
11850 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11851 (eval "$ac_link") 2>conftest.er1
11853 grep -v '^ *+' conftest.er1 >conftest.err
11855 cat conftest.err >&5
11856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11857 (exit $ac_status); } && {
11858 test -z "$ac_c_werror_flag" ||
11859 test ! -s conftest.err
11860 } && test -s conftest$ac_exeext &&
11861 $as_test_x conftest$ac_exeext; then
11862 ac_cv_sys_largefile_source=1; break
11864 echo "$as_me: failed program was
:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11871 conftest$ac_exeext conftest.$ac_ext
11872 ac_cv_sys_largefile_source=unknown
11876 { echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_source" >&5
11877 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
11878 case $ac_cv_sys_largefile_source in #(
11881 cat >>confdefs.h <<_ACEOF
11882 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
11888 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
11889 # in glibc 2.1.3, but that breaks too many other things.
11890 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
11891 if test $ac_cv_sys_largefile_source != unknown; then
11893 cat >>confdefs.h <<\_ACEOF
11894 #define HAVE_FSEEKO 1
11899 if test $ac_cv_c_compiler_gnu = yes; then
11900 { echo "$as_me:$LINENO: checking whether
$CC needs
-traditional" >&5
11901 echo $ECHO_N "checking whether
$CC needs
-traditional...
$ECHO_C" >&6; }
11902 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11903 echo $ECHO_N "(cached
) $ECHO_C" >&6
11905 ac_pattern="Autoconf.
*'x'"
11906 cat >conftest.$ac_ext <<_ACEOF
11909 cat confdefs.h >>conftest.$ac_ext
11910 cat >>conftest.$ac_ext <<_ACEOF
11911 /* end confdefs.h. */
11915 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
11916 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11917 ac_cv_prog_gcc_traditional=yes
11919 ac_cv_prog_gcc_traditional=no
11924 if test $ac_cv_prog_gcc_traditional = no; then
11925 cat >conftest.$ac_ext <<_ACEOF
11928 cat confdefs.h >>conftest.$ac_ext
11929 cat >>conftest.$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11931 #include <termio.h>
11934 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
11935 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11936 ac_cv_prog_gcc_traditional=yes
11942 { echo "$as_me:$LINENO: result
: $ac_cv_prog_gcc_traditional" >&5
11943 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
11944 if test $ac_cv_prog_gcc_traditional = yes; then
11945 CC="$CC -traditional"
11949 # XXX: these are commented out until we determine whether it matters if our malloc()
11950 # acts exactly like glibc's or not
11953 { echo "$as_me:$LINENO: checking
for working memcmp
" >&5
11954 echo $ECHO_N "checking
for working memcmp...
$ECHO_C" >&6; }
11955 if test "${ac_cv_func_memcmp_working+set}" = set; then
11956 echo $ECHO_N "(cached
) $ECHO_C" >&6
11958 if test "$cross_compiling" = yes; then
11959 ac_cv_func_memcmp_working=no
11961 cat >conftest.$ac_ext <<_ACEOF
11964 cat confdefs.h >>conftest.$ac_ext
11965 cat >>conftest.$ac_ext <<_ACEOF
11966 /* end confdefs.h. */
11967 $ac_includes_default
11972 /* Some versions of memcmp are not 8-bit clean. */
11973 char c0 = '\100', c1 = '\200', c2 = '\201';
11974 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
11977 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
11978 or more and with at least one buffer not starting on a 4-byte boundary.
11979 William Lewis provided this test program. */
11984 for (i = 0; i < 4; i++)
11988 strcpy (a, "--------01111111");
11989 strcpy (b, "--------10000000");
11990 if (memcmp (a, b, 16) >= 0)
12000 rm -f conftest$ac_exeext
12001 if { (ac_try="$ac_link"
12002 case "(($ac_try" in
12003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12004 *) ac_try_echo=$ac_try;;
12006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12007 (eval "$ac_link") 2>&5
12009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12011 { (case "(($ac_try" in
12012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12013 *) ac_try_echo=$ac_try;;
12015 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12016 (eval "$ac_try") 2>&5
12018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 ac_cv_func_memcmp_working=yes
12022 echo "$as_me: program exited with status
$ac_status" >&5
12023 echo "$as_me: failed program was
:" >&5
12024 sed 's/^/| /' conftest.$ac_ext >&5
12026 ( exit $ac_status )
12027 ac_cv_func_memcmp_working=no
12029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12034 { echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
12035 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
12036 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12037 *" memcmp.
$ac_objext "* ) ;;
12038 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
12047 for ac_header in $ac_header_list
12049 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
12050 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12051 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12052 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12053 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12054 echo $ECHO_N "(cached
) $ECHO_C" >&6
12056 ac_res=`eval echo '${'$as_ac_Header'}'`
12057 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12058 echo "${ECHO_T}$ac_res" >&6; }
12060 # Is the header compilable?
12061 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12062 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12063 cat >conftest.$ac_ext <<_ACEOF
12066 cat confdefs.h >>conftest.$ac_ext
12067 cat >>conftest.$ac_ext <<_ACEOF
12068 /* end confdefs.h. */
12069 $ac_includes_default
12070 #include <$ac_header>
12072 rm -f conftest.$ac_objext
12073 if { (ac_try="$ac_compile"
12074 case "(($ac_try" in
12075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12076 *) ac_try_echo=$ac_try;;
12078 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12079 (eval "$ac_compile") 2>conftest.er1
12081 grep -v '^ *+' conftest.er1 >conftest.err
12083 cat conftest.err >&5
12084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12085 (exit $ac_status); } && {
12086 test -z "$ac_c_werror_flag" ||
12087 test ! -s conftest.err
12088 } && test -s conftest.$ac_objext; then
12089 ac_header_compiler=yes
12091 echo "$as_me: failed program was
:" >&5
12092 sed 's/^/| /' conftest.$ac_ext >&5
12094 ac_header_compiler=no
12097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12098 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12099 echo "${ECHO_T}$ac_header_compiler" >&6; }
12101 # Is the header present?
12102 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12103 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12104 cat >conftest.$ac_ext <<_ACEOF
12107 cat confdefs.h >>conftest.$ac_ext
12108 cat >>conftest.$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12110 #include <$ac_header>
12112 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12113 case "(($ac_try" in
12114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12115 *) ac_try_echo=$ac_try;;
12117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12118 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12120 grep -v '^ *+' conftest.er1 >conftest.err
12122 cat conftest.err >&5
12123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12124 (exit $ac_status); } >/dev/null && {
12125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12126 test ! -s conftest.err
12128 ac_header_preproc=yes
12130 echo "$as_me: failed program was
:" >&5
12131 sed 's/^/| /' conftest.$ac_ext >&5
12133 ac_header_preproc=no
12136 rm -f conftest.err conftest.$ac_ext
12137 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12138 echo "${ECHO_T}$ac_header_preproc" >&6; }
12140 # So? What about this header?
12141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12143 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12144 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12145 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12146 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12147 ac_header_preproc=yes
12150 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12151 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12152 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12153 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12154 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12155 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12156 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12157 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12158 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12160 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12161 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12165 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12166 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12167 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12168 echo $ECHO_N "(cached
) $ECHO_C" >&6
12170 eval "$as_ac_Header=\
$ac_header_preproc"
12172 ac_res=`eval echo '${'$as_ac_Header'}'`
12173 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12174 echo "${ECHO_T}$ac_res" >&6; }
12177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12178 cat >>confdefs.h <<_ACEOF
12179 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12194 for ac_func in $ac_func_list
12196 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12197 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12198 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12199 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12200 echo $ECHO_N "(cached
) $ECHO_C" >&6
12202 cat >conftest.$ac_ext <<_ACEOF
12205 cat confdefs.h >>conftest.$ac_ext
12206 cat >>conftest.$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12210 #define $ac_func innocuous_$ac_func
12212 /* System header to define __stub macros and hopefully few prototypes,
12213 which can conflict with char $ac_func (); below.
12214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12215 <limits.h> exists even on freestanding compilers. */
12218 # include <limits.h>
12220 # include <assert.h>
12225 /* Override any GCC internal prototype to avoid an error.
12226 Use char because int might match the return type of a GCC
12227 builtin and then its argument prototype would still apply. */
12232 /* The GNU C library defines this for functions which it implements
12233 to always fail with ENOSYS. Some functions are actually named
12234 something starting with __ and the normal name is an alias. */
12235 #if defined __stub_$ac_func || defined __stub___$ac_func
12242 return $ac_func ();
12247 rm -f conftest.$ac_objext conftest$ac_exeext
12248 if { (ac_try="$ac_link"
12249 case "(($ac_try" in
12250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12251 *) ac_try_echo=$ac_try;;
12253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12254 (eval "$ac_link") 2>conftest.er1
12256 grep -v '^ *+' conftest.er1 >conftest.err
12258 cat conftest.err >&5
12259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12260 (exit $ac_status); } && {
12261 test -z "$ac_c_werror_flag" ||
12262 test ! -s conftest.err
12263 } && test -s conftest$ac_exeext &&
12264 $as_test_x conftest$ac_exeext; then
12265 eval "$as_ac_var=yes"
12267 echo "$as_me: failed program was
:" >&5
12268 sed 's/^/| /' conftest.$ac_ext >&5
12270 eval "$as_ac_var=no
"
12273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12274 conftest$ac_exeext conftest.$ac_ext
12276 ac_res=`eval echo '${'$as_ac_var'}'`
12277 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12278 echo "${ECHO_T}$ac_res" >&6; }
12279 if test `eval echo '${'$as_ac_var'}'` = yes; then
12280 cat >>confdefs.h <<_ACEOF
12281 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12303 { echo "$as_me:$LINENO: checking
for working mktime
" >&5
12304 echo $ECHO_N "checking
for working mktime...
$ECHO_C" >&6; }
12305 if test "${ac_cv_func_working_mktime+set}" = set; then
12306 echo $ECHO_N "(cached
) $ECHO_C" >&6
12308 if test "$cross_compiling" = yes; then
12309 ac_cv_func_working_mktime=no
12311 cat >conftest.$ac_ext <<_ACEOF
12314 cat confdefs.h >>conftest.$ac_ext
12315 cat >>conftest.$ac_ext <<_ACEOF
12316 /* end confdefs.h. */
12317 /* Test program from Paul Eggert and Tony Leneis. */
12318 #ifdef TIME_WITH_SYS_TIME
12319 # include <sys/time.h>
12322 # ifdef HAVE_SYS_TIME_H
12323 # include <sys/time.h>
12329 #include <stdlib.h>
12331 #ifdef HAVE_UNISTD_H
12332 # include <unistd.h>
12336 # define alarm(X) /* empty */
12339 /* Work around redefinition to rpl_putenv by other config tests. */
12342 static time_t time_t_max;
12343 static time_t time_t_min;
12345 /* Values we'll use to set the TZ environment variable. */
12346 static char *tz_strings[] = {
12347 (char *) 0, "TZ
=GMT0
", "TZ
=JST-9
",
12348 "TZ
=EST
+3EDT
+2,M10.1
.0/00:00:00,M2.3
.0/00:00:00"
12350 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
12352 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
12353 Based on a problem report from Andreas Jaeger. */
12355 spring_forward_gap ()
12357 /* glibc (up to about 1998-10-07) failed this test. */
12360 /* Use the portable POSIX.1 specification "TZ
=PST8PDT
,M4.1
.0,M10.5
.0"
12361 instead of "TZ
=America
/Vancouver
" in order to detect the bug even
12362 on systems that don't support the Olson extension, or don't have the
12363 full zoneinfo tables installed. */
12364 putenv ("TZ
=PST8PDT
,M4.1
.0,M10.5
.0");
12373 return mktime (&tm) != (time_t) -1;
12381 return ! (lt = localtime (&now)) || mktime (lt) == now;
12388 return (mktime_test1 (now)
12389 && mktime_test1 ((time_t) (time_t_max - now))
12390 && mktime_test1 ((time_t) (time_t_min + now)));
12396 /* Based on code from Ariel Faigon. */
12406 return tm.tm_mon == 2 && tm.tm_mday == 31;
12415 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
12416 now = mktime (&tm);
12417 if (now != (time_t) -1)
12419 struct tm *lt = localtime (&now);
12421 && lt->tm_year == tm.tm_year
12422 && lt->tm_mon == tm.tm_mon
12423 && lt->tm_mday == tm.tm_mday
12424 && lt->tm_hour == tm.tm_hour
12425 && lt->tm_min == tm.tm_min
12426 && lt->tm_sec == tm.tm_sec
12427 && lt->tm_yday == tm.tm_yday
12428 && lt->tm_wday == tm.tm_wday
12429 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
12430 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
12439 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
12440 ignoring leap seconds. */
12441 unsigned long int answer = 2527315200UL;
12445 tm.tm_year = 2050 - 1900;
12448 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
12451 /* Use the portable POSIX.1 specification "TZ
=PST8PDT
,M4.1
.0,M10.5
.0"
12452 instead of "TZ
=America
/Vancouver
" in order to detect the bug even
12453 on systems that don't support the Olson extension, or don't have the
12454 full zoneinfo tables installed. */
12455 putenv ("TZ
=PST8PDT
,M4.1
.0,M10.5
.0");
12459 /* Check that the result is either a failure, or close enough
12460 to the correct answer that we can assume the discrepancy is
12461 due to leap seconds. */
12462 return (t == (time_t) -1
12463 || (0 < t && answer - 120 <= t && t <= answer + 120));
12472 /* This test makes some buggy mktime implementations loop.
12473 Give up after 60 seconds; a mktime slower than that
12474 isn't worth using anyway. */
12477 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
12480 if ((time_t) -1 < 0)
12481 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
12483 delta = time_t_max / 997; /* a suitable prime number */
12484 for (i = 0; i < N_STRINGS; i++)
12487 putenv (tz_strings[i]);
12489 for (t = 0; t <= time_t_max - delta; t += delta)
12490 if (! mktime_test (t))
12492 if (! (mktime_test ((time_t) 1)
12493 && mktime_test ((time_t) (60 * 60))
12494 && mktime_test ((time_t) (60 * 60 * 24))))
12497 for (j = 1; 0 < j; j *= 2)
12498 if (! bigtime_test (j))
12500 if (! bigtime_test (j - 1))
12503 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
12506 rm -f conftest$ac_exeext
12507 if { (ac_try="$ac_link"
12508 case "(($ac_try" in
12509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12510 *) ac_try_echo=$ac_try;;
12512 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12513 (eval "$ac_link") 2>&5
12515 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12517 { (case "(($ac_try" in
12518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12519 *) ac_try_echo=$ac_try;;
12521 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12522 (eval "$ac_try") 2>&5
12524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12525 (exit $ac_status); }; }; then
12526 ac_cv_func_working_mktime=yes
12528 echo "$as_me: program exited with status
$ac_status" >&5
12529 echo "$as_me: failed program was
:" >&5
12530 sed 's/^/| /' conftest.$ac_ext >&5
12532 ( exit $ac_status )
12533 ac_cv_func_working_mktime=no
12535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12540 { echo "$as_me:$LINENO: result
: $ac_cv_func_working_mktime" >&5
12541 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
12542 if test $ac_cv_func_working_mktime = no; then
12543 case " $LIBOBJS " in
12544 *" mktime.
$ac_objext "* ) ;;
12545 *) LIBOBJS="$LIBOBJS mktime.
$ac_objext"
12553 for ac_header in stdlib.h unistd.h
12555 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
12556 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12557 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12558 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12559 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12560 echo $ECHO_N "(cached
) $ECHO_C" >&6
12562 ac_res=`eval echo '${'$as_ac_Header'}'`
12563 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12564 echo "${ECHO_T}$ac_res" >&6; }
12566 # Is the header compilable?
12567 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12568 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12569 cat >conftest.$ac_ext <<_ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575 $ac_includes_default
12576 #include <$ac_header>
12578 rm -f conftest.$ac_objext
12579 if { (ac_try="$ac_compile"
12580 case "(($ac_try" in
12581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12582 *) ac_try_echo=$ac_try;;
12584 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12585 (eval "$ac_compile") 2>conftest.er1
12587 grep -v '^ *+' conftest.er1 >conftest.err
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12591 (exit $ac_status); } && {
12592 test -z "$ac_c_werror_flag" ||
12593 test ! -s conftest.err
12594 } && test -s conftest.$ac_objext; then
12595 ac_header_compiler=yes
12597 echo "$as_me: failed program was
:" >&5
12598 sed 's/^/| /' conftest.$ac_ext >&5
12600 ac_header_compiler=no
12603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12604 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12605 echo "${ECHO_T}$ac_header_compiler" >&6; }
12607 # Is the header present?
12608 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12609 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12610 cat >conftest.$ac_ext <<_ACEOF
12613 cat confdefs.h >>conftest.$ac_ext
12614 cat >>conftest.$ac_ext <<_ACEOF
12615 /* end confdefs.h. */
12616 #include <$ac_header>
12618 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12619 case "(($ac_try" in
12620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12621 *) ac_try_echo=$ac_try;;
12623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12624 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12626 grep -v '^ *+' conftest.er1 >conftest.err
12628 cat conftest.err >&5
12629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12630 (exit $ac_status); } >/dev/null && {
12631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12632 test ! -s conftest.err
12634 ac_header_preproc=yes
12636 echo "$as_me: failed program was
:" >&5
12637 sed 's/^/| /' conftest.$ac_ext >&5
12639 ac_header_preproc=no
12642 rm -f conftest.err conftest.$ac_ext
12643 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12644 echo "${ECHO_T}$ac_header_preproc" >&6; }
12646 # So? What about this header?
12647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12649 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12650 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12651 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12652 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12653 ac_header_preproc=yes
12656 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12657 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12658 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12659 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12660 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12661 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12662 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12663 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12664 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12665 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12666 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12667 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12671 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12672 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12673 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12674 echo $ECHO_N "(cached
) $ECHO_C" >&6
12676 eval "$as_ac_Header=\
$ac_header_preproc"
12678 ac_res=`eval echo '${'$as_ac_Header'}'`
12679 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12680 echo "${ECHO_T}$ac_res" >&6; }
12683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12684 cat >>confdefs.h <<_ACEOF
12685 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12693 for ac_func in getpagesize
12695 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12696 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12697 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12698 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12699 echo $ECHO_N "(cached
) $ECHO_C" >&6
12701 cat >conftest.$ac_ext <<_ACEOF
12704 cat confdefs.h >>conftest.$ac_ext
12705 cat >>conftest.$ac_ext <<_ACEOF
12706 /* end confdefs.h. */
12707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12709 #define $ac_func innocuous_$ac_func
12711 /* System header to define __stub macros and hopefully few prototypes,
12712 which can conflict with char $ac_func (); below.
12713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12714 <limits.h> exists even on freestanding compilers. */
12717 # include <limits.h>
12719 # include <assert.h>
12724 /* Override any GCC internal prototype to avoid an error.
12725 Use char because int might match the return type of a GCC
12726 builtin and then its argument prototype would still apply. */
12731 /* The GNU C library defines this for functions which it implements
12732 to always fail with ENOSYS. Some functions are actually named
12733 something starting with __ and the normal name is an alias. */
12734 #if defined __stub_$ac_func || defined __stub___$ac_func
12741 return $ac_func ();
12746 rm -f conftest.$ac_objext conftest$ac_exeext
12747 if { (ac_try="$ac_link"
12748 case "(($ac_try" in
12749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12750 *) ac_try_echo=$ac_try;;
12752 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12753 (eval "$ac_link") 2>conftest.er1
12755 grep -v '^ *+' conftest.er1 >conftest.err
12757 cat conftest.err >&5
12758 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12759 (exit $ac_status); } && {
12760 test -z "$ac_c_werror_flag" ||
12761 test ! -s conftest.err
12762 } && test -s conftest$ac_exeext &&
12763 $as_test_x conftest$ac_exeext; then
12764 eval "$as_ac_var=yes"
12766 echo "$as_me: failed program was
:" >&5
12767 sed 's/^/| /' conftest.$ac_ext >&5
12769 eval "$as_ac_var=no
"
12772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12773 conftest$ac_exeext conftest.$ac_ext
12775 ac_res=`eval echo '${'$as_ac_var'}'`
12776 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12777 echo "${ECHO_T}$ac_res" >&6; }
12778 if test `eval echo '${'$as_ac_var'}'` = yes; then
12779 cat >>confdefs.h <<_ACEOF
12780 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12786 { echo "$as_me:$LINENO: checking
for working mmap
" >&5
12787 echo $ECHO_N "checking
for working mmap...
$ECHO_C" >&6; }
12788 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12789 echo $ECHO_N "(cached
) $ECHO_C" >&6
12791 if test "$cross_compiling" = yes; then
12792 ac_cv_func_mmap_fixed_mapped=no
12794 cat >conftest.$ac_ext <<_ACEOF
12797 cat confdefs.h >>conftest.$ac_ext
12798 cat >>conftest.$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12800 $ac_includes_default
12801 /* malloc might have been renamed as rpl_malloc. */
12804 /* Thanks to Mike Haertel and Jim Avera for this test.
12805 Here is a matrix of mmap possibilities:
12806 mmap private not fixed
12807 mmap private fixed at somewhere currently unmapped
12808 mmap private fixed at somewhere already mapped
12809 mmap shared not fixed
12810 mmap shared fixed at somewhere currently unmapped
12811 mmap shared fixed at somewhere already mapped
12812 For private mappings, we should verify that changes cannot be read()
12813 back from the file, nor mmap's back from the file at a different
12814 address. (There have been systems where private was not correctly
12815 implemented like the infamous i386 svr4.0, and systems where the
12816 VM page cache was not coherent with the file system buffer cache
12817 like early versions of FreeBSD and possibly contemporary NetBSD.)
12818 For shared mappings, we should conversely verify that changes get
12819 propagated back to all the places they're supposed to be.
12821 Grep wants private fixed already mapped.
12822 The main things grep needs to know about mmap are:
12823 * does it exist and is it safe to write into the mmap'd area
12824 * how to use it (BSD variants) */
12827 #include <sys/mman.h>
12829 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12833 /* This mess was copied from the GNU getpagesize.h. */
12834 #ifndef HAVE_GETPAGESIZE
12835 /* Assume that all systems that can run configure have sys/param.h. */
12836 # ifndef HAVE_SYS_PARAM_H
12837 # define HAVE_SYS_PARAM_H 1
12840 # ifdef _SC_PAGESIZE
12841 # define getpagesize() sysconf(_SC_PAGESIZE)
12842 # else /* no _SC_PAGESIZE */
12843 # ifdef HAVE_SYS_PARAM_H
12844 # include <sys/param.h>
12845 # ifdef EXEC_PAGESIZE
12846 # define getpagesize() EXEC_PAGESIZE
12847 # else /* no EXEC_PAGESIZE */
12849 # define getpagesize() NBPG * CLSIZE
12852 # endif /* no CLSIZE */
12853 # else /* no NBPG */
12855 # define getpagesize() NBPC
12856 # else /* no NBPC */
12858 # define getpagesize() PAGESIZE
12859 # endif /* PAGESIZE */
12860 # endif /* no NBPC */
12861 # endif /* no NBPG */
12862 # endif /* no EXEC_PAGESIZE */
12863 # else /* no HAVE_SYS_PARAM_H */
12864 # define getpagesize() 8192 /* punt totally */
12865 # endif /* no HAVE_SYS_PARAM_H */
12866 # endif /* no _SC_PAGESIZE */
12868 #endif /* no HAVE_GETPAGESIZE */
12873 char *data, *data2, *data3;
12877 pagesize = getpagesize ();
12879 /* First, make a file with some known garbage in it. */
12880 data = (char *) malloc (pagesize);
12883 for (i = 0; i < pagesize; ++i)
12884 *(data + i) = rand ();
12886 fd = creat ("conftest.mmap
", 0600);
12889 if (write (fd, data, pagesize) != pagesize)
12893 /* Next, try to mmap the file at a fixed address which already has
12894 something else allocated at it. If we can, also make sure that
12895 we see the same garbage. */
12896 fd = open ("conftest.mmap
", O_RDWR);
12899 data2 = (char *) malloc (2 * pagesize);
12902 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
12903 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12904 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12906 for (i = 0; i < pagesize; ++i)
12907 if (*(data + i) != *(data2 + i))
12910 /* Finally, make sure that changes to the mapped area do not
12911 percolate back to the file as seen by read(). (This is a bug on
12912 some variants of i386 svr4.0.) */
12913 for (i = 0; i < pagesize; ++i)
12914 *(data2 + i) = *(data2 + i) + 1;
12915 data3 = (char *) malloc (pagesize);
12918 if (read (fd, data3, pagesize) != pagesize)
12920 for (i = 0; i < pagesize; ++i)
12921 if (*(data + i) != *(data3 + i))
12927 rm -f conftest$ac_exeext
12928 if { (ac_try="$ac_link"
12929 case "(($ac_try" in
12930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12931 *) ac_try_echo=$ac_try;;
12933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12934 (eval "$ac_link") 2>&5
12936 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12938 { (case "(($ac_try" in
12939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12940 *) ac_try_echo=$ac_try;;
12942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12943 (eval "$ac_try") 2>&5
12945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12946 (exit $ac_status); }; }; then
12947 ac_cv_func_mmap_fixed_mapped=yes
12949 echo "$as_me: program exited with status
$ac_status" >&5
12950 echo "$as_me: failed program was
:" >&5
12951 sed 's/^/| /' conftest.$ac_ext >&5
12953 ( exit $ac_status )
12954 ac_cv_func_mmap_fixed_mapped=no
12956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12961 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
12962 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
12963 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12965 cat >>confdefs.h <<\_ACEOF
12966 #define HAVE_MMAP 1
12970 rm -f conftest.mmap
12974 for ac_header in sys/select.h sys/socket.h
12976 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
12977 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12978 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12979 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12980 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12981 echo $ECHO_N "(cached
) $ECHO_C" >&6
12983 ac_res=`eval echo '${'$as_ac_Header'}'`
12984 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12985 echo "${ECHO_T}$ac_res" >&6; }
12987 # Is the header compilable?
12988 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12989 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12990 cat >conftest.$ac_ext <<_ACEOF
12993 cat confdefs.h >>conftest.$ac_ext
12994 cat >>conftest.$ac_ext <<_ACEOF
12995 /* end confdefs.h. */
12996 $ac_includes_default
12997 #include <$ac_header>
12999 rm -f conftest.$ac_objext
13000 if { (ac_try="$ac_compile"
13001 case "(($ac_try" in
13002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13003 *) ac_try_echo=$ac_try;;
13005 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13006 (eval "$ac_compile") 2>conftest.er1
13008 grep -v '^ *+' conftest.er1 >conftest.err
13010 cat conftest.err >&5
13011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13012 (exit $ac_status); } && {
13013 test -z "$ac_c_werror_flag" ||
13014 test ! -s conftest.err
13015 } && test -s conftest.$ac_objext; then
13016 ac_header_compiler=yes
13018 echo "$as_me: failed program was
:" >&5
13019 sed 's/^/| /' conftest.$ac_ext >&5
13021 ac_header_compiler=no
13024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13025 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
13026 echo "${ECHO_T}$ac_header_compiler" >&6; }
13028 # Is the header present?
13029 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
13030 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
13031 cat >conftest.$ac_ext <<_ACEOF
13034 cat confdefs.h >>conftest.$ac_ext
13035 cat >>conftest.$ac_ext <<_ACEOF
13036 /* end confdefs.h. */
13037 #include <$ac_header>
13039 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13040 case "(($ac_try" in
13041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13042 *) ac_try_echo=$ac_try;;
13044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13045 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13047 grep -v '^ *+' conftest.er1 >conftest.err
13049 cat conftest.err >&5
13050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13051 (exit $ac_status); } >/dev/null && {
13052 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13053 test ! -s conftest.err
13055 ac_header_preproc=yes
13057 echo "$as_me: failed program was
:" >&5
13058 sed 's/^/| /' conftest.$ac_ext >&5
13060 ac_header_preproc=no
13063 rm -f conftest.err conftest.$ac_ext
13064 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
13065 echo "${ECHO_T}$ac_header_preproc" >&6; }
13067 # So? What about this header?
13068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13070 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
13071 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
13072 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
13073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
13074 ac_header_preproc=yes
13077 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
13078 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
13079 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
13080 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
13081 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
13082 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
13083 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
13084 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
13085 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
13086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
13087 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
13088 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
13092 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
13093 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
13094 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13095 echo $ECHO_N "(cached
) $ECHO_C" >&6
13097 eval "$as_ac_Header=\
$ac_header_preproc"
13099 ac_res=`eval echo '${'$as_ac_Header'}'`
13100 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13101 echo "${ECHO_T}$ac_res" >&6; }
13104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13105 cat >>confdefs.h <<_ACEOF
13106 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
13113 { echo "$as_me:$LINENO: checking types of arguments
for select" >&5
13114 echo $ECHO_N "checking types of arguments
for select...
$ECHO_C" >&6; }
13115 if test "${ac_cv_func_select_args+set}" = set; then
13116 echo $ECHO_N "(cached
) $ECHO_C" >&6
13118 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
13119 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
13120 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
13121 cat >conftest.$ac_ext <<_ACEOF
13124 cat confdefs.h >>conftest.$ac_ext
13125 cat >>conftest.$ac_ext <<_ACEOF
13126 /* end confdefs.h. */
13127 $ac_includes_default
13128 #ifdef HAVE_SYS_SELECT_H
13129 # include <sys/select.h>
13131 #ifdef HAVE_SYS_SOCKET_H
13132 # include <sys/socket.h>
13138 extern int select ($ac_arg1,
13139 $ac_arg234, $ac_arg234, $ac_arg234,
13145 rm -f conftest.$ac_objext
13146 if { (ac_try="$ac_compile"
13147 case "(($ac_try" in
13148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13149 *) ac_try_echo=$ac_try;;
13151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13152 (eval "$ac_compile") 2>conftest.er1
13154 grep -v '^ *+' conftest.er1 >conftest.err
13156 cat conftest.err >&5
13157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13158 (exit $ac_status); } && {
13159 test -z "$ac_c_werror_flag" ||
13160 test ! -s conftest.err
13161 } && test -s conftest.$ac_objext; then
13162 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
13164 echo "$as_me: failed program was
:" >&5
13165 sed 's/^/| /' conftest.$ac_ext >&5
13170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13174 # Provide a safe default value.
13175 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
13178 { echo "$as_me:$LINENO: result
: $ac_cv_func_select_args" >&5
13179 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
13180 ac_save_IFS=$IFS; IFS=','
13181 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
13185 cat >>confdefs.h <<_ACEOF
13186 #define SELECT_TYPE_ARG1 $1
13190 cat >>confdefs.h <<_ACEOF
13191 #define SELECT_TYPE_ARG234 ($2)
13195 cat >>confdefs.h <<_ACEOF
13196 #define SELECT_TYPE_ARG5 ($3)
13201 { echo "$as_me:$LINENO: checking
for function prototypes
" >&5
13202 echo $ECHO_N "checking
for function prototypes...
$ECHO_C" >&6; }
13203 if test "$ac_cv_prog_cc_c89" != no; then
13204 { echo "$as_me:$LINENO: result
: yes" >&5
13205 echo "${ECHO_T}yes" >&6; }
13207 cat >>confdefs.h <<\_ACEOF
13208 #define PROTOTYPES 1
13212 cat >>confdefs.h <<\_ACEOF
13213 #define __PROTOTYPES 1
13217 { echo "$as_me:$LINENO: result
: no
" >&5
13218 echo "${ECHO_T}no
" >&6; }
13221 { echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed
" >&5
13222 echo $ECHO_N "checking whether setvbuf arguments are reversed...
$ECHO_C" >&6; }
13223 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
13224 echo $ECHO_N "(cached
) $ECHO_C" >&6
13226 ac_cv_func_setvbuf_reversed=no
13227 cat >conftest.$ac_ext <<_ACEOF
13230 cat confdefs.h >>conftest.$ac_ext
13231 cat >>conftest.$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13235 int (setvbuf) (FILE *, int, char *, size_t);
13240 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
13245 rm -f conftest.$ac_objext conftest$ac_exeext
13246 if { (ac_try="$ac_link"
13247 case "(($ac_try" in
13248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13249 *) ac_try_echo=$ac_try;;
13251 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13252 (eval "$ac_link") 2>conftest.er1
13254 grep -v '^ *+' conftest.er1 >conftest.err
13256 cat conftest.err >&5
13257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13258 (exit $ac_status); } && {
13259 test -z "$ac_c_werror_flag" ||
13260 test ! -s conftest.err
13261 } && test -s conftest$ac_exeext &&
13262 $as_test_x conftest$ac_exeext; then
13263 cat >conftest.$ac_ext <<_ACEOF
13266 cat confdefs.h >>conftest.$ac_ext
13267 cat >>conftest.$ac_ext <<_ACEOF
13268 /* end confdefs.h. */
13271 int (setvbuf) (FILE *, int, char *, size_t);
13276 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
13281 rm -f conftest.$ac_objext conftest$ac_exeext
13282 if { (ac_try="$ac_link"
13283 case "(($ac_try" in
13284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13285 *) ac_try_echo=$ac_try;;
13287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13288 (eval "$ac_link") 2>conftest.er1
13290 grep -v '^ *+' conftest.er1 >conftest.err
13292 cat conftest.err >&5
13293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13294 (exit $ac_status); } && {
13295 test -z "$ac_c_werror_flag" ||
13296 test ! -s conftest.err
13297 } && test -s conftest$ac_exeext &&
13298 $as_test_x conftest$ac_exeext; then
13299 # It compiles and links either way, so it must not be declared
13300 # with a prototype and most likely this is a K&R C compiler.
13302 if test "$cross_compiling" = yes; then
13303 : # Assume setvbuf is not reversed when cross-compiling.
13305 cat >conftest.$ac_ext <<_ACEOF
13308 cat confdefs.h >>conftest.$ac_ext
13309 cat >>conftest.$ac_ext <<_ACEOF
13310 /* end confdefs.h. */
13311 $ac_includes_default
13315 /* This call has the arguments reversed.
13316 A reversed system may check and see that the address of buf
13317 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
13319 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
13322 return 0; /* Non-reversed systems SEGV here. */
13327 rm -f conftest$ac_exeext
13328 if { (ac_try="$ac_link"
13329 case "(($ac_try" in
13330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13331 *) ac_try_echo=$ac_try;;
13333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13334 (eval "$ac_link") 2>&5
13336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13338 { (case "(($ac_try" in
13339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13340 *) ac_try_echo=$ac_try;;
13342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13343 (eval "$ac_try") 2>&5
13345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13346 (exit $ac_status); }; }; then
13347 ac_cv_func_setvbuf_reversed=yes
13349 echo "$as_me: program exited with status
$ac_status" >&5
13350 echo "$as_me: failed program was
:" >&5
13351 sed 's/^/| /' conftest.$ac_ext >&5
13354 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13358 ac_cv_func_setvbuf_reversed=yes
13360 echo "$as_me: failed program was
:" >&5
13361 sed 's/^/| /' conftest.$ac_ext >&5
13366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13367 conftest$ac_exeext conftest.$ac_ext
13369 echo "$as_me: failed program was
:" >&5
13370 sed 's/^/| /' conftest.$ac_ext >&5
13375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13376 conftest$ac_exeext conftest.$ac_ext
13378 { echo "$as_me:$LINENO: result
: $ac_cv_func_setvbuf_reversed" >&5
13379 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6; }
13380 if test $ac_cv_func_setvbuf_reversed = yes; then
13382 cat >>confdefs.h <<\_ACEOF
13383 #define SETVBUF_REVERSED 1
13388 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
13389 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
13390 if test "${ac_cv_type_signal+set}" = set; then
13391 echo $ECHO_N "(cached
) $ECHO_C" >&6
13393 cat >conftest.$ac_ext <<_ACEOF
13396 cat confdefs.h >>conftest.$ac_ext
13397 cat >>conftest.$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13399 #include <sys/types.h>
13400 #include <signal.h>
13405 return *(signal (0, 0)) (0) == 1;
13410 rm -f conftest.$ac_objext
13411 if { (ac_try="$ac_compile"
13412 case "(($ac_try" in
13413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13414 *) ac_try_echo=$ac_try;;
13416 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13417 (eval "$ac_compile") 2>conftest.er1
13419 grep -v '^ *+' conftest.er1 >conftest.err
13421 cat conftest.err >&5
13422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13423 (exit $ac_status); } && {
13424 test -z "$ac_c_werror_flag" ||
13425 test ! -s conftest.err
13426 } && test -s conftest.$ac_objext; then
13427 ac_cv_type_signal=int
13429 echo "$as_me: failed program was
:" >&5
13430 sed 's/^/| /' conftest.$ac_ext >&5
13432 ac_cv_type_signal=void
13435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13437 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
13438 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
13440 cat >>confdefs.h <<_ACEOF
13441 #define RETSIGTYPE $ac_cv_type_signal
13445 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
13446 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash...
$ECHO_C" >&6; }
13447 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
13448 echo $ECHO_N "(cached
) $ECHO_C" >&6
13450 rm -f conftest.sym conftest.file
13451 echo >conftest.file
13452 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
13453 if test "$cross_compiling" = yes; then
13454 ac_cv_func_lstat_dereferences_slashed_symlink=no
13456 cat >conftest.$ac_ext <<_ACEOF
13459 cat confdefs.h >>conftest.$ac_ext
13460 cat >>conftest.$ac_ext <<_ACEOF
13461 /* end confdefs.h. */
13462 $ac_includes_default
13467 /* Linux will dereference the symlink and fail.
13468 That is better in the sense that it means we will not
13469 have to compile and use the lstat wrapper. */
13470 return lstat ("conftest.sym
/", &sbuf) == 0;
13475 rm -f conftest$ac_exeext
13476 if { (ac_try="$ac_link"
13477 case "(($ac_try" in
13478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13479 *) ac_try_echo=$ac_try;;
13481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13482 (eval "$ac_link") 2>&5
13484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13486 { (case "(($ac_try" in
13487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13488 *) ac_try_echo=$ac_try;;
13490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13491 (eval "$ac_try") 2>&5
13493 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13494 (exit $ac_status); }; }; then
13495 ac_cv_func_lstat_dereferences_slashed_symlink=yes
13497 echo "$as_me: program exited with status
$ac_status" >&5
13498 echo "$as_me: failed program was
:" >&5
13499 sed 's/^/| /' conftest.$ac_ext >&5
13501 ( exit $ac_status )
13502 ac_cv_func_lstat_dereferences_slashed_symlink=no
13504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13509 # If the `ln -s' command failed, then we probably don't even
13510 # have an lstat function.
13511 ac_cv_func_lstat_dereferences_slashed_symlink=no
13513 rm -f conftest.sym conftest.file
13516 { echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
13517 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
13519 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
13521 cat >>confdefs.h <<_ACEOF
13522 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
13526 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
13527 case " $LIBOBJS " in
13528 *" lstat.
$ac_objext "* ) ;;
13529 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
13535 { echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
13536 echo $ECHO_N "checking whether stat accepts an empty string...
$ECHO_C" >&6; }
13537 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
13538 echo $ECHO_N "(cached
) $ECHO_C" >&6
13540 if test "$cross_compiling" = yes; then
13541 ac_cv_func_stat_empty_string_bug=yes
13543 cat >conftest.$ac_ext <<_ACEOF
13546 cat confdefs.h >>conftest.$ac_ext
13547 cat >>conftest.$ac_ext <<_ACEOF
13548 /* end confdefs.h. */
13549 $ac_includes_default
13554 return stat ("", &sbuf) == 0;
13559 rm -f conftest$ac_exeext
13560 if { (ac_try="$ac_link"
13561 case "(($ac_try" in
13562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13563 *) ac_try_echo=$ac_try;;
13565 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13566 (eval "$ac_link") 2>&5
13568 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13570 { (case "(($ac_try" in
13571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13572 *) ac_try_echo=$ac_try;;
13574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13575 (eval "$ac_try") 2>&5
13577 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13578 (exit $ac_status); }; }; then
13579 ac_cv_func_stat_empty_string_bug=no
13581 echo "$as_me: program exited with status
$ac_status" >&5
13582 echo "$as_me: failed program was
:" >&5
13583 sed 's/^/| /' conftest.$ac_ext >&5
13585 ( exit $ac_status )
13586 ac_cv_func_stat_empty_string_bug=yes
13588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13593 { echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
13594 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
13595 if test $ac_cv_func_stat_empty_string_bug = yes; then
13596 case " $LIBOBJS " in
13597 *" stat.
$ac_objext "* ) ;;
13598 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
13603 cat >>confdefs.h <<_ACEOF
13604 #define HAVE_STAT_EMPTY_STRING_BUG 1
13609 { echo "$as_me:$LINENO: checking
for working strcoll
" >&5
13610 echo $ECHO_N "checking
for working strcoll...
$ECHO_C" >&6; }
13611 if test "${ac_cv_func_strcoll_works+set}" = set; then
13612 echo $ECHO_N "(cached
) $ECHO_C" >&6
13614 if test "$cross_compiling" = yes; then
13615 ac_cv_func_strcoll_works=no
13617 cat >conftest.$ac_ext <<_ACEOF
13620 cat confdefs.h >>conftest.$ac_ext
13621 cat >>conftest.$ac_ext <<_ACEOF
13622 /* end confdefs.h. */
13623 $ac_includes_default
13627 return (strcoll ("abc
", "def
") >= 0 ||
13628 strcoll ("ABC
", "DEF
") >= 0 ||
13629 strcoll ("123", "456") >= 0)
13634 rm -f conftest$ac_exeext
13635 if { (ac_try="$ac_link"
13636 case "(($ac_try" in
13637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13638 *) ac_try_echo=$ac_try;;
13640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13641 (eval "$ac_link") 2>&5
13643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13645 { (case "(($ac_try" in
13646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13647 *) ac_try_echo=$ac_try;;
13649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13650 (eval "$ac_try") 2>&5
13652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 ac_cv_func_strcoll_works=yes
13656 echo "$as_me: program exited with status
$ac_status" >&5
13657 echo "$as_me: failed program was
:" >&5
13658 sed 's/^/| /' conftest.$ac_ext >&5
13660 ( exit $ac_status )
13661 ac_cv_func_strcoll_works=no
13663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13668 { echo "$as_me:$LINENO: result
: $ac_cv_func_strcoll_works" >&5
13669 echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6; }
13670 if test $ac_cv_func_strcoll_works = yes; then
13672 cat >>confdefs.h <<\_ACEOF
13673 #define HAVE_STRCOLL 1
13679 for ac_func in strftime
13681 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13682 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
13683 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
13684 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
13685 echo $ECHO_N "(cached
) $ECHO_C" >&6
13687 cat >conftest.$ac_ext <<_ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13695 #define $ac_func innocuous_$ac_func
13697 /* System header to define __stub macros and hopefully few prototypes,
13698 which can conflict with char $ac_func (); below.
13699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13700 <limits.h> exists even on freestanding compilers. */
13703 # include <limits.h>
13705 # include <assert.h>
13710 /* Override any GCC internal prototype to avoid an error.
13711 Use char because int might match the return type of a GCC
13712 builtin and then its argument prototype would still apply. */
13717 /* The GNU C library defines this for functions which it implements
13718 to always fail with ENOSYS. Some functions are actually named
13719 something starting with __ and the normal name is an alias. */
13720 #if defined __stub_$ac_func || defined __stub___$ac_func
13727 return $ac_func ();
13732 rm -f conftest.$ac_objext conftest$ac_exeext
13733 if { (ac_try="$ac_link"
13734 case "(($ac_try" in
13735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13736 *) ac_try_echo=$ac_try;;
13738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13739 (eval "$ac_link") 2>conftest.er1
13741 grep -v '^ *+' conftest.er1 >conftest.err
13743 cat conftest.err >&5
13744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13745 (exit $ac_status); } && {
13746 test -z "$ac_c_werror_flag" ||
13747 test ! -s conftest.err
13748 } && test -s conftest$ac_exeext &&
13749 $as_test_x conftest$ac_exeext; then
13750 eval "$as_ac_var=yes"
13752 echo "$as_me: failed program was
:" >&5
13753 sed 's/^/| /' conftest.$ac_ext >&5
13755 eval "$as_ac_var=no
"
13758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13759 conftest$ac_exeext conftest.$ac_ext
13761 ac_res=`eval echo '${'$as_ac_var'}'`
13762 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13763 echo "${ECHO_T}$ac_res" >&6; }
13764 if test `eval echo '${'$as_ac_var'}'` = yes; then
13765 cat >>confdefs.h <<_ACEOF
13766 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13770 # strftime is in -lintl on SCO UNIX.
13771 { echo "$as_me:$LINENO: checking
for strftime
in -lintl" >&5
13772 echo $ECHO_N "checking
for strftime
in -lintl...
$ECHO_C" >&6; }
13773 if test "${ac_cv_lib_intl_strftime+set}" = set; then
13774 echo $ECHO_N "(cached
) $ECHO_C" >&6
13776 ac_check_lib_save_LIBS=$LIBS
13777 LIBS="-lintl $LIBS"
13778 cat >conftest.$ac_ext <<_ACEOF
13781 cat confdefs.h >>conftest.$ac_ext
13782 cat >>conftest.$ac_ext <<_ACEOF
13783 /* end confdefs.h. */
13785 /* Override any GCC internal prototype to avoid an error.
13786 Use char because int might match the return type of a GCC
13787 builtin and then its argument prototype would still apply. */
13795 return strftime ();
13800 rm -f conftest.$ac_objext conftest$ac_exeext
13801 if { (ac_try="$ac_link"
13802 case "(($ac_try" in
13803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13804 *) ac_try_echo=$ac_try;;
13806 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13807 (eval "$ac_link") 2>conftest.er1
13809 grep -v '^ *+' conftest.er1 >conftest.err
13811 cat conftest.err >&5
13812 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13813 (exit $ac_status); } && {
13814 test -z "$ac_c_werror_flag" ||
13815 test ! -s conftest.err
13816 } && test -s conftest$ac_exeext &&
13817 $as_test_x conftest$ac_exeext; then
13818 ac_cv_lib_intl_strftime=yes
13820 echo "$as_me: failed program was
:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13823 ac_cv_lib_intl_strftime=no
13826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13827 conftest$ac_exeext conftest.$ac_ext
13828 LIBS=$ac_check_lib_save_LIBS
13830 { echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_strftime" >&5
13831 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
13832 if test $ac_cv_lib_intl_strftime = yes; then
13833 cat >>confdefs.h <<\_ACEOF
13834 #define HAVE_STRFTIME 1
13837 LIBS="-lintl $LIBS"
13843 { echo "$as_me:$LINENO: checking
for working strnlen
" >&5
13844 echo $ECHO_N "checking
for working strnlen...
$ECHO_C" >&6; }
13845 if test "${ac_cv_func_strnlen_working+set}" = set; then
13846 echo $ECHO_N "(cached
) $ECHO_C" >&6
13848 if test "$cross_compiling" = yes; then
13849 ac_cv_func_strnlen_working=no
13851 cat >conftest.$ac_ext <<_ACEOF
13854 cat confdefs.h >>conftest.$ac_ext
13855 cat >>conftest.$ac_ext <<_ACEOF
13856 /* end confdefs.h. */
13857 $ac_includes_default
13863 #define S_LEN (sizeof S - 1)
13865 /* At least one implementation is buggy: that of AIX 4.3 would
13866 give strnlen (S, 1) == 3. */
13869 for (i = 0; i < S_LEN + 1; ++i)
13871 int expected = i <= S_LEN ? i : S_LEN;
13872 if (strnlen (S, i) != expected)
13881 rm -f conftest$ac_exeext
13882 if { (ac_try="$ac_link"
13883 case "(($ac_try" in
13884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13885 *) ac_try_echo=$ac_try;;
13887 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13888 (eval "$ac_link") 2>&5
13890 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13892 { (case "(($ac_try" in
13893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13894 *) ac_try_echo=$ac_try;;
13896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13897 (eval "$ac_try") 2>&5
13899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13900 (exit $ac_status); }; }; then
13901 ac_cv_func_strnlen_working=yes
13903 echo "$as_me: program exited with status
$ac_status" >&5
13904 echo "$as_me: failed program was
:" >&5
13905 sed 's/^/| /' conftest.$ac_ext >&5
13907 ( exit $ac_status )
13908 ac_cv_func_strnlen_working=no
13910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13915 { echo "$as_me:$LINENO: result
: $ac_cv_func_strnlen_working" >&5
13916 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6; }
13917 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
13918 *" strnlen.
$ac_objext "* ) ;;
13919 *) LIBOBJS="$LIBOBJS strnlen.
$ac_objext"
13924 { echo "$as_me:$LINENO: checking
for working strtod
" >&5
13925 echo $ECHO_N "checking
for working strtod...
$ECHO_C" >&6; }
13926 if test "${ac_cv_func_strtod+set}" = set; then
13927 echo $ECHO_N "(cached
) $ECHO_C" >&6
13929 if test "$cross_compiling" = yes; then
13930 ac_cv_func_strtod=no
13932 cat >conftest.$ac_ext <<_ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13939 $ac_includes_default
13947 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
13948 char *string = " +69";
13951 value = strtod (string, &term);
13952 if (value != 69 || term != (string + 4))
13957 /* Under Solaris 2.4, strtod returns the wrong value for the
13958 terminating character under some conditions. */
13959 char *string = "NaN
";
13961 strtod (string, &term);
13962 if (term != string && *(term - 1) == 0)
13969 rm -f conftest$ac_exeext
13970 if { (ac_try="$ac_link"
13971 case "(($ac_try" in
13972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13973 *) ac_try_echo=$ac_try;;
13975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13976 (eval "$ac_link") 2>&5
13978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13980 { (case "(($ac_try" in
13981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13982 *) ac_try_echo=$ac_try;;
13984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13985 (eval "$ac_try") 2>&5
13987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13988 (exit $ac_status); }; }; then
13989 ac_cv_func_strtod=yes
13991 echo "$as_me: program exited with status
$ac_status" >&5
13992 echo "$as_me: failed program was
:" >&5
13993 sed 's/^/| /' conftest.$ac_ext >&5
13995 ( exit $ac_status )
13996 ac_cv_func_strtod=no
13998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14003 { echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
14004 echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
14005 if test $ac_cv_func_strtod = no; then
14006 case " $LIBOBJS " in
14007 *" strtod.
$ac_objext "* ) ;;
14008 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
14012 { echo "$as_me:$LINENO: checking
for pow
" >&5
14013 echo $ECHO_N "checking
for pow...
$ECHO_C" >&6; }
14014 if test "${ac_cv_func_pow+set}" = set; then
14015 echo $ECHO_N "(cached
) $ECHO_C" >&6
14017 cat >conftest.$ac_ext <<_ACEOF
14020 cat confdefs.h >>conftest.$ac_ext
14021 cat >>conftest.$ac_ext <<_ACEOF
14022 /* end confdefs.h. */
14023 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
14024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14025 #define pow innocuous_pow
14027 /* System header to define __stub macros and hopefully few prototypes,
14028 which can conflict with char pow (); below.
14029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14030 <limits.h> exists even on freestanding compilers. */
14033 # include <limits.h>
14035 # include <assert.h>
14040 /* Override any GCC internal prototype to avoid an error.
14041 Use char because int might match the return type of a GCC
14042 builtin and then its argument prototype would still apply. */
14047 /* The GNU C library defines this for functions which it implements
14048 to always fail with ENOSYS. Some functions are actually named
14049 something starting with __ and the normal name is an alias. */
14050 #if defined __stub_pow || defined __stub___pow
14062 rm -f conftest.$ac_objext conftest$ac_exeext
14063 if { (ac_try="$ac_link"
14064 case "(($ac_try" in
14065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14066 *) ac_try_echo=$ac_try;;
14068 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14069 (eval "$ac_link") 2>conftest.er1
14071 grep -v '^ *+' conftest.er1 >conftest.err
14073 cat conftest.err >&5
14074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14075 (exit $ac_status); } && {
14076 test -z "$ac_c_werror_flag" ||
14077 test ! -s conftest.err
14078 } && test -s conftest$ac_exeext &&
14079 $as_test_x conftest$ac_exeext; then
14082 echo "$as_me: failed program was
:" >&5
14083 sed 's/^/| /' conftest.$ac_ext >&5
14088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14089 conftest$ac_exeext conftest.$ac_ext
14091 { echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
14092 echo "${ECHO_T}$ac_cv_func_pow" >&6; }
14094 if test $ac_cv_func_pow = no; then
14095 { echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
14096 echo $ECHO_N "checking
for pow
in -lm...
$ECHO_C" >&6; }
14097 if test "${ac_cv_lib_m_pow+set}" = set; then
14098 echo $ECHO_N "(cached
) $ECHO_C" >&6
14100 ac_check_lib_save_LIBS=$LIBS
14102 cat >conftest.$ac_ext <<_ACEOF
14105 cat confdefs.h >>conftest.$ac_ext
14106 cat >>conftest.$ac_ext <<_ACEOF
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14124 rm -f conftest.$ac_objext conftest$ac_exeext
14125 if { (ac_try="$ac_link"
14126 case "(($ac_try" in
14127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14128 *) ac_try_echo=$ac_try;;
14130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14131 (eval "$ac_link") 2>conftest.er1
14133 grep -v '^ *+' conftest.er1 >conftest.err
14135 cat conftest.err >&5
14136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14137 (exit $ac_status); } && {
14138 test -z "$ac_c_werror_flag" ||
14139 test ! -s conftest.err
14140 } && test -s conftest$ac_exeext &&
14141 $as_test_x conftest$ac_exeext; then
14142 ac_cv_lib_m_pow=yes
14144 echo "$as_me: failed program was
:" >&5
14145 sed 's/^/| /' conftest.$ac_ext >&5
14150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14151 conftest$ac_exeext conftest.$ac_ext
14152 LIBS=$ac_check_lib_save_LIBS
14154 { echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
14155 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
14156 if test $ac_cv_lib_m_pow = yes; then
14159 { echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
14160 echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
14175 { echo "$as_me:$LINENO: checking whether utime accepts a null argument
" >&5
14176 echo $ECHO_N "checking whether utime accepts a null argument...
$ECHO_C" >&6; }
14177 if test "${ac_cv_func_utime_null+set}" = set; then
14178 echo $ECHO_N "(cached
) $ECHO_C" >&6
14180 rm -f conftest.data; >conftest.data
14181 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
14182 if test "$cross_compiling" = yes; then
14183 ac_cv_func_utime_null=no
14185 cat >conftest.$ac_ext <<_ACEOF
14188 cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 $ac_includes_default
14192 #ifdef HAVE_UTIME_H
14193 # include <utime.h>
14199 return ! (stat ("conftest.data
", &s) == 0
14200 && utime ("conftest.data
", 0) == 0
14201 && stat ("conftest.data
", &t) == 0
14202 && t.st_mtime >= s.st_mtime
14203 && t.st_mtime - s.st_mtime < 120);
14208 rm -f conftest$ac_exeext
14209 if { (ac_try="$ac_link"
14210 case "(($ac_try" in
14211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14212 *) ac_try_echo=$ac_try;;
14214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14215 (eval "$ac_link") 2>&5
14217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14218 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14219 { (case "(($ac_try" in
14220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14221 *) ac_try_echo=$ac_try;;
14223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14224 (eval "$ac_try") 2>&5
14226 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 ac_cv_func_utime_null=yes
14230 echo "$as_me: program exited with status
$ac_status" >&5
14231 echo "$as_me: failed program was
:" >&5
14232 sed 's/^/| /' conftest.$ac_ext >&5
14234 ( exit $ac_status )
14235 ac_cv_func_utime_null=no
14237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14242 { echo "$as_me:$LINENO: result
: $ac_cv_func_utime_null" >&5
14243 echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
14244 if test $ac_cv_func_utime_null = yes; then
14246 cat >>confdefs.h <<\_ACEOF
14247 #define HAVE_UTIME_NULL 1
14251 rm -f conftest.data
14254 for ac_func in vprintf
14256 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14257 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
14258 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
14259 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
14260 echo $ECHO_N "(cached
) $ECHO_C" >&6
14262 cat >conftest.$ac_ext <<_ACEOF
14265 cat confdefs.h >>conftest.$ac_ext
14266 cat >>conftest.$ac_ext <<_ACEOF
14267 /* end confdefs.h. */
14268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14270 #define $ac_func innocuous_$ac_func
14272 /* System header to define __stub macros and hopefully few prototypes,
14273 which can conflict with char $ac_func (); below.
14274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14275 <limits.h> exists even on freestanding compilers. */
14278 # include <limits.h>
14280 # include <assert.h>
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14292 /* The GNU C library defines this for functions which it implements
14293 to always fail with ENOSYS. Some functions are actually named
14294 something starting with __ and the normal name is an alias. */
14295 #if defined __stub_$ac_func || defined __stub___$ac_func
14302 return $ac_func ();
14307 rm -f conftest.$ac_objext conftest$ac_exeext
14308 if { (ac_try="$ac_link"
14309 case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311 *) ac_try_echo=$ac_try;;
14313 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_link") 2>conftest.er1
14316 grep -v '^ *+' conftest.er1 >conftest.err
14318 cat conftest.err >&5
14319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14320 (exit $ac_status); } && {
14321 test -z "$ac_c_werror_flag" ||
14322 test ! -s conftest.err
14323 } && test -s conftest$ac_exeext &&
14324 $as_test_x conftest$ac_exeext; then
14325 eval "$as_ac_var=yes"
14327 echo "$as_me: failed program was
:" >&5
14328 sed 's/^/| /' conftest.$ac_ext >&5
14330 eval "$as_ac_var=no
"
14333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14334 conftest$ac_exeext conftest.$ac_ext
14336 ac_res=`eval echo '${'$as_ac_var'}'`
14337 { echo "$as_me:$LINENO: result
: $ac_res" >&5
14338 echo "${ECHO_T}$ac_res" >&6; }
14339 if test `eval echo '${'$as_ac_var'}'` = yes; then
14340 cat >>confdefs.h <<_ACEOF
14341 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14344 { echo "$as_me:$LINENO: checking
for _doprnt
" >&5
14345 echo $ECHO_N "checking
for _doprnt...
$ECHO_C" >&6; }
14346 if test "${ac_cv_func__doprnt+set}" = set; then
14347 echo $ECHO_N "(cached
) $ECHO_C" >&6
14349 cat >conftest.$ac_ext <<_ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
14356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14357 #define _doprnt innocuous__doprnt
14359 /* System header to define __stub macros and hopefully few prototypes,
14360 which can conflict with char _doprnt (); below.
14361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14362 <limits.h> exists even on freestanding compilers. */
14365 # include <limits.h>
14367 # include <assert.h>
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14379 /* The GNU C library defines this for functions which it implements
14380 to always fail with ENOSYS. Some functions are actually named
14381 something starting with __ and the normal name is an alias. */
14382 #if defined __stub__doprnt || defined __stub____doprnt
14394 rm -f conftest.$ac_objext conftest$ac_exeext
14395 if { (ac_try="$ac_link"
14396 case "(($ac_try" in
14397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14398 *) ac_try_echo=$ac_try;;
14400 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14401 (eval "$ac_link") 2>conftest.er1
14403 grep -v '^ *+' conftest.er1 >conftest.err
14405 cat conftest.err >&5
14406 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14407 (exit $ac_status); } && {
14408 test -z "$ac_c_werror_flag" ||
14409 test ! -s conftest.err
14410 } && test -s conftest$ac_exeext &&
14411 $as_test_x conftest$ac_exeext; then
14412 ac_cv_func__doprnt=yes
14414 echo "$as_me: failed program was
:" >&5
14415 sed 's/^/| /' conftest.$ac_ext >&5
14417 ac_cv_func__doprnt=no
14420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14421 conftest$ac_exeext conftest.$ac_ext
14423 { echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
14424 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
14425 if test $ac_cv_func__doprnt = yes; then
14427 cat >>confdefs.h <<\_ACEOF
14428 #define HAVE_DOPRNT 1
14484 for ac_func in asprintf atexit bzero dup2 endpwent floor ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap pow putenv re_comp regcomp rint select setenv socket sqrt strcasecmp strcasestr strchr strcspn strdup strerror strncasecmp strndup strnlen strrchr strsep strspn strstr strtol strtoq unsetenv utime vasprintf
14486 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14487 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
14488 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
14489 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
14490 echo $ECHO_N "(cached
) $ECHO_C" >&6
14492 cat >conftest.$ac_ext <<_ACEOF
14495 cat confdefs.h >>conftest.$ac_ext
14496 cat >>conftest.$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14500 #define $ac_func innocuous_$ac_func
14502 /* System header to define __stub macros and hopefully few prototypes,
14503 which can conflict with char $ac_func (); below.
14504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14505 <limits.h> exists even on freestanding compilers. */
14508 # include <limits.h>
14510 # include <assert.h>
14515 /* Override any GCC internal prototype to avoid an error.
14516 Use char because int might match the return type of a GCC
14517 builtin and then its argument prototype would still apply. */
14522 /* The GNU C library defines this for functions which it implements
14523 to always fail with ENOSYS. Some functions are actually named
14524 something starting with __ and the normal name is an alias. */
14525 #if defined __stub_$ac_func || defined __stub___$ac_func
14532 return $ac_func ();
14537 rm -f conftest.$ac_objext conftest$ac_exeext
14538 if { (ac_try="$ac_link"
14539 case "(($ac_try" in
14540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14541 *) ac_try_echo=$ac_try;;
14543 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14544 (eval "$ac_link") 2>conftest.er1
14546 grep -v '^ *+' conftest.er1 >conftest.err
14548 cat conftest.err >&5
14549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14550 (exit $ac_status); } && {
14551 test -z "$ac_c_werror_flag" ||
14552 test ! -s conftest.err
14553 } && test -s conftest$ac_exeext &&
14554 $as_test_x conftest$ac_exeext; then
14555 eval "$as_ac_var=yes"
14557 echo "$as_me: failed program was
:" >&5
14558 sed 's/^/| /' conftest.$ac_ext >&5
14560 eval "$as_ac_var=no
"
14563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14564 conftest$ac_exeext conftest.$ac_ext
14566 ac_res=`eval echo '${'$as_ac_var'}'`
14567 { echo "$as_me:$LINENO: result
: $ac_res" >&5
14568 echo "${ECHO_T}$ac_res" >&6; }
14569 if test `eval echo '${'$as_ac_var'}'` = yes; then
14570 cat >>confdefs.h <<_ACEOF
14571 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14578 { echo "$as_me:$LINENO: checking
for PTHREAD_RWLOCK_INITIALIZER
" >&5
14579 echo $ECHO_N "checking
for PTHREAD_RWLOCK_INITIALIZER...
$ECHO_C" >&6; }
14580 cat >conftest.$ac_ext <<_ACEOF
14583 cat confdefs.h >>conftest.$ac_ext
14584 cat >>conftest.$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14586 #include <pthread.h>
14590 int foo = PTHREAD_RWLOCK_INITIALIZER;
14595 rm -f conftest.$ac_objext conftest$ac_exeext
14596 if { (ac_try="$ac_link"
14597 case "(($ac_try" in
14598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14599 *) ac_try_echo=$ac_try;;
14601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14602 (eval "$ac_link") 2>conftest.er1
14604 grep -v '^ *+' conftest.er1 >conftest.err
14606 cat conftest.err >&5
14607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14608 (exit $ac_status); } && {
14609 test -z "$ac_c_werror_flag" ||
14610 test ! -s conftest.err
14611 } && test -s conftest$ac_exeext &&
14612 $as_test_x conftest$ac_exeext; then
14613 { echo "$as_me:$LINENO: result
: yes" >&5
14614 echo "${ECHO_T}yes" >&6; }
14616 cat >>confdefs.h <<\_ACEOF
14617 #define HAVE_PTHREAD_RWLOCK_INITIALIZER 1
14621 echo "$as_me: failed program was
:" >&5
14622 sed 's/^/| /' conftest.$ac_ext >&5
14624 { echo "$as_me:$LINENO: result
: no
" >&5
14625 echo "${ECHO_T}no
" >&6; }
14629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14630 conftest$ac_exeext conftest.$ac_ext
14632 { echo "$as_me:$LINENO: checking
for PTHREAD_RWLOCK_PREFER_WRITER_NP
" >&5
14633 echo $ECHO_N "checking
for PTHREAD_RWLOCK_PREFER_WRITER_NP...
$ECHO_C" >&6; }
14634 cat >conftest.$ac_ext <<_ACEOF
14637 cat confdefs.h >>conftest.$ac_ext
14638 cat >>conftest.$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14640 #include <pthread.h>
14644 int foo = PTHREAD_RWLOCK_PREFER_WRITER_NP;
14649 rm -f conftest.$ac_objext conftest$ac_exeext
14650 if { (ac_try="$ac_link"
14651 case "(($ac_try" in
14652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14653 *) ac_try_echo=$ac_try;;
14655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14656 (eval "$ac_link") 2>conftest.er1
14658 grep -v '^ *+' conftest.er1 >conftest.err
14660 cat conftest.err >&5
14661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14662 (exit $ac_status); } && {
14663 test -z "$ac_c_werror_flag" ||
14664 test ! -s conftest.err
14665 } && test -s conftest$ac_exeext &&
14666 $as_test_x conftest$ac_exeext; then
14667 { echo "$as_me:$LINENO: result
: yes" >&5
14668 echo "${ECHO_T}yes" >&6; }
14670 cat >>confdefs.h <<\_ACEOF
14671 #define HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP 1
14675 echo "$as_me: failed program was
:" >&5
14676 sed 's/^/| /' conftest.$ac_ext >&5
14678 { echo "$as_me:$LINENO: result
: no
" >&5
14679 echo "${ECHO_T}no
" >&6; }
14683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14684 conftest$ac_exeext conftest.$ac_ext
14686 { echo "$as_me:$LINENO: checking
for compiler atomic operations
" >&5
14687 echo $ECHO_N "checking
for compiler atomic operations...
$ECHO_C" >&6; }
14688 cat >conftest.$ac_ext <<_ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14698 int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);
14703 rm -f conftest.$ac_objext conftest$ac_exeext
14704 if { (ac_try="$ac_link"
14705 case "(($ac_try" in
14706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14707 *) ac_try_echo=$ac_try;;
14709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14710 (eval "$ac_link") 2>conftest.er1
14712 grep -v '^ *+' conftest.er1 >conftest.err
14714 cat conftest.err >&5
14715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14716 (exit $ac_status); } && {
14717 test -z "$ac_c_werror_flag" ||
14718 test ! -s conftest.err
14719 } && test -s conftest$ac_exeext &&
14720 $as_test_x conftest$ac_exeext; then
14721 { echo "$as_me:$LINENO: result
: yes" >&5
14722 echo "${ECHO_T}yes" >&6; }
14724 cat >>confdefs.h <<\_ACEOF
14725 #define HAVE_GCC_ATOMICS 1
14729 echo "$as_me: failed program was
:" >&5
14730 sed 's/^/| /' conftest.$ac_ext >&5
14732 { echo "$as_me:$LINENO: result
: no
" >&5
14733 echo "${ECHO_T}no
" >&6; }
14737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14738 conftest$ac_exeext conftest.$ac_ext
14741 { echo "$as_me:$LINENO: checking
for compiler
'attribute pure' support
" >&5
14742 echo $ECHO_N "checking
for compiler
'attribute pure' support...
$ECHO_C" >&6; }
14743 cat >conftest.$ac_ext <<_ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14749 static int __attribute__((pure)) test(void) {}
14758 rm -f conftest.$ac_objext
14759 if { (ac_try="$ac_compile"
14760 case "(($ac_try" in
14761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14762 *) ac_try_echo=$ac_try;;
14764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14765 (eval "$ac_compile") 2>conftest.er1
14767 grep -v '^ *+' conftest.er1 >conftest.err
14769 cat conftest.err >&5
14770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14771 (exit $ac_status); } && {
14772 test -z "$ac_c_werror_flag" ||
14773 test ! -s conftest.err
14774 } && test -s conftest.$ac_objext; then
14775 { echo "$as_me:$LINENO: result
: yes" >&5
14776 echo "${ECHO_T}yes" >&6; }
14778 cat >>confdefs.h <<_ACEOF
14779 #define HAVE_ATTRIBUTE_pure 1
14783 echo "$as_me: failed program was
:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14786 { echo "$as_me:$LINENO: result
: no
" >&5
14787 echo "${ECHO_T}no
" >&6; }
14790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14793 { echo "$as_me:$LINENO: checking
for compiler
'attribute malloc' support
" >&5
14794 echo $ECHO_N "checking
for compiler
'attribute malloc' support...
$ECHO_C" >&6; }
14795 cat >conftest.$ac_ext <<_ACEOF
14798 cat confdefs.h >>conftest.$ac_ext
14799 cat >>conftest.$ac_ext <<_ACEOF
14800 /* end confdefs.h. */
14801 static int __attribute__((malloc)) test(void) {}
14810 rm -f conftest.$ac_objext
14811 if { (ac_try="$ac_compile"
14812 case "(($ac_try" in
14813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14814 *) ac_try_echo=$ac_try;;
14816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14817 (eval "$ac_compile") 2>conftest.er1
14819 grep -v '^ *+' conftest.er1 >conftest.err
14821 cat conftest.err >&5
14822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14823 (exit $ac_status); } && {
14824 test -z "$ac_c_werror_flag" ||
14825 test ! -s conftest.err
14826 } && test -s conftest.$ac_objext; then
14827 { echo "$as_me:$LINENO: result
: yes" >&5
14828 echo "${ECHO_T}yes" >&6; }
14830 cat >>confdefs.h <<_ACEOF
14831 #define HAVE_ATTRIBUTE_malloc 1
14835 echo "$as_me: failed program was
:" >&5
14836 sed 's/^/| /' conftest.$ac_ext >&5
14838 { echo "$as_me:$LINENO: result
: no
" >&5
14839 echo "${ECHO_T}no
" >&6; }
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 { echo "$as_me:$LINENO: checking
for compiler
'attribute const' support
" >&5
14846 echo $ECHO_N "checking
for compiler
'attribute const' support...
$ECHO_C" >&6; }
14847 cat >conftest.$ac_ext <<_ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 static int __attribute__((const)) test(void) {}
14862 rm -f conftest.$ac_objext
14863 if { (ac_try="$ac_compile"
14864 case "(($ac_try" in
14865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14866 *) ac_try_echo=$ac_try;;
14868 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14869 (eval "$ac_compile") 2>conftest.er1
14871 grep -v '^ *+' conftest.er1 >conftest.err
14873 cat conftest.err >&5
14874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14875 (exit $ac_status); } && {
14876 test -z "$ac_c_werror_flag" ||
14877 test ! -s conftest.err
14878 } && test -s conftest.$ac_objext; then
14879 { echo "$as_me:$LINENO: result
: yes" >&5
14880 echo "${ECHO_T}yes" >&6; }
14882 cat >>confdefs.h <<_ACEOF
14883 #define HAVE_ATTRIBUTE_const 1
14887 echo "$as_me: failed program was
:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14890 { echo "$as_me:$LINENO: result
: no
" >&5
14891 echo "${ECHO_T}no
" >&6; }
14894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14897 { echo "$as_me:$LINENO: checking
for compiler
'attribute unused' support
" >&5
14898 echo $ECHO_N "checking
for compiler
'attribute unused' support...
$ECHO_C" >&6; }
14899 cat >conftest.$ac_ext <<_ACEOF
14902 cat confdefs.h >>conftest.$ac_ext
14903 cat >>conftest.$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14905 static int __attribute__((unused)) test(void) {}
14914 rm -f conftest.$ac_objext
14915 if { (ac_try="$ac_compile"
14916 case "(($ac_try" in
14917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14918 *) ac_try_echo=$ac_try;;
14920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14921 (eval "$ac_compile") 2>conftest.er1
14923 grep -v '^ *+' conftest.er1 >conftest.err
14925 cat conftest.err >&5
14926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14927 (exit $ac_status); } && {
14928 test -z "$ac_c_werror_flag" ||
14929 test ! -s conftest.err
14930 } && test -s conftest.$ac_objext; then
14931 { echo "$as_me:$LINENO: result
: yes" >&5
14932 echo "${ECHO_T}yes" >&6; }
14934 cat >>confdefs.h <<_ACEOF
14935 #define HAVE_ATTRIBUTE_unused 1
14939 echo "$as_me: failed program was
:" >&5
14940 sed 's/^/| /' conftest.$ac_ext >&5
14942 { echo "$as_me:$LINENO: result
: no
" >&5
14943 echo "${ECHO_T}no
" >&6; }
14946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14949 { echo "$as_me:$LINENO: checking
for compiler
'attribute always_inline' support
" >&5
14950 echo $ECHO_N "checking
for compiler
'attribute always_inline' support...
$ECHO_C" >&6; }
14951 cat >conftest.$ac_ext <<_ACEOF
14954 cat confdefs.h >>conftest.$ac_ext
14955 cat >>conftest.$ac_ext <<_ACEOF
14956 /* end confdefs.h. */
14957 static int __attribute__((always_inline)) test(void) {}
14966 rm -f conftest.$ac_objext
14967 if { (ac_try="$ac_compile"
14968 case "(($ac_try" in
14969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14970 *) ac_try_echo=$ac_try;;
14972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14973 (eval "$ac_compile") 2>conftest.er1
14975 grep -v '^ *+' conftest.er1 >conftest.err
14977 cat conftest.err >&5
14978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14979 (exit $ac_status); } && {
14980 test -z "$ac_c_werror_flag" ||
14981 test ! -s conftest.err
14982 } && test -s conftest.$ac_objext; then
14983 { echo "$as_me:$LINENO: result
: yes" >&5
14984 echo "${ECHO_T}yes" >&6; }
14986 cat >>confdefs.h <<_ACEOF
14987 #define HAVE_ATTRIBUTE_always_inline 1
14991 echo "$as_me: failed program was
:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14994 { echo "$as_me:$LINENO: result
: no
" >&5
14995 echo "${ECHO_T}no
" >&6; }
14998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15001 { echo "$as_me:$LINENO: checking
for -ffunction-sections support
" >&5
15002 echo $ECHO_N "checking
for -ffunction-sections support...
$ECHO_C" >&6; }
15003 saved_CFLAGS="${CFLAGS}"
15004 CFLAGS="${CFLAGS} -ffunction-sections"
15005 cat >conftest.$ac_ext <<_ACEOF
15008 cat confdefs.h >>conftest.$ac_ext
15009 cat >>conftest.$ac_ext <<_ACEOF
15010 /* end confdefs.h. */
15020 rm -f conftest.$ac_objext
15021 if { (ac_try="$ac_compile"
15022 case "(($ac_try" in
15023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15024 *) ac_try_echo=$ac_try;;
15026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15027 (eval "$ac_compile") 2>conftest.er1
15029 grep -v '^ *+' conftest.er1 >conftest.err
15031 cat conftest.err >&5
15032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15033 (exit $ac_status); } && {
15034 test -z "$ac_c_werror_flag" ||
15035 test ! -s conftest.err
15036 } && test -s conftest.$ac_objext; then
15037 { echo "$as_me:$LINENO: result
: yes" >&5
15038 echo "${ECHO_T}yes" >&6; }
15039 saved_LDFLAGS="${LDFLAGS}"
15040 LDFLAGS="${LDFLAGS} -Wl,--gc-sections"
15041 { echo "$as_me:$LINENO: checking
for --gc-sections support
" >&5
15042 echo $ECHO_N "checking
for --gc-sections support...
$ECHO_C" >&6; }
15043 cat >conftest.$ac_ext <<_ACEOF
15046 cat confdefs.h >>conftest.$ac_ext
15047 cat >>conftest.$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15058 rm -f conftest.$ac_objext conftest$ac_exeext
15059 if { (ac_try="$ac_link"
15060 case "(($ac_try" in
15061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15062 *) ac_try_echo=$ac_try;;
15064 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15065 (eval "$ac_link") 2>conftest.er1
15067 grep -v '^ *+' conftest.er1 >conftest.err
15069 cat conftest.err >&5
15070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15071 (exit $ac_status); } && {
15072 test -z "$ac_c_werror_flag" ||
15073 test ! -s conftest.err
15074 } && test -s conftest$ac_exeext &&
15075 $as_test_x conftest$ac_exeext; then
15076 { echo "$as_me:$LINENO: result
: yes" >&5
15077 echo "${ECHO_T}yes" >&6; }
15078 GC_CFLAGS="-ffunction-sections"
15079 GC_LDFLAGS="-Wl,--gc-sections"
15081 echo "$as_me: failed program was
:" >&5
15082 sed 's/^/| /' conftest.$ac_ext >&5
15084 { echo "$as_me:$LINENO: result
: no
" >&5
15085 echo "${ECHO_T}no
" >&6; }
15089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15090 conftest$ac_exeext conftest.$ac_ext
15091 LDFLAGS="${saved_LDFLAGS}"
15093 echo "$as_me: failed program was
:" >&5
15094 sed 's/^/| /' conftest.$ac_ext >&5
15096 { echo "$as_me:$LINENO: result
: no
" >&5
15097 echo "${ECHO_T}no
" >&6; }
15101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15102 CFLAGS="${saved_CFLAGS}"
15106 { echo "$as_me:$LINENO: checking
for res_ninit
" >&5
15107 echo $ECHO_N "checking
for res_ninit...
$ECHO_C" >&6; }
15108 cat >conftest.$ac_ext <<_ACEOF
15111 cat confdefs.h >>conftest.$ac_ext
15112 cat >>conftest.$ac_ext <<_ACEOF
15113 /* end confdefs.h. */
15114 #include <resolv.h>
15118 int foo = res_ninit(NULL);
15123 rm -f conftest.$ac_objext conftest$ac_exeext
15124 if { (ac_try="$ac_link"
15125 case "(($ac_try" in
15126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15127 *) ac_try_echo=$ac_try;;
15129 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15130 (eval "$ac_link") 2>conftest.er1
15132 grep -v '^ *+' conftest.er1 >conftest.err
15134 cat conftest.err >&5
15135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15136 (exit $ac_status); } && {
15137 test -z "$ac_c_werror_flag" ||
15138 test ! -s conftest.err
15139 } && test -s conftest$ac_exeext &&
15140 $as_test_x conftest$ac_exeext; then
15141 { echo "$as_me:$LINENO: result
: yes" >&5
15142 echo "${ECHO_T}yes" >&6; }
15144 cat >>confdefs.h <<\_ACEOF
15145 #define HAVE_RES_NINIT 1
15149 echo "$as_me: failed program was
:" >&5
15150 sed 's/^/| /' conftest.$ac_ext >&5
15152 { echo "$as_me:$LINENO: result
: no
" >&5
15153 echo "${ECHO_T}no
" >&6; }
15157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15158 conftest$ac_exeext conftest.$ac_ext
15160 { echo "$as_me:$LINENO: checking
for RTLD_NOLOAD
" >&5
15161 echo $ECHO_N "checking
for RTLD_NOLOAD...
$ECHO_C" >&6; }
15162 cat >conftest.$ac_ext <<_ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15172 int foo = RTLD_NOLOAD;
15177 rm -f conftest.$ac_objext conftest$ac_exeext
15178 if { (ac_try="$ac_link"
15179 case "(($ac_try" in
15180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15181 *) ac_try_echo=$ac_try;;
15183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15184 (eval "$ac_link") 2>conftest.er1
15186 grep -v '^ *+' conftest.er1 >conftest.err
15188 cat conftest.err >&5
15189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15190 (exit $ac_status); } && {
15191 test -z "$ac_c_werror_flag" ||
15192 test ! -s conftest.err
15193 } && test -s conftest$ac_exeext &&
15194 $as_test_x conftest$ac_exeext; then
15195 { echo "$as_me:$LINENO: result
: yes" >&5
15196 echo "${ECHO_T}yes" >&6; }
15198 cat >>confdefs.h <<\_ACEOF
15199 #define HAVE_RTLD_NOLOAD 1
15203 echo "$as_me: failed program was
:" >&5
15204 sed 's/^/| /' conftest.$ac_ext >&5
15206 { echo "$as_me:$LINENO: result
: no
" >&5
15207 echo "${ECHO_T}no
" >&6; }
15211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15212 conftest$ac_exeext conftest.$ac_ext
15214 { echo "$as_me:$LINENO: checking
for IP_MTU_DISCOVER
" >&5
15215 echo $ECHO_N "checking
for IP_MTU_DISCOVER...
$ECHO_C" >&6; }
15216 cat >conftest.$ac_ext <<_ACEOF
15219 cat confdefs.h >>conftest.$ac_ext
15220 cat >>conftest.$ac_ext <<_ACEOF
15221 /* end confdefs.h. */
15222 #include <netinet/in.h>
15226 int foo = IP_MTU_DISCOVER;
15231 rm -f conftest.$ac_objext conftest$ac_exeext
15232 if { (ac_try="$ac_link"
15233 case "(($ac_try" in
15234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15235 *) ac_try_echo=$ac_try;;
15237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15238 (eval "$ac_link") 2>conftest.er1
15240 grep -v '^ *+' conftest.er1 >conftest.err
15242 cat conftest.err >&5
15243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15244 (exit $ac_status); } && {
15245 test -z "$ac_c_werror_flag" ||
15246 test ! -s conftest.err
15247 } && test -s conftest$ac_exeext &&
15248 $as_test_x conftest$ac_exeext; then
15249 { echo "$as_me:$LINENO: result
: yes" >&5
15250 echo "${ECHO_T}yes" >&6; }
15252 cat >>confdefs.h <<\_ACEOF
15253 #define HAVE_IP_MTU_DISCOVER 1
15257 echo "$as_me: failed program was
:" >&5
15258 sed 's/^/| /' conftest.$ac_ext >&5
15260 { echo "$as_me:$LINENO: result
: no
" >&5
15261 echo "${ECHO_T}no
" >&6; }
15265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15266 conftest$ac_exeext conftest.$ac_ext
15268 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15269 { echo "$as_me:$LINENO: checking
for libkern
/OSAtomic.h
" >&5
15270 echo $ECHO_N "checking
for libkern
/OSAtomic.h...
$ECHO_C" >&6; }
15271 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15272 echo $ECHO_N "(cached
) $ECHO_C" >&6
15274 { echo "$as_me:$LINENO: result
: $ac_cv_header_libkern_OSAtomic_h" >&5
15275 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
15277 # Is the header compilable?
15278 { echo "$as_me:$LINENO: checking libkern
/OSAtomic.h usability
" >&5
15279 echo $ECHO_N "checking libkern
/OSAtomic.h usability...
$ECHO_C" >&6; }
15280 cat >conftest.$ac_ext <<_ACEOF
15283 cat confdefs.h >>conftest.$ac_ext
15284 cat >>conftest.$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15286 $ac_includes_default
15287 #include <libkern/OSAtomic.h>
15289 rm -f conftest.$ac_objext
15290 if { (ac_try="$ac_compile"
15291 case "(($ac_try" in
15292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15293 *) ac_try_echo=$ac_try;;
15295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15296 (eval "$ac_compile") 2>conftest.er1
15298 grep -v '^ *+' conftest.er1 >conftest.err
15300 cat conftest.err >&5
15301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15302 (exit $ac_status); } && {
15303 test -z "$ac_c_werror_flag" ||
15304 test ! -s conftest.err
15305 } && test -s conftest.$ac_objext; then
15306 ac_header_compiler=yes
15308 echo "$as_me: failed program was
:" >&5
15309 sed 's/^/| /' conftest.$ac_ext >&5
15311 ac_header_compiler=no
15314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15315 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
15316 echo "${ECHO_T}$ac_header_compiler" >&6; }
15318 # Is the header present?
15319 { echo "$as_me:$LINENO: checking libkern
/OSAtomic.h presence
" >&5
15320 echo $ECHO_N "checking libkern
/OSAtomic.h presence...
$ECHO_C" >&6; }
15321 cat >conftest.$ac_ext <<_ACEOF
15324 cat confdefs.h >>conftest.$ac_ext
15325 cat >>conftest.$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15327 #include <libkern/OSAtomic.h>
15329 if { (ac_try="$ac_cpp conftest.
$ac_ext"
15330 case "(($ac_try" in
15331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15332 *) ac_try_echo=$ac_try;;
15334 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15335 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
15337 grep -v '^ *+' conftest.er1 >conftest.err
15339 cat conftest.err >&5
15340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15341 (exit $ac_status); } >/dev/null && {
15342 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15343 test ! -s conftest.err
15345 ac_header_preproc=yes
15347 echo "$as_me: failed program was
:" >&5
15348 sed 's/^/| /' conftest.$ac_ext >&5
15350 ac_header_preproc=no
15353 rm -f conftest.err conftest.$ac_ext
15354 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
15355 echo "${ECHO_T}$ac_header_preproc" >&6; }
15357 # So? What about this header?
15358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15360 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
15361 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
15362 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: proceeding with the compiler
's result" >&5
15363 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the compiler's result
" >&2;}
15364 ac_header_preproc=yes
15367 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: present but cannot be compiled
" >&5
15368 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: present but cannot be compiled
" >&2;}
15369 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: check
for missing prerequisite headers?
" >&5
15370 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: check
for missing prerequisite headers?
" >&2;}
15371 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: see the Autoconf documentation
" >&5
15372 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: see the Autoconf documentation
" >&2;}
15373 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: section
\"Present But Cannot Be Compiled
\"" >&5
15374 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
15375 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: proceeding with the preprocessor
's result" >&5
15376 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the preprocessor's result
" >&2;}
15377 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: in the future
, the compiler will take precedence
" >&5
15378 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: in the future
, the compiler will take precedence
" >&2;}
15382 { echo "$as_me:$LINENO: checking
for libkern
/OSAtomic.h
" >&5
15383 echo $ECHO_N "checking
for libkern
/OSAtomic.h...
$ECHO_C" >&6; }
15384 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15385 echo $ECHO_N "(cached
) $ECHO_C" >&6
15387 ac_cv_header_libkern_OSAtomic_h=$ac_header_preproc
15389 { echo "$as_me:$LINENO: result
: $ac_cv_header_libkern_OSAtomic_h" >&5
15390 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
15393 if test $ac_cv_header_libkern_OSAtomic_h = yes; then
15395 cat >>confdefs.h <<_ACEOF
15396 #define HAVE_OSX_ATOMICS 1
15403 { echo "$as_me:$LINENO: checking
for int
" >&5
15404 echo $ECHO_N "checking
for int...
$ECHO_C" >&6; }
15405 if test "${ac_cv_type_int+set}" = set; then
15406 echo $ECHO_N "(cached
) $ECHO_C" >&6
15408 cat >conftest.$ac_ext <<_ACEOF
15411 cat confdefs.h >>conftest.$ac_ext
15412 cat >>conftest.$ac_ext <<_ACEOF
15413 /* end confdefs.h. */
15414 $ac_includes_default
15415 typedef int ac__type_new_;
15419 if ((ac__type_new_ *) 0)
15421 if (sizeof (ac__type_new_))
15427 rm -f conftest.$ac_objext
15428 if { (ac_try="$ac_compile"
15429 case "(($ac_try" in
15430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15431 *) ac_try_echo=$ac_try;;
15433 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15434 (eval "$ac_compile") 2>conftest.er1
15436 grep -v '^ *+' conftest.er1 >conftest.err
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15440 (exit $ac_status); } && {
15441 test -z "$ac_c_werror_flag" ||
15442 test ! -s conftest.err
15443 } && test -s conftest.$ac_objext; then
15446 echo "$as_me: failed program was
:" >&5
15447 sed 's/^/| /' conftest.$ac_ext >&5
15452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15454 { echo "$as_me:$LINENO: result
: $ac_cv_type_int" >&5
15455 echo "${ECHO_T}$ac_cv_type_int" >&6; }
15457 # The cast to long int works around a bug in the HP C Compiler
15458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15460 # This bug is HP SR number 8606223364.
15461 { echo "$as_me:$LINENO: checking size of int
" >&5
15462 echo $ECHO_N "checking size of int...
$ECHO_C" >&6; }
15463 if test "${ac_cv_sizeof_int+set}" = set; then
15464 echo $ECHO_N "(cached
) $ECHO_C" >&6
15466 if test "$cross_compiling" = yes; then
15467 # Depending upon the size, compute the lo and hi bounds.
15468 cat >conftest.$ac_ext <<_ACEOF
15471 cat confdefs.h >>conftest.$ac_ext
15472 cat >>conftest.$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15474 $ac_includes_default
15475 typedef int ac__type_sizeof_;
15479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
15486 rm -f conftest.$ac_objext
15487 if { (ac_try="$ac_compile"
15488 case "(($ac_try" in
15489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15490 *) ac_try_echo=$ac_try;;
15492 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_compile") 2>conftest.er1
15495 grep -v '^ *+' conftest.er1 >conftest.err
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15499 (exit $ac_status); } && {
15500 test -z "$ac_c_werror_flag" ||
15501 test ! -s conftest.err
15502 } && test -s conftest.$ac_objext; then
15505 cat >conftest.$ac_ext <<_ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 $ac_includes_default
15512 typedef int ac__type_sizeof_;
15516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15523 rm -f conftest.$ac_objext
15524 if { (ac_try="$ac_compile"
15525 case "(($ac_try" in
15526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15527 *) ac_try_echo=$ac_try;;
15529 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15530 (eval "$ac_compile") 2>conftest.er1
15532 grep -v '^ *+' conftest.er1 >conftest.err
15534 cat conftest.err >&5
15535 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15536 (exit $ac_status); } && {
15537 test -z "$ac_c_werror_flag" ||
15538 test ! -s conftest.err
15539 } && test -s conftest.$ac_objext; then
15540 ac_hi=$ac_mid; break
15542 echo "$as_me: failed program was
:" >&5
15543 sed 's/^/| /' conftest.$ac_ext >&5
15545 ac_lo=`expr $ac_mid + 1`
15546 if test $ac_lo -le $ac_mid; then
15550 ac_mid=`expr 2 '*' $ac_mid + 1`
15553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15556 echo "$as_me: failed program was
:" >&5
15557 sed 's/^/| /' conftest.$ac_ext >&5
15559 cat >conftest.$ac_ext <<_ACEOF
15562 cat confdefs.h >>conftest.$ac_ext
15563 cat >>conftest.$ac_ext <<_ACEOF
15564 /* end confdefs.h. */
15565 $ac_includes_default
15566 typedef int ac__type_sizeof_;
15570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
15577 rm -f conftest.$ac_objext
15578 if { (ac_try="$ac_compile"
15579 case "(($ac_try" in
15580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15581 *) ac_try_echo=$ac_try;;
15583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15584 (eval "$ac_compile") 2>conftest.er1
15586 grep -v '^ *+' conftest.er1 >conftest.err
15588 cat conftest.err >&5
15589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15590 (exit $ac_status); } && {
15591 test -z "$ac_c_werror_flag" ||
15592 test ! -s conftest.err
15593 } && test -s conftest.$ac_objext; then
15596 cat >conftest.$ac_ext <<_ACEOF
15599 cat confdefs.h >>conftest.$ac_ext
15600 cat >>conftest.$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15602 $ac_includes_default
15603 typedef int ac__type_sizeof_;
15607 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
15614 rm -f conftest.$ac_objext
15615 if { (ac_try="$ac_compile"
15616 case "(($ac_try" in
15617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15618 *) ac_try_echo=$ac_try;;
15620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15621 (eval "$ac_compile") 2>conftest.er1
15623 grep -v '^ *+' conftest.er1 >conftest.err
15625 cat conftest.err >&5
15626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15627 (exit $ac_status); } && {
15628 test -z "$ac_c_werror_flag" ||
15629 test ! -s conftest.err
15630 } && test -s conftest.$ac_objext; then
15631 ac_lo=$ac_mid; break
15633 echo "$as_me: failed program was
:" >&5
15634 sed 's/^/| /' conftest.$ac_ext >&5
15636 ac_hi=`expr '(' $ac_mid ')' - 1`
15637 if test $ac_mid -le $ac_hi; then
15641 ac_mid=`expr 2 '*' $ac_mid`
15644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15647 echo "$as_me: failed program was
:" >&5
15648 sed 's/^/| /' conftest.$ac_ext >&5
15653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15657 # Binary search between lo and hi bounds.
15658 while test "x
$ac_lo" != "x
$ac_hi"; do
15659 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15660 cat >conftest.$ac_ext <<_ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666 $ac_includes_default
15667 typedef int ac__type_sizeof_;
15671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15678 rm -f conftest.$ac_objext
15679 if { (ac_try="$ac_compile"
15680 case "(($ac_try" in
15681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15682 *) ac_try_echo=$ac_try;;
15684 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15685 (eval "$ac_compile") 2>conftest.er1
15687 grep -v '^ *+' conftest.er1 >conftest.err
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15691 (exit $ac_status); } && {
15692 test -z "$ac_c_werror_flag" ||
15693 test ! -s conftest.err
15694 } && test -s conftest.$ac_objext; then
15697 echo "$as_me: failed program was
:" >&5
15698 sed 's/^/| /' conftest.$ac_ext >&5
15700 ac_lo=`expr '(' $ac_mid ')' + 1`
15703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15706 ?*) ac_cv_sizeof_int=$ac_lo;;
15707 '') if test "$ac_cv_type_int" = yes; then
15708 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
15709 See \
`config.log' for more details." >&5
15710 echo "$as_me: error: cannot compute sizeof (int)
15711 See \`config.log
' for more details." >&2;}
15712 { (exit 77); exit 77; }; }
15718 cat >conftest.$ac_ext <<_ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724 $ac_includes_default
15725 typedef int ac__type_sizeof_;
15726 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
15727 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
15729 #include <stdlib.h>
15734 FILE *f = fopen ("conftest.val", "w");
15737 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
15739 long int i = longval ();
15740 if (i != ((long int) (sizeof (ac__type_sizeof_))))
15742 fprintf (f, "%ld\n", i);
15746 unsigned long int i = ulongval ();
15747 if (i != ((long int) (sizeof (ac__type_sizeof_))))
15749 fprintf (f, "%lu\n", i);
15751 return ferror (f) || fclose (f) != 0;
15757 rm -f conftest$ac_exeext
15758 if { (ac_try="$ac_link"
15759 case "(($ac_try" in
15760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15761 *) ac_try_echo=$ac_try;;
15763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15764 (eval "$ac_link") 2>&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
15768 { (case "(($ac_try" in
15769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15770 *) ac_try_echo=$ac_try;;
15772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15773 (eval "$ac_try") 2>&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); }; }; then
15777 ac_cv_sizeof_int=`cat conftest.val`
15779 echo "$as_me: program exited with status $ac_status" >&5
15780 echo "$as_me: failed program was:" >&5
15781 sed 's
/^
/|
/' conftest.$ac_ext >&5
15783 ( exit $ac_status )
15784 if test "$ac_cv_type_int" = yes; then
15785 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
15786 See \`config.log' for more details.
" >&5
15787 echo "$as_me: error
: cannot compute sizeof
(int
)
15788 See \
`config.log' for more details." >&2;}
15789 { (exit 77); exit 77; }; }
15794 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15798 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15799 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
15803 cat >>confdefs.h <<_ACEOF
15804 #define SIZEOF_INT $ac_cv_sizeof_int
15809 # do the package library checks now
15812 if test "${USE_ALSA}" != "no"; then
15814 if test "x${ALSA_DIR}" != "x"; then
15815 if test -d ${ALSA_DIR}/lib; then
15816 pbxlibdir="-L${ALSA_DIR}/lib"
15818 pbxlibdir="-L${ALSA_DIR}"
15821 { echo "$as_me:$LINENO: checking for snd_spcm_init in -lasound" >&5
15822 echo $ECHO_N "checking for snd_spcm_init in -lasound... $ECHO_C" >&6; }
15823 if test "${ac_cv_lib_asound_snd_spcm_init+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15826 ac_check_lib_save_LIBS=$LIBS
15827 LIBS="-lasound ${pbxlibdir} -lm -ldl $LIBS"
15828 cat >conftest.$ac_ext <<_ACEOF
15831 cat confdefs.h >>conftest.$ac_ext
15832 cat >>conftest.$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15835 /* Override any GCC internal prototype to avoid an error.
15836 Use char because int might match the return type of a GCC
15837 builtin and then its argument prototype would still apply. */
15841 char snd_spcm_init ();
15845 return snd_spcm_init ();
15850 rm -f conftest.$ac_objext conftest$ac_exeext
15851 if { (ac_try="$ac_link"
15852 case "(($ac_try" in
15853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15854 *) ac_try_echo
=$ac_try;;
15856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15857 (eval "$ac_link") 2>conftest.er1
15859 grep -v '^ *+' conftest.er1
>conftest.err
15861 cat conftest.err
>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); } && {
15864 test -z "$ac_c_werror_flag" ||
15865 test ! -s conftest.err
15866 } && test -s conftest
$ac_exeext &&
15867 $as_test_x conftest
$ac_exeext; then
15868 ac_cv_lib_asound_snd_spcm_init
=yes
15870 echo "$as_me: failed program was:" >&5
15871 sed 's/^/| /' conftest.
$ac_ext >&5
15873 ac_cv_lib_asound_snd_spcm_init
=no
15876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15877 conftest
$ac_exeext conftest.
$ac_ext
15878 LIBS
=$ac_check_lib_save_LIBS
15880 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_spcm_init" >&5
15881 echo "${ECHO_T}$ac_cv_lib_asound_snd_spcm_init" >&6; }
15882 if test $ac_cv_lib_asound_snd_spcm_init = yes; then
15889 if test "${AST_ALSA_FOUND}" = "yes"; then
15890 ALSA_LIB
="-lasound -lm -ldl"
15891 ALSA_HEADER_FOUND
="1"
15892 if test "x${ALSA_DIR}" != "x"; then
15893 ALSA_LIB
="${pbxlibdir} ${ALSA_LIB}"
15894 ALSA_INCLUDE
="-I${ALSA_DIR}/include"
15895 saved_cppflags
="${CPPFLAGS}"
15896 CPPFLAGS
="${CPPFLAGS} -I${ALSA_DIR}/include"
15897 if test "xalsa/asoundlib.h" != "x" ; then
15898 as_ac_Header
=`echo "ac_cv_header_${ALSA_DIR}/include/alsa/asoundlib.h" | $as_tr_sh`
15899 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15900 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
15901 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
15902 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15903 echo $ECHO_N "(cached) $ECHO_C" >&6
15905 ac_res
=`eval echo '${'$as_ac_Header'}'`
15906 { echo "$as_me:$LINENO: result: $ac_res" >&5
15907 echo "${ECHO_T}$ac_res" >&6; }
15909 # Is the header compilable?
15910 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h usability" >&5
15911 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h usability... $ECHO_C" >&6; }
15912 cat >conftest.
$ac_ext <<_ACEOF
15915 cat confdefs.h
>>conftest.
$ac_ext
15916 cat >>conftest.
$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15919 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
15921 rm -f conftest.
$ac_objext
15922 if { (ac_try
="$ac_compile"
15923 case "(($ac_try" in
15924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15925 *) ac_try_echo=$ac_try;;
15927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15928 (eval "$ac_compile") 2>conftest.er1
15930 grep -v '^ *+' conftest.er1 >conftest.err
15932 cat conftest.err >&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } && {
15935 test -z "$ac_c_werror_flag" ||
15936 test ! -s conftest.err
15937 } && test -s conftest.$ac_objext; then
15938 ac_header_compiler=yes
15940 echo "$as_me: failed program was:" >&5
15941 sed 's/^/| /' conftest.$ac_ext >&5
15943 ac_header_compiler=no
15946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15947 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15948 echo "${ECHO_T}$ac_header_compiler" >&6; }
15950 # Is the header present?
15951 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h presence" >&5
15952 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h presence... $ECHO_C" >&6; }
15953 cat >conftest.$ac_ext <<_ACEOF
15956 cat confdefs.h >>conftest.$ac_ext
15957 cat >>conftest.$ac_ext <<_ACEOF
15958 /* end confdefs.h. */
15959 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
15961 if { (ac_try="$ac_cpp conftest.$ac_ext"
15962 case "(($ac_try" in
15963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15964 *) ac_try_echo
=$ac_try;;
15966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15969 grep -v '^ *+' conftest.er1
>conftest.err
15971 cat conftest.err
>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } >/dev
/null
&& {
15974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15975 test ! -s conftest.err
15977 ac_header_preproc
=yes
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.
$ac_ext >&5
15982 ac_header_preproc
=no
15985 rm -f conftest.err conftest.
$ac_ext
15986 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15987 echo "${ECHO_T}$ac_header_preproc" >&6; }
15989 # So? What about this header?
15990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15992 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15993 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15994 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the compiler's result" >&5
15995 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
15996 ac_header_preproc
=yes
15999 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&5
16000 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&2;}
16001 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&5
16002 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
16003 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&5
16004 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&2;}
16005 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
16006 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16007 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
16008 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
16009 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
16010 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
16014 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
16015 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
16016 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 eval "$as_ac_Header=\$ac_header_preproc"
16021 ac_res
=`eval echo '${'$as_ac_Header'}'`
16022 { echo "$as_me:$LINENO: result: $ac_res" >&5
16023 echo "${ECHO_T}$ac_res" >&6; }
16026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16027 ALSA_HEADER_FOUND
=1
16029 ALSA_HEADER_FOUND
=0
16034 CPPFLAGS
="${saved_cppflags}"
16036 if test "xalsa/asoundlib.h" != "x" ; then
16037 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16038 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
16039 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
16040 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16041 echo $ECHO_N "(cached) $ECHO_C" >&6
16043 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
16044 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
16046 # Is the header compilable?
16047 { echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
16048 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6; }
16049 cat >conftest.
$ac_ext <<_ACEOF
16052 cat confdefs.h
>>conftest.
$ac_ext
16053 cat >>conftest.
$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055 $ac_includes_default
16056 #include <alsa/asoundlib.h>
16058 rm -f conftest.
$ac_objext
16059 if { (ac_try
="$ac_compile"
16060 case "(($ac_try" in
16061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_compile") 2>conftest.er1
16067 grep -v '^ *+' conftest.er1 >conftest.err
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } && {
16072 test -z "$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16074 } && test -s conftest.$ac_objext; then
16075 ac_header_compiler=yes
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16080 ac_header_compiler=no
16083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16084 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16085 echo "${ECHO_T}$ac_header_compiler" >&6; }
16087 # Is the header present?
16088 { echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
16089 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6; }
16090 cat >conftest.$ac_ext <<_ACEOF
16093 cat confdefs.h >>conftest.$ac_ext
16094 cat >>conftest.$ac_ext <<_ACEOF
16095 /* end confdefs.h. */
16096 #include <alsa/asoundlib.h>
16098 if { (ac_try="$ac_cpp conftest.$ac_ext"
16099 case "(($ac_try" in
16100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16101 *) ac_try_echo
=$ac_try;;
16103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16104 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16106 grep -v '^ *+' conftest.er1
>conftest.err
16108 cat conftest.err
>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } >/dev
/null
&& {
16111 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16112 test ! -s conftest.err
16114 ac_header_preproc
=yes
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.
$ac_ext >&5
16119 ac_header_preproc
=no
16122 rm -f conftest.err conftest.
$ac_ext
16123 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16124 echo "${ECHO_T}$ac_header_preproc" >&6; }
16126 # So? What about this header?
16127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16129 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16130 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16131 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
16132 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
16133 ac_header_preproc
=yes
16136 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
16137 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
16138 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
16139 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
16140 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
16141 echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
16142 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
16143 echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16144 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
16145 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
16146 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
16147 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
16151 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
16152 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
16153 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
16158 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
16159 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
16162 if test $ac_cv_header_alsa_asoundlib_h = yes; then
16163 ALSA_HEADER_FOUND
=1
16165 ALSA_HEADER_FOUND
=0
16171 if test "x${ALSA_HEADER_FOUND}" = "x0" ; then
16172 if test ! -z "${ALSA_MANDATORY}" ;
16174 { echo "$as_me:$LINENO: ***" >&5
16175 echo "$as_me: ***" >&6;}
16176 { echo "$as_me:$LINENO: *** It appears that you do not have the asound development package installed." >&5
16177 echo "$as_me: *** It appears that you do not have the asound development package installed." >&6;}
16178 { echo "$as_me:$LINENO: *** Please install it to include ${ALSA_DESCRIP} support, or re-run configure" >&5
16179 echo "$as_me: *** Please install it to include ${ALSA_DESCRIP} support, or re-run configure" >&6;}
16180 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
16181 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
16190 cat >>confdefs.h
<<_ACEOF
16191 #define HAVE_ALSA 1
16195 elif test ! -z "${ALSA_MANDATORY}";
16197 { echo "$as_me:$LINENO: ***" >&5
16198 echo "$as_me: ***" >&6;}
16199 { echo "$as_me:$LINENO: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&5
16200 echo "$as_me: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&6;}
16201 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
16202 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
16203 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
16204 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
16211 if test "${USE_CURSES}" != "no"; then
16213 if test "x${CURSES_DIR}" != "x"; then
16214 if test -d ${CURSES_DIR}/lib
; then
16215 pbxlibdir
="-L${CURSES_DIR}/lib"
16217 pbxlibdir
="-L${CURSES_DIR}"
16220 { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
16221 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
16222 if test "${ac_cv_lib_curses_initscr+set}" = set; then
16223 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 ac_check_lib_save_LIBS
=$LIBS
16226 LIBS
="-lcurses ${pbxlibdir} $LIBS"
16227 cat >conftest.
$ac_ext <<_ACEOF
16230 cat confdefs.h
>>conftest.
$ac_ext
16231 cat >>conftest.
$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16234 /* Override any GCC internal prototype to avoid an error.
16235 Use char because int might match the return type of a GCC
16236 builtin and then its argument prototype would still apply. */
16249 rm -f conftest.
$ac_objext conftest
$ac_exeext
16250 if { (ac_try
="$ac_link"
16251 case "(($ac_try" in
16252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16253 *) ac_try_echo=$ac_try;;
16255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16256 (eval "$ac_link") 2>conftest.er1
16258 grep -v '^ *+' conftest.er1 >conftest.err
16260 cat conftest.err >&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); } && {
16263 test -z "$ac_c_werror_flag" ||
16264 test ! -s conftest.err
16265 } && test -s conftest$ac_exeext &&
16266 $as_test_x conftest$ac_exeext; then
16267 ac_cv_lib_curses_initscr=yes
16269 echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.$ac_ext >&5
16272 ac_cv_lib_curses_initscr=no
16275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16276 conftest$ac_exeext conftest.$ac_ext
16277 LIBS=$ac_check_lib_save_LIBS
16279 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
16280 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
16281 if test $ac_cv_lib_curses_initscr = yes; then
16282 AST_CURSES_FOUND=yes
16284 AST_CURSES_FOUND=no
16288 if test "${AST_CURSES_FOUND}" = "yes"; then
16289 CURSES_LIB="-lcurses "
16290 CURSES_HEADER_FOUND="1"
16291 if test "x${CURSES_DIR}" != "x"; then
16292 CURSES_LIB="${pbxlibdir} ${CURSES_LIB}"
16293 CURSES_INCLUDE="-I${CURSES_DIR}/include"
16294 saved_cppflags="${CPPFLAGS}"
16295 CPPFLAGS="${CPPFLAGS} -I${CURSES_DIR}/include"
16296 if test "xcurses.h" != "x" ; then
16297 as_ac_Header=`echo "ac_cv_header_${CURSES_DIR}/include/curses.h" |
$as_tr_sh`
16298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16299 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
16300 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
16301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16302 echo $ECHO_N "(cached) $ECHO_C" >&6
16304 ac_res=`eval echo '${'$as_ac_Header'}'`
16305 { echo "$as_me:$LINENO: result: $ac_res" >&5
16306 echo "${ECHO_T}$ac_res" >&6; }
16308 # Is the header compilable?
16309 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h usability" >&5
16310 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h usability... $ECHO_C" >&6; }
16311 cat >conftest.$ac_ext <<_ACEOF
16314 cat confdefs.h >>conftest.$ac_ext
16315 cat >>conftest.$ac_ext <<_ACEOF
16316 /* end confdefs.h. */
16317 $ac_includes_default
16318 #include <${CURSES_DIR}/include/curses.h>
16320 rm -f conftest.$ac_objext
16321 if { (ac_try="$ac_compile"
16322 case "(($ac_try" in
16323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16324 *) ac_try_echo
=$ac_try;;
16326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16327 (eval "$ac_compile") 2>conftest.er1
16329 grep -v '^ *+' conftest.er1
>conftest.err
16331 cat conftest.err
>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); } && {
16334 test -z "$ac_c_werror_flag" ||
16335 test ! -s conftest.err
16336 } && test -s conftest.
$ac_objext; then
16337 ac_header_compiler
=yes
16339 echo "$as_me: failed program was:" >&5
16340 sed 's/^/| /' conftest.
$ac_ext >&5
16342 ac_header_compiler
=no
16345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16346 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16347 echo "${ECHO_T}$ac_header_compiler" >&6; }
16349 # Is the header present?
16350 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h presence" >&5
16351 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h presence... $ECHO_C" >&6; }
16352 cat >conftest.
$ac_ext <<_ACEOF
16355 cat confdefs.h
>>conftest.
$ac_ext
16356 cat >>conftest.
$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 #include <${CURSES_DIR}/include/curses.h>
16360 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16361 case "(($ac_try" in
16362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16363 *) ac_try_echo=$ac_try;;
16365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16368 grep -v '^ *+' conftest.er1 >conftest.err
16370 cat conftest.err >&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } >/dev/null && {
16373 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16374 test ! -s conftest.err
16376 ac_header_preproc=yes
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.$ac_ext >&5
16381 ac_header_preproc=no
16384 rm -f conftest.err conftest.$ac_ext
16385 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16386 echo "${ECHO_T}$ac_header_preproc" >&6; }
16388 # So? What about this header?
16389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16391 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
16392 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16393 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the compiler's result" >&5
16394 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the compiler's result" >&2;}
16395 ac_header_preproc=yes
16398 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&5
16399 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&2;}
16400 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&5
16401 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&2;}
16402 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&5
16403 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&2;}
16404 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&5
16405 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
16406 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the preprocessor's result" >&5
16407 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the preprocessor's result" >&2;}
16408 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&5
16409 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&2;}
16413 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
16414 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
16415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16418 eval "$as_ac_Header=\$ac_header_preproc"
16420 ac_res=`eval echo '${'$as_ac_Header'}'`
16421 { echo "$as_me:$LINENO: result: $ac_res" >&5
16422 echo "${ECHO_T}$ac_res" >&6; }
16425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16426 CURSES_HEADER_FOUND=1
16428 CURSES_HEADER_FOUND=0
16433 CPPFLAGS="${saved_cppflags}"
16435 if test "xcurses.h" != "x" ; then
16436 if test "${ac_cv_header_curses_h+set}" = set; then
16437 { echo "$as_me:$LINENO: checking for curses.h" >&5
16438 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
16439 if test "${ac_cv_header_curses_h+set}" = set; then
16440 echo $ECHO_N "(cached) $ECHO_C" >&6
16442 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
16443 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
16445 # Is the header compilable?
16446 { echo "$as_me:$LINENO: checking curses.h usability" >&5
16447 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
16448 cat >conftest.$ac_ext <<_ACEOF
16451 cat confdefs.h >>conftest.$ac_ext
16452 cat >>conftest.$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16454 $ac_includes_default
16455 #include <curses.h>
16457 rm -f conftest.$ac_objext
16458 if { (ac_try="$ac_compile"
16459 case "(($ac_try" in
16460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16461 *) ac_try_echo
=$ac_try;;
16463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16464 (eval "$ac_compile") 2>conftest.er1
16466 grep -v '^ *+' conftest.er1
>conftest.err
16468 cat conftest.err
>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); } && {
16471 test -z "$ac_c_werror_flag" ||
16472 test ! -s conftest.err
16473 } && test -s conftest.
$ac_objext; then
16474 ac_header_compiler
=yes
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.
$ac_ext >&5
16479 ac_header_compiler
=no
16482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16483 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16484 echo "${ECHO_T}$ac_header_compiler" >&6; }
16486 # Is the header present?
16487 { echo "$as_me:$LINENO: checking curses.h presence" >&5
16488 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
16489 cat >conftest.
$ac_ext <<_ACEOF
16492 cat confdefs.h
>>conftest.
$ac_ext
16493 cat >>conftest.
$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <curses.h>
16497 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16498 case "(($ac_try" in
16499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16500 *) ac_try_echo=$ac_try;;
16502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16505 grep -v '^ *+' conftest.er1 >conftest.err
16507 cat conftest.err >&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } >/dev/null && {
16510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16511 test ! -s conftest.err
16513 ac_header_preproc=yes
16515 echo "$as_me: failed program was:" >&5
16516 sed 's/^/| /' conftest.$ac_ext >&5
16518 ac_header_preproc=no
16521 rm -f conftest.err conftest.$ac_ext
16522 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16523 echo "${ECHO_T}$ac_header_preproc" >&6; }
16525 # So? What about this header?
16526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16528 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
16529 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16530 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result" >&5
16531 echo "$as_me: WARNING: curses.h: proceeding with the compiler's result" >&2;}
16532 ac_header_preproc=yes
16535 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
16536 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
16537 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
16538 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
16539 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
16540 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
16541 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
16542 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
16543 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result" >&5
16544 echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result" >&2;}
16545 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
16546 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
16550 { echo "$as_me:$LINENO: checking for curses.h" >&5
16551 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
16552 if test "${ac_cv_header_curses_h+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 ac_cv_header_curses_h=$ac_header_preproc
16557 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
16558 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
16561 if test $ac_cv_header_curses_h = yes; then
16562 CURSES_HEADER_FOUND=1
16564 CURSES_HEADER_FOUND=0
16570 if test "x${CURSES_HEADER_FOUND}" = "x0" ; then
16571 if test ! -z "${CURSES_MANDATORY}" ;
16573 { echo "$as_me:$LINENO: ***" >&5
16574 echo "$as_me: ***" >&6;}
16575 { echo "$as_me:$LINENO: *** It appears that you do not have the curses development package installed." >&5
16576 echo "$as_me: *** It appears that you do not have the curses development package installed." >&6;}
16577 { echo "$as_me:$LINENO: *** Please install it to include ${CURSES_DESCRIP} support, or re-run configure" >&5
16578 echo "$as_me: *** Please install it to include ${CURSES_DESCRIP} support, or re-run configure" >&6;}
16579 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
16580 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_CURSES 1
16594 elif test ! -z "${CURSES_MANDATORY}";
16596 { echo "$as_me:$LINENO: ***" >&5
16597 echo "$as_me: ***" >&6;}
16598 { echo "$as_me:$LINENO: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&5
16599 echo "$as_me: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&6;}
16600 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
16601 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
16602 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
16603 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
16612 if test "${USE_GSM}" != "no"; then
16613 if test "${GSM_DIR}" = "internal"; then
16615 elif test "${GSM_DIR}" != ""; then
16618 if test "${GSM_SYSTEM}" = "yes"; then
16620 if test "x${GSM_DIR}" != "x"; then
16621 if test -d ${GSM_DIR}/lib; then
16622 gsmlibdir="-L${GSM_DIR}/lib"
16624 gsmlibdir="-L${GSM_DIR}"
16627 { echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5
16628 echo $ECHO_N "checking for gsm_create in -lgsm... $ECHO_C" >&6; }
16629 if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 ac_check_lib_save_LIBS=$LIBS
16633 LIBS="-lgsm ${gsmlibdir} $LIBS"
16634 cat >conftest.$ac_ext <<_ACEOF
16637 cat confdefs.h >>conftest.$ac_ext
16638 cat >>conftest.$ac_ext <<_ACEOF
16639 /* end confdefs.h. */
16641 /* Override any GCC internal prototype to avoid an error.
16642 Use char because int might match the return type of a GCC
16643 builtin and then its argument prototype would still apply. */
16647 char gsm_create ();
16651 return gsm_create ();
16656 rm -f conftest.$ac_objext conftest$ac_exeext
16657 if { (ac_try="$ac_link"
16658 case "(($ac_try" in
16659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16660 *) ac_try_echo
=$ac_try;;
16662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16663 (eval "$ac_link") 2>conftest.er1
16665 grep -v '^ *+' conftest.er1
>conftest.err
16667 cat conftest.err
>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } && {
16670 test -z "$ac_c_werror_flag" ||
16671 test ! -s conftest.err
16672 } && test -s conftest
$ac_exeext &&
16673 $as_test_x conftest
$ac_exeext; then
16674 ac_cv_lib_gsm_gsm_create
=yes
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.
$ac_ext >&5
16679 ac_cv_lib_gsm_gsm_create
=no
16682 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16683 conftest
$ac_exeext conftest.
$ac_ext
16684 LIBS
=$ac_check_lib_save_LIBS
16686 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5
16687 echo "${ECHO_T}$ac_cv_lib_gsm_gsm_create" >&6; }
16688 if test $ac_cv_lib_gsm_gsm_create = yes; then
16690 cat >>confdefs.h
<<_ACEOF
16696 if test "${ac_cv_lib_gsm_gsm_create}" = "yes"; then
16698 if test "x${GSM_DIR}" != "x"; then
16699 GSM_LIB
="${gsmlibdir} ${GSM_LIB}"
16700 GSM_INCLUDE
="-I${GSM_DIR}/include"
16706 if test "${GSM_INTERNAL}" = "yes"; then
16712 if test "${USE_IKSEMEL}" != "no"; then
16714 if test "x${IKSEMEL_DIR}" != "x"; then
16715 if test -d ${IKSEMEL_DIR}/lib
; then
16716 pbxlibdir
="-L${IKSEMEL_DIR}/lib"
16718 pbxlibdir
="-L${IKSEMEL_DIR}"
16721 { echo "$as_me:$LINENO: checking for iks_start_sasl in -liksemel" >&5
16722 echo $ECHO_N "checking for iks_start_sasl in -liksemel... $ECHO_C" >&6; }
16723 if test "${ac_cv_lib_iksemel_iks_start_sasl+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 ac_check_lib_save_LIBS
=$LIBS
16727 LIBS
="-liksemel ${pbxlibdir} $LIBS"
16728 cat >conftest.
$ac_ext <<_ACEOF
16731 cat confdefs.h
>>conftest.
$ac_ext
16732 cat >>conftest.
$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16735 /* Override any GCC internal prototype to avoid an error.
16736 Use char because int might match the return type of a GCC
16737 builtin and then its argument prototype would still apply. */
16741 char iks_start_sasl ();
16745 return iks_start_sasl ();
16750 rm -f conftest.
$ac_objext conftest
$ac_exeext
16751 if { (ac_try
="$ac_link"
16752 case "(($ac_try" in
16753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16754 *) ac_try_echo=$ac_try;;
16756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16757 (eval "$ac_link") 2>conftest.er1
16759 grep -v '^ *+' conftest.er1 >conftest.err
16761 cat conftest.err >&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); } && {
16764 test -z "$ac_c_werror_flag" ||
16765 test ! -s conftest.err
16766 } && test -s conftest$ac_exeext &&
16767 $as_test_x conftest$ac_exeext; then
16768 ac_cv_lib_iksemel_iks_start_sasl=yes
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16773 ac_cv_lib_iksemel_iks_start_sasl=no
16776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16777 conftest$ac_exeext conftest.$ac_ext
16778 LIBS=$ac_check_lib_save_LIBS
16780 { echo "$as_me:$LINENO: result: $ac_cv_lib_iksemel_iks_start_sasl" >&5
16781 echo "${ECHO_T}$ac_cv_lib_iksemel_iks_start_sasl" >&6; }
16782 if test $ac_cv_lib_iksemel_iks_start_sasl = yes; then
16783 AST_IKSEMEL_FOUND=yes
16785 AST_IKSEMEL_FOUND=no
16789 if test "${AST_IKSEMEL_FOUND}" = "yes"; then
16790 IKSEMEL_LIB="-liksemel "
16791 IKSEMEL_HEADER_FOUND="1"
16792 if test "x${IKSEMEL_DIR}" != "x"; then
16793 IKSEMEL_LIB="${pbxlibdir} ${IKSEMEL_LIB}"
16794 IKSEMEL_INCLUDE="-I${IKSEMEL_DIR}/include"
16795 saved_cppflags="${CPPFLAGS}"
16796 CPPFLAGS="${CPPFLAGS} -I${IKSEMEL_DIR}/include"
16797 if test "xiksemel.h" != "x" ; then
16798 as_ac_Header=`echo "ac_cv_header_${IKSEMEL_DIR}/include/iksemel.h" |
$as_tr_sh`
16799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16800 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
16801 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
16802 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16803 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 ac_res=`eval echo '${'$as_ac_Header'}'`
16806 { echo "$as_me:$LINENO: result: $ac_res" >&5
16807 echo "${ECHO_T}$ac_res" >&6; }
16809 # Is the header compilable?
16810 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h usability" >&5
16811 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h usability... $ECHO_C" >&6; }
16812 cat >conftest.$ac_ext <<_ACEOF
16815 cat confdefs.h >>conftest.$ac_ext
16816 cat >>conftest.$ac_ext <<_ACEOF
16817 /* end confdefs.h. */
16818 $ac_includes_default
16819 #include <${IKSEMEL_DIR}/include/iksemel.h>
16821 rm -f conftest.$ac_objext
16822 if { (ac_try="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16825 *) ac_try_echo
=$ac_try;;
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_compile") 2>conftest.er1
16830 grep -v '^ *+' conftest.er1
>conftest.err
16832 cat conftest.err
>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_c_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest.
$ac_objext; then
16838 ac_header_compiler
=yes
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.
$ac_ext >&5
16843 ac_header_compiler
=no
16846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16847 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16848 echo "${ECHO_T}$ac_header_compiler" >&6; }
16850 # Is the header present?
16851 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h presence" >&5
16852 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h presence... $ECHO_C" >&6; }
16853 cat >conftest.
$ac_ext <<_ACEOF
16856 cat confdefs.h
>>conftest.
$ac_ext
16857 cat >>conftest.
$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 #include <${IKSEMEL_DIR}/include/iksemel.h>
16861 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16862 case "(($ac_try" in
16863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16864 *) ac_try_echo=$ac_try;;
16866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16869 grep -v '^ *+' conftest.er1 >conftest.err
16871 cat conftest.err >&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } >/dev/null && {
16874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16875 test ! -s conftest.err
16877 ac_header_preproc=yes
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.$ac_ext >&5
16882 ac_header_preproc=no
16885 rm -f conftest.err conftest.$ac_ext
16886 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16887 echo "${ECHO_T}$ac_header_preproc" >&6; }
16889 # So? What about this header?
16890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16892 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
16893 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16894 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the compiler's result" >&5
16895 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the compiler's result" >&2;}
16896 ac_header_preproc=yes
16899 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&5
16900 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&2;}
16901 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&5
16902 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&2;}
16903 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&5
16904 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&2;}
16905 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
16906 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
16907 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the preprocessor's result" >&5
16908 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the preprocessor's result" >&2;}
16909 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&5
16910 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&2;}
16914 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
16915 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
16916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 eval "$as_ac_Header=\$ac_header_preproc"
16921 ac_res=`eval echo '${'$as_ac_Header'}'`
16922 { echo "$as_me:$LINENO: result: $ac_res" >&5
16923 echo "${ECHO_T}$ac_res" >&6; }
16926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16927 IKSEMEL_HEADER_FOUND=1
16929 IKSEMEL_HEADER_FOUND=0
16934 CPPFLAGS="${saved_cppflags}"
16936 if test "xiksemel.h" != "x" ; then
16937 if test "${ac_cv_header_iksemel_h+set}" = set; then
16938 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
16939 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
16940 if test "${ac_cv_header_iksemel_h+set}" = set; then
16941 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
16944 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
16946 # Is the header compilable?
16947 { echo "$as_me:$LINENO: checking iksemel.h usability" >&5
16948 echo $ECHO_N "checking iksemel.h usability... $ECHO_C" >&6; }
16949 cat >conftest.$ac_ext <<_ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 $ac_includes_default
16956 #include <iksemel.h>
16958 rm -f conftest.$ac_objext
16959 if { (ac_try="$ac_compile"
16960 case "(($ac_try" in
16961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16962 *) ac_try_echo
=$ac_try;;
16964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16965 (eval "$ac_compile") 2>conftest.er1
16967 grep -v '^ *+' conftest.er1
>conftest.err
16969 cat conftest.err
>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); } && {
16972 test -z "$ac_c_werror_flag" ||
16973 test ! -s conftest.err
16974 } && test -s conftest.
$ac_objext; then
16975 ac_header_compiler
=yes
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.
$ac_ext >&5
16980 ac_header_compiler
=no
16983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16985 echo "${ECHO_T}$ac_header_compiler" >&6; }
16987 # Is the header present?
16988 { echo "$as_me:$LINENO: checking iksemel.h presence" >&5
16989 echo $ECHO_N "checking iksemel.h presence... $ECHO_C" >&6; }
16990 cat >conftest.
$ac_ext <<_ACEOF
16993 cat confdefs.h
>>conftest.
$ac_ext
16994 cat >>conftest.
$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
16996 #include <iksemel.h>
16998 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16999 case "(($ac_try" in
17000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17001 *) ac_try_echo=$ac_try;;
17003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17006 grep -v '^ *+' conftest.er1 >conftest.err
17008 cat conftest.err >&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } >/dev/null && {
17011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17012 test ! -s conftest.err
17014 ac_header_preproc=yes
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.$ac_ext >&5
17019 ac_header_preproc=no
17022 rm -f conftest.err conftest.$ac_ext
17023 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17024 echo "${ECHO_T}$ac_header_preproc" >&6; }
17026 # So? What about this header?
17027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17029 { echo "$as_me:$LINENO: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
17030 echo "$as_me: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17031 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the compiler's result" >&5
17032 echo "$as_me: WARNING: iksemel.h: proceeding with the compiler's result" >&2;}
17033 ac_header_preproc=yes
17036 { echo "$as_me:$LINENO: WARNING: iksemel.h: present but cannot be compiled" >&5
17037 echo "$as_me: WARNING: iksemel.h: present but cannot be compiled" >&2;}
17038 { echo "$as_me:$LINENO: WARNING: iksemel.h: check for missing prerequisite headers?" >&5
17039 echo "$as_me: WARNING: iksemel.h: check for missing prerequisite headers?" >&2;}
17040 { echo "$as_me:$LINENO: WARNING: iksemel.h: see the Autoconf documentation" >&5
17041 echo "$as_me: WARNING: iksemel.h: see the Autoconf documentation" >&2;}
17042 { echo "$as_me:$LINENO: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
17043 echo "$as_me: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
17044 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the preprocessor's result" >&5
17045 echo "$as_me: WARNING: iksemel.h: proceeding with the preprocessor's result" >&2;}
17046 { echo "$as_me:$LINENO: WARNING: iksemel.h: in the future, the compiler will take precedence" >&5
17047 echo "$as_me: WARNING: iksemel.h: in the future, the compiler will take precedence" >&2;}
17051 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
17052 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
17053 if test "${ac_cv_header_iksemel_h+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 ac_cv_header_iksemel_h=$ac_header_preproc
17058 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
17059 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
17062 if test $ac_cv_header_iksemel_h = yes; then
17063 IKSEMEL_HEADER_FOUND=1
17065 IKSEMEL_HEADER_FOUND=0
17071 if test "x${IKSEMEL_HEADER_FOUND}" = "x0" ; then
17072 if test ! -z "${IKSEMEL_MANDATORY}" ;
17074 { echo "$as_me:$LINENO: ***" >&5
17075 echo "$as_me: ***" >&6;}
17076 { echo "$as_me:$LINENO: *** It appears that you do not have the iksemel development package installed." >&5
17077 echo "$as_me: *** It appears that you do not have the iksemel development package installed." >&6;}
17078 { echo "$as_me:$LINENO: *** Please install it to include ${IKSEMEL_DESCRIP} support, or re-run configure" >&5
17079 echo "$as_me: *** Please install it to include ${IKSEMEL_DESCRIP} support, or re-run configure" >&6;}
17080 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
17081 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
17090 cat >>confdefs.h <<_ACEOF
17091 #define HAVE_IKSEMEL 1
17095 elif test ! -z "${IKSEMEL_MANDATORY}";
17097 { echo "$as_me:$LINENO: ***" >&5
17098 echo "$as_me: ***" >&6;}
17099 { echo "$as_me:$LINENO: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&5
17100 echo "$as_me: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&6;}
17101 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
17102 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
17103 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
17104 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
17110 if test "${PBX_IKSEMEL}" = 1; then
17112 if test "${USE_GNUTLS}" != "no"; then
17114 if test "x${GNUTLS_DIR}" != "x"; then
17115 if test -d ${GNUTLS_DIR}/lib; then
17116 pbxlibdir="-L${GNUTLS_DIR}/lib"
17118 pbxlibdir="-L${GNUTLS_DIR}"
17121 { echo "$as_me:$LINENO: checking for gnutls_bye in -lgnutls" >&5
17122 echo $ECHO_N "checking for gnutls_bye in -lgnutls... $ECHO_C" >&6; }
17123 if test "${ac_cv_lib_gnutls_gnutls_bye+set}" = set; then
17124 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 ac_check_lib_save_LIBS=$LIBS
17127 LIBS="-lgnutls ${pbxlibdir} $LIBS"
17128 cat >conftest.$ac_ext <<_ACEOF
17131 cat confdefs.h >>conftest.$ac_ext
17132 cat >>conftest.$ac_ext <<_ACEOF
17133 /* end confdefs.h. */
17135 /* Override any GCC internal prototype to avoid an error.
17136 Use char because int might match the return type of a GCC
17137 builtin and then its argument prototype would still apply. */
17141 char gnutls_bye ();
17145 return gnutls_bye ();
17150 rm -f conftest.$ac_objext conftest$ac_exeext
17151 if { (ac_try="$ac_link"
17152 case "(($ac_try" in
17153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17154 *) ac_try_echo
=$ac_try;;
17156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17157 (eval "$ac_link") 2>conftest.er1
17159 grep -v '^ *+' conftest.er1
>conftest.err
17161 cat conftest.err
>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); } && {
17164 test -z "$ac_c_werror_flag" ||
17165 test ! -s conftest.err
17166 } && test -s conftest
$ac_exeext &&
17167 $as_test_x conftest
$ac_exeext; then
17168 ac_cv_lib_gnutls_gnutls_bye
=yes
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.
$ac_ext >&5
17173 ac_cv_lib_gnutls_gnutls_bye
=no
17176 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17177 conftest
$ac_exeext conftest.
$ac_ext
17178 LIBS
=$ac_check_lib_save_LIBS
17180 { echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_bye" >&5
17181 echo "${ECHO_T}$ac_cv_lib_gnutls_gnutls_bye" >&6; }
17182 if test $ac_cv_lib_gnutls_gnutls_bye = yes; then
17183 AST_GNUTLS_FOUND
=yes
17185 AST_GNUTLS_FOUND
=no
17189 if test "${AST_GNUTLS_FOUND}" = "yes"; then
17190 GNUTLS_LIB
="-lgnutls "
17191 GNUTLS_HEADER_FOUND
="1"
17192 if test "x${GNUTLS_DIR}" != "x"; then
17193 GNUTLS_LIB
="${pbxlibdir} ${GNUTLS_LIB}"
17194 GNUTLS_INCLUDE
="-I${GNUTLS_DIR}/include"
17195 saved_cppflags
="${CPPFLAGS}"
17196 CPPFLAGS
="${CPPFLAGS} -I${GNUTLS_DIR}/include"
17197 if test "x" != "x" ; then
17198 as_ac_Header
=`echo "ac_cv_header_${GNUTLS_DIR}/include/" | $as_tr_sh`
17199 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17200 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/" >&5
17201 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/... $ECHO_C" >&6; }
17202 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 ac_res
=`eval echo '${'$as_ac_Header'}'`
17206 { echo "$as_me:$LINENO: result: $ac_res" >&5
17207 echo "${ECHO_T}$ac_res" >&6; }
17209 # Is the header compilable?
17210 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/ usability" >&5
17211 echo $ECHO_N "checking ${GNUTLS_DIR}/include/ usability... $ECHO_C" >&6; }
17212 cat >conftest.
$ac_ext <<_ACEOF
17215 cat confdefs.h
>>conftest.
$ac_ext
17216 cat >>conftest.
$ac_ext <<_ACEOF
17217 /* end confdefs.h. */
17218 $ac_includes_default
17219 #include <${GNUTLS_DIR}/include/>
17221 rm -f conftest.
$ac_objext
17222 if { (ac_try
="$ac_compile"
17223 case "(($ac_try" in
17224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17225 *) ac_try_echo=$ac_try;;
17227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17228 (eval "$ac_compile") 2>conftest.er1
17230 grep -v '^ *+' conftest.er1 >conftest.err
17232 cat conftest.err >&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } && {
17235 test -z "$ac_c_werror_flag" ||
17236 test ! -s conftest.err
17237 } && test -s conftest.$ac_objext; then
17238 ac_header_compiler=yes
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17243 ac_header_compiler=no
17246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17247 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17248 echo "${ECHO_T}$ac_header_compiler" >&6; }
17250 # Is the header present?
17251 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/ presence" >&5
17252 echo $ECHO_N "checking ${GNUTLS_DIR}/include/ presence... $ECHO_C" >&6; }
17253 cat >conftest.$ac_ext <<_ACEOF
17256 cat confdefs.h >>conftest.$ac_ext
17257 cat >>conftest.$ac_ext <<_ACEOF
17258 /* end confdefs.h. */
17259 #include <${GNUTLS_DIR}/include/>
17261 if { (ac_try="$ac_cpp conftest.$ac_ext"
17262 case "(($ac_try" in
17263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17264 *) ac_try_echo
=$ac_try;;
17266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17267 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17269 grep -v '^ *+' conftest.er1
>conftest.err
17271 cat conftest.err
>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } >/dev
/null
&& {
17274 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17275 test ! -s conftest.err
17277 ac_header_preproc
=yes
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.
$ac_ext >&5
17282 ac_header_preproc
=no
17285 rm -f conftest.err conftest.
$ac_ext
17286 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17287 echo "${ECHO_T}$ac_header_preproc" >&6; }
17289 # So? What about this header?
17290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17292 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
17293 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
17294 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: proceeding with the compiler's result" >&5
17295 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: proceeding with the compiler's result" >&2;}
17296 ac_header_preproc
=yes
17299 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: present but cannot be compiled" >&5
17300 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: present but cannot be compiled" >&2;}
17301 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: check for missing prerequisite headers?" >&5
17302 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: check for missing prerequisite headers?" >&2;}
17303 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: see the Autoconf documentation" >&5
17304 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: see the Autoconf documentation" >&2;}
17305 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
17306 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
17307 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: proceeding with the preprocessor's result" >&5
17308 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: proceeding with the preprocessor's result" >&2;}
17309 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: in the future, the compiler will take precedence" >&5
17310 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: in the future, the compiler will take precedence" >&2;}
17314 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/" >&5
17315 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/... $ECHO_C" >&6; }
17316 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17317 echo $ECHO_N "(cached) $ECHO_C" >&6
17319 eval "$as_ac_Header=\$ac_header_preproc"
17321 ac_res
=`eval echo '${'$as_ac_Header'}'`
17322 { echo "$as_me:$LINENO: result: $ac_res" >&5
17323 echo "${ECHO_T}$ac_res" >&6; }
17326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17327 GNUTLS_HEADER_FOUND
=1
17329 GNUTLS_HEADER_FOUND
=0
17334 CPPFLAGS
="${saved_cppflags}"
17336 if test "x" != "x" ; then
17337 if test "${ac_cv_header_+set}" = set; then
17338 { echo "$as_me:$LINENO: checking for " >&5
17339 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
17340 if test "${ac_cv_header_+set}" = set; then
17341 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
17344 echo "${ECHO_T}$ac_cv_header_" >&6; }
17346 # Is the header compilable?
17347 { echo "$as_me:$LINENO: checking usability" >&5
17348 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
17349 cat >conftest.
$ac_ext <<_ACEOF
17352 cat confdefs.h
>>conftest.
$ac_ext
17353 cat >>conftest.
$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17355 $ac_includes_default
17358 rm -f conftest.
$ac_objext
17359 if { (ac_try
="$ac_compile"
17360 case "(($ac_try" in
17361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17362 *) ac_try_echo=$ac_try;;
17364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17365 (eval "$ac_compile") 2>conftest.er1
17367 grep -v '^ *+' conftest.er1 >conftest.err
17369 cat conftest.err >&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } && {
17372 test -z "$ac_c_werror_flag" ||
17373 test ! -s conftest.err
17374 } && test -s conftest.$ac_objext; then
17375 ac_header_compiler=yes
17377 echo "$as_me: failed program was:" >&5
17378 sed 's/^/| /' conftest.$ac_ext >&5
17380 ac_header_compiler=no
17383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17384 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17385 echo "${ECHO_T}$ac_header_compiler" >&6; }
17387 # Is the header present?
17388 { echo "$as_me:$LINENO: checking presence" >&5
17389 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
17390 cat >conftest.$ac_ext <<_ACEOF
17393 cat confdefs.h >>conftest.$ac_ext
17394 cat >>conftest.$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17398 if { (ac_try="$ac_cpp conftest.$ac_ext"
17399 case "(($ac_try" in
17400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17401 *) ac_try_echo
=$ac_try;;
17403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17404 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17406 grep -v '^ *+' conftest.er1
>conftest.err
17408 cat conftest.err
>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } >/dev
/null
&& {
17411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17412 test ! -s conftest.err
17414 ac_header_preproc
=yes
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.
$ac_ext >&5
17419 ac_header_preproc
=no
17422 rm -f conftest.err conftest.
$ac_ext
17423 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17424 echo "${ECHO_T}$ac_header_preproc" >&6; }
17426 # So? What about this header?
17427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17429 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
17430 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
17431 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
17432 echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
17433 ac_header_preproc
=yes
17436 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
17437 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
17438 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
17439 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
17440 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
17441 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
17442 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
17443 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
17444 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
17445 echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
17446 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
17447 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
17451 { echo "$as_me:$LINENO: checking for " >&5
17452 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
17453 if test "${ac_cv_header_+set}" = set; then
17454 echo $ECHO_N "(cached) $ECHO_C" >&6
17456 ac_cv_header_
=$ac_header_preproc
17458 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
17459 echo "${ECHO_T}$ac_cv_header_" >&6; }
17462 if test $ac_cv_header_ = yes; then
17463 GNUTLS_HEADER_FOUND
=1
17465 GNUTLS_HEADER_FOUND
=0
17471 if test "x${GNUTLS_HEADER_FOUND}" = "x0" ; then
17472 if test ! -z "${GNUTLS_MANDATORY}" ;
17474 { echo "$as_me:$LINENO: ***" >&5
17475 echo "$as_me: ***" >&6;}
17476 { echo "$as_me:$LINENO: *** It appears that you do not have the gnutls development package installed." >&5
17477 echo "$as_me: *** It appears that you do not have the gnutls development package installed." >&6;}
17478 { echo "$as_me:$LINENO: *** Please install it to include ${GNUTLS_DESCRIP} support, or re-run configure" >&5
17479 echo "$as_me: *** Please install it to include ${GNUTLS_DESCRIP} support, or re-run configure" >&6;}
17480 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
17481 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
17490 cat >>confdefs.h
<<_ACEOF
17491 #define HAVE_GNUTLS 1
17495 elif test ! -z "${GNUTLS_MANDATORY}";
17497 { echo "$as_me:$LINENO: ***" >&5
17498 echo "$as_me: ***" >&6;}
17499 { echo "$as_me:$LINENO: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&5
17500 echo "$as_me: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&6;}
17501 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
17502 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
17503 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
17504 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
17509 if test "${PBX_GNUTLS}" = 1; then
17510 IKSEMEL_LIB
="${IKSEMEL_LIB} -lgnutls -lz -lgcrypt -lnsl -lgpg-error"
17514 if test "${USE_IMAP_TK}" != "no"; then
17515 if test "${IMAP_TK_DIR}" = ""; then
17516 IMAP_TK_DIR
=`pwd`"/../imap-2004g"
17518 { echo "$as_me:$LINENO: checking for UW IMAP Toolkit c-client library" >&5
17519 echo $ECHO_N "checking for UW IMAP Toolkit c-client library... $ECHO_C" >&6; }
17520 saved_cppflags
="${CPPFLAGS}"
17521 saved_libs
="${LIBS}"
17522 if test -f ${IMAP_TK_DIR}/c-client
/LDFLAGS
; then
17523 imap_ldflags
=`cat ${IMAP_TK_DIR}/c-client/LDFLAGS`
17525 CPPFLAGS
="${CPPFLAGS} -I${IMAP_TK_DIR}/c-client"
17526 LIBS
="${LIBS} ${IMAP_TK_DIR}/c-client/c-client.a "`echo ${imap_ldflags}`
17527 cat >conftest.$ac_ext <<_ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17533 #include "c-client.h
"
17534 void mm_searched (MAILSTREAM *stream,unsigned long number)
17537 void mm_exists (MAILSTREAM *stream,unsigned long number)
17540 void mm_expunged (MAILSTREAM *stream,unsigned long number)
17543 void mm_flags (MAILSTREAM *stream,unsigned long number)
17546 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
17549 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
17552 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
17555 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
17558 void mm_log (char *string,long errflg)
17561 void mm_dlog (char *string)
17564 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
17567 void mm_critical (MAILSTREAM *stream)
17570 void mm_nocritical (MAILSTREAM *stream)
17573 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
17576 void mm_fatal (char *string)
17583 MAILSTREAM *foo = mail_open(NULL, "", 0);
17590 rm -f conftest.$ac_objext conftest$ac_exeext
17591 if { (ac_try="$ac_link"
17592 case "(($ac_try" in
17593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17594 *) ac_try_echo=$ac_try;;
17596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17597 (eval "$ac_link") 2>conftest.er1
17599 grep -v '^ *+' conftest.er1 >conftest.err
17601 cat conftest.err >&5
17602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17603 (exit $ac_status); } && {
17604 test -z "$ac_c_werror_flag" ||
17605 test ! -s conftest.err
17606 } && test -s conftest$ac_exeext &&
17607 $as_test_x conftest$ac_exeext; then
17608 ac_cv_imap_tk="yes"
17610 echo "$as_me: failed program was
:" >&5
17611 sed 's/^/| /' conftest.$ac_ext >&5
17617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17618 conftest$ac_exeext conftest.$ac_ext
17619 if test "${ac_cv_imap_tk}" = "yes"; then
17620 cat >conftest.$ac_ext <<_ACEOF
17623 cat confdefs.h >>conftest.$ac_ext
17624 cat >>conftest.$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 #include "c-client.h
"
17627 void mm_searched (MAILSTREAM *stream,unsigned long number)
17630 void mm_exists (MAILSTREAM *stream,unsigned long number)
17633 void mm_expunged (MAILSTREAM *stream,unsigned long number)
17636 void mm_flags (MAILSTREAM *stream,unsigned long number)
17639 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
17642 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
17645 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
17648 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
17651 void mm_log (char *string,long errflg)
17654 void mm_dlog (char *string)
17657 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
17660 void mm_critical (MAILSTREAM *stream)
17663 void mm_nocritical (MAILSTREAM *stream)
17666 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
17669 void mm_fatal (char *string)
17676 long check = mail_expunge_full(NULL, "", 0);
17683 rm -f conftest.$ac_objext conftest$ac_exeext
17684 if { (ac_try="$ac_link"
17685 case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17689 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17692 grep -v '^ *+' conftest.er1 >conftest.err
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest$ac_exeext &&
17700 $as_test_x conftest$ac_exeext; then
17701 ac_cv_imap_tk2006="yes"
17703 echo "$as_me: failed program was
:" >&5
17704 sed 's/^/| /' conftest.$ac_ext >&5
17706 ac_cv_imap_tk2006="no
"
17710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17711 conftest$ac_exeext conftest.$ac_ext
17713 CPPFLAGS="${saved_cppflags}"
17714 LIBS="${saved_libs}"
17715 if test "${ac_cv_imap_tk}" = "yes"; then
17716 { echo "$as_me:$LINENO: result
: yes" >&5
17717 echo "${ECHO_T}yes" >&6; }
17718 IMAP_TK_LIB="${IMAP_TK_DIR}/c-client
/c-client.a
"`echo ${imap_ldflags}`
17719 IMAP_TK_INCLUDE="-I${IMAP_TK_DIR}/c-client
"
17722 cat >>confdefs.h <<\_ACEOF
17723 #define HAVE_IMAP_TK 1
17726 if test "${ac_cv_imap_tk2006}" = "yes"; then
17728 cat >>confdefs.h <<\_ACEOF
17729 #define HAVE_IMAP_TK2006 1
17733 elif test ! -z "${IMAP_TK_MANDATORY}"; then
17734 { echo "$as_me:$LINENO: result
: no
" >&5
17735 echo "${ECHO_T}no
" >&6; }
17736 { echo "$as_me:$LINENO: ***" >&5
17737 echo "$as_me: ***" >&6;}
17738 { echo "$as_me:$LINENO: *** The UW IMAP Toolkit installation on this system appears to be broken.
" >&5
17739 echo "$as_me: *** The UW IMAP Toolkit installation on this system appears to be broken.
" >&6;}
17740 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
17741 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
17742 { echo "$as_me:$LINENO: *** including
--without-imap.
" >&5
17743 echo "$as_me: *** including
--without-imap.
" >&6;}
17746 { echo "$as_me:$LINENO: result
: no
" >&5
17747 echo "${ECHO_T}no
" >&6; }
17752 ac_cpp='$CXXCPP $CPPFLAGS'
17753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17758 if test "${USE_KDE}" != "no
"; then
17759 { echo "$as_me:$LINENO: checking
for crashHandler
in -lkdecore" >&5
17760 echo $ECHO_N "checking
for crashHandler
in -lkdecore...
$ECHO_C" >&6; }
17761 saved_libs="${LIBS}"
17762 saved_cppflags="${CPPFLAGS}"
17763 CPPFLAGS="${CPPFLAGS} -I${KDE_DIR}/include
"
17764 if test -d ${KDE_DIR}/lib; then
17765 kdelibdir="${KDE_DIR}/lib
"
17767 kdelibdir="${KDE_DIR}"
17769 LIBS="${LIBS} -L${kdelibdir} -lkdecore"
17772 cat >conftest.$ac_ext <<_ACEOF
17775 cat confdefs.h >>conftest.$ac_ext
17776 cat >>conftest.$ac_ext <<_ACEOF
17777 /* end confdefs.h. */
17778 #include "kcrash.h
"
17782 KCrash::defaultCrashHandler(1);
17788 rm -f conftest.$ac_objext conftest$ac_exeext
17789 if { (ac_try="$ac_link"
17790 case "(($ac_try" in
17791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17792 *) ac_try_echo=$ac_try;;
17794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17795 (eval "$ac_link") 2>conftest.er1
17797 grep -v '^ *+' conftest.er1 >conftest.err
17799 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17801 (exit $ac_status); } && {
17802 test -z "$ac_cxx_werror_flag" ||
17803 test ! -s conftest.err
17804 } && test -s conftest$ac_exeext &&
17805 $as_test_x conftest$ac_exeext; then
17806 ac_cv_lib_kde_crash="yes"
17808 echo "$as_me: failed program was
:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17811 ac_cv_lib_kde_crash="no
"
17814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17815 conftest$ac_exeext conftest.$ac_ext
17817 LIBS="${saved_libs}"
17818 CPPFLAGS="${saved_cppflags}"
17820 if test "${ac_cv_lib_kde_crash}" = "yes"; then
17821 { echo "$as_me:$LINENO: result
: yes" >&5
17822 echo "${ECHO_T}yes" >&6; }
17823 KDE_LIB="-lkdecore -lkdeui"
17824 if test "${KDE_DIR}" != ""; then
17825 KDE_LIB="-L${kdelibdir} ${KDE_LIB}"
17826 KDE_INCLUDE="-I${KDE_DIR}/include
"
17830 cat >>confdefs.h <<\_ACEOF
17831 #define HAVE_LIBKDE 1
17834 elif test ! -z "${KDE_MANDATORY}"; then
17835 { echo "$as_me:$LINENO: result
: no
" >&5
17836 echo "${ECHO_T}no
" >&6; }
17837 { echo "$as_me:$LINENO: ***" >&5
17838 echo "$as_me: ***" >&6;}
17839 { echo "$as_me:$LINENO: *** The KDE installation on this system appears to be broken.
" >&5
17840 echo "$as_me: *** The KDE installation on this system appears to be broken.
" >&6;}
17841 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
17842 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
17843 { echo "$as_me:$LINENO: *** including
--without-kde.
" >&5
17844 echo "$as_me: *** including
--without-kde.
" >&6;}
17847 { echo "$as_me:$LINENO: result
: no
" >&5
17848 echo "${ECHO_T}no
" >&6; }
17851 if test "${PBX_KDE}" = 1; then
17852 if test -n "$ac_tool_prefix"; then
17853 # Extract the first word of "${ac_tool_prefix}kdeinit
", so it can be a program name with args.
17854 set dummy ${ac_tool_prefix}kdeinit; ac_word=$2
17855 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
17856 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
17857 if test "${ac_cv_path_KDEINIT+set}" = set; then
17858 echo $ECHO_N "(cached
) $ECHO_C" >&6
17862 ac_cv_path_KDEINIT="$KDEINIT" # Let the user override the test with a path.
17865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17866 for as_dir in $PATH
17869 test -z "$as_dir" && as_dir=.
17870 for ac_exec_ext in '' $ac_executable_extensions; do
17871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17872 ac_cv_path_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
17873 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
17883 KDEINIT=$ac_cv_path_KDEINIT
17884 if test -n "$KDEINIT"; then
17885 { echo "$as_me:$LINENO: result
: $KDEINIT" >&5
17886 echo "${ECHO_T}$KDEINIT" >&6; }
17888 { echo "$as_me:$LINENO: result
: no
" >&5
17889 echo "${ECHO_T}no
" >&6; }
17894 if test -z "$ac_cv_path_KDEINIT"; then
17895 ac_pt_KDEINIT=$KDEINIT
17896 # Extract the first word of "kdeinit
", so it can be a program name with args.
17897 set dummy kdeinit; ac_word=$2
17898 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
17899 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
17900 if test "${ac_cv_path_ac_pt_KDEINIT+set}" = set; then
17901 echo $ECHO_N "(cached
) $ECHO_C" >&6
17903 case $ac_pt_KDEINIT in
17905 ac_cv_path_ac_pt_KDEINIT="$ac_pt_KDEINIT" # Let the user override the test with a path.
17908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17909 for as_dir in $PATH
17912 test -z "$as_dir" && as_dir=.
17913 for ac_exec_ext in '' $ac_executable_extensions; do
17914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17915 ac_cv_path_ac_pt_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
17916 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
17926 ac_pt_KDEINIT=$ac_cv_path_ac_pt_KDEINIT
17927 if test -n "$ac_pt_KDEINIT"; then
17928 { echo "$as_me:$LINENO: result
: $ac_pt_KDEINIT" >&5
17929 echo "${ECHO_T}$ac_pt_KDEINIT" >&6; }
17931 { echo "$as_me:$LINENO: result
: no
" >&5
17932 echo "${ECHO_T}no
" >&6; }
17935 if test "x
$ac_pt_KDEINIT" = x; then
17938 case $cross_compiling:$ac_tool_warned in
17940 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
17941 whose name does not start with the
host triplet. If you think this
17942 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
17943 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
17944 whose name does not start with the
host triplet. If you think this
17945 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
17946 ac_tool_warned=yes ;;
17948 KDEINIT=$ac_pt_KDEINIT
17951 KDEINIT="$ac_cv_path_KDEINIT"
17954 if test ! x"${KDEINIT}" = xNo; then
17955 KDEDIR=$(${DIRNAME} ${KDEINIT})
17956 KDEDIR=$(${DIRNAME} ${KDEDIR})
17962 ac_cpp='$CPP $CPPFLAGS'
17963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17969 if test "${USE_MISDN}" != "no
"; then
17971 if test "x
${MISDN_DIR}" != "x
"; then
17972 if test -d ${MISDN_DIR}/lib; then
17973 pbxlibdir="-L${MISDN_DIR}/lib
"
17975 pbxlibdir="-L${MISDN_DIR}"
17978 { echo "$as_me:$LINENO: checking
for mISDN_open
in -lmISDN" >&5
17979 echo $ECHO_N "checking
for mISDN_open
in -lmISDN...
$ECHO_C" >&6; }
17980 if test "${ac_cv_lib_mISDN_mISDN_open+set}" = set; then
17981 echo $ECHO_N "(cached
) $ECHO_C" >&6
17983 ac_check_lib_save_LIBS=$LIBS
17984 LIBS="-lmISDN ${pbxlibdir} $LIBS"
17985 cat >conftest.$ac_ext <<_ACEOF
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
17992 /* Override any GCC internal prototype to avoid an error.
17993 Use char because int might match the return type of a GCC
17994 builtin and then its argument prototype would still apply. */
17998 char mISDN_open ();
18002 return mISDN_open ();
18007 rm -f conftest.$ac_objext conftest$ac_exeext
18008 if { (ac_try="$ac_link"
18009 case "(($ac_try" in
18010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18011 *) ac_try_echo=$ac_try;;
18013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18014 (eval "$ac_link") 2>conftest.er1
18016 grep -v '^ *+' conftest.er1 >conftest.err
18018 cat conftest.err >&5
18019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18020 (exit $ac_status); } && {
18021 test -z "$ac_c_werror_flag" ||
18022 test ! -s conftest.err
18023 } && test -s conftest$ac_exeext &&
18024 $as_test_x conftest$ac_exeext; then
18025 ac_cv_lib_mISDN_mISDN_open=yes
18027 echo "$as_me: failed program was
:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18030 ac_cv_lib_mISDN_mISDN_open=no
18033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18034 conftest$ac_exeext conftest.$ac_ext
18035 LIBS=$ac_check_lib_save_LIBS
18037 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mISDN_mISDN_open" >&5
18038 echo "${ECHO_T}$ac_cv_lib_mISDN_mISDN_open" >&6; }
18039 if test $ac_cv_lib_mISDN_mISDN_open = yes; then
18040 AST_MISDN_FOUND=yes
18046 if test "${AST_MISDN_FOUND}" = "yes"; then
18047 MISDN_LIB="-lmISDN "
18048 MISDN_HEADER_FOUND="1"
18049 if test "x
${MISDN_DIR}" != "x
"; then
18050 MISDN_LIB="${pbxlibdir} ${MISDN_LIB}"
18051 MISDN_INCLUDE="-I${MISDN_DIR}/include
"
18052 saved_cppflags="${CPPFLAGS}"
18053 CPPFLAGS="${CPPFLAGS} -I${MISDN_DIR}/include
"
18054 if test "xmISDNuser
/mISDNlib.h
" != "x
" ; then
18055 as_ac_Header=`echo "ac_cv_header_
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" | $as_tr_sh`
18056 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18057 { echo "$as_me:$LINENO: checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" >&5
18058 echo $ECHO_N "checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
18059 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18060 echo $ECHO_N "(cached
) $ECHO_C" >&6
18062 ac_res=`eval echo '${'$as_ac_Header'}'`
18063 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18064 echo "${ECHO_T}$ac_res" >&6; }
18066 # Is the header compilable?
18067 { echo "$as_me:$LINENO: checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h usability
" >&5
18068 echo $ECHO_N "checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h usability...
$ECHO_C" >&6; }
18069 cat >conftest.$ac_ext <<_ACEOF
18072 cat confdefs.h >>conftest.$ac_ext
18073 cat >>conftest.$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18075 $ac_includes_default
18076 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
18078 rm -f conftest.$ac_objext
18079 if { (ac_try="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18082 *) ac_try_echo=$ac_try;;
18084 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18087 grep -v '^ *+' conftest.er1 >conftest.err
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_c_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.$ac_objext; then
18095 ac_header_compiler=yes
18097 echo "$as_me: failed program was
:" >&5
18098 sed 's/^/| /' conftest.$ac_ext >&5
18100 ac_header_compiler=no
18103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18104 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18105 echo "${ECHO_T}$ac_header_compiler" >&6; }
18107 # Is the header present?
18108 { echo "$as_me:$LINENO: checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h presence
" >&5
18109 echo $ECHO_N "checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h presence...
$ECHO_C" >&6; }
18110 cat >conftest.$ac_ext <<_ACEOF
18113 cat confdefs.h >>conftest.$ac_ext
18114 cat >>conftest.$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18116 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
18118 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18119 case "(($ac_try" in
18120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18121 *) ac_try_echo=$ac_try;;
18123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18124 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18126 grep -v '^ *+' conftest.er1 >conftest.err
18128 cat conftest.err >&5
18129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18130 (exit $ac_status); } >/dev/null && {
18131 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18132 test ! -s conftest.err
18134 ac_header_preproc=yes
18136 echo "$as_me: failed program was
:" >&5
18137 sed 's/^/| /' conftest.$ac_ext >&5
18139 ac_header_preproc=no
18142 rm -f conftest.err conftest.$ac_ext
18143 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18144 echo "${ECHO_T}$ac_header_preproc" >&6; }
18146 # So? What about this header?
18147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18149 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18150 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18151 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&5
18152 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&2;}
18153 ac_header_preproc=yes
18156 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&5
18157 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&2;}
18158 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&5
18159 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&2;}
18160 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&5
18161 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&2;}
18162 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18163 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18164 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&5
18165 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&2;}
18166 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&5
18167 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&2;}
18171 { echo "$as_me:$LINENO: checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" >&5
18172 echo $ECHO_N "checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
18173 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18174 echo $ECHO_N "(cached
) $ECHO_C" >&6
18176 eval "$as_ac_Header=\
$ac_header_preproc"
18178 ac_res=`eval echo '${'$as_ac_Header'}'`
18179 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18180 echo "${ECHO_T}$ac_res" >&6; }
18183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18184 MISDN_HEADER_FOUND=1
18186 MISDN_HEADER_FOUND=0
18191 CPPFLAGS="${saved_cppflags}"
18193 if test "xmISDNuser
/mISDNlib.h
" != "x
" ; then
18194 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
18195 { echo "$as_me:$LINENO: checking
for mISDNuser
/mISDNlib.h
" >&5
18196 echo $ECHO_N "checking
for mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
18197 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
18198 echo $ECHO_N "(cached
) $ECHO_C" >&6
18200 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
18201 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
18203 # Is the header compilable?
18204 { echo "$as_me:$LINENO: checking mISDNuser
/mISDNlib.h usability
" >&5
18205 echo $ECHO_N "checking mISDNuser
/mISDNlib.h usability...
$ECHO_C" >&6; }
18206 cat >conftest.$ac_ext <<_ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18212 $ac_includes_default
18213 #include <mISDNuser/mISDNlib.h>
18215 rm -f conftest.$ac_objext
18216 if { (ac_try="$ac_compile"
18217 case "(($ac_try" in
18218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18219 *) ac_try_echo=$ac_try;;
18221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18222 (eval "$ac_compile") 2>conftest.er1
18224 grep -v '^ *+' conftest.er1 >conftest.err
18226 cat conftest.err >&5
18227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18228 (exit $ac_status); } && {
18229 test -z "$ac_c_werror_flag" ||
18230 test ! -s conftest.err
18231 } && test -s conftest.$ac_objext; then
18232 ac_header_compiler=yes
18234 echo "$as_me: failed program was
:" >&5
18235 sed 's/^/| /' conftest.$ac_ext >&5
18237 ac_header_compiler=no
18240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18241 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18242 echo "${ECHO_T}$ac_header_compiler" >&6; }
18244 # Is the header present?
18245 { echo "$as_me:$LINENO: checking mISDNuser
/mISDNlib.h presence
" >&5
18246 echo $ECHO_N "checking mISDNuser
/mISDNlib.h presence...
$ECHO_C" >&6; }
18247 cat >conftest.$ac_ext <<_ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253 #include <mISDNuser/mISDNlib.h>
18255 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18260 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18263 grep -v '^ *+' conftest.er1 >conftest.err
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18267 (exit $ac_status); } >/dev/null && {
18268 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18269 test ! -s conftest.err
18271 ac_header_preproc=yes
18273 echo "$as_me: failed program was
:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18276 ac_header_preproc=no
18279 rm -f conftest.err conftest.$ac_ext
18280 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18281 echo "${ECHO_T}$ac_header_preproc" >&6; }
18283 # So? What about this header?
18284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18286 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18287 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18288 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&5
18289 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&2;}
18290 ac_header_preproc=yes
18293 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&5
18294 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&2;}
18295 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&5
18296 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&2;}
18297 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&5
18298 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&2;}
18299 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18300 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18301 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&5
18302 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&2;}
18303 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&5
18304 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&2;}
18308 { echo "$as_me:$LINENO: checking
for mISDNuser
/mISDNlib.h
" >&5
18309 echo $ECHO_N "checking
for mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
18310 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
18311 echo $ECHO_N "(cached
) $ECHO_C" >&6
18313 ac_cv_header_mISDNuser_mISDNlib_h=$ac_header_preproc
18315 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
18316 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
18319 if test $ac_cv_header_mISDNuser_mISDNlib_h = yes; then
18320 MISDN_HEADER_FOUND=1
18322 MISDN_HEADER_FOUND=0
18328 if test "x
${MISDN_HEADER_FOUND}" = "x0
" ; then
18329 if test ! -z "${MISDN_MANDATORY}" ;
18331 { echo "$as_me:$LINENO: ***" >&5
18332 echo "$as_me: ***" >&6;}
18333 { echo "$as_me:$LINENO: *** It appears that you
do not have the mISDN development package installed.
" >&5
18334 echo "$as_me: *** It appears that you
do not have the mISDN development package installed.
" >&6;}
18335 { echo "$as_me:$LINENO: *** Please
install it to include
${MISDN_DESCRIP} support
, or re-run configure
" >&5
18336 echo "$as_me: *** Please
install it to include
${MISDN_DESCRIP} support
, or re-run configure
" >&6;}
18337 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${MISDN_OPTION}" >&5
18338 echo "$as_me: *** without explicitly specifying
--with-${MISDN_OPTION}" >&6;}
18347 cat >>confdefs.h <<_ACEOF
18348 #define HAVE_MISDN 1
18352 elif test ! -z "${MISDN_MANDATORY}";
18354 { echo "$as_me:$LINENO: ***" >&5
18355 echo "$as_me: ***" >&6;}
18356 { echo "$as_me:$LINENO: *** The
${MISDN_DESCRIP} installation on this system appears to be broken.
" >&5
18357 echo "$as_me: *** The
${MISDN_DESCRIP} installation on this system appears to be broken.
" >&6;}
18358 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
18359 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
18360 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${MISDN_OPTION}" >&5
18361 echo "$as_me: *** without explicitly specifying
--with-${MISDN_OPTION}" >&6;}
18367 if test "${PBX_MISDN}" = 1; then
18369 if test "${USE_ISDNNET}" != "no
"; then
18371 if test "x
${ISDNNET_DIR}" != "x
"; then
18372 if test -d ${ISDNNET_DIR}/lib; then
18373 pbxlibdir="-L${ISDNNET_DIR}/lib
"
18375 pbxlibdir="-L${ISDNNET_DIR}"
18378 { echo "$as_me:$LINENO: checking
for init_manager
in -lisdnnet" >&5
18379 echo $ECHO_N "checking
for init_manager
in -lisdnnet...
$ECHO_C" >&6; }
18380 if test "${ac_cv_lib_isdnnet_init_manager+set}" = set; then
18381 echo $ECHO_N "(cached
) $ECHO_C" >&6
18383 ac_check_lib_save_LIBS=$LIBS
18384 LIBS="-lisdnnet ${pbxlibdir} -lmISDN -lpthread $LIBS"
18385 cat >conftest.$ac_ext <<_ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18392 /* Override any GCC internal prototype to avoid an error.
18393 Use char because int might match the return type of a GCC
18394 builtin and then its argument prototype would still apply. */
18398 char init_manager ();
18402 return init_manager ();
18407 rm -f conftest.$ac_objext conftest$ac_exeext
18408 if { (ac_try="$ac_link"
18409 case "(($ac_try" in
18410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18413 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_link") 2>conftest.er1
18416 grep -v '^ *+' conftest.er1 >conftest.err
18418 cat conftest.err >&5
18419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18420 (exit $ac_status); } && {
18421 test -z "$ac_c_werror_flag" ||
18422 test ! -s conftest.err
18423 } && test -s conftest$ac_exeext &&
18424 $as_test_x conftest$ac_exeext; then
18425 ac_cv_lib_isdnnet_init_manager=yes
18427 echo "$as_me: failed program was
:" >&5
18428 sed 's/^/| /' conftest.$ac_ext >&5
18430 ac_cv_lib_isdnnet_init_manager=no
18433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18434 conftest$ac_exeext conftest.$ac_ext
18435 LIBS=$ac_check_lib_save_LIBS
18437 { echo "$as_me:$LINENO: result
: $ac_cv_lib_isdnnet_init_manager" >&5
18438 echo "${ECHO_T}$ac_cv_lib_isdnnet_init_manager" >&6; }
18439 if test $ac_cv_lib_isdnnet_init_manager = yes; then
18440 AST_ISDNNET_FOUND=yes
18442 AST_ISDNNET_FOUND=no
18446 if test "${AST_ISDNNET_FOUND}" = "yes"; then
18447 ISDNNET_LIB="-lisdnnet -lmISDN -lpthread"
18448 ISDNNET_HEADER_FOUND="1"
18449 if test "x
${ISDNNET_DIR}" != "x
"; then
18450 ISDNNET_LIB="${pbxlibdir} ${ISDNNET_LIB}"
18451 ISDNNET_INCLUDE="-I${ISDNNET_DIR}/include
"
18452 saved_cppflags="${CPPFLAGS}"
18453 CPPFLAGS="${CPPFLAGS} -I${ISDNNET_DIR}/include
"
18454 if test "xmISDNuser
/isdn_net.h
" != "x
" ; then
18455 as_ac_Header=`echo "ac_cv_header_
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" | $as_tr_sh`
18456 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18457 { echo "$as_me:$LINENO: checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" >&5
18458 echo $ECHO_N "checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
18459 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18460 echo $ECHO_N "(cached
) $ECHO_C" >&6
18462 ac_res=`eval echo '${'$as_ac_Header'}'`
18463 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18464 echo "${ECHO_T}$ac_res" >&6; }
18466 # Is the header compilable?
18467 { echo "$as_me:$LINENO: checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h usability
" >&5
18468 echo $ECHO_N "checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h usability...
$ECHO_C" >&6; }
18469 cat >conftest.$ac_ext <<_ACEOF
18472 cat confdefs.h >>conftest.$ac_ext
18473 cat >>conftest.$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18475 $ac_includes_default
18476 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
18478 rm -f conftest.$ac_objext
18479 if { (ac_try="$ac_compile"
18480 case "(($ac_try" in
18481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18482 *) ac_try_echo=$ac_try;;
18484 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18485 (eval "$ac_compile") 2>conftest.er1
18487 grep -v '^ *+' conftest.er1 >conftest.err
18489 cat conftest.err >&5
18490 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18491 (exit $ac_status); } && {
18492 test -z "$ac_c_werror_flag" ||
18493 test ! -s conftest.err
18494 } && test -s conftest.$ac_objext; then
18495 ac_header_compiler=yes
18497 echo "$as_me: failed program was
:" >&5
18498 sed 's/^/| /' conftest.$ac_ext >&5
18500 ac_header_compiler=no
18503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18504 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18505 echo "${ECHO_T}$ac_header_compiler" >&6; }
18507 # Is the header present?
18508 { echo "$as_me:$LINENO: checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h presence
" >&5
18509 echo $ECHO_N "checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h presence...
$ECHO_C" >&6; }
18510 cat >conftest.$ac_ext <<_ACEOF
18513 cat confdefs.h >>conftest.$ac_ext
18514 cat >>conftest.$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18516 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
18518 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18519 case "(($ac_try" in
18520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18521 *) ac_try_echo=$ac_try;;
18523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18524 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18526 grep -v '^ *+' conftest.er1 >conftest.err
18528 cat conftest.err >&5
18529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18530 (exit $ac_status); } >/dev/null && {
18531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18532 test ! -s conftest.err
18534 ac_header_preproc=yes
18536 echo "$as_me: failed program was
:" >&5
18537 sed 's/^/| /' conftest.$ac_ext >&5
18539 ac_header_preproc=no
18542 rm -f conftest.err conftest.$ac_ext
18543 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18544 echo "${ECHO_T}$ac_header_preproc" >&6; }
18546 # So? What about this header?
18547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18549 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18550 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18551 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&5
18552 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&2;}
18553 ac_header_preproc=yes
18556 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&5
18557 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&2;}
18558 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&5
18559 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&2;}
18560 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&5
18561 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&2;}
18562 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18563 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18564 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&5
18565 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&2;}
18566 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&5
18567 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&2;}
18571 { echo "$as_me:$LINENO: checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" >&5
18572 echo $ECHO_N "checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
18573 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18574 echo $ECHO_N "(cached
) $ECHO_C" >&6
18576 eval "$as_ac_Header=\
$ac_header_preproc"
18578 ac_res=`eval echo '${'$as_ac_Header'}'`
18579 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18580 echo "${ECHO_T}$ac_res" >&6; }
18583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18584 ISDNNET_HEADER_FOUND=1
18586 ISDNNET_HEADER_FOUND=0
18591 CPPFLAGS="${saved_cppflags}"
18593 if test "xmISDNuser
/isdn_net.h
" != "x
" ; then
18594 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
18595 { echo "$as_me:$LINENO: checking
for mISDNuser
/isdn_net.h
" >&5
18596 echo $ECHO_N "checking
for mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
18597 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
18598 echo $ECHO_N "(cached
) $ECHO_C" >&6
18600 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_isdn_net_h" >&5
18601 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
18603 # Is the header compilable?
18604 { echo "$as_me:$LINENO: checking mISDNuser
/isdn_net.h usability
" >&5
18605 echo $ECHO_N "checking mISDNuser
/isdn_net.h usability...
$ECHO_C" >&6; }
18606 cat >conftest.$ac_ext <<_ACEOF
18609 cat confdefs.h >>conftest.$ac_ext
18610 cat >>conftest.$ac_ext <<_ACEOF
18611 /* end confdefs.h. */
18612 $ac_includes_default
18613 #include <mISDNuser/isdn_net.h>
18615 rm -f conftest.$ac_objext
18616 if { (ac_try="$ac_compile"
18617 case "(($ac_try" in
18618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18619 *) ac_try_echo=$ac_try;;
18621 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18622 (eval "$ac_compile") 2>conftest.er1
18624 grep -v '^ *+' conftest.er1 >conftest.err
18626 cat conftest.err >&5
18627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18628 (exit $ac_status); } && {
18629 test -z "$ac_c_werror_flag" ||
18630 test ! -s conftest.err
18631 } && test -s conftest.$ac_objext; then
18632 ac_header_compiler=yes
18634 echo "$as_me: failed program was
:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18637 ac_header_compiler=no
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18641 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18642 echo "${ECHO_T}$ac_header_compiler" >&6; }
18644 # Is the header present?
18645 { echo "$as_me:$LINENO: checking mISDNuser
/isdn_net.h presence
" >&5
18646 echo $ECHO_N "checking mISDNuser
/isdn_net.h presence...
$ECHO_C" >&6; }
18647 cat >conftest.$ac_ext <<_ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 #include <mISDNuser/isdn_net.h>
18655 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18656 case "(($ac_try" in
18657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18658 *) ac_try_echo=$ac_try;;
18660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18661 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18663 grep -v '^ *+' conftest.er1 >conftest.err
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18667 (exit $ac_status); } >/dev/null && {
18668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18669 test ! -s conftest.err
18671 ac_header_preproc=yes
18673 echo "$as_me: failed program was
:" >&5
18674 sed 's/^/| /' conftest.$ac_ext >&5
18676 ac_header_preproc=no
18679 rm -f conftest.err conftest.$ac_ext
18680 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18681 echo "${ECHO_T}$ac_header_preproc" >&6; }
18683 # So? What about this header?
18684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18686 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18687 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18688 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&5
18689 echo "$as_me: WARNING: mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&2;}
18690 ac_header_preproc=yes
18693 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&5
18694 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&2;}
18695 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&5
18696 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&2;}
18697 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&5
18698 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&2;}
18699 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18700 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18701 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&5
18702 echo "$as_me: WARNING: mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&2;}
18703 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&5
18704 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&2;}
18708 { echo "$as_me:$LINENO: checking
for mISDNuser
/isdn_net.h
" >&5
18709 echo $ECHO_N "checking
for mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
18710 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
18711 echo $ECHO_N "(cached
) $ECHO_C" >&6
18713 ac_cv_header_mISDNuser_isdn_net_h=$ac_header_preproc
18715 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_isdn_net_h" >&5
18716 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
18719 if test $ac_cv_header_mISDNuser_isdn_net_h = yes; then
18720 ISDNNET_HEADER_FOUND=1
18722 ISDNNET_HEADER_FOUND=0
18728 if test "x
${ISDNNET_HEADER_FOUND}" = "x0
" ; then
18729 if test ! -z "${ISDNNET_MANDATORY}" ;
18731 { echo "$as_me:$LINENO: ***" >&5
18732 echo "$as_me: ***" >&6;}
18733 { echo "$as_me:$LINENO: *** It appears that you
do not have the isdnnet development package installed.
" >&5
18734 echo "$as_me: *** It appears that you
do not have the isdnnet development package installed.
" >&6;}
18735 { echo "$as_me:$LINENO: *** Please
install it to include
${ISDNNET_DESCRIP} support
, or re-run configure
" >&5
18736 echo "$as_me: *** Please
install it to include
${ISDNNET_DESCRIP} support
, or re-run configure
" >&6;}
18737 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&5
18738 echo "$as_me: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&6;}
18747 cat >>confdefs.h <<_ACEOF
18748 #define HAVE_ISDNNET 1
18752 elif test ! -z "${ISDNNET_MANDATORY}";
18754 { echo "$as_me:$LINENO: ***" >&5
18755 echo "$as_me: ***" >&6;}
18756 { echo "$as_me:$LINENO: *** The
${ISDNNET_DESCRIP} installation on this system appears to be broken.
" >&5
18757 echo "$as_me: *** The
${ISDNNET_DESCRIP} installation on this system appears to be broken.
" >&6;}
18758 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
18759 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
18760 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&5
18761 echo "$as_me: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&6;}
18767 if test "${USE_SUPPSERV}" != "no
"; then
18769 if test "x
${SUPPSERV_DIR}" != "x
"; then
18770 if test -d ${SUPPSERV_DIR}/lib; then
18771 pbxlibdir="-L${SUPPSERV_DIR}/lib
"
18773 pbxlibdir="-L${SUPPSERV_DIR}"
18776 { echo "$as_me:$LINENO: checking
for encodeFac
in -lsuppserv" >&5
18777 echo $ECHO_N "checking
for encodeFac
in -lsuppserv...
$ECHO_C" >&6; }
18778 if test "${ac_cv_lib_suppserv_encodeFac+set}" = set; then
18779 echo $ECHO_N "(cached
) $ECHO_C" >&6
18781 ac_check_lib_save_LIBS=$LIBS
18782 LIBS="-lsuppserv ${pbxlibdir} $LIBS"
18783 cat >conftest.$ac_ext <<_ACEOF
18786 cat confdefs.h >>conftest.$ac_ext
18787 cat >>conftest.$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18790 /* Override any GCC internal prototype to avoid an error.
18791 Use char because int might match the return type of a GCC
18792 builtin and then its argument prototype would still apply. */
18800 return encodeFac ();
18805 rm -f conftest.$ac_objext conftest$ac_exeext
18806 if { (ac_try="$ac_link"
18807 case "(($ac_try" in
18808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18809 *) ac_try_echo=$ac_try;;
18811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18812 (eval "$ac_link") 2>conftest.er1
18814 grep -v '^ *+' conftest.er1 >conftest.err
18816 cat conftest.err >&5
18817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18818 (exit $ac_status); } && {
18819 test -z "$ac_c_werror_flag" ||
18820 test ! -s conftest.err
18821 } && test -s conftest$ac_exeext &&
18822 $as_test_x conftest$ac_exeext; then
18823 ac_cv_lib_suppserv_encodeFac=yes
18825 echo "$as_me: failed program was
:" >&5
18826 sed 's/^/| /' conftest.$ac_ext >&5
18828 ac_cv_lib_suppserv_encodeFac=no
18831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18832 conftest$ac_exeext conftest.$ac_ext
18833 LIBS=$ac_check_lib_save_LIBS
18835 { echo "$as_me:$LINENO: result
: $ac_cv_lib_suppserv_encodeFac" >&5
18836 echo "${ECHO_T}$ac_cv_lib_suppserv_encodeFac" >&6; }
18837 if test $ac_cv_lib_suppserv_encodeFac = yes; then
18838 AST_SUPPSERV_FOUND=yes
18840 AST_SUPPSERV_FOUND=no
18844 if test "${AST_SUPPSERV_FOUND}" = "yes"; then
18845 SUPPSERV_LIB="-lsuppserv "
18846 SUPPSERV_HEADER_FOUND="1"
18847 if test "x
${SUPPSERV_DIR}" != "x
"; then
18848 SUPPSERV_LIB="${pbxlibdir} ${SUPPSERV_LIB}"
18849 SUPPSERV_INCLUDE="-I${SUPPSERV_DIR}/include
"
18850 saved_cppflags="${CPPFLAGS}"
18851 CPPFLAGS="${CPPFLAGS} -I${SUPPSERV_DIR}/include
"
18852 if test "xmISDNuser
/suppserv.h
" != "x
" ; then
18853 as_ac_Header=`echo "ac_cv_header_
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" | $as_tr_sh`
18854 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18855 { echo "$as_me:$LINENO: checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" >&5
18856 echo $ECHO_N "checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
18857 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18858 echo $ECHO_N "(cached
) $ECHO_C" >&6
18860 ac_res=`eval echo '${'$as_ac_Header'}'`
18861 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18862 echo "${ECHO_T}$ac_res" >&6; }
18864 # Is the header compilable?
18865 { echo "$as_me:$LINENO: checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h usability
" >&5
18866 echo $ECHO_N "checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h usability...
$ECHO_C" >&6; }
18867 cat >conftest.$ac_ext <<_ACEOF
18870 cat confdefs.h >>conftest.$ac_ext
18871 cat >>conftest.$ac_ext <<_ACEOF
18872 /* end confdefs.h. */
18873 $ac_includes_default
18874 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
18876 rm -f conftest.$ac_objext
18877 if { (ac_try="$ac_compile"
18878 case "(($ac_try" in
18879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18880 *) ac_try_echo=$ac_try;;
18882 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18883 (eval "$ac_compile") 2>conftest.er1
18885 grep -v '^ *+' conftest.er1 >conftest.err
18887 cat conftest.err >&5
18888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18889 (exit $ac_status); } && {
18890 test -z "$ac_c_werror_flag" ||
18891 test ! -s conftest.err
18892 } && test -s conftest.$ac_objext; then
18893 ac_header_compiler=yes
18895 echo "$as_me: failed program was
:" >&5
18896 sed 's/^/| /' conftest.$ac_ext >&5
18898 ac_header_compiler=no
18901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18902 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18903 echo "${ECHO_T}$ac_header_compiler" >&6; }
18905 # Is the header present?
18906 { echo "$as_me:$LINENO: checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h presence
" >&5
18907 echo $ECHO_N "checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h presence...
$ECHO_C" >&6; }
18908 cat >conftest.$ac_ext <<_ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
18916 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18917 case "(($ac_try" in
18918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18919 *) ac_try_echo=$ac_try;;
18921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18922 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18924 grep -v '^ *+' conftest.er1 >conftest.err
18926 cat conftest.err >&5
18927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18928 (exit $ac_status); } >/dev/null && {
18929 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18930 test ! -s conftest.err
18932 ac_header_preproc=yes
18934 echo "$as_me: failed program was
:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18937 ac_header_preproc=no
18940 rm -f conftest.err conftest.$ac_ext
18941 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18942 echo "${ECHO_T}$ac_header_preproc" >&6; }
18944 # So? What about this header?
18945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18947 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18948 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18949 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&5
18950 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the compiler's result
" >&2;}
18951 ac_header_preproc=yes
18954 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: present but cannot be compiled
" >&5
18955 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: present but cannot be compiled
" >&2;}
18956 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&5
18957 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&2;}
18958 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&5
18959 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&2;}
18960 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18961 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18962 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&5
18963 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&2;}
18964 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&5
18965 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&2;}
18969 { echo "$as_me:$LINENO: checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" >&5
18970 echo $ECHO_N "checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
18971 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18972 echo $ECHO_N "(cached
) $ECHO_C" >&6
18974 eval "$as_ac_Header=\
$ac_header_preproc"
18976 ac_res=`eval echo '${'$as_ac_Header'}'`
18977 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18978 echo "${ECHO_T}$ac_res" >&6; }
18981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18982 SUPPSERV_HEADER_FOUND=1
18984 SUPPSERV_HEADER_FOUND=0
18989 CPPFLAGS="${saved_cppflags}"
18991 if test "xmISDNuser
/suppserv.h
" != "x
" ; then
18992 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
18993 { echo "$as_me:$LINENO: checking
for mISDNuser
/suppserv.h
" >&5
18994 echo $ECHO_N "checking
for mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
18995 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
18996 echo $ECHO_N "(cached
) $ECHO_C" >&6
18998 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_suppserv_h" >&5
18999 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
19001 # Is the header compilable?
19002 { echo "$as_me:$LINENO: checking mISDNuser
/suppserv.h usability
" >&5
19003 echo $ECHO_N "checking mISDNuser
/suppserv.h usability...
$ECHO_C" >&6; }
19004 cat >conftest.$ac_ext <<_ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 $ac_includes_default
19011 #include <mISDNuser/suppserv.h>
19013 rm -f conftest.$ac_objext
19014 if { (ac_try="$ac_compile"
19015 case "(($ac_try" in
19016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19017 *) ac_try_echo=$ac_try;;
19019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19020 (eval "$ac_compile") 2>conftest.er1
19022 grep -v '^ *+' conftest.er1 >conftest.err
19024 cat conftest.err >&5
19025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19026 (exit $ac_status); } && {
19027 test -z "$ac_c_werror_flag" ||
19028 test ! -s conftest.err
19029 } && test -s conftest.$ac_objext; then
19030 ac_header_compiler=yes
19032 echo "$as_me: failed program was
:" >&5
19033 sed 's/^/| /' conftest.$ac_ext >&5
19035 ac_header_compiler=no
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19039 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19040 echo "${ECHO_T}$ac_header_compiler" >&6; }
19042 # Is the header present?
19043 { echo "$as_me:$LINENO: checking mISDNuser
/suppserv.h presence
" >&5
19044 echo $ECHO_N "checking mISDNuser
/suppserv.h presence...
$ECHO_C" >&6; }
19045 cat >conftest.$ac_ext <<_ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 #include <mISDNuser/suppserv.h>
19053 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19061 grep -v '^ *+' conftest.er1 >conftest.err
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19065 (exit $ac_status); } >/dev/null && {
19066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19067 test ! -s conftest.err
19069 ac_header_preproc=yes
19071 echo "$as_me: failed program was
:" >&5
19072 sed 's/^/| /' conftest.$ac_ext >&5
19074 ac_header_preproc=no
19077 rm -f conftest.err conftest.$ac_ext
19078 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19079 echo "${ECHO_T}$ac_header_preproc" >&6; }
19081 # So? What about this header?
19082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19084 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19085 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19086 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&5
19087 echo "$as_me: WARNING: mISDNuser/suppserv.h: proceeding with the compiler's result
" >&2;}
19088 ac_header_preproc=yes
19091 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: present but cannot be compiled
" >&5
19092 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: present but cannot be compiled
" >&2;}
19093 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&5
19094 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&2;}
19095 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&5
19096 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&2;}
19097 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19098 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19099 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&5
19100 echo "$as_me: WARNING: mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&2;}
19101 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&5
19102 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&2;}
19106 { echo "$as_me:$LINENO: checking
for mISDNuser
/suppserv.h
" >&5
19107 echo $ECHO_N "checking
for mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
19108 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
19109 echo $ECHO_N "(cached
) $ECHO_C" >&6
19111 ac_cv_header_mISDNuser_suppserv_h=$ac_header_preproc
19113 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_suppserv_h" >&5
19114 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
19117 if test $ac_cv_header_mISDNuser_suppserv_h = yes; then
19118 SUPPSERV_HEADER_FOUND=1
19120 SUPPSERV_HEADER_FOUND=0
19126 if test "x
${SUPPSERV_HEADER_FOUND}" = "x0
" ; then
19127 if test ! -z "${SUPPSERV_MANDATORY}" ;
19129 { echo "$as_me:$LINENO: ***" >&5
19130 echo "$as_me: ***" >&6;}
19131 { echo "$as_me:$LINENO: *** It appears that you
do not have the suppserv development package installed.
" >&5
19132 echo "$as_me: *** It appears that you
do not have the suppserv development package installed.
" >&6;}
19133 { echo "$as_me:$LINENO: *** Please
install it to include
${SUPPSERV_DESCRIP} support
, or re-run configure
" >&5
19134 echo "$as_me: *** Please
install it to include
${SUPPSERV_DESCRIP} support
, or re-run configure
" >&6;}
19135 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&5
19136 echo "$as_me: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&6;}
19140 SUPPSERV_INCLUDE=""
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_SUPPSERV 1
19150 elif test ! -z "${SUPPSERV_MANDATORY}";
19152 { echo "$as_me:$LINENO: ***" >&5
19153 echo "$as_me: ***" >&6;}
19154 { echo "$as_me:$LINENO: *** The
${SUPPSERV_DESCRIP} installation on this system appears to be broken.
" >&5
19155 echo "$as_me: *** The
${SUPPSERV_DESCRIP} installation on this system appears to be broken.
" >&6;}
19156 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19157 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19158 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&5
19159 echo "$as_me: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&6;}
19167 if test "${USE_NBS}" != "no
"; then
19169 if test "x
${NBS_DIR}" != "x
"; then
19170 if test -d ${NBS_DIR}/lib; then
19171 pbxlibdir="-L${NBS_DIR}/lib
"
19173 pbxlibdir="-L${NBS_DIR}"
19176 { echo "$as_me:$LINENO: checking
for nbs_connect
in -lnbs" >&5
19177 echo $ECHO_N "checking
for nbs_connect
in -lnbs...
$ECHO_C" >&6; }
19178 if test "${ac_cv_lib_nbs_nbs_connect+set}" = set; then
19179 echo $ECHO_N "(cached
) $ECHO_C" >&6
19181 ac_check_lib_save_LIBS=$LIBS
19182 LIBS="-lnbs ${pbxlibdir} $LIBS"
19183 cat >conftest.$ac_ext <<_ACEOF
19186 cat confdefs.h >>conftest.$ac_ext
19187 cat >>conftest.$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19190 /* Override any GCC internal prototype to avoid an error.
19191 Use char because int might match the return type of a GCC
19192 builtin and then its argument prototype would still apply. */
19196 char nbs_connect ();
19200 return nbs_connect ();
19205 rm -f conftest.$ac_objext conftest$ac_exeext
19206 if { (ac_try="$ac_link"
19207 case "(($ac_try" in
19208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19209 *) ac_try_echo=$ac_try;;
19211 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19212 (eval "$ac_link") 2>conftest.er1
19214 grep -v '^ *+' conftest.er1 >conftest.err
19216 cat conftest.err >&5
19217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19218 (exit $ac_status); } && {
19219 test -z "$ac_c_werror_flag" ||
19220 test ! -s conftest.err
19221 } && test -s conftest$ac_exeext &&
19222 $as_test_x conftest$ac_exeext; then
19223 ac_cv_lib_nbs_nbs_connect=yes
19225 echo "$as_me: failed program was
:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19228 ac_cv_lib_nbs_nbs_connect=no
19231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19232 conftest$ac_exeext conftest.$ac_ext
19233 LIBS=$ac_check_lib_save_LIBS
19235 { echo "$as_me:$LINENO: result
: $ac_cv_lib_nbs_nbs_connect" >&5
19236 echo "${ECHO_T}$ac_cv_lib_nbs_nbs_connect" >&6; }
19237 if test $ac_cv_lib_nbs_nbs_connect = yes; then
19244 if test "${AST_NBS_FOUND}" = "yes"; then
19246 NBS_HEADER_FOUND="1"
19247 if test "x
${NBS_DIR}" != "x
"; then
19248 NBS_LIB="${pbxlibdir} ${NBS_LIB}"
19249 NBS_INCLUDE="-I${NBS_DIR}/include
"
19250 saved_cppflags="${CPPFLAGS}"
19251 CPPFLAGS="${CPPFLAGS} -I${NBS_DIR}/include
"
19252 if test "xnbs.h
" != "x
" ; then
19253 as_ac_Header=`echo "ac_cv_header_
${NBS_DIR}/include
/nbs.h
" | $as_tr_sh`
19254 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19255 { echo "$as_me:$LINENO: checking
for ${NBS_DIR}/include
/nbs.h
" >&5
19256 echo $ECHO_N "checking
for ${NBS_DIR}/include
/nbs.h...
$ECHO_C" >&6; }
19257 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19258 echo $ECHO_N "(cached
) $ECHO_C" >&6
19260 ac_res=`eval echo '${'$as_ac_Header'}'`
19261 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19262 echo "${ECHO_T}$ac_res" >&6; }
19264 # Is the header compilable?
19265 { echo "$as_me:$LINENO: checking
${NBS_DIR}/include
/nbs.h usability
" >&5
19266 echo $ECHO_N "checking
${NBS_DIR}/include
/nbs.h usability...
$ECHO_C" >&6; }
19267 cat >conftest.$ac_ext <<_ACEOF
19270 cat confdefs.h >>conftest.$ac_ext
19271 cat >>conftest.$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19273 $ac_includes_default
19274 #include <${NBS_DIR}/include/nbs.h>
19276 rm -f conftest.$ac_objext
19277 if { (ac_try="$ac_compile"
19278 case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19282 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_compile") 2>conftest.er1
19285 grep -v '^ *+' conftest.er1 >conftest.err
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19289 (exit $ac_status); } && {
19290 test -z "$ac_c_werror_flag" ||
19291 test ! -s conftest.err
19292 } && test -s conftest.$ac_objext; then
19293 ac_header_compiler=yes
19295 echo "$as_me: failed program was
:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19298 ac_header_compiler=no
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19303 echo "${ECHO_T}$ac_header_compiler" >&6; }
19305 # Is the header present?
19306 { echo "$as_me:$LINENO: checking
${NBS_DIR}/include
/nbs.h presence
" >&5
19307 echo $ECHO_N "checking
${NBS_DIR}/include
/nbs.h presence...
$ECHO_C" >&6; }
19308 cat >conftest.$ac_ext <<_ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 #include <${NBS_DIR}/include/nbs.h>
19316 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19324 grep -v '^ *+' conftest.er1 >conftest.err
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19328 (exit $ac_status); } >/dev/null && {
19329 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19332 ac_header_preproc=yes
19334 echo "$as_me: failed program was
:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 ac_header_preproc=no
19340 rm -f conftest.err conftest.$ac_ext
19341 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19342 echo "${ECHO_T}$ac_header_preproc" >&6; }
19344 # So? What about this header?
19345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19347 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19348 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19349 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the compiler
's result" >&5
19350 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the compiler's result
" >&2;}
19351 ac_header_preproc=yes
19354 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: present but cannot be compiled
" >&5
19355 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: present but cannot be compiled
" >&2;}
19356 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: check
for missing prerequisite headers?
" >&5
19357 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: check
for missing prerequisite headers?
" >&2;}
19358 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: see the Autoconf documentation
" >&5
19359 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: see the Autoconf documentation
" >&2;}
19360 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19361 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19362 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the preprocessor
's result" >&5
19363 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the preprocessor's result
" >&2;}
19364 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: in the future
, the compiler will take precedence
" >&5
19365 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: in the future
, the compiler will take precedence
" >&2;}
19369 { echo "$as_me:$LINENO: checking
for ${NBS_DIR}/include
/nbs.h
" >&5
19370 echo $ECHO_N "checking
for ${NBS_DIR}/include
/nbs.h...
$ECHO_C" >&6; }
19371 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19372 echo $ECHO_N "(cached
) $ECHO_C" >&6
19374 eval "$as_ac_Header=\
$ac_header_preproc"
19376 ac_res=`eval echo '${'$as_ac_Header'}'`
19377 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19378 echo "${ECHO_T}$ac_res" >&6; }
19381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19389 CPPFLAGS="${saved_cppflags}"
19391 if test "xnbs.h
" != "x
" ; then
19392 if test "${ac_cv_header_nbs_h+set}" = set; then
19393 { echo "$as_me:$LINENO: checking
for nbs.h
" >&5
19394 echo $ECHO_N "checking
for nbs.h...
$ECHO_C" >&6; }
19395 if test "${ac_cv_header_nbs_h+set}" = set; then
19396 echo $ECHO_N "(cached
) $ECHO_C" >&6
19398 { echo "$as_me:$LINENO: result
: $ac_cv_header_nbs_h" >&5
19399 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
19401 # Is the header compilable?
19402 { echo "$as_me:$LINENO: checking nbs.h usability
" >&5
19403 echo $ECHO_N "checking nbs.h usability...
$ECHO_C" >&6; }
19404 cat >conftest.$ac_ext <<_ACEOF
19407 cat confdefs.h >>conftest.$ac_ext
19408 cat >>conftest.$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 $ac_includes_default
19413 rm -f conftest.$ac_objext
19414 if { (ac_try="$ac_compile"
19415 case "(($ac_try" in
19416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_compile") 2>conftest.er1
19422 grep -v '^ *+' conftest.er1 >conftest.err
19424 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19426 (exit $ac_status); } && {
19427 test -z "$ac_c_werror_flag" ||
19428 test ! -s conftest.err
19429 } && test -s conftest.$ac_objext; then
19430 ac_header_compiler=yes
19432 echo "$as_me: failed program was
:" >&5
19433 sed 's/^/| /' conftest.$ac_ext >&5
19435 ac_header_compiler=no
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19439 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19440 echo "${ECHO_T}$ac_header_compiler" >&6; }
19442 # Is the header present?
19443 { echo "$as_me:$LINENO: checking nbs.h presence
" >&5
19444 echo $ECHO_N "checking nbs.h presence...
$ECHO_C" >&6; }
19445 cat >conftest.$ac_ext <<_ACEOF
19448 cat confdefs.h >>conftest.$ac_ext
19449 cat >>conftest.$ac_ext <<_ACEOF
19450 /* end confdefs.h. */
19453 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19454 case "(($ac_try" in
19455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19456 *) ac_try_echo=$ac_try;;
19458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19459 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19461 grep -v '^ *+' conftest.er1 >conftest.err
19463 cat conftest.err >&5
19464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19465 (exit $ac_status); } >/dev/null && {
19466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19467 test ! -s conftest.err
19469 ac_header_preproc=yes
19471 echo "$as_me: failed program was
:" >&5
19472 sed 's/^/| /' conftest.$ac_ext >&5
19474 ac_header_preproc=no
19477 rm -f conftest.err conftest.$ac_ext
19478 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19479 echo "${ECHO_T}$ac_header_preproc" >&6; }
19481 # So? What about this header?
19482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19484 { echo "$as_me:$LINENO: WARNING
: nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19485 echo "$as_me: WARNING
: nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19486 { echo "$as_me:$LINENO: WARNING
: nbs.h
: proceeding with the compiler
's result" >&5
19487 echo "$as_me: WARNING: nbs.h: proceeding with the compiler's result
" >&2;}
19488 ac_header_preproc=yes
19491 { echo "$as_me:$LINENO: WARNING
: nbs.h
: present but cannot be compiled
" >&5
19492 echo "$as_me: WARNING
: nbs.h
: present but cannot be compiled
" >&2;}
19493 { echo "$as_me:$LINENO: WARNING
: nbs.h
: check
for missing prerequisite headers?
" >&5
19494 echo "$as_me: WARNING
: nbs.h
: check
for missing prerequisite headers?
" >&2;}
19495 { echo "$as_me:$LINENO: WARNING
: nbs.h
: see the Autoconf documentation
" >&5
19496 echo "$as_me: WARNING
: nbs.h
: see the Autoconf documentation
" >&2;}
19497 { echo "$as_me:$LINENO: WARNING
: nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19498 echo "$as_me: WARNING
: nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19499 { echo "$as_me:$LINENO: WARNING
: nbs.h
: proceeding with the preprocessor
's result" >&5
19500 echo "$as_me: WARNING: nbs.h: proceeding with the preprocessor's result
" >&2;}
19501 { echo "$as_me:$LINENO: WARNING
: nbs.h
: in the future
, the compiler will take precedence
" >&5
19502 echo "$as_me: WARNING
: nbs.h
: in the future
, the compiler will take precedence
" >&2;}
19506 { echo "$as_me:$LINENO: checking
for nbs.h
" >&5
19507 echo $ECHO_N "checking
for nbs.h...
$ECHO_C" >&6; }
19508 if test "${ac_cv_header_nbs_h+set}" = set; then
19509 echo $ECHO_N "(cached
) $ECHO_C" >&6
19511 ac_cv_header_nbs_h=$ac_header_preproc
19513 { echo "$as_me:$LINENO: result
: $ac_cv_header_nbs_h" >&5
19514 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
19517 if test $ac_cv_header_nbs_h = yes; then
19526 if test "x
${NBS_HEADER_FOUND}" = "x0
" ; then
19527 if test ! -z "${NBS_MANDATORY}" ;
19529 { echo "$as_me:$LINENO: ***" >&5
19530 echo "$as_me: ***" >&6;}
19531 { echo "$as_me:$LINENO: *** It appears that you
do not have the nbs development package installed.
" >&5
19532 echo "$as_me: *** It appears that you
do not have the nbs development package installed.
" >&6;}
19533 { echo "$as_me:$LINENO: *** Please
install it to include
${NBS_DESCRIP} support
, or re-run configure
" >&5
19534 echo "$as_me: *** Please
install it to include
${NBS_DESCRIP} support
, or re-run configure
" >&6;}
19535 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NBS_OPTION}" >&5
19536 echo "$as_me: *** without explicitly specifying
--with-${NBS_OPTION}" >&6;}
19545 cat >>confdefs.h <<_ACEOF
19550 elif test ! -z "${NBS_MANDATORY}";
19552 { echo "$as_me:$LINENO: ***" >&5
19553 echo "$as_me: ***" >&6;}
19554 { echo "$as_me:$LINENO: *** The
${NBS_DESCRIP} installation on this system appears to be broken.
" >&5
19555 echo "$as_me: *** The
${NBS_DESCRIP} installation on this system appears to be broken.
" >&6;}
19556 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19557 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19558 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NBS_OPTION}" >&5
19559 echo "$as_me: *** without explicitly specifying
--with-${NBS_OPTION}" >&6;}
19566 if test "${USE_NCURSES}" != "no
"; then
19568 if test "x
${NCURSES_DIR}" != "x
"; then
19569 if test -d ${NCURSES_DIR}/lib; then
19570 pbxlibdir="-L${NCURSES_DIR}/lib
"
19572 pbxlibdir="-L${NCURSES_DIR}"
19575 { echo "$as_me:$LINENO: checking
for initscr
in -lncurses" >&5
19576 echo $ECHO_N "checking
for initscr
in -lncurses...
$ECHO_C" >&6; }
19577 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
19578 echo $ECHO_N "(cached
) $ECHO_C" >&6
19580 ac_check_lib_save_LIBS=$LIBS
19581 LIBS="-lncurses ${pbxlibdir} $LIBS"
19582 cat >conftest.$ac_ext <<_ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19589 /* Override any GCC internal prototype to avoid an error.
19590 Use char because int might match the return type of a GCC
19591 builtin and then its argument prototype would still apply. */
19604 rm -f conftest.$ac_objext conftest$ac_exeext
19605 if { (ac_try="$ac_link"
19606 case "(($ac_try" in
19607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19608 *) ac_try_echo=$ac_try;;
19610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19611 (eval "$ac_link") 2>conftest.er1
19613 grep -v '^ *+' conftest.er1 >conftest.err
19615 cat conftest.err >&5
19616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19617 (exit $ac_status); } && {
19618 test -z "$ac_c_werror_flag" ||
19619 test ! -s conftest.err
19620 } && test -s conftest$ac_exeext &&
19621 $as_test_x conftest$ac_exeext; then
19622 ac_cv_lib_ncurses_initscr=yes
19624 echo "$as_me: failed program was
:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 ac_cv_lib_ncurses_initscr=no
19630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19631 conftest$ac_exeext conftest.$ac_ext
19632 LIBS=$ac_check_lib_save_LIBS
19634 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ncurses_initscr" >&5
19635 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
19636 if test $ac_cv_lib_ncurses_initscr = yes; then
19637 AST_NCURSES_FOUND=yes
19639 AST_NCURSES_FOUND=no
19643 if test "${AST_NCURSES_FOUND}" = "yes"; then
19644 NCURSES_LIB="-lncurses "
19645 NCURSES_HEADER_FOUND="1"
19646 if test "x
${NCURSES_DIR}" != "x
"; then
19647 NCURSES_LIB="${pbxlibdir} ${NCURSES_LIB}"
19648 NCURSES_INCLUDE="-I${NCURSES_DIR}/include
"
19649 saved_cppflags="${CPPFLAGS}"
19650 CPPFLAGS="${CPPFLAGS} -I${NCURSES_DIR}/include
"
19651 if test "xcurses.h
" != "x
" ; then
19652 as_ac_Header=`echo "ac_cv_header_
${NCURSES_DIR}/include
/curses.h
" | $as_tr_sh`
19653 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19654 { echo "$as_me:$LINENO: checking
for ${NCURSES_DIR}/include
/curses.h
" >&5
19655 echo $ECHO_N "checking
for ${NCURSES_DIR}/include
/curses.h...
$ECHO_C" >&6; }
19656 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19657 echo $ECHO_N "(cached
) $ECHO_C" >&6
19659 ac_res=`eval echo '${'$as_ac_Header'}'`
19660 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19661 echo "${ECHO_T}$ac_res" >&6; }
19663 # Is the header compilable?
19664 { echo "$as_me:$LINENO: checking
${NCURSES_DIR}/include
/curses.h usability
" >&5
19665 echo $ECHO_N "checking
${NCURSES_DIR}/include
/curses.h usability...
$ECHO_C" >&6; }
19666 cat >conftest.$ac_ext <<_ACEOF
19669 cat confdefs.h >>conftest.$ac_ext
19670 cat >>conftest.$ac_ext <<_ACEOF
19671 /* end confdefs.h. */
19672 $ac_includes_default
19673 #include <${NCURSES_DIR}/include/curses.h>
19675 rm -f conftest.$ac_objext
19676 if { (ac_try="$ac_compile"
19677 case "(($ac_try" in
19678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19679 *) ac_try_echo=$ac_try;;
19681 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19682 (eval "$ac_compile") 2>conftest.er1
19684 grep -v '^ *+' conftest.er1 >conftest.err
19686 cat conftest.err >&5
19687 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19688 (exit $ac_status); } && {
19689 test -z "$ac_c_werror_flag" ||
19690 test ! -s conftest.err
19691 } && test -s conftest.$ac_objext; then
19692 ac_header_compiler=yes
19694 echo "$as_me: failed program was
:" >&5
19695 sed 's/^/| /' conftest.$ac_ext >&5
19697 ac_header_compiler=no
19700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19701 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19702 echo "${ECHO_T}$ac_header_compiler" >&6; }
19704 # Is the header present?
19705 { echo "$as_me:$LINENO: checking
${NCURSES_DIR}/include
/curses.h presence
" >&5
19706 echo $ECHO_N "checking
${NCURSES_DIR}/include
/curses.h presence...
$ECHO_C" >&6; }
19707 cat >conftest.$ac_ext <<_ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 #include <${NCURSES_DIR}/include/curses.h>
19715 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19716 case "(($ac_try" in
19717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19718 *) ac_try_echo=$ac_try;;
19720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19721 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19723 grep -v '^ *+' conftest.er1 >conftest.err
19725 cat conftest.err >&5
19726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19727 (exit $ac_status); } >/dev/null && {
19728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19729 test ! -s conftest.err
19731 ac_header_preproc=yes
19733 echo "$as_me: failed program was
:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19736 ac_header_preproc=no
19739 rm -f conftest.err conftest.$ac_ext
19740 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19741 echo "${ECHO_T}$ac_header_preproc" >&6; }
19743 # So? What about this header?
19744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19746 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19747 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19748 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the compiler
's result" >&5
19749 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the compiler's result
" >&2;}
19750 ac_header_preproc=yes
19753 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: present but cannot be compiled
" >&5
19754 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: present but cannot be compiled
" >&2;}
19755 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: check
for missing prerequisite headers?
" >&5
19756 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: check
for missing prerequisite headers?
" >&2;}
19757 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: see the Autoconf documentation
" >&5
19758 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: see the Autoconf documentation
" >&2;}
19759 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19760 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19761 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the preprocessor
's result" >&5
19762 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the preprocessor's result
" >&2;}
19763 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: in the future
, the compiler will take precedence
" >&5
19764 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: in the future
, the compiler will take precedence
" >&2;}
19768 { echo "$as_me:$LINENO: checking
for ${NCURSES_DIR}/include
/curses.h
" >&5
19769 echo $ECHO_N "checking
for ${NCURSES_DIR}/include
/curses.h...
$ECHO_C" >&6; }
19770 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19771 echo $ECHO_N "(cached
) $ECHO_C" >&6
19773 eval "$as_ac_Header=\
$ac_header_preproc"
19775 ac_res=`eval echo '${'$as_ac_Header'}'`
19776 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19777 echo "${ECHO_T}$ac_res" >&6; }
19780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19781 NCURSES_HEADER_FOUND=1
19783 NCURSES_HEADER_FOUND=0
19788 CPPFLAGS="${saved_cppflags}"
19790 if test "xcurses.h
" != "x
" ; then
19791 if test "${ac_cv_header_curses_h+set}" = set; then
19792 { echo "$as_me:$LINENO: checking
for curses.h
" >&5
19793 echo $ECHO_N "checking
for curses.h...
$ECHO_C" >&6; }
19794 if test "${ac_cv_header_curses_h+set}" = set; then
19795 echo $ECHO_N "(cached
) $ECHO_C" >&6
19797 { echo "$as_me:$LINENO: result
: $ac_cv_header_curses_h" >&5
19798 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
19800 # Is the header compilable?
19801 { echo "$as_me:$LINENO: checking curses.h usability
" >&5
19802 echo $ECHO_N "checking curses.h usability...
$ECHO_C" >&6; }
19803 cat >conftest.$ac_ext <<_ACEOF
19806 cat confdefs.h >>conftest.$ac_ext
19807 cat >>conftest.$ac_ext <<_ACEOF
19808 /* end confdefs.h. */
19809 $ac_includes_default
19810 #include <curses.h>
19812 rm -f conftest.$ac_objext
19813 if { (ac_try="$ac_compile"
19814 case "(($ac_try" in
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19818 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_compile") 2>conftest.er1
19821 grep -v '^ *+' conftest.er1 >conftest.err
19823 cat conftest.err >&5
19824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19825 (exit $ac_status); } && {
19826 test -z "$ac_c_werror_flag" ||
19827 test ! -s conftest.err
19828 } && test -s conftest.$ac_objext; then
19829 ac_header_compiler=yes
19831 echo "$as_me: failed program was
:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 ac_header_compiler=no
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19839 echo "${ECHO_T}$ac_header_compiler" >&6; }
19841 # Is the header present?
19842 { echo "$as_me:$LINENO: checking curses.h presence
" >&5
19843 echo $ECHO_N "checking curses.h presence...
$ECHO_C" >&6; }
19844 cat >conftest.$ac_ext <<_ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 #include <curses.h>
19852 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19853 case "(($ac_try" in
19854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19855 *) ac_try_echo=$ac_try;;
19857 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19858 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19860 grep -v '^ *+' conftest.er1 >conftest.err
19862 cat conftest.err >&5
19863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19864 (exit $ac_status); } >/dev/null && {
19865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19866 test ! -s conftest.err
19868 ac_header_preproc=yes
19870 echo "$as_me: failed program was
:" >&5
19871 sed 's/^/| /' conftest.$ac_ext >&5
19873 ac_header_preproc=no
19876 rm -f conftest.err conftest.$ac_ext
19877 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19878 echo "${ECHO_T}$ac_header_preproc" >&6; }
19880 # So? What about this header?
19881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19883 { echo "$as_me:$LINENO: WARNING
: curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19884 echo "$as_me: WARNING
: curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19885 { echo "$as_me:$LINENO: WARNING
: curses.h
: proceeding with the compiler
's result" >&5
19886 echo "$as_me: WARNING: curses.h: proceeding with the compiler's result
" >&2;}
19887 ac_header_preproc=yes
19890 { echo "$as_me:$LINENO: WARNING
: curses.h
: present but cannot be compiled
" >&5
19891 echo "$as_me: WARNING
: curses.h
: present but cannot be compiled
" >&2;}
19892 { echo "$as_me:$LINENO: WARNING
: curses.h
: check
for missing prerequisite headers?
" >&5
19893 echo "$as_me: WARNING
: curses.h
: check
for missing prerequisite headers?
" >&2;}
19894 { echo "$as_me:$LINENO: WARNING
: curses.h
: see the Autoconf documentation
" >&5
19895 echo "$as_me: WARNING
: curses.h
: see the Autoconf documentation
" >&2;}
19896 { echo "$as_me:$LINENO: WARNING
: curses.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19897 echo "$as_me: WARNING
: curses.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19898 { echo "$as_me:$LINENO: WARNING
: curses.h
: proceeding with the preprocessor
's result" >&5
19899 echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result
" >&2;}
19900 { echo "$as_me:$LINENO: WARNING
: curses.h
: in the future
, the compiler will take precedence
" >&5
19901 echo "$as_me: WARNING
: curses.h
: in the future
, the compiler will take precedence
" >&2;}
19905 { echo "$as_me:$LINENO: checking
for curses.h
" >&5
19906 echo $ECHO_N "checking
for curses.h...
$ECHO_C" >&6; }
19907 if test "${ac_cv_header_curses_h+set}" = set; then
19908 echo $ECHO_N "(cached
) $ECHO_C" >&6
19910 ac_cv_header_curses_h=$ac_header_preproc
19912 { echo "$as_me:$LINENO: result
: $ac_cv_header_curses_h" >&5
19913 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
19916 if test $ac_cv_header_curses_h = yes; then
19917 NCURSES_HEADER_FOUND=1
19919 NCURSES_HEADER_FOUND=0
19925 if test "x
${NCURSES_HEADER_FOUND}" = "x0
" ; then
19926 if test ! -z "${NCURSES_MANDATORY}" ;
19928 { echo "$as_me:$LINENO: ***" >&5
19929 echo "$as_me: ***" >&6;}
19930 { echo "$as_me:$LINENO: *** It appears that you
do not have the ncurses development package installed.
" >&5
19931 echo "$as_me: *** It appears that you
do not have the ncurses development package installed.
" >&6;}
19932 { echo "$as_me:$LINENO: *** Please
install it to include
${NCURSES_DESCRIP} support
, or re-run configure
" >&5
19933 echo "$as_me: *** Please
install it to include
${NCURSES_DESCRIP} support
, or re-run configure
" >&6;}
19934 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&5
19935 echo "$as_me: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&6;}
19944 cat >>confdefs.h <<_ACEOF
19945 #define HAVE_NCURSES 1
19949 elif test ! -z "${NCURSES_MANDATORY}";
19951 { echo "$as_me:$LINENO: ***" >&5
19952 echo "$as_me: ***" >&6;}
19953 { echo "$as_me:$LINENO: *** The
${NCURSES_DESCRIP} installation on this system appears to be broken.
" >&5
19954 echo "$as_me: *** The
${NCURSES_DESCRIP} installation on this system appears to be broken.
" >&6;}
19955 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19956 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19957 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&5
19958 echo "$as_me: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&6;}
19965 if test "${USE_NETSNMP}" != "no
"; then
19966 if test "x
${NETSNMP_DIR}" != "x
"; then
19967 if test -n "$ac_tool_prefix"; then
19968 # Extract the first word of "${ac_tool_prefix}net-snmp-config
", so it can be a program name with args.
19969 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
19970 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
19971 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
19972 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
19973 echo $ECHO_N "(cached
) $ECHO_C" >&6
19975 case $NETSNMP_CONFIG in
19977 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
19980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19981 for as_dir in ${NETSNMP_DIR}/bin
19984 test -z "$as_dir" && as_dir=.
19985 for ac_exec_ext in '' $ac_executable_extensions; do
19986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19987 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19988 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
19998 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
19999 if test -n "$NETSNMP_CONFIG"; then
20000 { echo "$as_me:$LINENO: result
: $NETSNMP_CONFIG" >&5
20001 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
20003 { echo "$as_me:$LINENO: result
: no
" >&5
20004 echo "${ECHO_T}no
" >&6; }
20009 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
20010 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
20011 # Extract the first word of "net-snmp-config
", so it can be a program name with args.
20012 set dummy net-snmp-config; ac_word=$2
20013 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20014 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20015 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
20016 echo $ECHO_N "(cached
) $ECHO_C" >&6
20018 case $ac_pt_NETSNMP_CONFIG in
20020 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
20023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20024 for as_dir in ${NETSNMP_DIR}/bin
20027 test -z "$as_dir" && as_dir=.
20028 for ac_exec_ext in '' $ac_executable_extensions; do
20029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20030 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20031 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20041 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
20042 if test -n "$ac_pt_NETSNMP_CONFIG"; then
20043 { echo "$as_me:$LINENO: result
: $ac_pt_NETSNMP_CONFIG" >&5
20044 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
20046 { echo "$as_me:$LINENO: result
: no
" >&5
20047 echo "${ECHO_T}no
" >&6; }
20050 if test "x
$ac_pt_NETSNMP_CONFIG" = x; then
20051 NETSNMP_CONFIG="No
"
20053 case $cross_compiling:$ac_tool_warned in
20055 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
20056 whose name does not start with the
host triplet. If you think this
20057 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
20058 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
20059 whose name does not start with the
host triplet. If you think this
20060 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
20061 ac_tool_warned=yes ;;
20063 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
20066 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
20069 if test x"${NETSNMP_CONFIG}" = xNo; then
20070 { echo "$as_me:$LINENO: ***" >&5
20071 echo "$as_me: ***" >&6;}
20072 { echo "$as_me:$LINENO: *** net-snmp-config was not found
in the path you specified
:" >&5
20073 echo "$as_me: *** net-snmp-config was not found
in the path you specified
:" >&6;}
20074 { echo "$as_me:$LINENO: *** ${NETSNMP_DIR}/bin
" >&5
20075 echo "$as_me: *** ${NETSNMP_DIR}/bin
" >&6;}
20076 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20077 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20078 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
20079 echo "$as_me: *** including
--without-netsnmp" >&6;}
20083 if test -n "$ac_tool_prefix"; then
20084 # Extract the first word of "${ac_tool_prefix}net-snmp-config
", so it can be a program name with args.
20085 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
20086 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20087 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20088 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
20089 echo $ECHO_N "(cached
) $ECHO_C" >&6
20091 case $NETSNMP_CONFIG in
20093 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
20096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20097 for as_dir in $PATH
20100 test -z "$as_dir" && as_dir=.
20101 for ac_exec_ext in '' $ac_executable_extensions; do
20102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20103 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20104 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20114 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
20115 if test -n "$NETSNMP_CONFIG"; then
20116 { echo "$as_me:$LINENO: result
: $NETSNMP_CONFIG" >&5
20117 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
20119 { echo "$as_me:$LINENO: result
: no
" >&5
20120 echo "${ECHO_T}no
" >&6; }
20125 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
20126 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
20127 # Extract the first word of "net-snmp-config
", so it can be a program name with args.
20128 set dummy net-snmp-config; ac_word=$2
20129 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20130 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20131 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
20132 echo $ECHO_N "(cached
) $ECHO_C" >&6
20134 case $ac_pt_NETSNMP_CONFIG in
20136 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
20139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20140 for as_dir in $PATH
20143 test -z "$as_dir" && as_dir=.
20144 for ac_exec_ext in '' $ac_executable_extensions; do
20145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20146 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20147 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20157 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
20158 if test -n "$ac_pt_NETSNMP_CONFIG"; then
20159 { echo "$as_me:$LINENO: result
: $ac_pt_NETSNMP_CONFIG" >&5
20160 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
20162 { echo "$as_me:$LINENO: result
: no
" >&5
20163 echo "${ECHO_T}no
" >&6; }
20166 if test "x
$ac_pt_NETSNMP_CONFIG" = x; then
20167 NETSNMP_CONFIG="No
"
20169 case $cross_compiling:$ac_tool_warned in
20171 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
20172 whose name does not start with the
host triplet. If you think this
20173 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
20174 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
20175 whose name does not start with the
host triplet. If you think this
20176 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
20177 ac_tool_warned=yes ;;
20179 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
20182 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
20187 if test x"${NETSNMP_CONFIG}" != xNo; then
20188 NETSNMP_libs=`${NETSNMP_CONFIG} --agent-libs`
20190 { echo "$as_me:$LINENO: checking
for snmp_register_callback
in -lnetsnmp" >&5
20191 echo $ECHO_N "checking
for snmp_register_callback
in -lnetsnmp...
$ECHO_C" >&6; }
20192 if test "${ac_cv_lib_netsnmp_snmp_register_callback+set}" = set; then
20193 echo $ECHO_N "(cached
) $ECHO_C" >&6
20195 ac_check_lib_save_LIBS=$LIBS
20196 LIBS="-lnetsnmp ${NETSNMP_libs} $LIBS"
20197 cat >conftest.$ac_ext <<_ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20204 /* Override any GCC internal prototype to avoid an error.
20205 Use char because int might match the return type of a GCC
20206 builtin and then its argument prototype would still apply. */
20210 char snmp_register_callback ();
20214 return snmp_register_callback ();
20219 rm -f conftest.$ac_objext conftest$ac_exeext
20220 if { (ac_try="$ac_link"
20221 case "(($ac_try" in
20222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20223 *) ac_try_echo=$ac_try;;
20225 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20226 (eval "$ac_link") 2>conftest.er1
20228 grep -v '^ *+' conftest.er1 >conftest.err
20230 cat conftest.err >&5
20231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20232 (exit $ac_status); } && {
20233 test -z "$ac_c_werror_flag" ||
20234 test ! -s conftest.err
20235 } && test -s conftest$ac_exeext &&
20236 $as_test_x conftest$ac_exeext; then
20237 ac_cv_lib_netsnmp_snmp_register_callback=yes
20239 echo "$as_me: failed program was
:" >&5
20240 sed 's/^/| /' conftest.$ac_ext >&5
20242 ac_cv_lib_netsnmp_snmp_register_callback=no
20245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20246 conftest$ac_exeext conftest.$ac_ext
20247 LIBS=$ac_check_lib_save_LIBS
20249 { echo "$as_me:$LINENO: result
: $ac_cv_lib_netsnmp_snmp_register_callback" >&5
20250 echo "${ECHO_T}$ac_cv_lib_netsnmp_snmp_register_callback" >&6; }
20251 if test $ac_cv_lib_netsnmp_snmp_register_callback = yes; then
20253 cat >>confdefs.h <<_ACEOF
20254 #define HAVE_NETSNMP 1
20260 if test "${ac_cv_lib_netsnmp_snmp_register_callback}" = "yes"; then
20261 NETSNMP_LIB="${NETSNMP_libs}"
20263 elif test ! -z "${NETSNMP_MANDATORY}";
20265 { echo "$as_me:$LINENO: ***" >&5
20266 echo "$as_me: ***" >&6;}
20267 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken.
" >&5
20268 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken.
" >&6;}
20269 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20270 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20271 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
20272 echo "$as_me: *** including
--without-netsnmp" >&6;}
20275 elif test ! -z "${NETSNMP_MANDATORY}";
20277 { echo "$as_me:$LINENO: ***" >&5
20278 echo "$as_me: ***" >&6;}
20279 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken.
" >&5
20280 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken.
" >&6;}
20281 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20282 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20283 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
20284 echo "$as_me: *** including
--without-netsnmp" >&6;}
20289 if test "${USE_NEWT}" != "no
"; then
20291 if test "x
${NEWT_DIR}" != "x
"; then
20292 if test -d ${NEWT_DIR}/lib; then
20293 pbxlibdir="-L${NEWT_DIR}/lib
"
20295 pbxlibdir="-L${NEWT_DIR}"
20298 { echo "$as_me:$LINENO: checking
for newtBell
in -lnewt" >&5
20299 echo $ECHO_N "checking
for newtBell
in -lnewt...
$ECHO_C" >&6; }
20300 if test "${ac_cv_lib_newt_newtBell+set}" = set; then
20301 echo $ECHO_N "(cached
) $ECHO_C" >&6
20303 ac_check_lib_save_LIBS=$LIBS
20304 LIBS="-lnewt ${pbxlibdir} $LIBS"
20305 cat >conftest.$ac_ext <<_ACEOF
20308 cat confdefs.h >>conftest.$ac_ext
20309 cat >>conftest.$ac_ext <<_ACEOF
20310 /* end confdefs.h. */
20312 /* Override any GCC internal prototype to avoid an error.
20313 Use char because int might match the return type of a GCC
20314 builtin and then its argument prototype would still apply. */
20322 return newtBell ();
20327 rm -f conftest.$ac_objext conftest$ac_exeext
20328 if { (ac_try="$ac_link"
20329 case "(($ac_try" in
20330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20331 *) ac_try_echo=$ac_try;;
20333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20334 (eval "$ac_link") 2>conftest.er1
20336 grep -v '^ *+' conftest.er1 >conftest.err
20338 cat conftest.err >&5
20339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20340 (exit $ac_status); } && {
20341 test -z "$ac_c_werror_flag" ||
20342 test ! -s conftest.err
20343 } && test -s conftest$ac_exeext &&
20344 $as_test_x conftest$ac_exeext; then
20345 ac_cv_lib_newt_newtBell=yes
20347 echo "$as_me: failed program was
:" >&5
20348 sed 's/^/| /' conftest.$ac_ext >&5
20350 ac_cv_lib_newt_newtBell=no
20353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20354 conftest$ac_exeext conftest.$ac_ext
20355 LIBS=$ac_check_lib_save_LIBS
20357 { echo "$as_me:$LINENO: result
: $ac_cv_lib_newt_newtBell" >&5
20358 echo "${ECHO_T}$ac_cv_lib_newt_newtBell" >&6; }
20359 if test $ac_cv_lib_newt_newtBell = yes; then
20366 if test "${AST_NEWT_FOUND}" = "yes"; then
20368 NEWT_HEADER_FOUND="1"
20369 if test "x
${NEWT_DIR}" != "x
"; then
20370 NEWT_LIB="${pbxlibdir} ${NEWT_LIB}"
20371 NEWT_INCLUDE="-I${NEWT_DIR}/include
"
20372 saved_cppflags="${CPPFLAGS}"
20373 CPPFLAGS="${CPPFLAGS} -I${NEWT_DIR}/include
"
20374 if test "xnewt.h
" != "x
" ; then
20375 as_ac_Header=`echo "ac_cv_header_
${NEWT_DIR}/include
/newt.h
" | $as_tr_sh`
20376 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20377 { echo "$as_me:$LINENO: checking
for ${NEWT_DIR}/include
/newt.h
" >&5
20378 echo $ECHO_N "checking
for ${NEWT_DIR}/include
/newt.h...
$ECHO_C" >&6; }
20379 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20380 echo $ECHO_N "(cached
) $ECHO_C" >&6
20382 ac_res=`eval echo '${'$as_ac_Header'}'`
20383 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20384 echo "${ECHO_T}$ac_res" >&6; }
20386 # Is the header compilable?
20387 { echo "$as_me:$LINENO: checking
${NEWT_DIR}/include
/newt.h usability
" >&5
20388 echo $ECHO_N "checking
${NEWT_DIR}/include
/newt.h usability...
$ECHO_C" >&6; }
20389 cat >conftest.$ac_ext <<_ACEOF
20392 cat confdefs.h >>conftest.$ac_ext
20393 cat >>conftest.$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20395 $ac_includes_default
20396 #include <${NEWT_DIR}/include/newt.h>
20398 rm -f conftest.$ac_objext
20399 if { (ac_try="$ac_compile"
20400 case "(($ac_try" in
20401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_compile") 2>conftest.er1
20407 grep -v '^ *+' conftest.er1 >conftest.err
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20411 (exit $ac_status); } && {
20412 test -z "$ac_c_werror_flag" ||
20413 test ! -s conftest.err
20414 } && test -s conftest.$ac_objext; then
20415 ac_header_compiler=yes
20417 echo "$as_me: failed program was
:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20420 ac_header_compiler=no
20423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20424 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20425 echo "${ECHO_T}$ac_header_compiler" >&6; }
20427 # Is the header present?
20428 { echo "$as_me:$LINENO: checking
${NEWT_DIR}/include
/newt.h presence
" >&5
20429 echo $ECHO_N "checking
${NEWT_DIR}/include
/newt.h presence...
$ECHO_C" >&6; }
20430 cat >conftest.$ac_ext <<_ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 #include <${NEWT_DIR}/include/newt.h>
20438 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20439 case "(($ac_try" in
20440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20441 *) ac_try_echo=$ac_try;;
20443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20444 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20446 grep -v '^ *+' conftest.er1 >conftest.err
20448 cat conftest.err >&5
20449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20450 (exit $ac_status); } >/dev/null && {
20451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20452 test ! -s conftest.err
20454 ac_header_preproc=yes
20456 echo "$as_me: failed program was
:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20459 ac_header_preproc=no
20462 rm -f conftest.err conftest.$ac_ext
20463 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20464 echo "${ECHO_T}$ac_header_preproc" >&6; }
20466 # So? What about this header?
20467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20469 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20470 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20471 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the compiler
's result" >&5
20472 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the compiler's result
" >&2;}
20473 ac_header_preproc=yes
20476 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: present but cannot be compiled
" >&5
20477 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: present but cannot be compiled
" >&2;}
20478 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: check
for missing prerequisite headers?
" >&5
20479 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: check
for missing prerequisite headers?
" >&2;}
20480 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: see the Autoconf documentation
" >&5
20481 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: see the Autoconf documentation
" >&2;}
20482 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20483 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20484 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the preprocessor
's result" >&5
20485 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the preprocessor's result
" >&2;}
20486 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: in the future
, the compiler will take precedence
" >&5
20487 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: in the future
, the compiler will take precedence
" >&2;}
20491 { echo "$as_me:$LINENO: checking
for ${NEWT_DIR}/include
/newt.h
" >&5
20492 echo $ECHO_N "checking
for ${NEWT_DIR}/include
/newt.h...
$ECHO_C" >&6; }
20493 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20494 echo $ECHO_N "(cached
) $ECHO_C" >&6
20496 eval "$as_ac_Header=\
$ac_header_preproc"
20498 ac_res=`eval echo '${'$as_ac_Header'}'`
20499 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20500 echo "${ECHO_T}$ac_res" >&6; }
20503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20504 NEWT_HEADER_FOUND=1
20506 NEWT_HEADER_FOUND=0
20511 CPPFLAGS="${saved_cppflags}"
20513 if test "xnewt.h
" != "x
" ; then
20514 if test "${ac_cv_header_newt_h+set}" = set; then
20515 { echo "$as_me:$LINENO: checking
for newt.h
" >&5
20516 echo $ECHO_N "checking
for newt.h...
$ECHO_C" >&6; }
20517 if test "${ac_cv_header_newt_h+set}" = set; then
20518 echo $ECHO_N "(cached
) $ECHO_C" >&6
20520 { echo "$as_me:$LINENO: result
: $ac_cv_header_newt_h" >&5
20521 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
20523 # Is the header compilable?
20524 { echo "$as_me:$LINENO: checking newt.h usability
" >&5
20525 echo $ECHO_N "checking newt.h usability...
$ECHO_C" >&6; }
20526 cat >conftest.$ac_ext <<_ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 $ac_includes_default
20535 rm -f conftest.$ac_objext
20536 if { (ac_try="$ac_compile"
20537 case "(($ac_try" in
20538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20539 *) ac_try_echo=$ac_try;;
20541 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20542 (eval "$ac_compile") 2>conftest.er1
20544 grep -v '^ *+' conftest.er1 >conftest.err
20546 cat conftest.err >&5
20547 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20548 (exit $ac_status); } && {
20549 test -z "$ac_c_werror_flag" ||
20550 test ! -s conftest.err
20551 } && test -s conftest.$ac_objext; then
20552 ac_header_compiler=yes
20554 echo "$as_me: failed program was
:" >&5
20555 sed 's/^/| /' conftest.$ac_ext >&5
20557 ac_header_compiler=no
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20561 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20562 echo "${ECHO_T}$ac_header_compiler" >&6; }
20564 # Is the header present?
20565 { echo "$as_me:$LINENO: checking newt.h presence
" >&5
20566 echo $ECHO_N "checking newt.h presence...
$ECHO_C" >&6; }
20567 cat >conftest.$ac_ext <<_ACEOF
20570 cat confdefs.h >>conftest.$ac_ext
20571 cat >>conftest.$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20575 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20576 case "(($ac_try" in
20577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20578 *) ac_try_echo=$ac_try;;
20580 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20581 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20583 grep -v '^ *+' conftest.er1 >conftest.err
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20587 (exit $ac_status); } >/dev/null && {
20588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20589 test ! -s conftest.err
20591 ac_header_preproc=yes
20593 echo "$as_me: failed program was
:" >&5
20594 sed 's/^/| /' conftest.$ac_ext >&5
20596 ac_header_preproc=no
20599 rm -f conftest.err conftest.$ac_ext
20600 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20601 echo "${ECHO_T}$ac_header_preproc" >&6; }
20603 # So? What about this header?
20604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20606 { echo "$as_me:$LINENO: WARNING
: newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20607 echo "$as_me: WARNING
: newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20608 { echo "$as_me:$LINENO: WARNING
: newt.h
: proceeding with the compiler
's result" >&5
20609 echo "$as_me: WARNING: newt.h: proceeding with the compiler's result
" >&2;}
20610 ac_header_preproc=yes
20613 { echo "$as_me:$LINENO: WARNING
: newt.h
: present but cannot be compiled
" >&5
20614 echo "$as_me: WARNING
: newt.h
: present but cannot be compiled
" >&2;}
20615 { echo "$as_me:$LINENO: WARNING
: newt.h
: check
for missing prerequisite headers?
" >&5
20616 echo "$as_me: WARNING
: newt.h
: check
for missing prerequisite headers?
" >&2;}
20617 { echo "$as_me:$LINENO: WARNING
: newt.h
: see the Autoconf documentation
" >&5
20618 echo "$as_me: WARNING
: newt.h
: see the Autoconf documentation
" >&2;}
20619 { echo "$as_me:$LINENO: WARNING
: newt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20620 echo "$as_me: WARNING
: newt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20621 { echo "$as_me:$LINENO: WARNING
: newt.h
: proceeding with the preprocessor
's result" >&5
20622 echo "$as_me: WARNING: newt.h: proceeding with the preprocessor's result
" >&2;}
20623 { echo "$as_me:$LINENO: WARNING
: newt.h
: in the future
, the compiler will take precedence
" >&5
20624 echo "$as_me: WARNING
: newt.h
: in the future
, the compiler will take precedence
" >&2;}
20628 { echo "$as_me:$LINENO: checking
for newt.h
" >&5
20629 echo $ECHO_N "checking
for newt.h...
$ECHO_C" >&6; }
20630 if test "${ac_cv_header_newt_h+set}" = set; then
20631 echo $ECHO_N "(cached
) $ECHO_C" >&6
20633 ac_cv_header_newt_h=$ac_header_preproc
20635 { echo "$as_me:$LINENO: result
: $ac_cv_header_newt_h" >&5
20636 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
20639 if test $ac_cv_header_newt_h = yes; then
20640 NEWT_HEADER_FOUND=1
20642 NEWT_HEADER_FOUND=0
20648 if test "x
${NEWT_HEADER_FOUND}" = "x0
" ; then
20649 if test ! -z "${NEWT_MANDATORY}" ;
20651 { echo "$as_me:$LINENO: ***" >&5
20652 echo "$as_me: ***" >&6;}
20653 { echo "$as_me:$LINENO: *** It appears that you
do not have the newt development package installed.
" >&5
20654 echo "$as_me: *** It appears that you
do not have the newt development package installed.
" >&6;}
20655 { echo "$as_me:$LINENO: *** Please
install it to include
${NEWT_DESCRIP} support
, or re-run configure
" >&5
20656 echo "$as_me: *** Please
install it to include
${NEWT_DESCRIP} support
, or re-run configure
" >&6;}
20657 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NEWT_OPTION}" >&5
20658 echo "$as_me: *** without explicitly specifying
--with-${NEWT_OPTION}" >&6;}
20667 cat >>confdefs.h <<_ACEOF
20668 #define HAVE_NEWT 1
20672 elif test ! -z "${NEWT_MANDATORY}";
20674 { echo "$as_me:$LINENO: ***" >&5
20675 echo "$as_me: ***" >&6;}
20676 { echo "$as_me:$LINENO: *** The
${NEWT_DESCRIP} installation on this system appears to be broken.
" >&5
20677 echo "$as_me: *** The
${NEWT_DESCRIP} installation on this system appears to be broken.
" >&6;}
20678 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20679 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20680 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NEWT_OPTION}" >&5
20681 echo "$as_me: *** without explicitly specifying
--with-${NEWT_OPTION}" >&6;}
20688 if test "${USE_UNIXODBC}" != "no
"; then
20690 if test "x
${UNIXODBC_DIR}" != "x
"; then
20691 if test -d ${UNIXODBC_DIR}/lib; then
20692 pbxlibdir="-L${UNIXODBC_DIR}/lib
"
20694 pbxlibdir="-L${UNIXODBC_DIR}"
20697 { echo "$as_me:$LINENO: checking
for SQLConnect
in -lodbc" >&5
20698 echo $ECHO_N "checking
for SQLConnect
in -lodbc...
$ECHO_C" >&6; }
20699 if test "${ac_cv_lib_odbc_SQLConnect+set}" = set; then
20700 echo $ECHO_N "(cached
) $ECHO_C" >&6
20702 ac_check_lib_save_LIBS=$LIBS
20703 LIBS="-lodbc ${pbxlibdir} -lltdl $LIBS"
20704 cat >conftest.$ac_ext <<_ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20711 /* Override any GCC internal prototype to avoid an error.
20712 Use char because int might match the return type of a GCC
20713 builtin and then its argument prototype would still apply. */
20717 char SQLConnect ();
20721 return SQLConnect ();
20726 rm -f conftest.$ac_objext conftest$ac_exeext
20727 if { (ac_try="$ac_link"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20732 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_link") 2>conftest.er1
20735 grep -v '^ *+' conftest.er1 >conftest.err
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest$ac_exeext &&
20743 $as_test_x conftest$ac_exeext; then
20744 ac_cv_lib_odbc_SQLConnect=yes
20746 echo "$as_me: failed program was
:" >&5
20747 sed 's/^/| /' conftest.$ac_ext >&5
20749 ac_cv_lib_odbc_SQLConnect=no
20752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20753 conftest$ac_exeext conftest.$ac_ext
20754 LIBS=$ac_check_lib_save_LIBS
20756 { echo "$as_me:$LINENO: result
: $ac_cv_lib_odbc_SQLConnect" >&5
20757 echo "${ECHO_T}$ac_cv_lib_odbc_SQLConnect" >&6; }
20758 if test $ac_cv_lib_odbc_SQLConnect = yes; then
20759 AST_UNIXODBC_FOUND=yes
20761 AST_UNIXODBC_FOUND=no
20765 if test "${AST_UNIXODBC_FOUND}" = "yes"; then
20766 UNIXODBC_LIB="-lodbc -lltdl"
20767 UNIXODBC_HEADER_FOUND="1"
20768 if test "x
${UNIXODBC_DIR}" != "x
"; then
20769 UNIXODBC_LIB="${pbxlibdir} ${UNIXODBC_LIB}"
20770 UNIXODBC_INCLUDE="-I${UNIXODBC_DIR}/include
"
20771 saved_cppflags="${CPPFLAGS}"
20772 CPPFLAGS="${CPPFLAGS} -I${UNIXODBC_DIR}/include
"
20773 if test "xsql.h
" != "x
" ; then
20774 as_ac_Header=`echo "ac_cv_header_
${UNIXODBC_DIR}/include
/sql.h
" | $as_tr_sh`
20775 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20776 { echo "$as_me:$LINENO: checking
for ${UNIXODBC_DIR}/include
/sql.h
" >&5
20777 echo $ECHO_N "checking
for ${UNIXODBC_DIR}/include
/sql.h...
$ECHO_C" >&6; }
20778 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20779 echo $ECHO_N "(cached
) $ECHO_C" >&6
20781 ac_res=`eval echo '${'$as_ac_Header'}'`
20782 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20783 echo "${ECHO_T}$ac_res" >&6; }
20785 # Is the header compilable?
20786 { echo "$as_me:$LINENO: checking
${UNIXODBC_DIR}/include
/sql.h usability
" >&5
20787 echo $ECHO_N "checking
${UNIXODBC_DIR}/include
/sql.h usability...
$ECHO_C" >&6; }
20788 cat >conftest.$ac_ext <<_ACEOF
20791 cat confdefs.h >>conftest.$ac_ext
20792 cat >>conftest.$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20794 $ac_includes_default
20795 #include <${UNIXODBC_DIR}/include/sql.h>
20797 rm -f conftest.$ac_objext
20798 if { (ac_try="$ac_compile"
20799 case "(($ac_try" in
20800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20801 *) ac_try_echo=$ac_try;;
20803 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20804 (eval "$ac_compile") 2>conftest.er1
20806 grep -v '^ *+' conftest.er1 >conftest.err
20808 cat conftest.err >&5
20809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20810 (exit $ac_status); } && {
20811 test -z "$ac_c_werror_flag" ||
20812 test ! -s conftest.err
20813 } && test -s conftest.$ac_objext; then
20814 ac_header_compiler=yes
20816 echo "$as_me: failed program was
:" >&5
20817 sed 's/^/| /' conftest.$ac_ext >&5
20819 ac_header_compiler=no
20822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20823 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20824 echo "${ECHO_T}$ac_header_compiler" >&6; }
20826 # Is the header present?
20827 { echo "$as_me:$LINENO: checking
${UNIXODBC_DIR}/include
/sql.h presence
" >&5
20828 echo $ECHO_N "checking
${UNIXODBC_DIR}/include
/sql.h presence...
$ECHO_C" >&6; }
20829 cat >conftest.$ac_ext <<_ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20835 #include <${UNIXODBC_DIR}/include/sql.h>
20837 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20838 case "(($ac_try" in
20839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20840 *) ac_try_echo=$ac_try;;
20842 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20843 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20845 grep -v '^ *+' conftest.er1 >conftest.err
20847 cat conftest.err >&5
20848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20849 (exit $ac_status); } >/dev/null && {
20850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20851 test ! -s conftest.err
20853 ac_header_preproc=yes
20855 echo "$as_me: failed program was
:" >&5
20856 sed 's/^/| /' conftest.$ac_ext >&5
20858 ac_header_preproc=no
20861 rm -f conftest.err conftest.$ac_ext
20862 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20863 echo "${ECHO_T}$ac_header_preproc" >&6; }
20865 # So? What about this header?
20866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20868 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20869 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20870 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the compiler
's result" >&5
20871 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the compiler's result
" >&2;}
20872 ac_header_preproc=yes
20875 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: present but cannot be compiled
" >&5
20876 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: present but cannot be compiled
" >&2;}
20877 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: check
for missing prerequisite headers?
" >&5
20878 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: check
for missing prerequisite headers?
" >&2;}
20879 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: see the Autoconf documentation
" >&5
20880 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: see the Autoconf documentation
" >&2;}
20881 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20882 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20883 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the preprocessor
's result" >&5
20884 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the preprocessor's result
" >&2;}
20885 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: in the future
, the compiler will take precedence
" >&5
20886 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: in the future
, the compiler will take precedence
" >&2;}
20890 { echo "$as_me:$LINENO: checking
for ${UNIXODBC_DIR}/include
/sql.h
" >&5
20891 echo $ECHO_N "checking
for ${UNIXODBC_DIR}/include
/sql.h...
$ECHO_C" >&6; }
20892 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20893 echo $ECHO_N "(cached
) $ECHO_C" >&6
20895 eval "$as_ac_Header=\
$ac_header_preproc"
20897 ac_res=`eval echo '${'$as_ac_Header'}'`
20898 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20899 echo "${ECHO_T}$ac_res" >&6; }
20902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20903 UNIXODBC_HEADER_FOUND=1
20905 UNIXODBC_HEADER_FOUND=0
20910 CPPFLAGS="${saved_cppflags}"
20912 if test "xsql.h
" != "x
" ; then
20913 if test "${ac_cv_header_sql_h+set}" = set; then
20914 { echo "$as_me:$LINENO: checking
for sql.h
" >&5
20915 echo $ECHO_N "checking
for sql.h...
$ECHO_C" >&6; }
20916 if test "${ac_cv_header_sql_h+set}" = set; then
20917 echo $ECHO_N "(cached
) $ECHO_C" >&6
20919 { echo "$as_me:$LINENO: result
: $ac_cv_header_sql_h" >&5
20920 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
20922 # Is the header compilable?
20923 { echo "$as_me:$LINENO: checking sql.h usability
" >&5
20924 echo $ECHO_N "checking sql.h usability...
$ECHO_C" >&6; }
20925 cat >conftest.$ac_ext <<_ACEOF
20928 cat confdefs.h >>conftest.$ac_ext
20929 cat >>conftest.$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20931 $ac_includes_default
20934 rm -f conftest.$ac_objext
20935 if { (ac_try="$ac_compile"
20936 case "(($ac_try" in
20937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20938 *) ac_try_echo=$ac_try;;
20940 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20941 (eval "$ac_compile") 2>conftest.er1
20943 grep -v '^ *+' conftest.er1 >conftest.err
20945 cat conftest.err >&5
20946 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20947 (exit $ac_status); } && {
20948 test -z "$ac_c_werror_flag" ||
20949 test ! -s conftest.err
20950 } && test -s conftest.$ac_objext; then
20951 ac_header_compiler=yes
20953 echo "$as_me: failed program was
:" >&5
20954 sed 's/^/| /' conftest.$ac_ext >&5
20956 ac_header_compiler=no
20959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20961 echo "${ECHO_T}$ac_header_compiler" >&6; }
20963 # Is the header present?
20964 { echo "$as_me:$LINENO: checking sql.h presence
" >&5
20965 echo $ECHO_N "checking sql.h presence...
$ECHO_C" >&6; }
20966 cat >conftest.$ac_ext <<_ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20974 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20975 case "(($ac_try" in
20976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20977 *) ac_try_echo=$ac_try;;
20979 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20980 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20982 grep -v '^ *+' conftest.er1 >conftest.err
20984 cat conftest.err >&5
20985 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20986 (exit $ac_status); } >/dev/null && {
20987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20988 test ! -s conftest.err
20990 ac_header_preproc=yes
20992 echo "$as_me: failed program was
:" >&5
20993 sed 's/^/| /' conftest.$ac_ext >&5
20995 ac_header_preproc=no
20998 rm -f conftest.err conftest.$ac_ext
20999 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21000 echo "${ECHO_T}$ac_header_preproc" >&6; }
21002 # So? What about this header?
21003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21005 { echo "$as_me:$LINENO: WARNING
: sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21006 echo "$as_me: WARNING
: sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21007 { echo "$as_me:$LINENO: WARNING
: sql.h
: proceeding with the compiler
's result" >&5
21008 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result
" >&2;}
21009 ac_header_preproc=yes
21012 { echo "$as_me:$LINENO: WARNING
: sql.h
: present but cannot be compiled
" >&5
21013 echo "$as_me: WARNING
: sql.h
: present but cannot be compiled
" >&2;}
21014 { echo "$as_me:$LINENO: WARNING
: sql.h
: check
for missing prerequisite headers?
" >&5
21015 echo "$as_me: WARNING
: sql.h
: check
for missing prerequisite headers?
" >&2;}
21016 { echo "$as_me:$LINENO: WARNING
: sql.h
: see the Autoconf documentation
" >&5
21017 echo "$as_me: WARNING
: sql.h
: see the Autoconf documentation
" >&2;}
21018 { echo "$as_me:$LINENO: WARNING
: sql.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21019 echo "$as_me: WARNING
: sql.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21020 { echo "$as_me:$LINENO: WARNING
: sql.h
: proceeding with the preprocessor
's result" >&5
21021 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result
" >&2;}
21022 { echo "$as_me:$LINENO: WARNING
: sql.h
: in the future
, the compiler will take precedence
" >&5
21023 echo "$as_me: WARNING
: sql.h
: in the future
, the compiler will take precedence
" >&2;}
21027 { echo "$as_me:$LINENO: checking
for sql.h
" >&5
21028 echo $ECHO_N "checking
for sql.h...
$ECHO_C" >&6; }
21029 if test "${ac_cv_header_sql_h+set}" = set; then
21030 echo $ECHO_N "(cached
) $ECHO_C" >&6
21032 ac_cv_header_sql_h=$ac_header_preproc
21034 { echo "$as_me:$LINENO: result
: $ac_cv_header_sql_h" >&5
21035 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
21038 if test $ac_cv_header_sql_h = yes; then
21039 UNIXODBC_HEADER_FOUND=1
21041 UNIXODBC_HEADER_FOUND=0
21047 if test "x
${UNIXODBC_HEADER_FOUND}" = "x0
" ; then
21048 if test ! -z "${UNIXODBC_MANDATORY}" ;
21050 { echo "$as_me:$LINENO: ***" >&5
21051 echo "$as_me: ***" >&6;}
21052 { echo "$as_me:$LINENO: *** It appears that you
do not have the odbc development package installed.
" >&5
21053 echo "$as_me: *** It appears that you
do not have the odbc development package installed.
" >&6;}
21054 { echo "$as_me:$LINENO: *** Please
install it to include
${UNIXODBC_DESCRIP} support
, or re-run configure
" >&5
21055 echo "$as_me: *** Please
install it to include
${UNIXODBC_DESCRIP} support
, or re-run configure
" >&6;}
21056 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&5
21057 echo "$as_me: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&6;}
21061 UNIXODBC_INCLUDE=""
21066 cat >>confdefs.h <<_ACEOF
21067 #define HAVE_UNIXODBC 1
21071 elif test ! -z "${UNIXODBC_MANDATORY}";
21073 { echo "$as_me:$LINENO: ***" >&5
21074 echo "$as_me: ***" >&6;}
21075 { echo "$as_me:$LINENO: *** The
${UNIXODBC_DESCRIP} installation on this system appears to be broken.
" >&5
21076 echo "$as_me: *** The
${UNIXODBC_DESCRIP} installation on this system appears to be broken.
" >&6;}
21077 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21078 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21079 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&5
21080 echo "$as_me: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&6;}
21087 if test "${USE_OGG}" != "no
"; then
21089 if test "x
${OGG_DIR}" != "x
"; then
21090 if test -d ${OGG_DIR}/lib; then
21091 pbxlibdir="-L${OGG_DIR}/lib
"
21093 pbxlibdir="-L${OGG_DIR}"
21096 { echo "$as_me:$LINENO: checking
for ogg_sync_init
in -logg" >&5
21097 echo $ECHO_N "checking
for ogg_sync_init
in -logg...
$ECHO_C" >&6; }
21098 if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
21099 echo $ECHO_N "(cached
) $ECHO_C" >&6
21101 ac_check_lib_save_LIBS=$LIBS
21102 LIBS="-logg ${pbxlibdir} $LIBS"
21103 cat >conftest.$ac_ext <<_ACEOF
21106 cat confdefs.h >>conftest.$ac_ext
21107 cat >>conftest.$ac_ext <<_ACEOF
21108 /* end confdefs.h. */
21110 /* Override any GCC internal prototype to avoid an error.
21111 Use char because int might match the return type of a GCC
21112 builtin and then its argument prototype would still apply. */
21116 char ogg_sync_init ();
21120 return ogg_sync_init ();
21125 rm -f conftest.$ac_objext conftest$ac_exeext
21126 if { (ac_try="$ac_link"
21127 case "(($ac_try" in
21128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21129 *) ac_try_echo=$ac_try;;
21131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21132 (eval "$ac_link") 2>conftest.er1
21134 grep -v '^ *+' conftest.er1 >conftest.err
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21138 (exit $ac_status); } && {
21139 test -z "$ac_c_werror_flag" ||
21140 test ! -s conftest.err
21141 } && test -s conftest$ac_exeext &&
21142 $as_test_x conftest$ac_exeext; then
21143 ac_cv_lib_ogg_ogg_sync_init=yes
21145 echo "$as_me: failed program was
:" >&5
21146 sed 's/^/| /' conftest.$ac_ext >&5
21148 ac_cv_lib_ogg_ogg_sync_init=no
21151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21152 conftest$ac_exeext conftest.$ac_ext
21153 LIBS=$ac_check_lib_save_LIBS
21155 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ogg_ogg_sync_init" >&5
21156 echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
21157 if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
21164 if test "${AST_OGG_FOUND}" = "yes"; then
21166 OGG_HEADER_FOUND="1"
21167 if test "x
${OGG_DIR}" != "x
"; then
21168 OGG_LIB="${pbxlibdir} ${OGG_LIB}"
21169 OGG_INCLUDE="-I${OGG_DIR}/include
"
21170 saved_cppflags="${CPPFLAGS}"
21171 CPPFLAGS="${CPPFLAGS} -I${OGG_DIR}/include
"
21172 if test "x
" != "x
" ; then
21173 as_ac_Header=`echo "ac_cv_header_
${OGG_DIR}/include
/" | $as_tr_sh`
21174 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21175 { echo "$as_me:$LINENO: checking
for ${OGG_DIR}/include
/" >&5
21176 echo $ECHO_N "checking
for ${OGG_DIR}/include
/...
$ECHO_C" >&6; }
21177 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21178 echo $ECHO_N "(cached
) $ECHO_C" >&6
21180 ac_res=`eval echo '${'$as_ac_Header'}'`
21181 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21182 echo "${ECHO_T}$ac_res" >&6; }
21184 # Is the header compilable?
21185 { echo "$as_me:$LINENO: checking
${OGG_DIR}/include
/ usability
" >&5
21186 echo $ECHO_N "checking
${OGG_DIR}/include
/ usability...
$ECHO_C" >&6; }
21187 cat >conftest.$ac_ext <<_ACEOF
21190 cat confdefs.h >>conftest.$ac_ext
21191 cat >>conftest.$ac_ext <<_ACEOF
21192 /* end confdefs.h. */
21193 $ac_includes_default
21194 #include <${OGG_DIR}/include/>
21196 rm -f conftest.$ac_objext
21197 if { (ac_try="$ac_compile"
21198 case "(($ac_try" in
21199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21200 *) ac_try_echo=$ac_try;;
21202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21203 (eval "$ac_compile") 2>conftest.er1
21205 grep -v '^ *+' conftest.er1 >conftest.err
21207 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21209 (exit $ac_status); } && {
21210 test -z "$ac_c_werror_flag" ||
21211 test ! -s conftest.err
21212 } && test -s conftest.$ac_objext; then
21213 ac_header_compiler=yes
21215 echo "$as_me: failed program was
:" >&5
21216 sed 's/^/| /' conftest.$ac_ext >&5
21218 ac_header_compiler=no
21221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21222 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21223 echo "${ECHO_T}$ac_header_compiler" >&6; }
21225 # Is the header present?
21226 { echo "$as_me:$LINENO: checking
${OGG_DIR}/include
/ presence
" >&5
21227 echo $ECHO_N "checking
${OGG_DIR}/include
/ presence...
$ECHO_C" >&6; }
21228 cat >conftest.$ac_ext <<_ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 #include <${OGG_DIR}/include/>
21236 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21244 grep -v '^ *+' conftest.er1 >conftest.err
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21248 (exit $ac_status); } >/dev/null && {
21249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21250 test ! -s conftest.err
21252 ac_header_preproc=yes
21254 echo "$as_me: failed program was
:" >&5
21255 sed 's/^/| /' conftest.$ac_ext >&5
21257 ac_header_preproc=no
21260 rm -f conftest.err conftest.$ac_ext
21261 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21262 echo "${ECHO_T}$ac_header_preproc" >&6; }
21264 # So? What about this header?
21265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21267 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: accepted by the compiler
, rejected by the preprocessor
!" >&5
21268 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21269 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: proceeding with the compiler
's result" >&5
21270 echo "$as_me: WARNING: ${OGG_DIR}/include/: proceeding with the compiler's result
" >&2;}
21271 ac_header_preproc=yes
21274 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: present but cannot be compiled
" >&5
21275 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: present but cannot be compiled
" >&2;}
21276 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: check
for missing prerequisite headers?
" >&5
21277 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: check
for missing prerequisite headers?
" >&2;}
21278 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: see the Autoconf documentation
" >&5
21279 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: see the Autoconf documentation
" >&2;}
21280 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: section
\"Present But Cannot Be Compiled
\"" >&5
21281 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: section
\"Present But Cannot Be Compiled
\"" >&2;}
21282 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: proceeding with the preprocessor
's result" >&5
21283 echo "$as_me: WARNING: ${OGG_DIR}/include/: proceeding with the preprocessor's result
" >&2;}
21284 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: in the future
, the compiler will take precedence
" >&5
21285 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: in the future
, the compiler will take precedence
" >&2;}
21289 { echo "$as_me:$LINENO: checking
for ${OGG_DIR}/include
/" >&5
21290 echo $ECHO_N "checking
for ${OGG_DIR}/include
/...
$ECHO_C" >&6; }
21291 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21292 echo $ECHO_N "(cached
) $ECHO_C" >&6
21294 eval "$as_ac_Header=\
$ac_header_preproc"
21296 ac_res=`eval echo '${'$as_ac_Header'}'`
21297 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21298 echo "${ECHO_T}$ac_res" >&6; }
21301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21309 CPPFLAGS="${saved_cppflags}"
21311 if test "x
" != "x
" ; then
21312 if test "${ac_cv_header_+set}" = set; then
21313 { echo "$as_me:$LINENO: checking
for " >&5
21314 echo $ECHO_N "checking
for ...
$ECHO_C" >&6; }
21315 if test "${ac_cv_header_+set}" = set; then
21316 echo $ECHO_N "(cached
) $ECHO_C" >&6
21318 { echo "$as_me:$LINENO: result
: $ac_cv_header_" >&5
21319 echo "${ECHO_T}$ac_cv_header_" >&6; }
21321 # Is the header compilable?
21322 { echo "$as_me:$LINENO: checking usability
" >&5
21323 echo $ECHO_N "checking usability...
$ECHO_C" >&6; }
21324 cat >conftest.$ac_ext <<_ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330 $ac_includes_default
21333 rm -f conftest.$ac_objext
21334 if { (ac_try="$ac_compile"
21335 case "(($ac_try" in
21336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21337 *) ac_try_echo=$ac_try;;
21339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21340 (eval "$ac_compile") 2>conftest.er1
21342 grep -v '^ *+' conftest.er1 >conftest.err
21344 cat conftest.err >&5
21345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21346 (exit $ac_status); } && {
21347 test -z "$ac_c_werror_flag" ||
21348 test ! -s conftest.err
21349 } && test -s conftest.$ac_objext; then
21350 ac_header_compiler=yes
21352 echo "$as_me: failed program was
:" >&5
21353 sed 's/^/| /' conftest.$ac_ext >&5
21355 ac_header_compiler=no
21358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21359 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21360 echo "${ECHO_T}$ac_header_compiler" >&6; }
21362 # Is the header present?
21363 { echo "$as_me:$LINENO: checking presence
" >&5
21364 echo $ECHO_N "checking presence...
$ECHO_C" >&6; }
21365 cat >conftest.$ac_ext <<_ACEOF
21368 cat confdefs.h >>conftest.$ac_ext
21369 cat >>conftest.$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21373 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21381 grep -v '^ *+' conftest.er1 >conftest.err
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21385 (exit $ac_status); } >/dev/null && {
21386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21389 ac_header_preproc=yes
21391 echo "$as_me: failed program was
:" >&5
21392 sed 's/^/| /' conftest.$ac_ext >&5
21394 ac_header_preproc=no
21397 rm -f conftest.err conftest.$ac_ext
21398 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21399 echo "${ECHO_T}$ac_header_preproc" >&6; }
21401 # So? What about this header?
21402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21404 { echo "$as_me:$LINENO: WARNING
: : accepted by the compiler
, rejected by the preprocessor
!" >&5
21405 echo "$as_me: WARNING
: : accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21406 { echo "$as_me:$LINENO: WARNING
: : proceeding with the compiler
's result" >&5
21407 echo "$as_me: WARNING: : proceeding with the compiler's result
" >&2;}
21408 ac_header_preproc=yes
21411 { echo "$as_me:$LINENO: WARNING
: : present but cannot be compiled
" >&5
21412 echo "$as_me: WARNING
: : present but cannot be compiled
" >&2;}
21413 { echo "$as_me:$LINENO: WARNING
: : check
for missing prerequisite headers?
" >&5
21414 echo "$as_me: WARNING
: : check
for missing prerequisite headers?
" >&2;}
21415 { echo "$as_me:$LINENO: WARNING
: : see the Autoconf documentation
" >&5
21416 echo "$as_me: WARNING
: : see the Autoconf documentation
" >&2;}
21417 { echo "$as_me:$LINENO: WARNING
: : section
\"Present But Cannot Be Compiled
\"" >&5
21418 echo "$as_me: WARNING
: : section
\"Present But Cannot Be Compiled
\"" >&2;}
21419 { echo "$as_me:$LINENO: WARNING
: : proceeding with the preprocessor
's result" >&5
21420 echo "$as_me: WARNING: : proceeding with the preprocessor's result
" >&2;}
21421 { echo "$as_me:$LINENO: WARNING
: : in the future
, the compiler will take precedence
" >&5
21422 echo "$as_me: WARNING
: : in the future
, the compiler will take precedence
" >&2;}
21426 { echo "$as_me:$LINENO: checking
for " >&5
21427 echo $ECHO_N "checking
for ...
$ECHO_C" >&6; }
21428 if test "${ac_cv_header_+set}" = set; then
21429 echo $ECHO_N "(cached
) $ECHO_C" >&6
21431 ac_cv_header_=$ac_header_preproc
21433 { echo "$as_me:$LINENO: result
: $ac_cv_header_" >&5
21434 echo "${ECHO_T}$ac_cv_header_" >&6; }
21437 if test $ac_cv_header_ = yes; then
21446 if test "x
${OGG_HEADER_FOUND}" = "x0
" ; then
21447 if test ! -z "${OGG_MANDATORY}" ;
21449 { echo "$as_me:$LINENO: ***" >&5
21450 echo "$as_me: ***" >&6;}
21451 { echo "$as_me:$LINENO: *** It appears that you
do not have the ogg development package installed.
" >&5
21452 echo "$as_me: *** It appears that you
do not have the ogg development package installed.
" >&6;}
21453 { echo "$as_me:$LINENO: *** Please
install it to include
${OGG_DESCRIP} support
, or re-run configure
" >&5
21454 echo "$as_me: *** Please
install it to include
${OGG_DESCRIP} support
, or re-run configure
" >&6;}
21455 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OGG_OPTION}" >&5
21456 echo "$as_me: *** without explicitly specifying
--with-${OGG_OPTION}" >&6;}
21465 cat >>confdefs.h <<_ACEOF
21470 elif test ! -z "${OGG_MANDATORY}";
21472 { echo "$as_me:$LINENO: ***" >&5
21473 echo "$as_me: ***" >&6;}
21474 { echo "$as_me:$LINENO: *** The
${OGG_DESCRIP} installation on this system appears to be broken.
" >&5
21475 echo "$as_me: *** The
${OGG_DESCRIP} installation on this system appears to be broken.
" >&6;}
21476 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21477 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21478 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OGG_OPTION}" >&5
21479 echo "$as_me: *** without explicitly specifying
--with-${OGG_OPTION}" >&6;}
21486 if test "${USE_OSPTK}" != "no
"; then
21488 if test "x
${OSPTK_DIR}" != "x
"; then
21489 if test -d ${OSPTK_DIR}/lib; then
21490 pbxlibdir="-L${OSPTK_DIR}/lib
"
21492 pbxlibdir="-L${OSPTK_DIR}"
21495 { echo "$as_me:$LINENO: checking
for OSPPCryptoDecrypt
in -losptk" >&5
21496 echo $ECHO_N "checking
for OSPPCryptoDecrypt
in -losptk...
$ECHO_C" >&6; }
21497 if test "${ac_cv_lib_osptk_OSPPCryptoDecrypt+set}" = set; then
21498 echo $ECHO_N "(cached
) $ECHO_C" >&6
21500 ac_check_lib_save_LIBS=$LIBS
21501 LIBS="-losptk ${pbxlibdir} -lcrypto -lssl $LIBS"
21502 cat >conftest.$ac_ext <<_ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21509 /* Override any GCC internal prototype to avoid an error.
21510 Use char because int might match the return type of a GCC
21511 builtin and then its argument prototype would still apply. */
21515 char OSPPCryptoDecrypt ();
21519 return OSPPCryptoDecrypt ();
21524 rm -f conftest.$ac_objext conftest$ac_exeext
21525 if { (ac_try="$ac_link"
21526 case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21530 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_link") 2>conftest.er1
21533 grep -v '^ *+' conftest.er1 >conftest.err
21535 cat conftest.err >&5
21536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21537 (exit $ac_status); } && {
21538 test -z "$ac_c_werror_flag" ||
21539 test ! -s conftest.err
21540 } && test -s conftest$ac_exeext &&
21541 $as_test_x conftest$ac_exeext; then
21542 ac_cv_lib_osptk_OSPPCryptoDecrypt=yes
21544 echo "$as_me: failed program was
:" >&5
21545 sed 's/^/| /' conftest.$ac_ext >&5
21547 ac_cv_lib_osptk_OSPPCryptoDecrypt=no
21550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21551 conftest$ac_exeext conftest.$ac_ext
21552 LIBS=$ac_check_lib_save_LIBS
21554 { echo "$as_me:$LINENO: result
: $ac_cv_lib_osptk_OSPPCryptoDecrypt" >&5
21555 echo "${ECHO_T}$ac_cv_lib_osptk_OSPPCryptoDecrypt" >&6; }
21556 if test $ac_cv_lib_osptk_OSPPCryptoDecrypt = yes; then
21557 AST_OSPTK_FOUND=yes
21563 if test "${AST_OSPTK_FOUND}" = "yes"; then
21564 OSPTK_LIB="-losptk -lcrypto -lssl"
21565 OSPTK_HEADER_FOUND="1"
21566 if test "x
${OSPTK_DIR}" != "x
"; then
21567 OSPTK_LIB="${pbxlibdir} ${OSPTK_LIB}"
21568 OSPTK_INCLUDE="-I${OSPTK_DIR}/include
"
21569 saved_cppflags="${CPPFLAGS}"
21570 CPPFLAGS="${CPPFLAGS} -I${OSPTK_DIR}/include
"
21571 if test "xosp
/osp.h
" != "x
" ; then
21572 as_ac_Header=`echo "ac_cv_header_
${OSPTK_DIR}/include
/osp
/osp.h
" | $as_tr_sh`
21573 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21574 { echo "$as_me:$LINENO: checking
for ${OSPTK_DIR}/include
/osp
/osp.h
" >&5
21575 echo $ECHO_N "checking
for ${OSPTK_DIR}/include
/osp
/osp.h...
$ECHO_C" >&6; }
21576 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21577 echo $ECHO_N "(cached
) $ECHO_C" >&6
21579 ac_res=`eval echo '${'$as_ac_Header'}'`
21580 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21581 echo "${ECHO_T}$ac_res" >&6; }
21583 # Is the header compilable?
21584 { echo "$as_me:$LINENO: checking
${OSPTK_DIR}/include
/osp
/osp.h usability
" >&5
21585 echo $ECHO_N "checking
${OSPTK_DIR}/include
/osp
/osp.h usability...
$ECHO_C" >&6; }
21586 cat >conftest.$ac_ext <<_ACEOF
21589 cat confdefs.h >>conftest.$ac_ext
21590 cat >>conftest.$ac_ext <<_ACEOF
21591 /* end confdefs.h. */
21592 $ac_includes_default
21593 #include <${OSPTK_DIR}/include/osp/osp.h>
21595 rm -f conftest.$ac_objext
21596 if { (ac_try="$ac_compile"
21597 case "(($ac_try" in
21598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599 *) ac_try_echo=$ac_try;;
21601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21602 (eval "$ac_compile") 2>conftest.er1
21604 grep -v '^ *+' conftest.er1 >conftest.err
21606 cat conftest.err >&5
21607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21608 (exit $ac_status); } && {
21609 test -z "$ac_c_werror_flag" ||
21610 test ! -s conftest.err
21611 } && test -s conftest.$ac_objext; then
21612 ac_header_compiler=yes
21614 echo "$as_me: failed program was
:" >&5
21615 sed 's/^/| /' conftest.$ac_ext >&5
21617 ac_header_compiler=no
21620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21621 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21622 echo "${ECHO_T}$ac_header_compiler" >&6; }
21624 # Is the header present?
21625 { echo "$as_me:$LINENO: checking
${OSPTK_DIR}/include
/osp
/osp.h presence
" >&5
21626 echo $ECHO_N "checking
${OSPTK_DIR}/include
/osp
/osp.h presence...
$ECHO_C" >&6; }
21627 cat >conftest.$ac_ext <<_ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 #include <${OSPTK_DIR}/include/osp/osp.h>
21635 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21636 case "(($ac_try" in
21637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21638 *) ac_try_echo=$ac_try;;
21640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21641 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21643 grep -v '^ *+' conftest.er1 >conftest.err
21645 cat conftest.err >&5
21646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21647 (exit $ac_status); } >/dev/null && {
21648 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21649 test ! -s conftest.err
21651 ac_header_preproc=yes
21653 echo "$as_me: failed program was
:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21656 ac_header_preproc=no
21659 rm -f conftest.err conftest.$ac_ext
21660 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21661 echo "${ECHO_T}$ac_header_preproc" >&6; }
21663 # So? What about this header?
21664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21666 { echo "$as_me:$LINENO: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21667 echo "$as_me: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21668 { echo "$as_me:$LINENO: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: proceeding with the compiler
's result" >&5
21669 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the compiler's result
" >&2;}
21670 ac_header_preproc=yes
21673 { echo "$as_me:$LINENO: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: present but cannot be compiled
" >&5
21674 echo "$as_me: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: present but cannot be compiled
" >&2;}
21675 { echo "$as_me:$LINENO: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: check
for missing prerequisite headers?
" >&5
21676 echo "$as_me: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: check
for missing prerequisite headers?
" >&2;}
21677 { echo "$as_me:$LINENO: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: see the Autoconf documentation
" >&5
21678 echo "$as_me: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: see the Autoconf documentation
" >&2;}
21679 { echo "$as_me:$LINENO: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21680 echo "$as_me: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21681 { echo "$as_me:$LINENO: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: proceeding with the preprocessor
's result" >&5
21682 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the preprocessor's result
" >&2;}
21683 { echo "$as_me:$LINENO: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: in the future
, the compiler will take precedence
" >&5
21684 echo "$as_me: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: in the future
, the compiler will take precedence
" >&2;}
21688 { echo "$as_me:$LINENO: checking
for ${OSPTK_DIR}/include
/osp
/osp.h
" >&5
21689 echo $ECHO_N "checking
for ${OSPTK_DIR}/include
/osp
/osp.h...
$ECHO_C" >&6; }
21690 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21691 echo $ECHO_N "(cached
) $ECHO_C" >&6
21693 eval "$as_ac_Header=\
$ac_header_preproc"
21695 ac_res=`eval echo '${'$as_ac_Header'}'`
21696 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21697 echo "${ECHO_T}$ac_res" >&6; }
21700 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21701 OSPTK_HEADER_FOUND=1
21703 OSPTK_HEADER_FOUND=0
21708 CPPFLAGS="${saved_cppflags}"
21710 if test "xosp
/osp.h
" != "x
" ; then
21711 if test "${ac_cv_header_osp_osp_h+set}" = set; then
21712 { echo "$as_me:$LINENO: checking
for osp
/osp.h
" >&5
21713 echo $ECHO_N "checking
for osp
/osp.h...
$ECHO_C" >&6; }
21714 if test "${ac_cv_header_osp_osp_h+set}" = set; then
21715 echo $ECHO_N "(cached
) $ECHO_C" >&6
21717 { echo "$as_me:$LINENO: result
: $ac_cv_header_osp_osp_h" >&5
21718 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
21720 # Is the header compilable?
21721 { echo "$as_me:$LINENO: checking osp
/osp.h usability
" >&5
21722 echo $ECHO_N "checking osp
/osp.h usability...
$ECHO_C" >&6; }
21723 cat >conftest.$ac_ext <<_ACEOF
21726 cat confdefs.h >>conftest.$ac_ext
21727 cat >>conftest.$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21729 $ac_includes_default
21730 #include <osp/osp.h>
21732 rm -f conftest.$ac_objext
21733 if { (ac_try="$ac_compile"
21734 case "(($ac_try" in
21735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21736 *) ac_try_echo=$ac_try;;
21738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21739 (eval "$ac_compile") 2>conftest.er1
21741 grep -v '^ *+' conftest.er1 >conftest.err
21743 cat conftest.err >&5
21744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21745 (exit $ac_status); } && {
21746 test -z "$ac_c_werror_flag" ||
21747 test ! -s conftest.err
21748 } && test -s conftest.$ac_objext; then
21749 ac_header_compiler=yes
21751 echo "$as_me: failed program was
:" >&5
21752 sed 's/^/| /' conftest.$ac_ext >&5
21754 ac_header_compiler=no
21757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21758 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21759 echo "${ECHO_T}$ac_header_compiler" >&6; }
21761 # Is the header present?
21762 { echo "$as_me:$LINENO: checking osp
/osp.h presence
" >&5
21763 echo $ECHO_N "checking osp
/osp.h presence...
$ECHO_C" >&6; }
21764 cat >conftest.$ac_ext <<_ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 #include <osp/osp.h>
21772 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21773 case "(($ac_try" in
21774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21775 *) ac_try_echo=$ac_try;;
21777 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21778 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21780 grep -v '^ *+' conftest.er1 >conftest.err
21782 cat conftest.err >&5
21783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21784 (exit $ac_status); } >/dev/null && {
21785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21786 test ! -s conftest.err
21788 ac_header_preproc=yes
21790 echo "$as_me: failed program was
:" >&5
21791 sed 's/^/| /' conftest.$ac_ext >&5
21793 ac_header_preproc=no
21796 rm -f conftest.err conftest.$ac_ext
21797 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21798 echo "${ECHO_T}$ac_header_preproc" >&6; }
21800 # So? What about this header?
21801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21803 { echo "$as_me:$LINENO: WARNING
: osp
/osp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21804 echo "$as_me: WARNING
: osp
/osp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21805 { echo "$as_me:$LINENO: WARNING
: osp
/osp.h
: proceeding with the compiler
's result" >&5
21806 echo "$as_me: WARNING: osp/osp.h: proceeding with the compiler's result
" >&2;}
21807 ac_header_preproc=yes
21810 { echo "$as_me:$LINENO: WARNING
: osp
/osp.h
: present but cannot be compiled
" >&5
21811 echo "$as_me: WARNING
: osp
/osp.h
: present but cannot be compiled
" >&2;}
21812 { echo "$as_me:$LINENO: WARNING
: osp
/osp.h
: check
for missing prerequisite headers?
" >&5
21813 echo "$as_me: WARNING
: osp
/osp.h
: check
for missing prerequisite headers?
" >&2;}
21814 { echo "$as_me:$LINENO: WARNING
: osp
/osp.h
: see the Autoconf documentation
" >&5
21815 echo "$as_me: WARNING
: osp
/osp.h
: see the Autoconf documentation
" >&2;}
21816 { echo "$as_me:$LINENO: WARNING
: osp
/osp.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21817 echo "$as_me: WARNING
: osp
/osp.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21818 { echo "$as_me:$LINENO: WARNING
: osp
/osp.h
: proceeding with the preprocessor
's result" >&5
21819 echo "$as_me: WARNING: osp/osp.h: proceeding with the preprocessor's result
" >&2;}
21820 { echo "$as_me:$LINENO: WARNING
: osp
/osp.h
: in the future
, the compiler will take precedence
" >&5
21821 echo "$as_me: WARNING
: osp
/osp.h
: in the future
, the compiler will take precedence
" >&2;}
21825 { echo "$as_me:$LINENO: checking
for osp
/osp.h
" >&5
21826 echo $ECHO_N "checking
for osp
/osp.h...
$ECHO_C" >&6; }
21827 if test "${ac_cv_header_osp_osp_h+set}" = set; then
21828 echo $ECHO_N "(cached
) $ECHO_C" >&6
21830 ac_cv_header_osp_osp_h=$ac_header_preproc
21832 { echo "$as_me:$LINENO: result
: $ac_cv_header_osp_osp_h" >&5
21833 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
21836 if test $ac_cv_header_osp_osp_h = yes; then
21837 OSPTK_HEADER_FOUND=1
21839 OSPTK_HEADER_FOUND=0
21845 if test "x
${OSPTK_HEADER_FOUND}" = "x0
" ; then
21846 if test ! -z "${OSPTK_MANDATORY}" ;
21848 { echo "$as_me:$LINENO: ***" >&5
21849 echo "$as_me: ***" >&6;}
21850 { echo "$as_me:$LINENO: *** It appears that you
do not have the osptk development package installed.
" >&5
21851 echo "$as_me: *** It appears that you
do not have the osptk development package installed.
" >&6;}
21852 { echo "$as_me:$LINENO: *** Please
install it to include
${OSPTK_DESCRIP} support
, or re-run configure
" >&5
21853 echo "$as_me: *** Please
install it to include
${OSPTK_DESCRIP} support
, or re-run configure
" >&6;}
21854 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSPTK_OPTION}" >&5
21855 echo "$as_me: *** without explicitly specifying
--with-${OSPTK_OPTION}" >&6;}
21864 cat >>confdefs.h <<_ACEOF
21865 #define HAVE_OSPTK 1
21869 elif test ! -z "${OSPTK_MANDATORY}";
21871 { echo "$as_me:$LINENO: ***" >&5
21872 echo "$as_me: ***" >&6;}
21873 { echo "$as_me:$LINENO: *** The
${OSPTK_DESCRIP} installation on this system appears to be broken.
" >&5
21874 echo "$as_me: *** The
${OSPTK_DESCRIP} installation on this system appears to be broken.
" >&6;}
21875 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21876 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21877 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSPTK_OPTION}" >&5
21878 echo "$as_me: *** without explicitly specifying
--with-${OSPTK_OPTION}" >&6;}
21885 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
21886 { echo "$as_me:$LINENO: checking
for linux
/soundcard.h
" >&5
21887 echo $ECHO_N "checking
for linux
/soundcard.h...
$ECHO_C" >&6; }
21888 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
21889 echo $ECHO_N "(cached
) $ECHO_C" >&6
21891 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_soundcard_h" >&5
21892 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
21894 # Is the header compilable?
21895 { echo "$as_me:$LINENO: checking linux
/soundcard.h usability
" >&5
21896 echo $ECHO_N "checking linux
/soundcard.h usability...
$ECHO_C" >&6; }
21897 cat >conftest.$ac_ext <<_ACEOF
21900 cat confdefs.h >>conftest.$ac_ext
21901 cat >>conftest.$ac_ext <<_ACEOF
21902 /* end confdefs.h. */
21903 $ac_includes_default
21904 #include <linux/soundcard.h>
21906 rm -f conftest.$ac_objext
21907 if { (ac_try="$ac_compile"
21908 case "(($ac_try" in
21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_compile") 2>conftest.er1
21915 grep -v '^ *+' conftest.er1 >conftest.err
21917 cat conftest.err >&5
21918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21919 (exit $ac_status); } && {
21920 test -z "$ac_c_werror_flag" ||
21921 test ! -s conftest.err
21922 } && test -s conftest.$ac_objext; then
21923 ac_header_compiler=yes
21925 echo "$as_me: failed program was
:" >&5
21926 sed 's/^/| /' conftest.$ac_ext >&5
21928 ac_header_compiler=no
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21932 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21933 echo "${ECHO_T}$ac_header_compiler" >&6; }
21935 # Is the header present?
21936 { echo "$as_me:$LINENO: checking linux
/soundcard.h presence
" >&5
21937 echo $ECHO_N "checking linux
/soundcard.h presence...
$ECHO_C" >&6; }
21938 cat >conftest.$ac_ext <<_ACEOF
21941 cat confdefs.h >>conftest.$ac_ext
21942 cat >>conftest.$ac_ext <<_ACEOF
21943 /* end confdefs.h. */
21944 #include <linux/soundcard.h>
21946 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21947 case "(($ac_try" in
21948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21949 *) ac_try_echo=$ac_try;;
21951 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21952 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21954 grep -v '^ *+' conftest.er1 >conftest.err
21956 cat conftest.err >&5
21957 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21958 (exit $ac_status); } >/dev/null && {
21959 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21960 test ! -s conftest.err
21962 ac_header_preproc=yes
21964 echo "$as_me: failed program was
:" >&5
21965 sed 's/^/| /' conftest.$ac_ext >&5
21967 ac_header_preproc=no
21970 rm -f conftest.err conftest.$ac_ext
21971 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21972 echo "${ECHO_T}$ac_header_preproc" >&6; }
21974 # So? What about this header?
21975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21977 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21978 echo "$as_me: WARNING
: linux
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21979 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: proceeding with the compiler
's result" >&5
21980 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result
" >&2;}
21981 ac_header_preproc=yes
21984 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: present but cannot be compiled
" >&5
21985 echo "$as_me: WARNING
: linux
/soundcard.h
: present but cannot be compiled
" >&2;}
21986 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: check
for missing prerequisite headers?
" >&5
21987 echo "$as_me: WARNING
: linux
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
21988 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: see the Autoconf documentation
" >&5
21989 echo "$as_me: WARNING
: linux
/soundcard.h
: see the Autoconf documentation
" >&2;}
21990 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21991 echo "$as_me: WARNING
: linux
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21992 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: proceeding with the preprocessor
's result" >&5
21993 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result
" >&2;}
21994 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
21995 echo "$as_me: WARNING
: linux
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
21999 { echo "$as_me:$LINENO: checking
for linux
/soundcard.h
" >&5
22000 echo $ECHO_N "checking
for linux
/soundcard.h...
$ECHO_C" >&6; }
22001 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22002 echo $ECHO_N "(cached
) $ECHO_C" >&6
22004 ac_cv_header_linux_soundcard_h=$ac_header_preproc
22006 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_soundcard_h" >&5
22007 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
22010 if test $ac_cv_header_linux_soundcard_h = yes; then
22014 cat >>confdefs.h <<_ACEOF
22022 if test "$PBX_OSS" = "0"; then
22023 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22024 { echo "$as_me:$LINENO: checking
for sys
/soundcard.h
" >&5
22025 echo $ECHO_N "checking
for sys
/soundcard.h...
$ECHO_C" >&6; }
22026 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22027 echo $ECHO_N "(cached
) $ECHO_C" >&6
22029 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_soundcard_h" >&5
22030 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
22032 # Is the header compilable?
22033 { echo "$as_me:$LINENO: checking sys
/soundcard.h usability
" >&5
22034 echo $ECHO_N "checking sys
/soundcard.h usability...
$ECHO_C" >&6; }
22035 cat >conftest.$ac_ext <<_ACEOF
22038 cat confdefs.h >>conftest.$ac_ext
22039 cat >>conftest.$ac_ext <<_ACEOF
22040 /* end confdefs.h. */
22041 $ac_includes_default
22042 #include <sys/soundcard.h>
22044 rm -f conftest.$ac_objext
22045 if { (ac_try="$ac_compile"
22046 case "(($ac_try" in
22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_compile") 2>conftest.er1
22053 grep -v '^ *+' conftest.er1 >conftest.err
22055 cat conftest.err >&5
22056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22057 (exit $ac_status); } && {
22058 test -z "$ac_c_werror_flag" ||
22059 test ! -s conftest.err
22060 } && test -s conftest.$ac_objext; then
22061 ac_header_compiler=yes
22063 echo "$as_me: failed program was
:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22066 ac_header_compiler=no
22069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22070 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22071 echo "${ECHO_T}$ac_header_compiler" >&6; }
22073 # Is the header present?
22074 { echo "$as_me:$LINENO: checking sys
/soundcard.h presence
" >&5
22075 echo $ECHO_N "checking sys
/soundcard.h presence...
$ECHO_C" >&6; }
22076 cat >conftest.$ac_ext <<_ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 #include <sys/soundcard.h>
22084 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22085 case "(($ac_try" in
22086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22087 *) ac_try_echo=$ac_try;;
22089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22090 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22092 grep -v '^ *+' conftest.er1 >conftest.err
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22096 (exit $ac_status); } >/dev/null && {
22097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22098 test ! -s conftest.err
22100 ac_header_preproc=yes
22102 echo "$as_me: failed program was
:" >&5
22103 sed 's/^/| /' conftest.$ac_ext >&5
22105 ac_header_preproc=no
22108 rm -f conftest.err conftest.$ac_ext
22109 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22110 echo "${ECHO_T}$ac_header_preproc" >&6; }
22112 # So? What about this header?
22113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22115 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22116 echo "$as_me: WARNING
: sys
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22117 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: proceeding with the compiler
's result" >&5
22118 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result
" >&2;}
22119 ac_header_preproc=yes
22122 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: present but cannot be compiled
" >&5
22123 echo "$as_me: WARNING
: sys
/soundcard.h
: present but cannot be compiled
" >&2;}
22124 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: check
for missing prerequisite headers?
" >&5
22125 echo "$as_me: WARNING
: sys
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
22126 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: see the Autoconf documentation
" >&5
22127 echo "$as_me: WARNING
: sys
/soundcard.h
: see the Autoconf documentation
" >&2;}
22128 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22129 echo "$as_me: WARNING
: sys
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22130 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: proceeding with the preprocessor
's result" >&5
22131 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result
" >&2;}
22132 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
22133 echo "$as_me: WARNING
: sys
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
22137 { echo "$as_me:$LINENO: checking
for sys
/soundcard.h
" >&5
22138 echo $ECHO_N "checking
for sys
/soundcard.h...
$ECHO_C" >&6; }
22139 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22140 echo $ECHO_N "(cached
) $ECHO_C" >&6
22142 ac_cv_header_sys_soundcard_h=$ac_header_preproc
22144 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_soundcard_h" >&5
22145 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
22148 if test $ac_cv_header_sys_soundcard_h = yes; then
22152 cat >>confdefs.h <<_ACEOF
22161 if test "$PBX_OSS" = "0"; then
22163 if test "${USE_OSS}" != "no
"; then
22165 if test "x
${OSS_DIR}" != "x
"; then
22166 if test -d ${OSS_DIR}/lib; then
22167 pbxlibdir="-L${OSS_DIR}/lib
"
22169 pbxlibdir="-L${OSS_DIR}"
22172 { echo "$as_me:$LINENO: checking
for oss_ioctl_mixer
in -lossaudio" >&5
22173 echo $ECHO_N "checking
for oss_ioctl_mixer
in -lossaudio...
$ECHO_C" >&6; }
22174 if test "${ac_cv_lib_ossaudio_oss_ioctl_mixer+set}" = set; then
22175 echo $ECHO_N "(cached
) $ECHO_C" >&6
22177 ac_check_lib_save_LIBS=$LIBS
22178 LIBS="-lossaudio ${pbxlibdir} $LIBS"
22179 cat >conftest.$ac_ext <<_ACEOF
22182 cat confdefs.h >>conftest.$ac_ext
22183 cat >>conftest.$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22186 /* Override any GCC internal prototype to avoid an error.
22187 Use char because int might match the return type of a GCC
22188 builtin and then its argument prototype would still apply. */
22192 char oss_ioctl_mixer ();
22196 return oss_ioctl_mixer ();
22201 rm -f conftest.$ac_objext conftest$ac_exeext
22202 if { (ac_try="$ac_link"
22203 case "(($ac_try" in
22204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22205 *) ac_try_echo=$ac_try;;
22207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22208 (eval "$ac_link") 2>conftest.er1
22210 grep -v '^ *+' conftest.er1 >conftest.err
22212 cat conftest.err >&5
22213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22214 (exit $ac_status); } && {
22215 test -z "$ac_c_werror_flag" ||
22216 test ! -s conftest.err
22217 } && test -s conftest$ac_exeext &&
22218 $as_test_x conftest$ac_exeext; then
22219 ac_cv_lib_ossaudio_oss_ioctl_mixer=yes
22221 echo "$as_me: failed program was
:" >&5
22222 sed 's/^/| /' conftest.$ac_ext >&5
22224 ac_cv_lib_ossaudio_oss_ioctl_mixer=no
22227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22228 conftest$ac_exeext conftest.$ac_ext
22229 LIBS=$ac_check_lib_save_LIBS
22231 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ossaudio_oss_ioctl_mixer" >&5
22232 echo "${ECHO_T}$ac_cv_lib_ossaudio_oss_ioctl_mixer" >&6; }
22233 if test $ac_cv_lib_ossaudio_oss_ioctl_mixer = yes; then
22240 if test "${AST_OSS_FOUND}" = "yes"; then
22241 OSS_LIB="-lossaudio "
22242 OSS_HEADER_FOUND="1"
22243 if test "x
${OSS_DIR}" != "x
"; then
22244 OSS_LIB="${pbxlibdir} ${OSS_LIB}"
22245 OSS_INCLUDE="-I${OSS_DIR}/include
"
22246 saved_cppflags="${CPPFLAGS}"
22247 CPPFLAGS="${CPPFLAGS} -I${OSS_DIR}/include
"
22248 if test "xsoundcard.h
" != "x
" ; then
22249 as_ac_Header=`echo "ac_cv_header_
${OSS_DIR}/include
/soundcard.h
" | $as_tr_sh`
22250 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22251 { echo "$as_me:$LINENO: checking
for ${OSS_DIR}/include
/soundcard.h
" >&5
22252 echo $ECHO_N "checking
for ${OSS_DIR}/include
/soundcard.h...
$ECHO_C" >&6; }
22253 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22254 echo $ECHO_N "(cached
) $ECHO_C" >&6
22256 ac_res=`eval echo '${'$as_ac_Header'}'`
22257 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22258 echo "${ECHO_T}$ac_res" >&6; }
22260 # Is the header compilable?
22261 { echo "$as_me:$LINENO: checking
${OSS_DIR}/include
/soundcard.h usability
" >&5
22262 echo $ECHO_N "checking
${OSS_DIR}/include
/soundcard.h usability...
$ECHO_C" >&6; }
22263 cat >conftest.$ac_ext <<_ACEOF
22266 cat confdefs.h >>conftest.$ac_ext
22267 cat >>conftest.$ac_ext <<_ACEOF
22268 /* end confdefs.h. */
22269 $ac_includes_default
22270 #include <${OSS_DIR}/include/soundcard.h>
22272 rm -f conftest.$ac_objext
22273 if { (ac_try="$ac_compile"
22274 case "(($ac_try" in
22275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22276 *) ac_try_echo=$ac_try;;
22278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22279 (eval "$ac_compile") 2>conftest.er1
22281 grep -v '^ *+' conftest.er1 >conftest.err
22283 cat conftest.err >&5
22284 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22285 (exit $ac_status); } && {
22286 test -z "$ac_c_werror_flag" ||
22287 test ! -s conftest.err
22288 } && test -s conftest.$ac_objext; then
22289 ac_header_compiler=yes
22291 echo "$as_me: failed program was
:" >&5
22292 sed 's/^/| /' conftest.$ac_ext >&5
22294 ac_header_compiler=no
22297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22298 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22299 echo "${ECHO_T}$ac_header_compiler" >&6; }
22301 # Is the header present?
22302 { echo "$as_me:$LINENO: checking
${OSS_DIR}/include
/soundcard.h presence
" >&5
22303 echo $ECHO_N "checking
${OSS_DIR}/include
/soundcard.h presence...
$ECHO_C" >&6; }
22304 cat >conftest.$ac_ext <<_ACEOF
22307 cat confdefs.h >>conftest.$ac_ext
22308 cat >>conftest.$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22310 #include <${OSS_DIR}/include/soundcard.h>
22312 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22313 case "(($ac_try" in
22314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22315 *) ac_try_echo=$ac_try;;
22317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22318 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22320 grep -v '^ *+' conftest.er1 >conftest.err
22322 cat conftest.err >&5
22323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22324 (exit $ac_status); } >/dev/null && {
22325 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22326 test ! -s conftest.err
22328 ac_header_preproc=yes
22330 echo "$as_me: failed program was
:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22333 ac_header_preproc=no
22336 rm -f conftest.err conftest.$ac_ext
22337 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22338 echo "${ECHO_T}$ac_header_preproc" >&6; }
22340 # So? What about this header?
22341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22343 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22344 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22345 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the compiler
's result" >&5
22346 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the compiler's result
" >&2;}
22347 ac_header_preproc=yes
22350 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: present but cannot be compiled
" >&5
22351 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: present but cannot be compiled
" >&2;}
22352 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: check
for missing prerequisite headers?
" >&5
22353 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
22354 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: see the Autoconf documentation
" >&5
22355 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: see the Autoconf documentation
" >&2;}
22356 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22357 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22358 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the preprocessor
's result" >&5
22359 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the preprocessor's result
" >&2;}
22360 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
22361 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
22365 { echo "$as_me:$LINENO: checking
for ${OSS_DIR}/include
/soundcard.h
" >&5
22366 echo $ECHO_N "checking
for ${OSS_DIR}/include
/soundcard.h...
$ECHO_C" >&6; }
22367 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22368 echo $ECHO_N "(cached
) $ECHO_C" >&6
22370 eval "$as_ac_Header=\
$ac_header_preproc"
22372 ac_res=`eval echo '${'$as_ac_Header'}'`
22373 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22374 echo "${ECHO_T}$ac_res" >&6; }
22377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22385 CPPFLAGS="${saved_cppflags}"
22387 if test "xsoundcard.h
" != "x
" ; then
22388 if test "${ac_cv_header_soundcard_h+set}" = set; then
22389 { echo "$as_me:$LINENO: checking
for soundcard.h
" >&5
22390 echo $ECHO_N "checking
for soundcard.h...
$ECHO_C" >&6; }
22391 if test "${ac_cv_header_soundcard_h+set}" = set; then
22392 echo $ECHO_N "(cached
) $ECHO_C" >&6
22394 { echo "$as_me:$LINENO: result
: $ac_cv_header_soundcard_h" >&5
22395 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
22397 # Is the header compilable?
22398 { echo "$as_me:$LINENO: checking soundcard.h usability
" >&5
22399 echo $ECHO_N "checking soundcard.h usability...
$ECHO_C" >&6; }
22400 cat >conftest.$ac_ext <<_ACEOF
22403 cat confdefs.h >>conftest.$ac_ext
22404 cat >>conftest.$ac_ext <<_ACEOF
22405 /* end confdefs.h. */
22406 $ac_includes_default
22407 #include <soundcard.h>
22409 rm -f conftest.$ac_objext
22410 if { (ac_try="$ac_compile"
22411 case "(($ac_try" in
22412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_compile") 2>conftest.er1
22418 grep -v '^ *+' conftest.er1 >conftest.err
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22422 (exit $ac_status); } && {
22423 test -z "$ac_c_werror_flag" ||
22424 test ! -s conftest.err
22425 } && test -s conftest.$ac_objext; then
22426 ac_header_compiler=yes
22428 echo "$as_me: failed program was
:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22431 ac_header_compiler=no
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22436 echo "${ECHO_T}$ac_header_compiler" >&6; }
22438 # Is the header present?
22439 { echo "$as_me:$LINENO: checking soundcard.h presence
" >&5
22440 echo $ECHO_N "checking soundcard.h presence...
$ECHO_C" >&6; }
22441 cat >conftest.$ac_ext <<_ACEOF
22444 cat confdefs.h >>conftest.$ac_ext
22445 cat >>conftest.$ac_ext <<_ACEOF
22446 /* end confdefs.h. */
22447 #include <soundcard.h>
22449 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22450 case "(($ac_try" in
22451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22452 *) ac_try_echo=$ac_try;;
22454 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22455 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22457 grep -v '^ *+' conftest.er1 >conftest.err
22459 cat conftest.err >&5
22460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22461 (exit $ac_status); } >/dev/null && {
22462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22463 test ! -s conftest.err
22465 ac_header_preproc=yes
22467 echo "$as_me: failed program was
:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22470 ac_header_preproc=no
22473 rm -f conftest.err conftest.$ac_ext
22474 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22475 echo "${ECHO_T}$ac_header_preproc" >&6; }
22477 # So? What about this header?
22478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22480 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22481 echo "$as_me: WARNING
: soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22482 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: proceeding with the compiler
's result" >&5
22483 echo "$as_me: WARNING: soundcard.h: proceeding with the compiler's result
" >&2;}
22484 ac_header_preproc=yes
22487 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: present but cannot be compiled
" >&5
22488 echo "$as_me: WARNING
: soundcard.h
: present but cannot be compiled
" >&2;}
22489 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: check
for missing prerequisite headers?
" >&5
22490 echo "$as_me: WARNING
: soundcard.h
: check
for missing prerequisite headers?
" >&2;}
22491 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: see the Autoconf documentation
" >&5
22492 echo "$as_me: WARNING
: soundcard.h
: see the Autoconf documentation
" >&2;}
22493 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22494 echo "$as_me: WARNING
: soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22495 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: proceeding with the preprocessor
's result" >&5
22496 echo "$as_me: WARNING: soundcard.h: proceeding with the preprocessor's result
" >&2;}
22497 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: in the future
, the compiler will take precedence
" >&5
22498 echo "$as_me: WARNING
: soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
22502 { echo "$as_me:$LINENO: checking
for soundcard.h
" >&5
22503 echo $ECHO_N "checking
for soundcard.h...
$ECHO_C" >&6; }
22504 if test "${ac_cv_header_soundcard_h+set}" = set; then
22505 echo $ECHO_N "(cached
) $ECHO_C" >&6
22507 ac_cv_header_soundcard_h=$ac_header_preproc
22509 { echo "$as_me:$LINENO: result
: $ac_cv_header_soundcard_h" >&5
22510 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
22513 if test $ac_cv_header_soundcard_h = yes; then
22522 if test "x
${OSS_HEADER_FOUND}" = "x0
" ; then
22523 if test ! -z "${OSS_MANDATORY}" ;
22525 { echo "$as_me:$LINENO: ***" >&5
22526 echo "$as_me: ***" >&6;}
22527 { echo "$as_me:$LINENO: *** It appears that you
do not have the ossaudio development package installed.
" >&5
22528 echo "$as_me: *** It appears that you
do not have the ossaudio development package installed.
" >&6;}
22529 { echo "$as_me:$LINENO: *** Please
install it to include
${OSS_DESCRIP} support
, or re-run configure
" >&5
22530 echo "$as_me: *** Please
install it to include
${OSS_DESCRIP} support
, or re-run configure
" >&6;}
22531 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSS_OPTION}" >&5
22532 echo "$as_me: *** without explicitly specifying
--with-${OSS_OPTION}" >&6;}
22541 cat >>confdefs.h <<_ACEOF
22546 elif test ! -z "${OSS_MANDATORY}";
22548 { echo "$as_me:$LINENO: ***" >&5
22549 echo "$as_me: ***" >&6;}
22550 { echo "$as_me:$LINENO: *** The
${OSS_DESCRIP} installation on this system appears to be broken.
" >&5
22551 echo "$as_me: *** The
${OSS_DESCRIP} installation on this system appears to be broken.
" >&6;}
22552 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22553 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22554 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSS_OPTION}" >&5
22555 echo "$as_me: *** without explicitly specifying
--with-${OSS_OPTION}" >&6;}
22563 if test "${USE_PGSQL}" != "no
"; then
22564 if test "x
${PGSQL_DIR}" != "x
"; then
22565 if test -n "$ac_tool_prefix"; then
22566 # Extract the first word of "${ac_tool_prefix}pg_config
", so it can be a program name with args.
22567 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
22568 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
22569 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
22570 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
22571 echo $ECHO_N "(cached
) $ECHO_C" >&6
22575 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
22578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22579 for as_dir in ${PGSQL_DIR}/bin
22582 test -z "$as_dir" && as_dir=.
22583 for ac_exec_ext in '' $ac_executable_extensions; do
22584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22585 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22586 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
22596 PG_CONFIG=$ac_cv_path_PG_CONFIG
22597 if test -n "$PG_CONFIG"; then
22598 { echo "$as_me:$LINENO: result
: $PG_CONFIG" >&5
22599 echo "${ECHO_T}$PG_CONFIG" >&6; }
22601 { echo "$as_me:$LINENO: result
: no
" >&5
22602 echo "${ECHO_T}no
" >&6; }
22607 if test -z "$ac_cv_path_PG_CONFIG"; then
22608 ac_pt_PG_CONFIG=$PG_CONFIG
22609 # Extract the first word of "pg_config
", so it can be a program name with args.
22610 set dummy pg_config; ac_word=$2
22611 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
22612 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
22613 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
22614 echo $ECHO_N "(cached
) $ECHO_C" >&6
22616 case $ac_pt_PG_CONFIG in
22618 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
22621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22622 for as_dir in ${PGSQL_DIR}/bin
22625 test -z "$as_dir" && as_dir=.
22626 for ac_exec_ext in '' $ac_executable_extensions; do
22627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22628 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22629 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
22639 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
22640 if test -n "$ac_pt_PG_CONFIG"; then
22641 { echo "$as_me:$LINENO: result
: $ac_pt_PG_CONFIG" >&5
22642 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
22644 { echo "$as_me:$LINENO: result
: no
" >&5
22645 echo "${ECHO_T}no
" >&6; }
22648 if test "x
$ac_pt_PG_CONFIG" = x; then
22651 case $cross_compiling:$ac_tool_warned in
22653 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
22654 whose name does not start with the
host triplet. If you think this
22655 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
22656 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
22657 whose name does not start with the
host triplet. If you think this
22658 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
22659 ac_tool_warned=yes ;;
22661 PG_CONFIG=$ac_pt_PG_CONFIG
22664 PG_CONFIG="$ac_cv_path_PG_CONFIG"
22667 if test x"${PG_CONFIG}" = xNo; then
22668 { echo "$as_me:$LINENO: ***" >&5
22669 echo "$as_me: ***" >&6;}
22670 { echo "$as_me:$LINENO: *** pg_config was not found
in the path you specified
:" >&5
22671 echo "$as_me: *** pg_config was not found
in the path you specified
:" >&6;}
22672 { echo "$as_me:$LINENO: *** ${PGSQL_DIR}/bin
" >&5
22673 echo "$as_me: *** ${PGSQL_DIR}/bin
" >&6;}
22674 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22675 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22676 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
22677 echo "$as_me: *** including
--without-postgres" >&6;}
22681 if test -n "$ac_tool_prefix"; then
22682 # Extract the first word of "${ac_tool_prefix}pg_config
", so it can be a program name with args.
22683 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
22684 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
22685 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
22686 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
22687 echo $ECHO_N "(cached
) $ECHO_C" >&6
22691 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
22694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22695 for as_dir in $PATH
22698 test -z "$as_dir" && as_dir=.
22699 for ac_exec_ext in '' $ac_executable_extensions; do
22700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22701 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22702 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
22712 PG_CONFIG=$ac_cv_path_PG_CONFIG
22713 if test -n "$PG_CONFIG"; then
22714 { echo "$as_me:$LINENO: result
: $PG_CONFIG" >&5
22715 echo "${ECHO_T}$PG_CONFIG" >&6; }
22717 { echo "$as_me:$LINENO: result
: no
" >&5
22718 echo "${ECHO_T}no
" >&6; }
22723 if test -z "$ac_cv_path_PG_CONFIG"; then
22724 ac_pt_PG_CONFIG=$PG_CONFIG
22725 # Extract the first word of "pg_config
", so it can be a program name with args.
22726 set dummy pg_config; ac_word=$2
22727 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
22728 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
22729 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
22730 echo $ECHO_N "(cached
) $ECHO_C" >&6
22732 case $ac_pt_PG_CONFIG in
22734 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
22737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22738 for as_dir in $PATH
22741 test -z "$as_dir" && as_dir=.
22742 for ac_exec_ext in '' $ac_executable_extensions; do
22743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22744 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22745 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
22755 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
22756 if test -n "$ac_pt_PG_CONFIG"; then
22757 { echo "$as_me:$LINENO: result
: $ac_pt_PG_CONFIG" >&5
22758 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
22760 { echo "$as_me:$LINENO: result
: no
" >&5
22761 echo "${ECHO_T}no
" >&6; }
22764 if test "x
$ac_pt_PG_CONFIG" = x; then
22767 case $cross_compiling:$ac_tool_warned in
22769 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
22770 whose name does not start with the
host triplet. If you think this
22771 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
22772 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
22773 whose name does not start with the
host triplet. If you think this
22774 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
22775 ac_tool_warned=yes ;;
22777 PG_CONFIG=$ac_pt_PG_CONFIG
22780 PG_CONFIG="$ac_cv_path_PG_CONFIG"
22785 if test "${PG_CONFIG}" != No; then
22786 PGSQL_libdir=`${PG_CONFIG} --libdir`
22787 PGSQL_includedir=`${PG_CONFIG} --includedir`
22789 { echo "$as_me:$LINENO: checking
for PQexec
in -lpq" >&5
22790 echo $ECHO_N "checking
for PQexec
in -lpq...
$ECHO_C" >&6; }
22791 if test "${ac_cv_lib_pq_PQexec+set}" = set; then
22792 echo $ECHO_N "(cached
) $ECHO_C" >&6
22794 ac_check_lib_save_LIBS=$LIBS
22795 LIBS="-lpq -L${PGSQL_libdir} -lz $LIBS"
22796 cat >conftest.$ac_ext <<_ACEOF
22799 cat confdefs.h >>conftest.$ac_ext
22800 cat >>conftest.$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22803 /* Override any GCC internal prototype to avoid an error.
22804 Use char because int might match the return type of a GCC
22805 builtin and then its argument prototype would still apply. */
22818 rm -f conftest.$ac_objext conftest$ac_exeext
22819 if { (ac_try="$ac_link"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_link") 2>conftest.er1
22827 grep -v '^ *+' conftest.er1 >conftest.err
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_c_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest$ac_exeext &&
22835 $as_test_x conftest$ac_exeext; then
22836 ac_cv_lib_pq_PQexec=yes
22838 echo "$as_me: failed program was
:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22841 ac_cv_lib_pq_PQexec=no
22844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22845 conftest$ac_exeext conftest.$ac_ext
22846 LIBS=$ac_check_lib_save_LIBS
22848 { echo "$as_me:$LINENO: result
: $ac_cv_lib_pq_PQexec" >&5
22849 echo "${ECHO_T}$ac_cv_lib_pq_PQexec" >&6; }
22850 if test $ac_cv_lib_pq_PQexec = yes; then
22852 cat >>confdefs.h <<_ACEOF
22853 #define HAVE_PGSQL 1
22859 if test "${ac_cv_lib_pq_PQexec}" = "yes"; then
22860 PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz"
22861 PGSQL_INCLUDE="-I${PGSQL_includedir}"
22863 elif test ! -z "${PGSQL_MANDATORY}";
22865 { echo "$as_me:$LINENO: ***" >&5
22866 echo "$as_me: ***" >&6;}
22867 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
22868 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
22869 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22870 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22871 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
22872 echo "$as_me: *** including
--without-postgres" >&6;}
22875 elif test ! -z "${PGSQL_MANDATORY}";
22877 { echo "$as_me:$LINENO: ***" >&5
22878 echo "$as_me: ***" >&6;}
22879 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
22880 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
22881 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22882 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22883 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
22884 echo "$as_me: *** including
--without-postgres" >&6;}
22889 if test "${USE_POPT}" != "no
"; then
22891 if test "x
${POPT_DIR}" != "x
"; then
22892 if test -d ${POPT_DIR}/lib; then
22893 pbxlibdir="-L${POPT_DIR}/lib
"
22895 pbxlibdir="-L${POPT_DIR}"
22898 { echo "$as_me:$LINENO: checking
for poptStrerror
in -lpopt" >&5
22899 echo $ECHO_N "checking
for poptStrerror
in -lpopt...
$ECHO_C" >&6; }
22900 if test "${ac_cv_lib_popt_poptStrerror+set}" = set; then
22901 echo $ECHO_N "(cached
) $ECHO_C" >&6
22903 ac_check_lib_save_LIBS=$LIBS
22904 LIBS="-lpopt ${pbxlibdir} $LIBS"
22905 cat >conftest.$ac_ext <<_ACEOF
22908 cat confdefs.h >>conftest.$ac_ext
22909 cat >>conftest.$ac_ext <<_ACEOF
22910 /* end confdefs.h. */
22912 /* Override any GCC internal prototype to avoid an error.
22913 Use char because int might match the return type of a GCC
22914 builtin and then its argument prototype would still apply. */
22918 char poptStrerror ();
22922 return poptStrerror ();
22927 rm -f conftest.$ac_objext conftest$ac_exeext
22928 if { (ac_try="$ac_link"
22929 case "(($ac_try" in
22930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931 *) ac_try_echo=$ac_try;;
22933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22934 (eval "$ac_link") 2>conftest.er1
22936 grep -v '^ *+' conftest.er1 >conftest.err
22938 cat conftest.err >&5
22939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22940 (exit $ac_status); } && {
22941 test -z "$ac_c_werror_flag" ||
22942 test ! -s conftest.err
22943 } && test -s conftest$ac_exeext &&
22944 $as_test_x conftest$ac_exeext; then
22945 ac_cv_lib_popt_poptStrerror=yes
22947 echo "$as_me: failed program was
:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22950 ac_cv_lib_popt_poptStrerror=no
22953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22954 conftest$ac_exeext conftest.$ac_ext
22955 LIBS=$ac_check_lib_save_LIBS
22957 { echo "$as_me:$LINENO: result
: $ac_cv_lib_popt_poptStrerror" >&5
22958 echo "${ECHO_T}$ac_cv_lib_popt_poptStrerror" >&6; }
22959 if test $ac_cv_lib_popt_poptStrerror = yes; then
22966 if test "${AST_POPT_FOUND}" = "yes"; then
22968 POPT_HEADER_FOUND="1"
22969 if test "x
${POPT_DIR}" != "x
"; then
22970 POPT_LIB="${pbxlibdir} ${POPT_LIB}"
22971 POPT_INCLUDE="-I${POPT_DIR}/include
"
22972 saved_cppflags="${CPPFLAGS}"
22973 CPPFLAGS="${CPPFLAGS} -I${POPT_DIR}/include
"
22974 if test "xpopt.h
" != "x
" ; then
22975 as_ac_Header=`echo "ac_cv_header_
${POPT_DIR}/include
/popt.h
" | $as_tr_sh`
22976 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22977 { echo "$as_me:$LINENO: checking
for ${POPT_DIR}/include
/popt.h
" >&5
22978 echo $ECHO_N "checking
for ${POPT_DIR}/include
/popt.h...
$ECHO_C" >&6; }
22979 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22980 echo $ECHO_N "(cached
) $ECHO_C" >&6
22982 ac_res=`eval echo '${'$as_ac_Header'}'`
22983 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22984 echo "${ECHO_T}$ac_res" >&6; }
22986 # Is the header compilable?
22987 { echo "$as_me:$LINENO: checking
${POPT_DIR}/include
/popt.h usability
" >&5
22988 echo $ECHO_N "checking
${POPT_DIR}/include
/popt.h usability...
$ECHO_C" >&6; }
22989 cat >conftest.$ac_ext <<_ACEOF
22992 cat confdefs.h >>conftest.$ac_ext
22993 cat >>conftest.$ac_ext <<_ACEOF
22994 /* end confdefs.h. */
22995 $ac_includes_default
22996 #include <${POPT_DIR}/include/popt.h>
22998 rm -f conftest.$ac_objext
22999 if { (ac_try="$ac_compile"
23000 case "(($ac_try" in
23001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23002 *) ac_try_echo=$ac_try;;
23004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23005 (eval "$ac_compile") 2>conftest.er1
23007 grep -v '^ *+' conftest.er1 >conftest.err
23009 cat conftest.err >&5
23010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23011 (exit $ac_status); } && {
23012 test -z "$ac_c_werror_flag" ||
23013 test ! -s conftest.err
23014 } && test -s conftest.$ac_objext; then
23015 ac_header_compiler=yes
23017 echo "$as_me: failed program was
:" >&5
23018 sed 's/^/| /' conftest.$ac_ext >&5
23020 ac_header_compiler=no
23023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23024 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23025 echo "${ECHO_T}$ac_header_compiler" >&6; }
23027 # Is the header present?
23028 { echo "$as_me:$LINENO: checking
${POPT_DIR}/include
/popt.h presence
" >&5
23029 echo $ECHO_N "checking
${POPT_DIR}/include
/popt.h presence...
$ECHO_C" >&6; }
23030 cat >conftest.$ac_ext <<_ACEOF
23033 cat confdefs.h >>conftest.$ac_ext
23034 cat >>conftest.$ac_ext <<_ACEOF
23035 /* end confdefs.h. */
23036 #include <${POPT_DIR}/include/popt.h>
23038 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23039 case "(($ac_try" in
23040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23041 *) ac_try_echo=$ac_try;;
23043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23044 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23046 grep -v '^ *+' conftest.er1 >conftest.err
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23050 (exit $ac_status); } >/dev/null && {
23051 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23052 test ! -s conftest.err
23054 ac_header_preproc=yes
23056 echo "$as_me: failed program was
:" >&5
23057 sed 's/^/| /' conftest.$ac_ext >&5
23059 ac_header_preproc=no
23062 rm -f conftest.err conftest.$ac_ext
23063 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23064 echo "${ECHO_T}$ac_header_preproc" >&6; }
23066 # So? What about this header?
23067 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23069 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23070 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23071 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the compiler
's result" >&5
23072 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the compiler's result
" >&2;}
23073 ac_header_preproc=yes
23076 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: present but cannot be compiled
" >&5
23077 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: present but cannot be compiled
" >&2;}
23078 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: check
for missing prerequisite headers?
" >&5
23079 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: check
for missing prerequisite headers?
" >&2;}
23080 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: see the Autoconf documentation
" >&5
23081 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: see the Autoconf documentation
" >&2;}
23082 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23083 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23084 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the preprocessor
's result" >&5
23085 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the preprocessor's result
" >&2;}
23086 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: in the future
, the compiler will take precedence
" >&5
23087 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: in the future
, the compiler will take precedence
" >&2;}
23091 { echo "$as_me:$LINENO: checking
for ${POPT_DIR}/include
/popt.h
" >&5
23092 echo $ECHO_N "checking
for ${POPT_DIR}/include
/popt.h...
$ECHO_C" >&6; }
23093 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23094 echo $ECHO_N "(cached
) $ECHO_C" >&6
23096 eval "$as_ac_Header=\
$ac_header_preproc"
23098 ac_res=`eval echo '${'$as_ac_Header'}'`
23099 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23100 echo "${ECHO_T}$ac_res" >&6; }
23103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23104 POPT_HEADER_FOUND=1
23106 POPT_HEADER_FOUND=0
23111 CPPFLAGS="${saved_cppflags}"
23113 if test "xpopt.h
" != "x
" ; then
23114 if test "${ac_cv_header_popt_h+set}" = set; then
23115 { echo "$as_me:$LINENO: checking
for popt.h
" >&5
23116 echo $ECHO_N "checking
for popt.h...
$ECHO_C" >&6; }
23117 if test "${ac_cv_header_popt_h+set}" = set; then
23118 echo $ECHO_N "(cached
) $ECHO_C" >&6
23120 { echo "$as_me:$LINENO: result
: $ac_cv_header_popt_h" >&5
23121 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
23123 # Is the header compilable?
23124 { echo "$as_me:$LINENO: checking popt.h usability
" >&5
23125 echo $ECHO_N "checking popt.h usability...
$ECHO_C" >&6; }
23126 cat >conftest.$ac_ext <<_ACEOF
23129 cat confdefs.h >>conftest.$ac_ext
23130 cat >>conftest.$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132 $ac_includes_default
23135 rm -f conftest.$ac_objext
23136 if { (ac_try="$ac_compile"
23137 case "(($ac_try" in
23138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23139 *) ac_try_echo=$ac_try;;
23141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23142 (eval "$ac_compile") 2>conftest.er1
23144 grep -v '^ *+' conftest.er1 >conftest.err
23146 cat conftest.err >&5
23147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23148 (exit $ac_status); } && {
23149 test -z "$ac_c_werror_flag" ||
23150 test ! -s conftest.err
23151 } && test -s conftest.$ac_objext; then
23152 ac_header_compiler=yes
23154 echo "$as_me: failed program was
:" >&5
23155 sed 's/^/| /' conftest.$ac_ext >&5
23157 ac_header_compiler=no
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23162 echo "${ECHO_T}$ac_header_compiler" >&6; }
23164 # Is the header present?
23165 { echo "$as_me:$LINENO: checking popt.h presence
" >&5
23166 echo $ECHO_N "checking popt.h presence...
$ECHO_C" >&6; }
23167 cat >conftest.$ac_ext <<_ACEOF
23170 cat confdefs.h >>conftest.$ac_ext
23171 cat >>conftest.$ac_ext <<_ACEOF
23172 /* end confdefs.h. */
23175 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23176 case "(($ac_try" in
23177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23178 *) ac_try_echo=$ac_try;;
23180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23181 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23183 grep -v '^ *+' conftest.er1 >conftest.err
23185 cat conftest.err >&5
23186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23187 (exit $ac_status); } >/dev/null && {
23188 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23189 test ! -s conftest.err
23191 ac_header_preproc=yes
23193 echo "$as_me: failed program was
:" >&5
23194 sed 's/^/| /' conftest.$ac_ext >&5
23196 ac_header_preproc=no
23199 rm -f conftest.err conftest.$ac_ext
23200 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23201 echo "${ECHO_T}$ac_header_preproc" >&6; }
23203 # So? What about this header?
23204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23206 { echo "$as_me:$LINENO: WARNING
: popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23207 echo "$as_me: WARNING
: popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23208 { echo "$as_me:$LINENO: WARNING
: popt.h
: proceeding with the compiler
's result" >&5
23209 echo "$as_me: WARNING: popt.h: proceeding with the compiler's result
" >&2;}
23210 ac_header_preproc=yes
23213 { echo "$as_me:$LINENO: WARNING
: popt.h
: present but cannot be compiled
" >&5
23214 echo "$as_me: WARNING
: popt.h
: present but cannot be compiled
" >&2;}
23215 { echo "$as_me:$LINENO: WARNING
: popt.h
: check
for missing prerequisite headers?
" >&5
23216 echo "$as_me: WARNING
: popt.h
: check
for missing prerequisite headers?
" >&2;}
23217 { echo "$as_me:$LINENO: WARNING
: popt.h
: see the Autoconf documentation
" >&5
23218 echo "$as_me: WARNING
: popt.h
: see the Autoconf documentation
" >&2;}
23219 { echo "$as_me:$LINENO: WARNING
: popt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23220 echo "$as_me: WARNING
: popt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23221 { echo "$as_me:$LINENO: WARNING
: popt.h
: proceeding with the preprocessor
's result" >&5
23222 echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result
" >&2;}
23223 { echo "$as_me:$LINENO: WARNING
: popt.h
: in the future
, the compiler will take precedence
" >&5
23224 echo "$as_me: WARNING
: popt.h
: in the future
, the compiler will take precedence
" >&2;}
23228 { echo "$as_me:$LINENO: checking
for popt.h
" >&5
23229 echo $ECHO_N "checking
for popt.h...
$ECHO_C" >&6; }
23230 if test "${ac_cv_header_popt_h+set}" = set; then
23231 echo $ECHO_N "(cached
) $ECHO_C" >&6
23233 ac_cv_header_popt_h=$ac_header_preproc
23235 { echo "$as_me:$LINENO: result
: $ac_cv_header_popt_h" >&5
23236 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
23239 if test $ac_cv_header_popt_h = yes; then
23240 POPT_HEADER_FOUND=1
23242 POPT_HEADER_FOUND=0
23248 if test "x
${POPT_HEADER_FOUND}" = "x0
" ; then
23249 if test ! -z "${POPT_MANDATORY}" ;
23251 { echo "$as_me:$LINENO: ***" >&5
23252 echo "$as_me: ***" >&6;}
23253 { echo "$as_me:$LINENO: *** It appears that you
do not have the popt development package installed.
" >&5
23254 echo "$as_me: *** It appears that you
do not have the popt development package installed.
" >&6;}
23255 { echo "$as_me:$LINENO: *** Please
install it to include
${POPT_DESCRIP} support
, or re-run configure
" >&5
23256 echo "$as_me: *** Please
install it to include
${POPT_DESCRIP} support
, or re-run configure
" >&6;}
23257 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${POPT_OPTION}" >&5
23258 echo "$as_me: *** without explicitly specifying
--with-${POPT_OPTION}" >&6;}
23267 cat >>confdefs.h <<_ACEOF
23268 #define HAVE_POPT 1
23272 elif test ! -z "${POPT_MANDATORY}";
23274 { echo "$as_me:$LINENO: ***" >&5
23275 echo "$as_me: ***" >&6;}
23276 { echo "$as_me:$LINENO: *** The
${POPT_DESCRIP} installation on this system appears to be broken.
" >&5
23277 echo "$as_me: *** The
${POPT_DESCRIP} installation on this system appears to be broken.
" >&6;}
23278 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23279 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23280 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${POPT_OPTION}" >&5
23281 echo "$as_me: *** without explicitly specifying
--with-${POPT_OPTION}" >&6;}
23288 if test "${USE_PRI}" != "no
"; then
23290 if test "x
${PRI_DIR}" != "x
"; then
23291 if test -d ${PRI_DIR}/lib; then
23292 pbxlibdir="-L${PRI_DIR}/lib
"
23294 pbxlibdir="-L${PRI_DIR}"
23297 { echo "$as_me:$LINENO: checking
for pri_call
in -lpri" >&5
23298 echo $ECHO_N "checking
for pri_call
in -lpri...
$ECHO_C" >&6; }
23299 if test "${ac_cv_lib_pri_pri_call+set}" = set; then
23300 echo $ECHO_N "(cached
) $ECHO_C" >&6
23302 ac_check_lib_save_LIBS=$LIBS
23303 LIBS="-lpri ${pbxlibdir} $LIBS"
23304 cat >conftest.$ac_ext <<_ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23311 /* Override any GCC internal prototype to avoid an error.
23312 Use char because int might match the return type of a GCC
23313 builtin and then its argument prototype would still apply. */
23321 return pri_call ();
23326 rm -f conftest.$ac_objext conftest$ac_exeext
23327 if { (ac_try="$ac_link"
23328 case "(($ac_try" in
23329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23330 *) ac_try_echo=$ac_try;;
23332 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23333 (eval "$ac_link") 2>conftest.er1
23335 grep -v '^ *+' conftest.er1 >conftest.err
23337 cat conftest.err >&5
23338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23339 (exit $ac_status); } && {
23340 test -z "$ac_c_werror_flag" ||
23341 test ! -s conftest.err
23342 } && test -s conftest$ac_exeext &&
23343 $as_test_x conftest$ac_exeext; then
23344 ac_cv_lib_pri_pri_call=yes
23346 echo "$as_me: failed program was
:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23349 ac_cv_lib_pri_pri_call=no
23352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23353 conftest$ac_exeext conftest.$ac_ext
23354 LIBS=$ac_check_lib_save_LIBS
23356 { echo "$as_me:$LINENO: result
: $ac_cv_lib_pri_pri_call" >&5
23357 echo "${ECHO_T}$ac_cv_lib_pri_pri_call" >&6; }
23358 if test $ac_cv_lib_pri_pri_call = yes; then
23365 if test "${AST_PRI_FOUND}" = "yes"; then
23367 PRI_HEADER_FOUND="1"
23368 if test "x
${PRI_DIR}" != "x
"; then
23369 PRI_LIB="${pbxlibdir} ${PRI_LIB}"
23370 PRI_INCLUDE="-I${PRI_DIR}/include
"
23371 saved_cppflags="${CPPFLAGS}"
23372 CPPFLAGS="${CPPFLAGS} -I${PRI_DIR}/include
"
23373 if test "xlibpri.h
" != "x
" ; then
23374 as_ac_Header=`echo "ac_cv_header_
${PRI_DIR}/include
/libpri.h
" | $as_tr_sh`
23375 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23376 { echo "$as_me:$LINENO: checking
for ${PRI_DIR}/include
/libpri.h
" >&5
23377 echo $ECHO_N "checking
for ${PRI_DIR}/include
/libpri.h...
$ECHO_C" >&6; }
23378 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23379 echo $ECHO_N "(cached
) $ECHO_C" >&6
23381 ac_res=`eval echo '${'$as_ac_Header'}'`
23382 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23383 echo "${ECHO_T}$ac_res" >&6; }
23385 # Is the header compilable?
23386 { echo "$as_me:$LINENO: checking
${PRI_DIR}/include
/libpri.h usability
" >&5
23387 echo $ECHO_N "checking
${PRI_DIR}/include
/libpri.h usability...
$ECHO_C" >&6; }
23388 cat >conftest.$ac_ext <<_ACEOF
23391 cat confdefs.h >>conftest.$ac_ext
23392 cat >>conftest.$ac_ext <<_ACEOF
23393 /* end confdefs.h. */
23394 $ac_includes_default
23395 #include <${PRI_DIR}/include/libpri.h>
23397 rm -f conftest.$ac_objext
23398 if { (ac_try="$ac_compile"
23399 case "(($ac_try" in
23400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23401 *) ac_try_echo=$ac_try;;
23403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23404 (eval "$ac_compile") 2>conftest.er1
23406 grep -v '^ *+' conftest.er1 >conftest.err
23408 cat conftest.err >&5
23409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23410 (exit $ac_status); } && {
23411 test -z "$ac_c_werror_flag" ||
23412 test ! -s conftest.err
23413 } && test -s conftest.$ac_objext; then
23414 ac_header_compiler=yes
23416 echo "$as_me: failed program was
:" >&5
23417 sed 's/^/| /' conftest.$ac_ext >&5
23419 ac_header_compiler=no
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23423 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23424 echo "${ECHO_T}$ac_header_compiler" >&6; }
23426 # Is the header present?
23427 { echo "$as_me:$LINENO: checking
${PRI_DIR}/include
/libpri.h presence
" >&5
23428 echo $ECHO_N "checking
${PRI_DIR}/include
/libpri.h presence...
$ECHO_C" >&6; }
23429 cat >conftest.$ac_ext <<_ACEOF
23432 cat confdefs.h >>conftest.$ac_ext
23433 cat >>conftest.$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23435 #include <${PRI_DIR}/include/libpri.h>
23437 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23438 case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23445 grep -v '^ *+' conftest.er1 >conftest.err
23447 cat conftest.err >&5
23448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23449 (exit $ac_status); } >/dev/null && {
23450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23453 ac_header_preproc=yes
23455 echo "$as_me: failed program was
:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23458 ac_header_preproc=no
23461 rm -f conftest.err conftest.$ac_ext
23462 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23463 echo "${ECHO_T}$ac_header_preproc" >&6; }
23465 # So? What about this header?
23466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23468 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23469 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23470 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the compiler
's result" >&5
23471 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the compiler's result
" >&2;}
23472 ac_header_preproc=yes
23475 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: present but cannot be compiled
" >&5
23476 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: present but cannot be compiled
" >&2;}
23477 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: check
for missing prerequisite headers?
" >&5
23478 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: check
for missing prerequisite headers?
" >&2;}
23479 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: see the Autoconf documentation
" >&5
23480 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: see the Autoconf documentation
" >&2;}
23481 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23482 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23483 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the preprocessor
's result" >&5
23484 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the preprocessor's result
" >&2;}
23485 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: in the future
, the compiler will take precedence
" >&5
23486 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: in the future
, the compiler will take precedence
" >&2;}
23490 { echo "$as_me:$LINENO: checking
for ${PRI_DIR}/include
/libpri.h
" >&5
23491 echo $ECHO_N "checking
for ${PRI_DIR}/include
/libpri.h...
$ECHO_C" >&6; }
23492 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23493 echo $ECHO_N "(cached
) $ECHO_C" >&6
23495 eval "$as_ac_Header=\
$ac_header_preproc"
23497 ac_res=`eval echo '${'$as_ac_Header'}'`
23498 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23499 echo "${ECHO_T}$ac_res" >&6; }
23502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23510 CPPFLAGS="${saved_cppflags}"
23512 if test "xlibpri.h
" != "x
" ; then
23513 if test "${ac_cv_header_libpri_h+set}" = set; then
23514 { echo "$as_me:$LINENO: checking
for libpri.h
" >&5
23515 echo $ECHO_N "checking
for libpri.h...
$ECHO_C" >&6; }
23516 if test "${ac_cv_header_libpri_h+set}" = set; then
23517 echo $ECHO_N "(cached
) $ECHO_C" >&6
23519 { echo "$as_me:$LINENO: result
: $ac_cv_header_libpri_h" >&5
23520 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
23522 # Is the header compilable?
23523 { echo "$as_me:$LINENO: checking libpri.h usability
" >&5
23524 echo $ECHO_N "checking libpri.h usability...
$ECHO_C" >&6; }
23525 cat >conftest.$ac_ext <<_ACEOF
23528 cat confdefs.h >>conftest.$ac_ext
23529 cat >>conftest.$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23531 $ac_includes_default
23532 #include <libpri.h>
23534 rm -f conftest.$ac_objext
23535 if { (ac_try="$ac_compile"
23536 case "(($ac_try" in
23537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23538 *) ac_try_echo=$ac_try;;
23540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23541 (eval "$ac_compile") 2>conftest.er1
23543 grep -v '^ *+' conftest.er1 >conftest.err
23545 cat conftest.err >&5
23546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23547 (exit $ac_status); } && {
23548 test -z "$ac_c_werror_flag" ||
23549 test ! -s conftest.err
23550 } && test -s conftest.$ac_objext; then
23551 ac_header_compiler=yes
23553 echo "$as_me: failed program was
:" >&5
23554 sed 's/^/| /' conftest.$ac_ext >&5
23556 ac_header_compiler=no
23559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23560 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23561 echo "${ECHO_T}$ac_header_compiler" >&6; }
23563 # Is the header present?
23564 { echo "$as_me:$LINENO: checking libpri.h presence
" >&5
23565 echo $ECHO_N "checking libpri.h presence...
$ECHO_C" >&6; }
23566 cat >conftest.$ac_ext <<_ACEOF
23569 cat confdefs.h >>conftest.$ac_ext
23570 cat >>conftest.$ac_ext <<_ACEOF
23571 /* end confdefs.h. */
23572 #include <libpri.h>
23574 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23575 case "(($ac_try" in
23576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23577 *) ac_try_echo=$ac_try;;
23579 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23580 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23582 grep -v '^ *+' conftest.er1 >conftest.err
23584 cat conftest.err >&5
23585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23586 (exit $ac_status); } >/dev/null && {
23587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23588 test ! -s conftest.err
23590 ac_header_preproc=yes
23592 echo "$as_me: failed program was
:" >&5
23593 sed 's/^/| /' conftest.$ac_ext >&5
23595 ac_header_preproc=no
23598 rm -f conftest.err conftest.$ac_ext
23599 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23600 echo "${ECHO_T}$ac_header_preproc" >&6; }
23602 # So? What about this header?
23603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23605 { echo "$as_me:$LINENO: WARNING
: libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23606 echo "$as_me: WARNING
: libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23607 { echo "$as_me:$LINENO: WARNING
: libpri.h
: proceeding with the compiler
's result" >&5
23608 echo "$as_me: WARNING: libpri.h: proceeding with the compiler's result
" >&2;}
23609 ac_header_preproc=yes
23612 { echo "$as_me:$LINENO: WARNING
: libpri.h
: present but cannot be compiled
" >&5
23613 echo "$as_me: WARNING
: libpri.h
: present but cannot be compiled
" >&2;}
23614 { echo "$as_me:$LINENO: WARNING
: libpri.h
: check
for missing prerequisite headers?
" >&5
23615 echo "$as_me: WARNING
: libpri.h
: check
for missing prerequisite headers?
" >&2;}
23616 { echo "$as_me:$LINENO: WARNING
: libpri.h
: see the Autoconf documentation
" >&5
23617 echo "$as_me: WARNING
: libpri.h
: see the Autoconf documentation
" >&2;}
23618 { echo "$as_me:$LINENO: WARNING
: libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23619 echo "$as_me: WARNING
: libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23620 { echo "$as_me:$LINENO: WARNING
: libpri.h
: proceeding with the preprocessor
's result" >&5
23621 echo "$as_me: WARNING: libpri.h: proceeding with the preprocessor's result
" >&2;}
23622 { echo "$as_me:$LINENO: WARNING
: libpri.h
: in the future
, the compiler will take precedence
" >&5
23623 echo "$as_me: WARNING
: libpri.h
: in the future
, the compiler will take precedence
" >&2;}
23627 { echo "$as_me:$LINENO: checking
for libpri.h
" >&5
23628 echo $ECHO_N "checking
for libpri.h...
$ECHO_C" >&6; }
23629 if test "${ac_cv_header_libpri_h+set}" = set; then
23630 echo $ECHO_N "(cached
) $ECHO_C" >&6
23632 ac_cv_header_libpri_h=$ac_header_preproc
23634 { echo "$as_me:$LINENO: result
: $ac_cv_header_libpri_h" >&5
23635 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
23638 if test $ac_cv_header_libpri_h = yes; then
23647 if test "x
${PRI_HEADER_FOUND}" = "x0
" ; then
23648 if test ! -z "${PRI_MANDATORY}" ;
23650 { echo "$as_me:$LINENO: ***" >&5
23651 echo "$as_me: ***" >&6;}
23652 { echo "$as_me:$LINENO: *** It appears that you
do not have the pri development package installed.
" >&5
23653 echo "$as_me: *** It appears that you
do not have the pri development package installed.
" >&6;}
23654 { echo "$as_me:$LINENO: *** Please
install it to include
${PRI_DESCRIP} support
, or re-run configure
" >&5
23655 echo "$as_me: *** Please
install it to include
${PRI_DESCRIP} support
, or re-run configure
" >&6;}
23656 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${PRI_OPTION}" >&5
23657 echo "$as_me: *** without explicitly specifying
--with-${PRI_OPTION}" >&6;}
23666 cat >>confdefs.h <<_ACEOF
23671 elif test ! -z "${PRI_MANDATORY}";
23673 { echo "$as_me:$LINENO: ***" >&5
23674 echo "$as_me: ***" >&6;}
23675 { echo "$as_me:$LINENO: *** The
${PRI_DESCRIP} installation on this system appears to be broken.
" >&5
23676 echo "$as_me: *** The
${PRI_DESCRIP} installation on this system appears to be broken.
" >&6;}
23677 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23678 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23679 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${PRI_OPTION}" >&5
23680 echo "$as_me: *** without explicitly specifying
--with-${PRI_OPTION}" >&6;}
23686 if test "${USE_PWLIB}" != "no
"; then
23687 if test ! -z "${PWLIB_DIR}"; then
23688 PWLIBDIR="${PWLIB_DIR}"
23693 if test "${PWLIBDIR:-unset}" != "unset" ; then
23694 as_ac_File=`echo "ac_cv_file_
${PWLIBDIR}/version.h
" | $as_tr_sh`
23695 { echo "$as_me:$LINENO: checking
for ${PWLIBDIR}/version.h
" >&5
23696 echo $ECHO_N "checking
for ${PWLIBDIR}/version.h...
$ECHO_C" >&6; }
23697 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
23698 echo $ECHO_N "(cached
) $ECHO_C" >&6
23700 test "$cross_compiling" = yes &&
23701 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
23702 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
23703 { (exit 1); exit 1; }; }
23704 if test -r "${PWLIBDIR}/version.h
"; then
23705 eval "$as_ac_File=yes"
23707 eval "$as_ac_File=no
"
23710 ac_res=`eval echo '${'$as_ac_File'}'`
23711 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23712 echo "${ECHO_T}$ac_res" >&6; }
23713 if test `eval echo '${'$as_ac_File'}'` = yes; then
23718 if test "${HAS_PWLIB:-unset}" = "unset" ; then
23719 if test "${OPENH323DIR:-unset}" != "unset"; then
23720 as_ac_File=`echo "ac_cv_file_
${OPENH323DIR}/..
/pwlib
/version.h
" | $as_tr_sh`
23721 { echo "$as_me:$LINENO: checking
for ${OPENH323DIR}/..
/pwlib
/version.h
" >&5
23722 echo $ECHO_N "checking
for ${OPENH323DIR}/..
/pwlib
/version.h...
$ECHO_C" >&6; }
23723 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
23724 echo $ECHO_N "(cached
) $ECHO_C" >&6
23726 test "$cross_compiling" = yes &&
23727 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
23728 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
23729 { (exit 1); exit 1; }; }
23730 if test -r "${OPENH323DIR}/..
/pwlib
/version.h
"; then
23731 eval "$as_ac_File=yes"
23733 eval "$as_ac_File=no
"
23736 ac_res=`eval echo '${'$as_ac_File'}'`
23737 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23738 echo "${ECHO_T}$ac_res" >&6; }
23739 if test `eval echo '${'$as_ac_File'}'` = yes; then
23744 if test "${HAS_PWLIB:-unset}" != "unset" ; then
23745 PWLIBDIR="${OPENH323DIR}/..
/pwlib
"
23747 as_ac_File=`echo "ac_cv_file_
${HOME}/pwlib
/include
/ptlib.h
" | $as_tr_sh`
23748 { echo "$as_me:$LINENO: checking
for ${HOME}/pwlib
/include
/ptlib.h
" >&5
23749 echo $ECHO_N "checking
for ${HOME}/pwlib
/include
/ptlib.h...
$ECHO_C" >&6; }
23750 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
23751 echo $ECHO_N "(cached
) $ECHO_C" >&6
23753 test "$cross_compiling" = yes &&
23754 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
23755 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
23756 { (exit 1); exit 1; }; }
23757 if test -r "${HOME}/pwlib
/include
/ptlib.h
"; then
23758 eval "$as_ac_File=yes"
23760 eval "$as_ac_File=no
"
23763 ac_res=`eval echo '${'$as_ac_File'}'`
23764 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23765 echo "${ECHO_T}$ac_res" >&6; }
23766 if test `eval echo '${'$as_ac_File'}'` = yes; then
23770 if test "${HAS_PWLIB:-unset}" != "unset" ; then
23771 PWLIBDIR="${HOME}/pwlib
"
23773 { echo "$as_me:$LINENO: checking
for /usr
/local
/include
/ptlib.h
" >&5
23774 echo $ECHO_N "checking
for /usr
/local
/include
/ptlib.h...
$ECHO_C" >&6; }
23775 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
23776 echo $ECHO_N "(cached
) $ECHO_C" >&6
23778 test "$cross_compiling" = yes &&
23779 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
23780 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
23781 { (exit 1); exit 1; }; }
23782 if test -r "/usr
/local
/include
/ptlib.h
"; then
23783 ac_cv_file__usr_local_include_ptlib_h=yes
23785 ac_cv_file__usr_local_include_ptlib_h=no
23788 { echo "$as_me:$LINENO: result
: $ac_cv_file__usr_local_include_ptlib_h" >&5
23789 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6; }
23790 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
23794 if test "${HAS_PWLIB:-unset}" != "unset" ; then
23795 # Extract the first word of "ptlib-config
", so it can be a program name with args.
23796 set dummy ptlib-config; ac_word=$2
23797 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23798 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23799 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
23800 echo $ECHO_N "(cached
) $ECHO_C" >&6
23802 case $PTLIB_CONFIG in
23804 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
23807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23808 for as_dir in /usr/local/bin
23811 test -z "$as_dir" && as_dir=.
23812 for ac_exec_ext in '' $ac_executable_extensions; do
23813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23814 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23815 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23825 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
23826 if test -n "$PTLIB_CONFIG"; then
23827 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
23828 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
23830 { echo "$as_me:$LINENO: result
: no
" >&5
23831 echo "${ECHO_T}no
" >&6; }
23835 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
23836 # Extract the first word of "ptlib-config
", so it can be a program name with args.
23837 set dummy ptlib-config; ac_word=$2
23838 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23839 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23840 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
23841 echo $ECHO_N "(cached
) $ECHO_C" >&6
23843 case $PTLIB_CONFIG in
23845 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
23848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23849 for as_dir in /usr/local/share/pwlib/make
23852 test -z "$as_dir" && as_dir=.
23853 for ac_exec_ext in '' $ac_executable_extensions; do
23854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23855 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23856 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23866 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
23867 if test -n "$PTLIB_CONFIG"; then
23868 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
23869 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
23871 { echo "$as_me:$LINENO: result
: no
" >&5
23872 echo "${ECHO_T}no
" >&6; }
23877 PWLIB_INCDIR="/usr
/local
/include
"
23878 PWLIB_LIBDIR="/usr
/local
/lib
"
23880 { echo "$as_me:$LINENO: checking
for /usr
/include
/ptlib.h
" >&5
23881 echo $ECHO_N "checking
for /usr
/include
/ptlib.h...
$ECHO_C" >&6; }
23882 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
23883 echo $ECHO_N "(cached
) $ECHO_C" >&6
23885 test "$cross_compiling" = yes &&
23886 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
23887 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
23888 { (exit 1); exit 1; }; }
23889 if test -r "/usr
/include
/ptlib.h
"; then
23890 ac_cv_file__usr_include_ptlib_h=yes
23892 ac_cv_file__usr_include_ptlib_h=no
23895 { echo "$as_me:$LINENO: result
: $ac_cv_file__usr_include_ptlib_h" >&5
23896 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6; }
23897 if test $ac_cv_file__usr_include_ptlib_h = yes; then
23901 if test "${HAS_PWLIB:-unset}" != "unset" ; then
23902 # Extract the first word of "ptlib-config
", so it can be a program name with args.
23903 set dummy ptlib-config; ac_word=$2
23904 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23905 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23906 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
23907 echo $ECHO_N "(cached
) $ECHO_C" >&6
23909 case $PTLIB_CONFIG in
23911 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
23914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23915 for as_dir in /usr/share/pwlib/make
23918 test -z "$as_dir" && as_dir=.
23919 for ac_exec_ext in '' $ac_executable_extensions; do
23920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23921 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23922 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23932 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
23933 if test -n "$PTLIB_CONFIG"; then
23934 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
23935 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
23937 { echo "$as_me:$LINENO: result
: no
" >&5
23938 echo "${ECHO_T}no
" >&6; }
23942 PWLIB_INCDIR="/usr
/include
"
23943 PWLIB_LIBDIR="/usr
/lib
"
23950 #if test "${HAS_PWLIB:-unset}" = "unset" ; then
23951 # echo "Cannot
find pwlib
- please
install or
set PWLIBDIR and try again
"
23955 if test "${HAS_PWLIB:-unset}" != "unset" ; then
23956 if test "${PWLIBDIR:-unset}" = "unset" ; then
23957 if test "${PTLIB_CONFIG:-unset}" != "unset" ; then
23958 PWLIBDIR=`$PTLIB_CONFIG --prefix`
23960 echo "Cannot
find ptlib-config
- please
install and try again
"
23965 if test "x
$PWLIBDIR" = "x
/usr
" -o "x
$PWLIBDIR" = "x
/usr
/"; then
23966 PWLIBDIR="/usr
/share
/pwlib
"
23967 PWLIB_INCDIR="/usr
/include
"
23968 PWLIB_LIBDIR="/usr
/lib
"
23970 if test "x
$PWLIBDIR" = "x
/usr
/local" -o "x
$PWLIBDIR" = "x
/usr
/"; then
23971 PWLIBDIR="/usr
/local
/share
/pwlib
"
23972 PWLIB_INCDIR="/usr
/local
/include
"
23973 PWLIB_LIBDIR="/usr
/local
/lib
"
23976 if test "${PWLIB_INCDIR:-unset}" = "unset"; then
23977 PWLIB_INCDIR="${PWLIBDIR}/include
"
23979 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
23980 PWLIB_LIBDIR="${PWLIBDIR}/lib
"
23989 if test "${HAS_PWLIB:-unset}" != "unset"; then
23990 PWLIB_VERSION=`grep "PWLIB_VERSION
" ${PWLIB_INCDIR}/ptbuildopts.h | cut -f2 -d ' ' | sed -e 's/"//g
'`
23991 PWLIB_MAJOR_VERSION=`echo ${PWLIB_VERSION} | cut -f1 -d.`
23992 PWLIB_MINOR_VERSION=`echo ${PWLIB_VERSION} | cut -f2 -d.`
23993 PWLIB_BUILD_NUMBER=`echo ${PWLIB_VERSION} | cut -f3 -d.`
23994 let PWLIB_VER=${PWLIB_MAJOR_VERSION}*10000+${PWLIB_MINOR_VERSION}*100+${PWLIB_BUILD_NUMBER}
23995 let PWLIB_REQ=1*10000+9*100+2
23997 { echo "$as_me:$LINENO: checking if PWLib version ${PWLIB_VERSION} is compatible with chan_h323" >&5
23998 echo $ECHO_N "checking if PWLib version ${PWLIB_VERSION} is compatible with chan_h323... $ECHO_C" >&6; }
23999 if test ${PWLIB_VER} -lt ${PWLIB_REQ}; then
24000 { echo "$as_me:$LINENO: result: no" >&5
24001 echo "${ECHO_T}no" >&6; }
24004 { echo "$as_me:$LINENO: result: yes" >&5
24005 echo "${ECHO_T}yes" >&6; }
24010 if test "${HAS_PWLIB:-unset}" != "unset"; then
24014 linux*) PWLIB_OSTYPE=linux ;
24016 freebsd* ) PWLIB_OSTYPE=FreeBSD ;
24018 openbsd* ) PWLIB_OSTYPE=OpenBSD ;
24019 ENDLDLIBS="-lossaudio" ;
24021 netbsd* ) PWLIB_OSTYPE=NetBSD ;
24022 ENDLDLIBS="-lossaudio" ;
24024 solaris* | sunos* ) PWLIB_OSTYPE=solaris ;
24026 darwin* ) PWLIB_OSTYPE=Darwin ;
24028 beos*) PWLIB_OSTYPE=beos ;
24029 STDCCFLAGS="$STDCCFLAGS -D__BEOS__"
24031 cygwin*) PWLIB_OSTYPE=cygwin ;
24033 mingw*) PWLIB_OSTYPE=mingw ;
24034 STDCCFLAGS="$STDCCFLAGS -mms-bitfields" ;
24035 ENDLDLIBS="-lwinmm -lwsock32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32" ;
24037 * ) PWLIB_OSTYPE="$host_os" ;
24038 { echo "$as_me:$LINENO: WARNING: \"OS $PWLIB_OSTYPE not recognized - proceed with caution!\"" >&5
24039 echo "$as_me: WARNING: \"OS $PWLIB_OSTYPE not recognized - proceed with caution!\"" >&2;} ;
24044 case "$host_cpu" in
24045 x86 | i686 | i586 | i486 | i386 ) PWLIB_MACHTYPE=x86
24048 x86_64) PWLIB_MACHTYPE=x86_64 ;
24053 alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7) PWLIB_MACHTYPE=alpha ;
24057 sparc ) PWLIB_MACHTYPE=sparc ;
24060 powerpc ) PWLIB_MACHTYPE=ppc ;
24063 ppc ) PWLIB_MACHTYPE=ppc ;
24066 powerpc64 ) PWLIB_MACHTYPE=ppc64 ;
24071 ppc64 ) PWLIB_MACHTYPE=ppc64 ;
24076 ia64) PWLIB_MACHTYPE=ia64 ;
24080 s390x) PWLIB_MACHTYPE=s390x ;
24085 s390) PWLIB_MACHTYPE=s390 ;
24088 * ) PWLIB_MACHTYPE="$host_cpu";
24089 { echo "$as_me:$LINENO: WARNING: \"CPU $PWLIB_MACHTYPE not recognized - proceed with caution!\"" >&5
24090 echo "$as_me: WARNING: \"CPU $PWLIB_MACHTYPE not recognized - proceed with caution!\"" >&2;} ;;
24093 PWLIB_PLATFORM="${PWLIB_OSTYPE}_${PWLIB_MACHTYPE}"
24098 PLATFORM_PWLIB="pt_${PWLIB_PLATFORM}_r"
24101 if test "${HAS_PWLIB:-unset}" != "unset"; then
24102 { echo "$as_me:$LINENO: checking PWLib installation validity" >&5
24103 echo $ECHO_N "checking PWLib installation validity... $ECHO_C" >&6; }
24105 saved_cppflags="${CPPFLAGS}"
24106 saved_libs="${LIBS}"
24107 LIBS="${LIBS} -L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB} "
24108 CPPFLAGS="${CPPFLAGS} -I${PWLIB_INCDIR} "
24111 ac_cpp='$CXXCPP $CPPFLAGS'
24112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24113 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24117 cat >conftest.$ac_ext <<_ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24127 BOOL q = PTime::IsDaylightSavings();
24132 rm -f conftest.$ac_objext conftest$ac_exeext
24133 if { (ac_try="$ac_link"
24134 case "(($ac_try" in
24135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24136 *) ac_try_echo=$ac_try;;
24138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24139 (eval "$ac_link") 2>conftest.er1
24141 grep -v '^
*+' conftest.er1 >conftest.err
24143 cat conftest.err >&5
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); } && {
24146 test -z "$ac_cxx_werror_flag" ||
24147 test ! -s conftest.err
24148 } && test -s conftest$ac_exeext &&
24149 $as_test_x conftest$ac_exeext; then
24150 { echo "$as_me:$LINENO: result: yes" >&5
24151 echo "${ECHO_T}yes" >&6; }
24152 ac_cv_lib_PWLIB="yes"
24155 echo "$as_me: failed program was:" >&5
24156 sed 's
/^
/|
/' conftest.$ac_ext >&5
24158 { echo "$as_me:$LINENO: result: no" >&5
24159 echo "${ECHO_T}no" >&6; }
24160 ac_cv_lib_PWLIB="no"
24165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24166 conftest$ac_exeext conftest.$ac_ext
24169 ac_cpp='$CPP $CPPFLAGS'
24170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24171 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24175 LIBS="${saved_libs}"
24176 CPPFLAGS="${saved_cppflags}"
24178 if test "${ac_cv_lib_PWLIB}" = "yes"; then
24179 if test "${PWLIB_LIBDIR}" != "" -a "${PWLIB_LIBDIR}" != "/usr/lib"; then
24180 PWLIB_LIB="-L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB}"
24182 PWLIB_LIB="-l${PLATFORM_PWLIB}"
24184 if test "${PWLIB_INCDIR}" != "" -a "${PWLIB_INCDIR}" != "/usr/include"; then
24185 PWLIB_INCLUDE="-I${PWLIB_INCDIR}"
24189 cat >>confdefs.h <<\_ACEOF
24190 #define HAVE_PWLIB 1
24199 if test "${USE_PWLIB}" != "no" -a "x${ac_cv_lib_PWLIB}" != "xyes" -a ! -z "${PWLIB_MANDATORY}"; then
24200 { echo "$as_me:$LINENO: ***" >&5
24201 echo "$as_me: ***" >&6;}
24202 { echo "$as_me:$LINENO: *** The PWLIB installation on this system appears to be broken." >&5
24203 echo "$as_me: *** The PWLIB installation on this system appears to be broken." >&6;}
24204 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
24205 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
24206 { echo "$as_me:$LINENO: *** including --without-pwlib" >&5
24207 echo "$as_me: *** including --without-pwlib" >&6;}
24211 if test "${PBX_PWLIB}" = "1" -a "${USE_OPENH323}" != "no" ; then
24212 if test ! -z "${OPENH323_DIR}"; then
24213 OPENH323DIR="${OPENH323_DIR}"
24218 if test "${OPENH323DIR:-unset}" != "unset" ; then
24219 as_ac_File=`echo "ac_cv_file_${OPENH323DIR}/version.h" | $as_tr_sh`
24220 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/version.h" >&5
24221 echo $ECHO_N "checking for ${OPENH323DIR}/version.h... $ECHO_C" >&6; }
24222 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
24223 echo $ECHO_N "(cached) $ECHO_C" >&6
24225 test "$cross_compiling" = yes &&
24226 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24227 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24228 { (exit 1); exit 1; }; }
24229 if test -r "${OPENH323DIR}/version.h"; then
24230 eval "$as_ac_File=yes"
24232 eval "$as_ac_File=no"
24235 ac_res=`eval echo '${'$as_ac_File'}'`
24236 { echo "$as_me:$LINENO: result: $ac_res" >&5
24237 echo "${ECHO_T}$ac_res" >&6; }
24238 if test `eval echo '${'$as_ac_File'}'` = yes; then
24243 if test "${HAS_OPENH323:-unset}" = "unset" ; then
24244 as_ac_File=`echo "ac_cv_file_${PWLIBDIR}/../openh323/version.h" | $as_tr_sh`
24245 { echo "$as_me:$LINENO: checking for ${PWLIBDIR}/../openh323/version.h" >&5
24246 echo $ECHO_N "checking for ${PWLIBDIR}/../openh323/version.h... $ECHO_C" >&6; }
24247 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24250 test "$cross_compiling" = yes &&
24251 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24252 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24253 { (exit 1); exit 1; }; }
24254 if test -r "${PWLIBDIR}/../openh323/version.h"; then
24255 eval "$as_ac_File=yes"
24257 eval "$as_ac_File=no"
24260 ac_res=`eval echo '${'$as_ac_File'}'`
24261 { echo "$as_me:$LINENO: result: $ac_res" >&5
24262 echo "${ECHO_T}$ac_res" >&6; }
24263 if test `eval echo '${'$as_ac_File'}'` = yes; then
24264 OPENH323DIR="${PWLIBDIR}/../openh323"; HAS_OPENH323=1
24267 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24268 OPENH323DIR="${PWLIBDIR}/../openh323"
24269 as_ac_File=`echo "ac_cv_file_${OPENH323DIR}/include/h323.h" | $as_tr_sh`
24270 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/include/h323.h" >&5
24271 echo $ECHO_N "checking for ${OPENH323DIR}/include/h323.h... $ECHO_C" >&6; }
24272 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
24273 echo $ECHO_N "(cached) $ECHO_C" >&6
24275 test "$cross_compiling" = yes &&
24276 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24277 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24278 { (exit 1); exit 1; }; }
24279 if test -r "${OPENH323DIR}/include/h323.h"; then
24280 eval "$as_ac_File=yes"
24282 eval "$as_ac_File=no"
24285 ac_res=`eval echo '${'$as_ac_File'}'`
24286 { echo "$as_me:$LINENO: result: $ac_res" >&5
24287 echo "${ECHO_T}$ac_res" >&6; }
24288 if test `eval echo '${'$as_ac_File'}'` = yes; then
24291 OPENH323_INCDIR="${PWLIB_INCDIR}/openh323"; OPENH323_LIBDIR="${PWLIB_LIBDIR}"
24295 as_ac_File=`echo "ac_cv_file_${HOME}/openh323/include/h323.h" | $as_tr_sh`
24296 { echo "$as_me:$LINENO: checking for ${HOME}/openh323/include/h323.h" >&5
24297 echo $ECHO_N "checking for ${HOME}/openh323/include/h323.h... $ECHO_C" >&6; }
24298 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
24299 echo $ECHO_N "(cached) $ECHO_C" >&6
24301 test "$cross_compiling" = yes &&
24302 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24303 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24304 { (exit 1); exit 1; }; }
24305 if test -r "${HOME}/openh323/include/h323.h"; then
24306 eval "$as_ac_File=yes"
24308 eval "$as_ac_File=no"
24311 ac_res=`eval echo '${'$as_ac_File'}'`
24312 { echo "$as_me:$LINENO: result: $ac_res" >&5
24313 echo "${ECHO_T}$ac_res" >&6; }
24314 if test `eval echo '${'$as_ac_File'}'` = yes; then
24318 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24319 OPENH323DIR="${HOME}/openh323"
24321 { echo "$as_me:$LINENO: checking for /usr/local/include/openh323/h323.h" >&5
24322 echo $ECHO_N "checking for /usr/local/include/openh323/h323.h... $ECHO_C" >&6; }
24323 if test "${ac_cv_file__usr_local_include_openh323_h323_h+set}" = set; then
24324 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 test "$cross_compiling" = yes &&
24327 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24328 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24329 { (exit 1); exit 1; }; }
24330 if test -r "/usr/local/include/openh323/h323.h"; then
24331 ac_cv_file__usr_local_include_openh323_h323_h=yes
24333 ac_cv_file__usr_local_include_openh323_h323_h=no
24336 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_openh323_h323_h" >&5
24337 echo "${ECHO_T}$ac_cv_file__usr_local_include_openh323_h323_h" >&6; }
24338 if test $ac_cv_file__usr_local_include_openh323_h323_h = yes; then
24342 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24343 OPENH323DIR="/usr/local/share/openh323"
24344 OPENH323_INCDIR="/usr/local/include/openh323"
24345 OPENH323_LIBDIR="/usr/local/lib"
24347 { echo "$as_me:$LINENO: checking for /usr/include/openh323/h323.h" >&5
24348 echo $ECHO_N "checking for /usr/include/openh323/h323.h... $ECHO_C" >&6; }
24349 if test "${ac_cv_file__usr_include_openh323_h323_h+set}" = set; then
24350 echo $ECHO_N "(cached) $ECHO_C" >&6
24352 test "$cross_compiling" = yes &&
24353 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24354 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24355 { (exit 1); exit 1; }; }
24356 if test -r "/usr/include/openh323/h323.h"; then
24357 ac_cv_file__usr_include_openh323_h323_h=yes
24359 ac_cv_file__usr_include_openh323_h323_h=no
24362 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_openh323_h323_h" >&5
24363 echo "${ECHO_T}$ac_cv_file__usr_include_openh323_h323_h" >&6; }
24364 if test $ac_cv_file__usr_include_openh323_h323_h = yes; then
24368 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24369 OPENH323DIR="/usr/share/openh323"
24370 OPENH323_INCDIR="/usr/include/openh323"
24371 OPENH323_LIBDIR="/usr/lib"
24378 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24379 if test "${OPENH323_INCDIR:-unset}" = "unset"; then
24380 OPENH323_INCDIR="${OPENH323DIR}/include"
24382 if test "${OPENH323_LIBDIR:-unset}" = "unset"; then
24383 OPENH323_LIBDIR="${OPENH323DIR}/lib"
24392 if test "${HAS_OPENH323:-unset}" != "unset"; then
24393 OPENH323_VERSION=`grep "OPENH323_VERSION" ${OPENH323_INCDIR}/openh323buildopts.h | cut -f2 -d ' ' | sed -e 's
/"//g'`
24394 OPENH323_MAJOR_VERSION=`echo ${OPENH323_VERSION} | cut -f1 -d.`
24395 OPENH323_MINOR_VERSION=`echo ${OPENH323_VERSION} | cut -f2 -d.`
24396 OPENH323_BUILD_NUMBER=`echo ${OPENH323_VERSION} | cut -f3 -d.`
24397 let OPENH323_VER=${OPENH323_MAJOR_VERSION}*10000+${OPENH323_MINOR_VERSION}*100+${OPENH323_BUILD_NUMBER}
24398 let OPENH323_REQ=1*10000+17*100+3
24400 { echo "$as_me:$LINENO: checking
if OpenH323 version
${OPENH323_VERSION} is compatible with chan_h323
" >&5
24401 echo $ECHO_N "checking
if OpenH323 version
${OPENH323_VERSION} is compatible with chan_h323...
$ECHO_C" >&6; }
24402 if test ${OPENH323_VER} -lt ${OPENH323_REQ}; then
24403 { echo "$as_me:$LINENO: result
: no
" >&5
24404 echo "${ECHO_T}no
" >&6; }
24407 { echo "$as_me:$LINENO: result
: yes" >&5
24408 echo "${ECHO_T}yes" >&6; }
24413 if test "${HAS_OPENH323:-unset}" != "unset"; then
24414 { echo "$as_me:$LINENO: checking OpenH323 build option
" >&5
24415 echo $ECHO_N "checking OpenH323 build option...
$ECHO_C" >&6; }
24417 files=`ls -l ${OPENH323_LIBDIR}/libh323_${PWLIB_PLATFORM}_*.so*`
24419 if test -n "$files"; then
24420 for f in $files; do
24421 if test -f $f -a ! -L $f; then
24422 libfile=`basename $f`
24427 if test "${libfile:-unset}" != "unset"; then
24428 OPENH323_SUFFIX=`eval "echo ${libfile} |
sed -e 's/libh323_${PWLIB_PLATFORM}_\([^.]*\)\..*/\1/'"`
24430 case "${OPENH323_SUFFIX}" in
24432 OPENH323_BUILD="notrace
";;
24434 OPENH323_BUILD="opt
";;
24436 OPENH323_BUILD="debug
";;
24438 OPENH323_BUILD="notrace
";;
24440 { echo "$as_me:$LINENO: result
: ${OPENH323_BUILD}" >&5
24441 echo "${ECHO_T}${OPENH323_BUILD}" >&6; }
24447 PLATFORM_OPENH323
="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
24449 if test "${HAS_OPENH323:-unset}" != "unset"; then
24450 { echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5
24451 echo $ECHO_N "checking OpenH323 installation validity... $ECHO_C" >&6; }
24453 saved_cppflags
="${CPPFLAGS}"
24454 saved_libs
="${LIBS}"
24455 LIBS
="${LIBS} -L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323} ${PWLIB_LIB}"
24456 CPPFLAGS
="${CPPFLAGS} -I${OPENH323_INCDIR} ${PWLIB_INCLUDE}"
24459 ac_cpp
='$CXXCPP $CPPFLAGS'
24460 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24461 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24462 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24465 cat >conftest.
$ac_ext <<_ACEOF
24468 cat confdefs.h
>>conftest.
$ac_ext
24469 cat >>conftest.
$ac_ext <<_ACEOF
24470 /* end confdefs.h. */
24473 #include "h323ep.h"
24477 H323EndPoint ep = H323EndPoint();
24482 rm -f conftest.
$ac_objext conftest
$ac_exeext
24483 if { (ac_try
="$ac_link"
24484 case "(($ac_try" in
24485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24486 *) ac_try_echo=$ac_try;;
24488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24489 (eval "$ac_link") 2>conftest.er1
24491 grep -v '^ *+' conftest.er1 >conftest.err
24493 cat conftest.err >&5
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } && {
24496 test -z "$ac_cxx_werror_flag" ||
24497 test ! -s conftest.err
24498 } && test -s conftest$ac_exeext &&
24499 $as_test_x conftest$ac_exeext; then
24500 { echo "$as_me:$LINENO: result: yes" >&5
24501 echo "${ECHO_T}yes" >&6; }
24502 ac_cv_lib_OPENH323="yes"
24505 echo "$as_me: failed program was:" >&5
24506 sed 's/^/| /' conftest.$ac_ext >&5
24508 { echo "$as_me:$LINENO: result: no" >&5
24509 echo "${ECHO_T}no" >&6; }
24510 ac_cv_lib_OPENH323="no"
24515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24516 conftest$ac_exeext conftest.$ac_ext
24519 ac_cpp='$CPP $CPPFLAGS'
24520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24525 LIBS="${saved_libs}"
24526 CPPFLAGS="${saved_cppflags}"
24528 if test "${ac_cv_lib_OPENH323}" = "yes"; then
24529 if test "${OPENH323_LIBDIR}" != "" -a "${OPENH323_LIBDIR}" != "/usr/lib"; then
24530 OPENH323_LIB="-L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323}"
24532 OPENH323_LIB="-l${PLATFORM_OPENH323}"
24534 if test "${OPENH323_INCDIR}" != "" -a "${OPENH323_INCDIR}" != "/usr/include"; then
24535 OPENH323_INCLUDE="-I${OPENH323_INCDIR}"
24539 cat >>confdefs.h <<\_ACEOF
24540 #define HAVE_OPENH323 1
24547 if test "${USE_OPENH323}" != "no" -a "x${ac_cv_lib_OPENH323}" != "xyes" -a ! -z "${OPENH323_MANDATORY}"; then
24548 { echo "$as_me:$LINENO: ***" >&5
24549 echo "$as_me: ***" >&6;}
24550 { echo "$as_me:$LINENO: *** The OPENH323 installation on this system appears to be broken." >&5
24551 echo "$as_me: *** The OPENH323 installation on this system appears to be broken." >&6;}
24552 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
24553 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
24554 { echo "$as_me:$LINENO: *** including --without-h323" >&5
24555 echo "$as_me: *** including --without-h323" >&6;}
24561 ac_cpp='$CXXCPP $CPPFLAGS'
24562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24567 if test "${USE_QT}" != "no"; then
24568 { echo "$as_me:$LINENO: checking for QDate in -lqt" >&5
24569 echo $ECHO_N "checking for QDate in -lqt... $ECHO_C" >&6; }
24570 saved_libs="${LIBS}"
24571 saved_cppflags="${CPPFLAGS}"
24572 if test "x${QT_DIR}" != "x"; then
24573 LIBS="${LIBS} -L${QT_DIR}/lib"
24574 CPPFLAGS="${CPPFLAGS} -I${QT_DIR}/include"
24576 LIBS="${LIBS} -lqt"
24578 cat >conftest.$ac_ext <<_ACEOF
24582 cat confdefs.h >>conftest.$ac_ext
24583 cat >>conftest.$ac_ext <<_ACEOF
24584 /* end confdefs.h. */
24585 #include <qt3/qdatetime.h>
24595 rm -f conftest.$ac_objext conftest$ac_exeext
24596 if { (ac_try="$ac_link"
24597 case "(($ac_try" in
24598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24599 *) ac_try_echo
=$ac_try;;
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_link") 2>conftest.er1
24604 grep -v '^ *+' conftest.er1
>conftest.err
24606 cat conftest.err
>&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_cxx_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest
$ac_exeext &&
24612 $as_test_x conftest
$ac_exeext; then
24613 ac_cv_lib_qt_qt_date
="yes"
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.
$ac_ext >&5
24618 ac_cv_lib_qt_qt_date
="no"
24621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24622 conftest
$ac_exeext conftest.
$ac_ext
24623 LIBS
="${saved_libs}"
24624 CPPFLAGS
="${saved_cppflags}"
24626 if test "${ac_cv_lib_qt_qt_date}" = "no"; then
24627 saved_libs
="${LIBS}"
24628 saved_cppflags
="${CPPFLAGS}"
24629 if test "x${QT_DIR}" != "x"; then
24630 LIBS
="${LIBS} -L${QT_DIR}/lib"
24631 CPPFLAGS
="${CPPFLAGS} -I${QT_DIR}/include"
24633 LIBS
="${LIBS} -lqt-mt"
24635 cat >conftest.
$ac_ext <<_ACEOF
24639 cat confdefs.h
>>conftest.
$ac_ext
24640 cat >>conftest.
$ac_ext <<_ACEOF
24641 /* end confdefs.h. */
24642 #include <qt3/qdatetime.h>
24652 rm -f conftest.
$ac_objext conftest
$ac_exeext
24653 if { (ac_try
="$ac_link"
24654 case "(($ac_try" in
24655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24656 *) ac_try_echo=$ac_try;;
24658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24659 (eval "$ac_link") 2>conftest.er1
24661 grep -v '^ *+' conftest.er1 >conftest.err
24663 cat conftest.err >&5
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); } && {
24666 test -z "$ac_cxx_werror_flag" ||
24667 test ! -s conftest.err
24668 } && test -s conftest$ac_exeext &&
24669 $as_test_x conftest$ac_exeext; then
24670 ac_cv_lib_qt_qt_date="yes"
24672 echo "$as_me: failed program was:" >&5
24673 sed 's/^/| /' conftest.$ac_ext >&5
24675 ac_cv_lib_qt_qt_date="no"
24678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24679 conftest$ac_exeext conftest.$ac_ext
24680 LIBS="${saved_libs}"
24681 CPPFLAGS="${saved_cppflags}"
24684 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
24685 { echo "$as_me:$LINENO: result: yes" >&5
24686 echo "${ECHO_T}yes" >&6; }
24688 { echo "$as_me:$LINENO: result: no" >&5
24689 echo "${ECHO_T}no" >&6; }
24692 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
24693 QT_LIB="-l${qtlib}"
24694 if test "${QT_DIR}" != ""; then
24695 QT_LIB="-L${QT_DIR}/lib ${QT_LIB}"
24696 QT_INCLUDE="-I${QT_DIR}/include"
24700 cat >>confdefs.h <<\_ACEOF
24704 if test -n "$ac_tool_prefix"; then
24705 # Extract the first word of "${ac_tool_prefix}moc", so it can be a program name with args.
24706 set dummy ${ac_tool_prefix}moc; ac_word=$2
24707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24709 if test "${ac_cv_path_QTMOC+set}" = set; then
24710 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 ac_cv_path_QTMOC="$QTMOC" # Let the user override the test with a path.
24717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24718 for as_dir in $PATH
24721 test -z "$as_dir" && as_dir=.
24722 for ac_exec_ext in '' $ac_executable_extensions; do
24723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24724 ac_cv_path_QTMOC="$as_dir/$ac_word$ac_exec_ext"
24725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24735 QTMOC=$ac_cv_path_QTMOC
24736 if test -n "$QTMOC"; then
24737 { echo "$as_me:$LINENO: result: $QTMOC" >&5
24738 echo "${ECHO_T}$QTMOC" >&6; }
24740 { echo "$as_me:$LINENO: result: no" >&5
24741 echo "${ECHO_T}no" >&6; }
24746 if test -z "$ac_cv_path_QTMOC"; then
24748 # Extract the first word of "moc", so it can be a program name with args.
24749 set dummy moc; ac_word=$2
24750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24752 if test "${ac_cv_path_ac_pt_QTMOC+set}" = set; then
24753 echo $ECHO_N "(cached) $ECHO_C" >&6
24755 case $ac_pt_QTMOC in
24757 ac_cv_path_ac_pt_QTMOC="$ac_pt_QTMOC" # Let the user override the test with a path.
24760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24761 for as_dir in $PATH
24764 test -z "$as_dir" && as_dir=.
24765 for ac_exec_ext in '' $ac_executable_extensions; do
24766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24767 ac_cv_path_ac_pt_QTMOC="$as_dir/$ac_word$ac_exec_ext"
24768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24778 ac_pt_QTMOC=$ac_cv_path_ac_pt_QTMOC
24779 if test -n "$ac_pt_QTMOC"; then
24780 { echo "$as_me:$LINENO: result: $ac_pt_QTMOC" >&5
24781 echo "${ECHO_T}$ac_pt_QTMOC" >&6; }
24783 { echo "$as_me:$LINENO: result: no" >&5
24784 echo "${ECHO_T}no" >&6; }
24787 if test "x$ac_pt_QTMOC" = x; then
24790 case $cross_compiling:$ac_tool_warned in
24792 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24793 whose name does not start with the host triplet. If you think this
24794 configuration is useful to you, please write to autoconf@gnu.org." >&5
24795 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24796 whose name does not start with the host triplet. If you think this
24797 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24798 ac_tool_warned=yes ;;
24803 QTMOC="$ac_cv_path_QTMOC"
24806 elif test ! -z "${QT_MANDATORY}";
24808 { echo "$as_me:$LINENO: ***" >&5
24809 echo "$as_me: ***" >&6;}
24810 { echo "$as_me:$LINENO: *** The Qt installation on this system appears to be broken." >&5
24811 echo "$as_me: *** The Qt installation on this system appears to be broken." >&6;}
24812 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
24813 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
24814 { echo "$as_me:$LINENO: *** including --without-qt." >&5
24815 echo "$as_me: *** including --without-qt." >&6;}
24821 ac_cpp='$CPP $CPPFLAGS'
24822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24828 if test "${USE_RADIUS}" != "no"; then
24830 if test "x${RADIUS_DIR}" != "x"; then
24831 if test -d ${RADIUS_DIR}/lib; then
24832 pbxlibdir="-L${RADIUS_DIR}/lib"
24834 pbxlibdir="-L${RADIUS_DIR}"
24837 { echo "$as_me:$LINENO: checking for rc_read_config in -lradiusclient-ng" >&5
24838 echo $ECHO_N "checking for rc_read_config in -lradiusclient-ng... $ECHO_C" >&6; }
24839 if test "${ac_cv_lib_radiusclient_ng_rc_read_config+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 ac_check_lib_save_LIBS=$LIBS
24843 LIBS="-lradiusclient-ng ${pbxlibdir} $LIBS"
24844 cat >conftest.$ac_ext <<_ACEOF
24847 cat confdefs.h >>conftest.$ac_ext
24848 cat >>conftest.$ac_ext <<_ACEOF
24849 /* end confdefs.h. */
24851 /* Override any GCC internal prototype to avoid an error.
24852 Use char because int might match the return type of a GCC
24853 builtin and then its argument prototype would still apply. */
24857 char rc_read_config ();
24861 return rc_read_config ();
24866 rm -f conftest.$ac_objext conftest$ac_exeext
24867 if { (ac_try="$ac_link"
24868 case "(($ac_try" in
24869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24870 *) ac_try_echo
=$ac_try;;
24872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24873 (eval "$ac_link") 2>conftest.er1
24875 grep -v '^ *+' conftest.er1
>conftest.err
24877 cat conftest.err
>&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); } && {
24880 test -z "$ac_c_werror_flag" ||
24881 test ! -s conftest.err
24882 } && test -s conftest
$ac_exeext &&
24883 $as_test_x conftest
$ac_exeext; then
24884 ac_cv_lib_radiusclient_ng_rc_read_config
=yes
24886 echo "$as_me: failed program was:" >&5
24887 sed 's/^/| /' conftest.
$ac_ext >&5
24889 ac_cv_lib_radiusclient_ng_rc_read_config
=no
24892 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24893 conftest
$ac_exeext conftest.
$ac_ext
24894 LIBS
=$ac_check_lib_save_LIBS
24896 { echo "$as_me:$LINENO: result: $ac_cv_lib_radiusclient_ng_rc_read_config" >&5
24897 echo "${ECHO_T}$ac_cv_lib_radiusclient_ng_rc_read_config" >&6; }
24898 if test $ac_cv_lib_radiusclient_ng_rc_read_config = yes; then
24899 AST_RADIUS_FOUND
=yes
24901 AST_RADIUS_FOUND
=no
24905 if test "${AST_RADIUS_FOUND}" = "yes"; then
24906 RADIUS_LIB
="-lradiusclient-ng "
24907 RADIUS_HEADER_FOUND
="1"
24908 if test "x${RADIUS_DIR}" != "x"; then
24909 RADIUS_LIB
="${pbxlibdir} ${RADIUS_LIB}"
24910 RADIUS_INCLUDE
="-I${RADIUS_DIR}/include"
24911 saved_cppflags
="${CPPFLAGS}"
24912 CPPFLAGS
="${CPPFLAGS} -I${RADIUS_DIR}/include"
24913 if test "xradiusclient-ng.h" != "x" ; then
24914 as_ac_Header
=`echo "ac_cv_header_${RADIUS_DIR}/include/radiusclient-ng.h" | $as_tr_sh`
24915 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24916 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
24917 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
24918 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24919 echo $ECHO_N "(cached) $ECHO_C" >&6
24921 ac_res
=`eval echo '${'$as_ac_Header'}'`
24922 { echo "$as_me:$LINENO: result: $ac_res" >&5
24923 echo "${ECHO_T}$ac_res" >&6; }
24925 # Is the header compilable?
24926 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h usability" >&5
24927 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h usability... $ECHO_C" >&6; }
24928 cat >conftest.
$ac_ext <<_ACEOF
24931 cat confdefs.h
>>conftest.
$ac_ext
24932 cat >>conftest.
$ac_ext <<_ACEOF
24933 /* end confdefs.h. */
24934 $ac_includes_default
24935 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
24937 rm -f conftest.
$ac_objext
24938 if { (ac_try
="$ac_compile"
24939 case "(($ac_try" in
24940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24941 *) ac_try_echo=$ac_try;;
24943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24944 (eval "$ac_compile") 2>conftest.er1
24946 grep -v '^ *+' conftest.er1 >conftest.err
24948 cat conftest.err >&5
24949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); } && {
24951 test -z "$ac_c_werror_flag" ||
24952 test ! -s conftest.err
24953 } && test -s conftest.$ac_objext; then
24954 ac_header_compiler=yes
24956 echo "$as_me: failed program was:" >&5
24957 sed 's/^/| /' conftest.$ac_ext >&5
24959 ac_header_compiler=no
24962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24963 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24964 echo "${ECHO_T}$ac_header_compiler" >&6; }
24966 # Is the header present?
24967 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h presence" >&5
24968 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h presence... $ECHO_C" >&6; }
24969 cat >conftest.$ac_ext <<_ACEOF
24972 cat confdefs.h >>conftest.$ac_ext
24973 cat >>conftest.$ac_ext <<_ACEOF
24974 /* end confdefs.h. */
24975 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
24977 if { (ac_try="$ac_cpp conftest.$ac_ext"
24978 case "(($ac_try" in
24979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24980 *) ac_try_echo
=$ac_try;;
24982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24985 grep -v '^ *+' conftest.er1
>conftest.err
24987 cat conftest.err
>&5
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); } >/dev
/null
&& {
24990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24991 test ! -s conftest.err
24993 ac_header_preproc
=yes
24995 echo "$as_me: failed program was:" >&5
24996 sed 's/^/| /' conftest.
$ac_ext >&5
24998 ac_header_preproc
=no
25001 rm -f conftest.err conftest.
$ac_ext
25002 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25003 echo "${ECHO_T}$ac_header_preproc" >&6; }
25005 # So? What about this header?
25006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25008 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
25009 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25010 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the compiler's result" >&5
25011 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the compiler's result" >&2;}
25012 ac_header_preproc
=yes
25015 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&5
25016 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&2;}
25017 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&5
25018 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
25019 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&5
25020 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&2;}
25021 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
25022 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
25023 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the preprocessor's result" >&5
25024 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the preprocessor's result" >&2;}
25025 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&5
25026 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
25030 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
25031 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
25032 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25033 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 eval "$as_ac_Header=\$ac_header_preproc"
25037 ac_res
=`eval echo '${'$as_ac_Header'}'`
25038 { echo "$as_me:$LINENO: result: $ac_res" >&5
25039 echo "${ECHO_T}$ac_res" >&6; }
25042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25043 RADIUS_HEADER_FOUND
=1
25045 RADIUS_HEADER_FOUND
=0
25050 CPPFLAGS
="${saved_cppflags}"
25052 if test "xradiusclient-ng.h" != "x" ; then
25053 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
25054 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
25055 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
25056 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
25057 echo $ECHO_N "(cached) $ECHO_C" >&6
25059 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
25060 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
25062 # Is the header compilable?
25063 { echo "$as_me:$LINENO: checking radiusclient-ng.h usability" >&5
25064 echo $ECHO_N "checking radiusclient-ng.h usability... $ECHO_C" >&6; }
25065 cat >conftest.
$ac_ext <<_ACEOF
25068 cat confdefs.h
>>conftest.
$ac_ext
25069 cat >>conftest.
$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25071 $ac_includes_default
25072 #include <radiusclient-ng.h>
25074 rm -f conftest.
$ac_objext
25075 if { (ac_try
="$ac_compile"
25076 case "(($ac_try" in
25077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25078 *) ac_try_echo=$ac_try;;
25080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25081 (eval "$ac_compile") 2>conftest.er1
25083 grep -v '^ *+' conftest.er1 >conftest.err
25085 cat conftest.err >&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } && {
25088 test -z "$ac_c_werror_flag" ||
25089 test ! -s conftest.err
25090 } && test -s conftest.$ac_objext; then
25091 ac_header_compiler=yes
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.$ac_ext >&5
25096 ac_header_compiler=no
25099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25100 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25101 echo "${ECHO_T}$ac_header_compiler" >&6; }
25103 # Is the header present?
25104 { echo "$as_me:$LINENO: checking radiusclient-ng.h presence" >&5
25105 echo $ECHO_N "checking radiusclient-ng.h presence... $ECHO_C" >&6; }
25106 cat >conftest.$ac_ext <<_ACEOF
25109 cat confdefs.h >>conftest.$ac_ext
25110 cat >>conftest.$ac_ext <<_ACEOF
25111 /* end confdefs.h. */
25112 #include <radiusclient-ng.h>
25114 if { (ac_try="$ac_cpp conftest.$ac_ext"
25115 case "(($ac_try" in
25116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25117 *) ac_try_echo
=$ac_try;;
25119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25122 grep -v '^ *+' conftest.er1
>conftest.err
25124 cat conftest.err
>&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } >/dev
/null
&& {
25127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25128 test ! -s conftest.err
25130 ac_header_preproc
=yes
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.
$ac_ext >&5
25135 ac_header_preproc
=no
25138 rm -f conftest.err conftest.
$ac_ext
25139 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25140 echo "${ECHO_T}$ac_header_preproc" >&6; }
25142 # So? What about this header?
25143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25145 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
25146 echo "$as_me: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25147 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the compiler's result" >&5
25148 echo "$as_me: WARNING: radiusclient-ng.h: proceeding with the compiler's result" >&2;}
25149 ac_header_preproc
=yes
25152 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: present but cannot be compiled" >&5
25153 echo "$as_me: WARNING: radiusclient-ng.h: present but cannot be compiled" >&2;}
25154 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&5
25155 echo "$as_me: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
25156 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&5
25157 echo "$as_me: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&2;}
25158 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
25159 echo "$as_me: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
25160 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the preprocessor's result" >&5
25161 echo "$as_me: WARNING: radiusclient-ng.h: proceeding with the preprocessor's result" >&2;}
25162 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&5
25163 echo "$as_me: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
25167 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
25168 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
25169 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
25170 echo $ECHO_N "(cached) $ECHO_C" >&6
25172 ac_cv_header_radiusclient_ng_h
=$ac_header_preproc
25174 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
25175 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
25178 if test $ac_cv_header_radiusclient_ng_h = yes; then
25179 RADIUS_HEADER_FOUND
=1
25181 RADIUS_HEADER_FOUND
=0
25187 if test "x${RADIUS_HEADER_FOUND}" = "x0" ; then
25188 if test ! -z "${RADIUS_MANDATORY}" ;
25190 { echo "$as_me:$LINENO: ***" >&5
25191 echo "$as_me: ***" >&6;}
25192 { echo "$as_me:$LINENO: *** It appears that you do not have the radiusclient-ng development package installed." >&5
25193 echo "$as_me: *** It appears that you do not have the radiusclient-ng development package installed." >&6;}
25194 { echo "$as_me:$LINENO: *** Please install it to include ${RADIUS_DESCRIP} support, or re-run configure" >&5
25195 echo "$as_me: *** Please install it to include ${RADIUS_DESCRIP} support, or re-run configure" >&6;}
25196 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
25197 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
25206 cat >>confdefs.h
<<_ACEOF
25207 #define HAVE_RADIUS 1
25211 elif test ! -z "${RADIUS_MANDATORY}";
25213 { echo "$as_me:$LINENO: ***" >&5
25214 echo "$as_me: ***" >&6;}
25215 { echo "$as_me:$LINENO: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&5
25216 echo "$as_me: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&6;}
25217 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
25218 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
25219 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
25220 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
25227 if test "${USE_SPEEX}" != "no"; then
25229 if test "x${SPEEX_DIR}" != "x"; then
25230 if test -d ${SPEEX_DIR}/lib
; then
25231 pbxlibdir
="-L${SPEEX_DIR}/lib"
25233 pbxlibdir
="-L${SPEEX_DIR}"
25236 { echo "$as_me:$LINENO: checking for speex_encode in -lspeex" >&5
25237 echo $ECHO_N "checking for speex_encode in -lspeex... $ECHO_C" >&6; }
25238 if test "${ac_cv_lib_speex_speex_encode+set}" = set; then
25239 echo $ECHO_N "(cached) $ECHO_C" >&6
25241 ac_check_lib_save_LIBS
=$LIBS
25242 LIBS
="-lspeex ${pbxlibdir} -lm $LIBS"
25243 cat >conftest.
$ac_ext <<_ACEOF
25246 cat confdefs.h
>>conftest.
$ac_ext
25247 cat >>conftest.
$ac_ext <<_ACEOF
25248 /* end confdefs.h. */
25250 /* Override any GCC internal prototype to avoid an error.
25251 Use char because int might match the return type of a GCC
25252 builtin and then its argument prototype would still apply. */
25256 char speex_encode ();
25260 return speex_encode ();
25265 rm -f conftest.
$ac_objext conftest
$ac_exeext
25266 if { (ac_try
="$ac_link"
25267 case "(($ac_try" in
25268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25269 *) ac_try_echo=$ac_try;;
25271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25272 (eval "$ac_link") 2>conftest.er1
25274 grep -v '^ *+' conftest.er1 >conftest.err
25276 cat conftest.err >&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } && {
25279 test -z "$ac_c_werror_flag" ||
25280 test ! -s conftest.err
25281 } && test -s conftest$ac_exeext &&
25282 $as_test_x conftest$ac_exeext; then
25283 ac_cv_lib_speex_speex_encode=yes
25285 echo "$as_me: failed program was:" >&5
25286 sed 's/^/| /' conftest.$ac_ext >&5
25288 ac_cv_lib_speex_speex_encode=no
25291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25292 conftest$ac_exeext conftest.$ac_ext
25293 LIBS=$ac_check_lib_save_LIBS
25295 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode" >&5
25296 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode" >&6; }
25297 if test $ac_cv_lib_speex_speex_encode = yes; then
25298 AST_SPEEX_FOUND=yes
25304 if test "${AST_SPEEX_FOUND}" = "yes"; then
25305 SPEEX_LIB="-lspeex -lm"
25306 SPEEX_HEADER_FOUND="1"
25307 if test "x${SPEEX_DIR}" != "x"; then
25308 SPEEX_LIB="${pbxlibdir} ${SPEEX_LIB}"
25309 SPEEX_INCLUDE="-I${SPEEX_DIR}/include"
25310 saved_cppflags="${CPPFLAGS}"
25311 CPPFLAGS="${CPPFLAGS} -I${SPEEX_DIR}/include"
25312 if test "xspeex/speex.h" != "x" ; then
25313 as_ac_Header=`echo "ac_cv_header_${SPEEX_DIR}/include/speex/speex.h" |
$as_tr_sh`
25314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25315 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
25316 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
25317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25318 echo $ECHO_N "(cached) $ECHO_C" >&6
25320 ac_res=`eval echo '${'$as_ac_Header'}'`
25321 { echo "$as_me:$LINENO: result: $ac_res" >&5
25322 echo "${ECHO_T}$ac_res" >&6; }
25324 # Is the header compilable?
25325 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h usability" >&5
25326 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h usability... $ECHO_C" >&6; }
25327 cat >conftest.$ac_ext <<_ACEOF
25330 cat confdefs.h >>conftest.$ac_ext
25331 cat >>conftest.$ac_ext <<_ACEOF
25332 /* end confdefs.h. */
25333 $ac_includes_default
25334 #include <${SPEEX_DIR}/include/speex/speex.h>
25336 rm -f conftest.$ac_objext
25337 if { (ac_try="$ac_compile"
25338 case "(($ac_try" in
25339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25340 *) ac_try_echo
=$ac_try;;
25342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25343 (eval "$ac_compile") 2>conftest.er1
25345 grep -v '^ *+' conftest.er1
>conftest.err
25347 cat conftest.err
>&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } && {
25350 test -z "$ac_c_werror_flag" ||
25351 test ! -s conftest.err
25352 } && test -s conftest.
$ac_objext; then
25353 ac_header_compiler
=yes
25355 echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.
$ac_ext >&5
25358 ac_header_compiler
=no
25361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25362 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25363 echo "${ECHO_T}$ac_header_compiler" >&6; }
25365 # Is the header present?
25366 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h presence" >&5
25367 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h presence... $ECHO_C" >&6; }
25368 cat >conftest.
$ac_ext <<_ACEOF
25371 cat confdefs.h
>>conftest.
$ac_ext
25372 cat >>conftest.
$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25374 #include <${SPEEX_DIR}/include/speex/speex.h>
25376 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25377 case "(($ac_try" in
25378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25379 *) ac_try_echo=$ac_try;;
25381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25384 grep -v '^ *+' conftest.er1 >conftest.err
25386 cat conftest.err >&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); } >/dev/null && {
25389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25390 test ! -s conftest.err
25392 ac_header_preproc=yes
25394 echo "$as_me: failed program was:" >&5
25395 sed 's/^/| /' conftest.$ac_ext >&5
25397 ac_header_preproc=no
25400 rm -f conftest.err conftest.$ac_ext
25401 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25402 echo "${ECHO_T}$ac_header_preproc" >&6; }
25404 # So? What about this header?
25405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25407 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25408 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25409 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the compiler's result" >&5
25410 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the compiler's result" >&2;}
25411 ac_header_preproc=yes
25414 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&5
25415 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&2;}
25416 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&5
25417 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&2;}
25418 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&5
25419 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&2;}
25420 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
25421 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25422 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the preprocessor's result" >&5
25423 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the preprocessor's result" >&2;}
25424 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&5
25425 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&2;}
25429 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
25430 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
25431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 eval "$as_ac_Header=\$ac_header_preproc"
25436 ac_res=`eval echo '${'$as_ac_Header'}'`
25437 { echo "$as_me:$LINENO: result: $ac_res" >&5
25438 echo "${ECHO_T}$ac_res" >&6; }
25441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25442 SPEEX_HEADER_FOUND=1
25444 SPEEX_HEADER_FOUND=0
25449 CPPFLAGS="${saved_cppflags}"
25451 if test "xspeex/speex.h" != "x" ; then
25452 if test "${ac_cv_header_speex_speex_h+set}" = set; then
25453 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
25454 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
25455 if test "${ac_cv_header_speex_speex_h+set}" = set; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
25459 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
25461 # Is the header compilable?
25462 { echo "$as_me:$LINENO: checking speex/speex.h usability" >&5
25463 echo $ECHO_N "checking speex/speex.h usability... $ECHO_C" >&6; }
25464 cat >conftest.$ac_ext <<_ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 $ac_includes_default
25471 #include <speex/speex.h>
25473 rm -f conftest.$ac_objext
25474 if { (ac_try="$ac_compile"
25475 case "(($ac_try" in
25476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25477 *) ac_try_echo
=$ac_try;;
25479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25480 (eval "$ac_compile") 2>conftest.er1
25482 grep -v '^ *+' conftest.er1
>conftest.err
25484 cat conftest.err
>&5
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); } && {
25487 test -z "$ac_c_werror_flag" ||
25488 test ! -s conftest.err
25489 } && test -s conftest.
$ac_objext; then
25490 ac_header_compiler
=yes
25492 echo "$as_me: failed program was:" >&5
25493 sed 's/^/| /' conftest.
$ac_ext >&5
25495 ac_header_compiler
=no
25498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25500 echo "${ECHO_T}$ac_header_compiler" >&6; }
25502 # Is the header present?
25503 { echo "$as_me:$LINENO: checking speex/speex.h presence" >&5
25504 echo $ECHO_N "checking speex/speex.h presence... $ECHO_C" >&6; }
25505 cat >conftest.
$ac_ext <<_ACEOF
25508 cat confdefs.h
>>conftest.
$ac_ext
25509 cat >>conftest.
$ac_ext <<_ACEOF
25510 /* end confdefs.h. */
25511 #include <speex/speex.h>
25513 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25514 case "(($ac_try" in
25515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25516 *) ac_try_echo=$ac_try;;
25518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25521 grep -v '^ *+' conftest.er1 >conftest.err
25523 cat conftest.err >&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); } >/dev/null && {
25526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25527 test ! -s conftest.err
25529 ac_header_preproc=yes
25531 echo "$as_me: failed program was:" >&5
25532 sed 's/^/| /' conftest.$ac_ext >&5
25534 ac_header_preproc=no
25537 rm -f conftest.err conftest.$ac_ext
25538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25539 echo "${ECHO_T}$ac_header_preproc" >&6; }
25541 # So? What about this header?
25542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25544 { echo "$as_me:$LINENO: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25545 echo "$as_me: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25546 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the compiler's result" >&5
25547 echo "$as_me: WARNING: speex/speex.h: proceeding with the compiler's result" >&2;}
25548 ac_header_preproc=yes
25551 { echo "$as_me:$LINENO: WARNING: speex/speex.h: present but cannot be compiled" >&5
25552 echo "$as_me: WARNING: speex/speex.h: present but cannot be compiled" >&2;}
25553 { echo "$as_me:$LINENO: WARNING: speex/speex.h: check for missing prerequisite headers?" >&5
25554 echo "$as_me: WARNING: speex/speex.h: check for missing prerequisite headers?" >&2;}
25555 { echo "$as_me:$LINENO: WARNING: speex/speex.h: see the Autoconf documentation" >&5
25556 echo "$as_me: WARNING: speex/speex.h: see the Autoconf documentation" >&2;}
25557 { echo "$as_me:$LINENO: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
25558 echo "$as_me: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25559 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&5
25560 echo "$as_me: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&2;}
25561 { echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5
25562 echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;}
25566 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
25567 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
25568 if test "${ac_cv_header_speex_speex_h+set}" = set; then
25569 echo $ECHO_N "(cached) $ECHO_C" >&6
25571 ac_cv_header_speex_speex_h=$ac_header_preproc
25573 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
25574 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
25577 if test $ac_cv_header_speex_speex_h = yes; then
25578 SPEEX_HEADER_FOUND=1
25580 SPEEX_HEADER_FOUND=0
25586 if test "x${SPEEX_HEADER_FOUND}" = "x0" ; then
25587 if test ! -z "${SPEEX_MANDATORY}" ;
25589 { echo "$as_me:$LINENO: ***" >&5
25590 echo "$as_me: ***" >&6;}
25591 { echo "$as_me:$LINENO: *** It appears that you do not have the speex development package installed." >&5
25592 echo "$as_me: *** It appears that you do not have the speex development package installed." >&6;}
25593 { echo "$as_me:$LINENO: *** Please install it to include ${SPEEX_DESCRIP} support, or re-run configure" >&5
25594 echo "$as_me: *** Please install it to include ${SPEEX_DESCRIP} support, or re-run configure" >&6;}
25595 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
25596 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
25605 cat >>confdefs.h <<_ACEOF
25606 #define HAVE_SPEEX 1
25610 elif test ! -z "${SPEEX_MANDATORY}";
25612 { echo "$as_me:$LINENO: ***" >&5
25613 echo "$as_me: ***" >&6;}
25614 { echo "$as_me:$LINENO: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&5
25615 echo "$as_me: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&6;}
25616 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
25617 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
25618 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
25619 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
25626 if test "${USE_SQLITE}" != "no"; then
25628 if test "x${SQLITE_DIR}" != "x"; then
25629 if test -d ${SQLITE_DIR}/lib; then
25630 pbxlibdir="-L${SQLITE_DIR}/lib"
25632 pbxlibdir="-L${SQLITE_DIR}"
25635 { echo "$as_me:$LINENO: checking for sqlite_exec in -lsqlite" >&5
25636 echo $ECHO_N "checking for sqlite_exec in -lsqlite... $ECHO_C" >&6; }
25637 if test "${ac_cv_lib_sqlite_sqlite_exec+set}" = set; then
25638 echo $ECHO_N "(cached) $ECHO_C" >&6
25640 ac_check_lib_save_LIBS=$LIBS
25641 LIBS="-lsqlite ${pbxlibdir} $LIBS"
25642 cat >conftest.$ac_ext <<_ACEOF
25645 cat confdefs.h >>conftest.$ac_ext
25646 cat >>conftest.$ac_ext <<_ACEOF
25647 /* end confdefs.h. */
25649 /* Override any GCC internal prototype to avoid an error.
25650 Use char because int might match the return type of a GCC
25651 builtin and then its argument prototype would still apply. */
25655 char sqlite_exec ();
25659 return sqlite_exec ();
25664 rm -f conftest.$ac_objext conftest$ac_exeext
25665 if { (ac_try="$ac_link"
25666 case "(($ac_try" in
25667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25668 *) ac_try_echo
=$ac_try;;
25670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25671 (eval "$ac_link") 2>conftest.er1
25673 grep -v '^ *+' conftest.er1
>conftest.err
25675 cat conftest.err
>&5
25676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677 (exit $ac_status); } && {
25678 test -z "$ac_c_werror_flag" ||
25679 test ! -s conftest.err
25680 } && test -s conftest
$ac_exeext &&
25681 $as_test_x conftest
$ac_exeext; then
25682 ac_cv_lib_sqlite_sqlite_exec
=yes
25684 echo "$as_me: failed program was:" >&5
25685 sed 's/^/| /' conftest.
$ac_ext >&5
25687 ac_cv_lib_sqlite_sqlite_exec
=no
25690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25691 conftest
$ac_exeext conftest.
$ac_ext
25692 LIBS
=$ac_check_lib_save_LIBS
25694 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite_sqlite_exec" >&5
25695 echo "${ECHO_T}$ac_cv_lib_sqlite_sqlite_exec" >&6; }
25696 if test $ac_cv_lib_sqlite_sqlite_exec = yes; then
25697 AST_SQLITE_FOUND
=yes
25699 AST_SQLITE_FOUND
=no
25703 if test "${AST_SQLITE_FOUND}" = "yes"; then
25704 SQLITE_LIB
="-lsqlite "
25705 SQLITE_HEADER_FOUND
="1"
25706 if test "x${SQLITE_DIR}" != "x"; then
25707 SQLITE_LIB
="${pbxlibdir} ${SQLITE_LIB}"
25708 SQLITE_INCLUDE
="-I${SQLITE_DIR}/include"
25709 saved_cppflags
="${CPPFLAGS}"
25710 CPPFLAGS
="${CPPFLAGS} -I${SQLITE_DIR}/include"
25711 if test "xsqlite.h" != "x" ; then
25712 as_ac_Header
=`echo "ac_cv_header_${SQLITE_DIR}/include/sqlite.h" | $as_tr_sh`
25713 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25714 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
25715 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
25716 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25717 echo $ECHO_N "(cached) $ECHO_C" >&6
25719 ac_res
=`eval echo '${'$as_ac_Header'}'`
25720 { echo "$as_me:$LINENO: result: $ac_res" >&5
25721 echo "${ECHO_T}$ac_res" >&6; }
25723 # Is the header compilable?
25724 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h usability" >&5
25725 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h usability... $ECHO_C" >&6; }
25726 cat >conftest.
$ac_ext <<_ACEOF
25729 cat confdefs.h
>>conftest.
$ac_ext
25730 cat >>conftest.
$ac_ext <<_ACEOF
25731 /* end confdefs.h. */
25732 $ac_includes_default
25733 #include <${SQLITE_DIR}/include/sqlite.h>
25735 rm -f conftest.
$ac_objext
25736 if { (ac_try
="$ac_compile"
25737 case "(($ac_try" in
25738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25739 *) ac_try_echo=$ac_try;;
25741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25742 (eval "$ac_compile") 2>conftest.er1
25744 grep -v '^ *+' conftest.er1 >conftest.err
25746 cat conftest.err >&5
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); } && {
25749 test -z "$ac_c_werror_flag" ||
25750 test ! -s conftest.err
25751 } && test -s conftest.$ac_objext; then
25752 ac_header_compiler=yes
25754 echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.$ac_ext >&5
25757 ac_header_compiler=no
25760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25761 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25762 echo "${ECHO_T}$ac_header_compiler" >&6; }
25764 # Is the header present?
25765 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h presence" >&5
25766 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h presence... $ECHO_C" >&6; }
25767 cat >conftest.$ac_ext <<_ACEOF
25770 cat confdefs.h >>conftest.$ac_ext
25771 cat >>conftest.$ac_ext <<_ACEOF
25772 /* end confdefs.h. */
25773 #include <${SQLITE_DIR}/include/sqlite.h>
25775 if { (ac_try="$ac_cpp conftest.$ac_ext"
25776 case "(($ac_try" in
25777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25778 *) ac_try_echo
=$ac_try;;
25780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25783 grep -v '^ *+' conftest.er1
>conftest.err
25785 cat conftest.err
>&5
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); } >/dev
/null
&& {
25788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25789 test ! -s conftest.err
25791 ac_header_preproc
=yes
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.
$ac_ext >&5
25796 ac_header_preproc
=no
25799 rm -f conftest.err conftest.
$ac_ext
25800 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25801 echo "${ECHO_T}$ac_header_preproc" >&6; }
25803 # So? What about this header?
25804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25806 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
25807 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25808 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the compiler's result" >&5
25809 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the compiler's result" >&2;}
25810 ac_header_preproc
=yes
25813 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&5
25814 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&2;}
25815 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&5
25816 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&2;}
25817 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&5
25818 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&2;}
25819 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
25820 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
25821 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the preprocessor's result" >&5
25822 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the preprocessor's result" >&2;}
25823 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&5
25824 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&2;}
25828 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
25829 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
25830 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 eval "$as_ac_Header=\$ac_header_preproc"
25835 ac_res
=`eval echo '${'$as_ac_Header'}'`
25836 { echo "$as_me:$LINENO: result: $ac_res" >&5
25837 echo "${ECHO_T}$ac_res" >&6; }
25840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25841 SQLITE_HEADER_FOUND
=1
25843 SQLITE_HEADER_FOUND
=0
25848 CPPFLAGS
="${saved_cppflags}"
25850 if test "xsqlite.h" != "x" ; then
25851 if test "${ac_cv_header_sqlite_h+set}" = set; then
25852 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
25853 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
25854 if test "${ac_cv_header_sqlite_h+set}" = set; then
25855 echo $ECHO_N "(cached) $ECHO_C" >&6
25857 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
25858 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
25860 # Is the header compilable?
25861 { echo "$as_me:$LINENO: checking sqlite.h usability" >&5
25862 echo $ECHO_N "checking sqlite.h usability... $ECHO_C" >&6; }
25863 cat >conftest.
$ac_ext <<_ACEOF
25866 cat confdefs.h
>>conftest.
$ac_ext
25867 cat >>conftest.
$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25869 $ac_includes_default
25870 #include <sqlite.h>
25872 rm -f conftest.
$ac_objext
25873 if { (ac_try
="$ac_compile"
25874 case "(($ac_try" in
25875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25876 *) ac_try_echo=$ac_try;;
25878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25879 (eval "$ac_compile") 2>conftest.er1
25881 grep -v '^ *+' conftest.er1 >conftest.err
25883 cat conftest.err >&5
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); } && {
25886 test -z "$ac_c_werror_flag" ||
25887 test ! -s conftest.err
25888 } && test -s conftest.$ac_objext; then
25889 ac_header_compiler=yes
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25894 ac_header_compiler=no
25897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25898 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25899 echo "${ECHO_T}$ac_header_compiler" >&6; }
25901 # Is the header present?
25902 { echo "$as_me:$LINENO: checking sqlite.h presence" >&5
25903 echo $ECHO_N "checking sqlite.h presence... $ECHO_C" >&6; }
25904 cat >conftest.$ac_ext <<_ACEOF
25907 cat confdefs.h >>conftest.$ac_ext
25908 cat >>conftest.$ac_ext <<_ACEOF
25909 /* end confdefs.h. */
25910 #include <sqlite.h>
25912 if { (ac_try="$ac_cpp conftest.$ac_ext"
25913 case "(($ac_try" in
25914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25915 *) ac_try_echo
=$ac_try;;
25917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25920 grep -v '^ *+' conftest.er1
>conftest.err
25922 cat conftest.err
>&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } >/dev
/null
&& {
25925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25926 test ! -s conftest.err
25928 ac_header_preproc
=yes
25930 echo "$as_me: failed program was:" >&5
25931 sed 's/^/| /' conftest.
$ac_ext >&5
25933 ac_header_preproc
=no
25936 rm -f conftest.err conftest.
$ac_ext
25937 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25938 echo "${ECHO_T}$ac_header_preproc" >&6; }
25940 # So? What about this header?
25941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25943 { echo "$as_me:$LINENO: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
25944 echo "$as_me: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25945 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the compiler's result" >&5
25946 echo "$as_me: WARNING: sqlite.h: proceeding with the compiler's result" >&2;}
25947 ac_header_preproc
=yes
25950 { echo "$as_me:$LINENO: WARNING: sqlite.h: present but cannot be compiled" >&5
25951 echo "$as_me: WARNING: sqlite.h: present but cannot be compiled" >&2;}
25952 { echo "$as_me:$LINENO: WARNING: sqlite.h: check for missing prerequisite headers?" >&5
25953 echo "$as_me: WARNING: sqlite.h: check for missing prerequisite headers?" >&2;}
25954 { echo "$as_me:$LINENO: WARNING: sqlite.h: see the Autoconf documentation" >&5
25955 echo "$as_me: WARNING: sqlite.h: see the Autoconf documentation" >&2;}
25956 { echo "$as_me:$LINENO: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
25957 echo "$as_me: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
25958 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the preprocessor's result" >&5
25959 echo "$as_me: WARNING: sqlite.h: proceeding with the preprocessor's result" >&2;}
25960 { echo "$as_me:$LINENO: WARNING: sqlite.h: in the future, the compiler will take precedence" >&5
25961 echo "$as_me: WARNING: sqlite.h: in the future, the compiler will take precedence" >&2;}
25965 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
25966 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
25967 if test "${ac_cv_header_sqlite_h+set}" = set; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25970 ac_cv_header_sqlite_h
=$ac_header_preproc
25972 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
25973 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
25976 if test $ac_cv_header_sqlite_h = yes; then
25977 SQLITE_HEADER_FOUND
=1
25979 SQLITE_HEADER_FOUND
=0
25985 if test "x${SQLITE_HEADER_FOUND}" = "x0" ; then
25986 if test ! -z "${SQLITE_MANDATORY}" ;
25988 { echo "$as_me:$LINENO: ***" >&5
25989 echo "$as_me: ***" >&6;}
25990 { echo "$as_me:$LINENO: *** It appears that you do not have the sqlite development package installed." >&5
25991 echo "$as_me: *** It appears that you do not have the sqlite development package installed." >&6;}
25992 { echo "$as_me:$LINENO: *** Please install it to include ${SQLITE_DESCRIP} support, or re-run configure" >&5
25993 echo "$as_me: *** Please install it to include ${SQLITE_DESCRIP} support, or re-run configure" >&6;}
25994 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
25995 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
26004 cat >>confdefs.h
<<_ACEOF
26005 #define HAVE_SQLITE 1
26009 elif test ! -z "${SQLITE_MANDATORY}";
26011 { echo "$as_me:$LINENO: ***" >&5
26012 echo "$as_me: ***" >&6;}
26013 { echo "$as_me:$LINENO: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&5
26014 echo "$as_me: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&6;}
26015 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
26016 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
26017 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
26018 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
26025 if test "${USE_OPENSSL}" != "no"; then
26027 if test "x${OPENSSL_DIR}" != "x"; then
26028 if test -d ${OPENSSL_DIR}/lib
; then
26029 pbxlibdir
="-L${OPENSSL_DIR}/lib"
26031 pbxlibdir
="-L${OPENSSL_DIR}"
26034 { echo "$as_me:$LINENO: checking for ssl2_connect in -lssl" >&5
26035 echo $ECHO_N "checking for ssl2_connect in -lssl... $ECHO_C" >&6; }
26036 if test "${ac_cv_lib_ssl_ssl2_connect+set}" = set; then
26037 echo $ECHO_N "(cached) $ECHO_C" >&6
26039 ac_check_lib_save_LIBS
=$LIBS
26040 LIBS
="-lssl ${pbxlibdir} -lcrypto $LIBS"
26041 cat >conftest.
$ac_ext <<_ACEOF
26044 cat confdefs.h
>>conftest.
$ac_ext
26045 cat >>conftest.
$ac_ext <<_ACEOF
26046 /* end confdefs.h. */
26048 /* Override any GCC internal prototype to avoid an error.
26049 Use char because int might match the return type of a GCC
26050 builtin and then its argument prototype would still apply. */
26054 char ssl2_connect ();
26058 return ssl2_connect ();
26063 rm -f conftest.
$ac_objext conftest
$ac_exeext
26064 if { (ac_try
="$ac_link"
26065 case "(($ac_try" in
26066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26067 *) ac_try_echo=$ac_try;;
26069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26070 (eval "$ac_link") 2>conftest.er1
26072 grep -v '^ *+' conftest.er1 >conftest.err
26074 cat conftest.err >&5
26075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26076 (exit $ac_status); } && {
26077 test -z "$ac_c_werror_flag" ||
26078 test ! -s conftest.err
26079 } && test -s conftest$ac_exeext &&
26080 $as_test_x conftest$ac_exeext; then
26081 ac_cv_lib_ssl_ssl2_connect=yes
26083 echo "$as_me: failed program was:" >&5
26084 sed 's/^/| /' conftest.$ac_ext >&5
26086 ac_cv_lib_ssl_ssl2_connect=no
26089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26090 conftest$ac_exeext conftest.$ac_ext
26091 LIBS=$ac_check_lib_save_LIBS
26093 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ssl2_connect" >&5
26094 echo "${ECHO_T}$ac_cv_lib_ssl_ssl2_connect" >&6; }
26095 if test $ac_cv_lib_ssl_ssl2_connect = yes; then
26096 AST_OPENSSL_FOUND=yes
26098 AST_OPENSSL_FOUND=no
26102 if test "${AST_OPENSSL_FOUND}" = "yes"; then
26103 OPENSSL_LIB="-lssl -lcrypto"
26104 OPENSSL_HEADER_FOUND="1"
26105 if test "x${OPENSSL_DIR}" != "x"; then
26106 OPENSSL_LIB="${pbxlibdir} ${OPENSSL_LIB}"
26107 OPENSSL_INCLUDE="-I${OPENSSL_DIR}/include"
26108 saved_cppflags="${CPPFLAGS}"
26109 CPPFLAGS="${CPPFLAGS} -I${OPENSSL_DIR}/include"
26110 if test "xopenssl/ssl.h" != "x" ; then
26111 as_ac_Header=`echo "ac_cv_header_${OPENSSL_DIR}/include/openssl/ssl.h" |
$as_tr_sh`
26112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26113 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
26114 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
26115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26116 echo $ECHO_N "(cached) $ECHO_C" >&6
26118 ac_res=`eval echo '${'$as_ac_Header'}'`
26119 { echo "$as_me:$LINENO: result: $ac_res" >&5
26120 echo "${ECHO_T}$ac_res" >&6; }
26122 # Is the header compilable?
26123 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h usability" >&5
26124 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h usability... $ECHO_C" >&6; }
26125 cat >conftest.$ac_ext <<_ACEOF
26128 cat confdefs.h >>conftest.$ac_ext
26129 cat >>conftest.$ac_ext <<_ACEOF
26130 /* end confdefs.h. */
26131 $ac_includes_default
26132 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
26134 rm -f conftest.$ac_objext
26135 if { (ac_try="$ac_compile"
26136 case "(($ac_try" in
26137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26138 *) ac_try_echo
=$ac_try;;
26140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26141 (eval "$ac_compile") 2>conftest.er1
26143 grep -v '^ *+' conftest.er1
>conftest.err
26145 cat conftest.err
>&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } && {
26148 test -z "$ac_c_werror_flag" ||
26149 test ! -s conftest.err
26150 } && test -s conftest.
$ac_objext; then
26151 ac_header_compiler
=yes
26153 echo "$as_me: failed program was:" >&5
26154 sed 's/^/| /' conftest.
$ac_ext >&5
26156 ac_header_compiler
=no
26159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26160 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26161 echo "${ECHO_T}$ac_header_compiler" >&6; }
26163 # Is the header present?
26164 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h presence" >&5
26165 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h presence... $ECHO_C" >&6; }
26166 cat >conftest.
$ac_ext <<_ACEOF
26169 cat confdefs.h
>>conftest.
$ac_ext
26170 cat >>conftest.
$ac_ext <<_ACEOF
26171 /* end confdefs.h. */
26172 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
26174 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26175 case "(($ac_try" in
26176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26177 *) ac_try_echo=$ac_try;;
26179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26182 grep -v '^ *+' conftest.er1 >conftest.err
26184 cat conftest.err >&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } >/dev/null && {
26187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26188 test ! -s conftest.err
26190 ac_header_preproc=yes
26192 echo "$as_me: failed program was:" >&5
26193 sed 's/^/| /' conftest.$ac_ext >&5
26195 ac_header_preproc=no
26198 rm -f conftest.err conftest.$ac_ext
26199 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26200 echo "${ECHO_T}$ac_header_preproc" >&6; }
26202 # So? What about this header?
26203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26205 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26206 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26207 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the compiler's result" >&5
26208 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the compiler's result" >&2;}
26209 ac_header_preproc=yes
26212 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&5
26213 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&2;}
26214 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&5
26215 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&2;}
26216 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&5
26217 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&2;}
26218 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
26219 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
26220 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the preprocessor's result" >&5
26221 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
26222 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&5
26223 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
26227 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
26228 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
26229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26230 echo $ECHO_N "(cached) $ECHO_C" >&6
26232 eval "$as_ac_Header=\$ac_header_preproc"
26234 ac_res=`eval echo '${'$as_ac_Header'}'`
26235 { echo "$as_me:$LINENO: result: $ac_res" >&5
26236 echo "${ECHO_T}$ac_res" >&6; }
26239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26240 OPENSSL_HEADER_FOUND=1
26242 OPENSSL_HEADER_FOUND=0
26247 CPPFLAGS="${saved_cppflags}"
26249 if test "xopenssl/ssl.h" != "x" ; then
26250 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
26251 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
26252 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
26253 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26256 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
26257 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
26259 # Is the header compilable?
26260 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
26261 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; }
26262 cat >conftest.$ac_ext <<_ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26268 $ac_includes_default
26269 #include <openssl/ssl.h>
26271 rm -f conftest.$ac_objext
26272 if { (ac_try="$ac_compile"
26273 case "(($ac_try" in
26274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26275 *) ac_try_echo
=$ac_try;;
26277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26278 (eval "$ac_compile") 2>conftest.er1
26280 grep -v '^ *+' conftest.er1
>conftest.err
26282 cat conftest.err
>&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); } && {
26285 test -z "$ac_c_werror_flag" ||
26286 test ! -s conftest.err
26287 } && test -s conftest.
$ac_objext; then
26288 ac_header_compiler
=yes
26290 echo "$as_me: failed program was:" >&5
26291 sed 's/^/| /' conftest.
$ac_ext >&5
26293 ac_header_compiler
=no
26296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26298 echo "${ECHO_T}$ac_header_compiler" >&6; }
26300 # Is the header present?
26301 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
26302 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; }
26303 cat >conftest.
$ac_ext <<_ACEOF
26306 cat confdefs.h
>>conftest.
$ac_ext
26307 cat >>conftest.
$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26309 #include <openssl/ssl.h>
26311 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26312 case "(($ac_try" in
26313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26314 *) ac_try_echo=$ac_try;;
26316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26319 grep -v '^ *+' conftest.er1 >conftest.err
26321 cat conftest.err >&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } >/dev/null && {
26324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26325 test ! -s conftest.err
26327 ac_header_preproc=yes
26329 echo "$as_me: failed program was:" >&5
26330 sed 's/^/| /' conftest.$ac_ext >&5
26332 ac_header_preproc=no
26335 rm -f conftest.err conftest.$ac_ext
26336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26337 echo "${ECHO_T}$ac_header_preproc" >&6; }
26339 # So? What about this header?
26340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26342 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26343 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26344 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
26345 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
26346 ac_header_preproc=yes
26349 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
26350 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
26351 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5
26352 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;}
26353 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
26354 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
26355 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
26356 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
26357 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
26358 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
26359 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
26360 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
26364 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
26365 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
26366 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
26367 echo $ECHO_N "(cached) $ECHO_C" >&6
26369 ac_cv_header_openssl_ssl_h=$ac_header_preproc
26371 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
26372 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
26375 if test $ac_cv_header_openssl_ssl_h = yes; then
26376 OPENSSL_HEADER_FOUND=1
26378 OPENSSL_HEADER_FOUND=0
26384 if test "x${OPENSSL_HEADER_FOUND}" = "x0" ; then
26385 if test ! -z "${OPENSSL_MANDATORY}" ;
26387 { echo "$as_me:$LINENO: ***" >&5
26388 echo "$as_me: ***" >&6;}
26389 { echo "$as_me:$LINENO: *** It appears that you do not have the ssl development package installed." >&5
26390 echo "$as_me: *** It appears that you do not have the ssl development package installed." >&6;}
26391 { echo "$as_me:$LINENO: *** Please install it to include ${OPENSSL_DESCRIP} support, or re-run configure" >&5
26392 echo "$as_me: *** Please install it to include ${OPENSSL_DESCRIP} support, or re-run configure" >&6;}
26393 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
26394 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
26403 cat >>confdefs.h <<_ACEOF
26404 #define HAVE_OPENSSL 1
26408 elif test ! -z "${OPENSSL_MANDATORY}";
26410 { echo "$as_me:$LINENO: ***" >&5
26411 echo "$as_me: ***" >&6;}
26412 { echo "$as_me:$LINENO: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&5
26413 echo "$as_me: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&6;}
26414 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
26415 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
26416 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
26417 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
26424 if test "${USE_FREETDS}" != "no"; then
26426 if test "x${FREETDS_DIR}" != "x"; then
26427 if test -d ${FREETDS_DIR}/lib; then
26428 pbxlibdir="-L${FREETDS_DIR}/lib"
26430 pbxlibdir="-L${FREETDS_DIR}"
26433 { echo "$as_me:$LINENO: checking for tds_version in -ltds" >&5
26434 echo $ECHO_N "checking for tds_version in -ltds... $ECHO_C" >&6; }
26435 if test "${ac_cv_lib_tds_tds_version+set}" = set; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26438 ac_check_lib_save_LIBS=$LIBS
26439 LIBS="-ltds ${pbxlibdir} $LIBS"
26440 cat >conftest.$ac_ext <<_ACEOF
26443 cat confdefs.h >>conftest.$ac_ext
26444 cat >>conftest.$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26447 /* Override any GCC internal prototype to avoid an error.
26448 Use char because int might match the return type of a GCC
26449 builtin and then its argument prototype would still apply. */
26453 char tds_version ();
26457 return tds_version ();
26462 rm -f conftest.$ac_objext conftest$ac_exeext
26463 if { (ac_try="$ac_link"
26464 case "(($ac_try" in
26465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26466 *) ac_try_echo
=$ac_try;;
26468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26469 (eval "$ac_link") 2>conftest.er1
26471 grep -v '^ *+' conftest.er1
>conftest.err
26473 cat conftest.err
>&5
26474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475 (exit $ac_status); } && {
26476 test -z "$ac_c_werror_flag" ||
26477 test ! -s conftest.err
26478 } && test -s conftest
$ac_exeext &&
26479 $as_test_x conftest
$ac_exeext; then
26480 ac_cv_lib_tds_tds_version
=yes
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.
$ac_ext >&5
26485 ac_cv_lib_tds_tds_version
=no
26488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26489 conftest
$ac_exeext conftest.
$ac_ext
26490 LIBS
=$ac_check_lib_save_LIBS
26492 { echo "$as_me:$LINENO: result: $ac_cv_lib_tds_tds_version" >&5
26493 echo "${ECHO_T}$ac_cv_lib_tds_tds_version" >&6; }
26494 if test $ac_cv_lib_tds_tds_version = yes; then
26495 AST_FREETDS_FOUND
=yes
26497 AST_FREETDS_FOUND
=no
26501 if test "${AST_FREETDS_FOUND}" = "yes"; then
26502 FREETDS_LIB
="-ltds "
26503 FREETDS_HEADER_FOUND
="1"
26504 if test "x${FREETDS_DIR}" != "x"; then
26505 FREETDS_LIB
="${pbxlibdir} ${FREETDS_LIB}"
26506 FREETDS_INCLUDE
="-I${FREETDS_DIR}/include"
26507 saved_cppflags
="${CPPFLAGS}"
26508 CPPFLAGS
="${CPPFLAGS} -I${FREETDS_DIR}/include"
26509 if test "xtds.h" != "x" ; then
26510 as_ac_Header
=`echo "ac_cv_header_${FREETDS_DIR}/include/tds.h" | $as_tr_sh`
26511 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26512 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
26513 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
26514 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26517 ac_res
=`eval echo '${'$as_ac_Header'}'`
26518 { echo "$as_me:$LINENO: result: $ac_res" >&5
26519 echo "${ECHO_T}$ac_res" >&6; }
26521 # Is the header compilable?
26522 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h usability" >&5
26523 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h usability... $ECHO_C" >&6; }
26524 cat >conftest.
$ac_ext <<_ACEOF
26527 cat confdefs.h
>>conftest.
$ac_ext
26528 cat >>conftest.
$ac_ext <<_ACEOF
26529 /* end confdefs.h. */
26530 $ac_includes_default
26531 #include <${FREETDS_DIR}/include/tds.h>
26533 rm -f conftest.
$ac_objext
26534 if { (ac_try
="$ac_compile"
26535 case "(($ac_try" in
26536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26537 *) ac_try_echo=$ac_try;;
26539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26540 (eval "$ac_compile") 2>conftest.er1
26542 grep -v '^ *+' conftest.er1 >conftest.err
26544 cat conftest.err >&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); } && {
26547 test -z "$ac_c_werror_flag" ||
26548 test ! -s conftest.err
26549 } && test -s conftest.$ac_objext; then
26550 ac_header_compiler=yes
26552 echo "$as_me: failed program was:" >&5
26553 sed 's/^/| /' conftest.$ac_ext >&5
26555 ac_header_compiler=no
26558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26559 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26560 echo "${ECHO_T}$ac_header_compiler" >&6; }
26562 # Is the header present?
26563 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h presence" >&5
26564 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h presence... $ECHO_C" >&6; }
26565 cat >conftest.$ac_ext <<_ACEOF
26568 cat confdefs.h >>conftest.$ac_ext
26569 cat >>conftest.$ac_ext <<_ACEOF
26570 /* end confdefs.h. */
26571 #include <${FREETDS_DIR}/include/tds.h>
26573 if { (ac_try="$ac_cpp conftest.$ac_ext"
26574 case "(($ac_try" in
26575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26576 *) ac_try_echo
=$ac_try;;
26578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26581 grep -v '^ *+' conftest.er1
>conftest.err
26583 cat conftest.err
>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } >/dev
/null
&& {
26586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26587 test ! -s conftest.err
26589 ac_header_preproc
=yes
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.
$ac_ext >&5
26594 ac_header_preproc
=no
26597 rm -f conftest.err conftest.
$ac_ext
26598 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26599 echo "${ECHO_T}$ac_header_preproc" >&6; }
26601 # So? What about this header?
26602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26604 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
26605 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26606 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the compiler's result" >&5
26607 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the compiler's result" >&2;}
26608 ac_header_preproc
=yes
26611 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&5
26612 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&2;}
26613 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&5
26614 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&2;}
26615 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&5
26616 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&2;}
26617 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&5
26618 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
26619 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the preprocessor's result" >&5
26620 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the preprocessor's result" >&2;}
26621 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&5
26622 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&2;}
26626 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
26627 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
26628 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26629 echo $ECHO_N "(cached) $ECHO_C" >&6
26631 eval "$as_ac_Header=\$ac_header_preproc"
26633 ac_res
=`eval echo '${'$as_ac_Header'}'`
26634 { echo "$as_me:$LINENO: result: $ac_res" >&5
26635 echo "${ECHO_T}$ac_res" >&6; }
26638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26639 FREETDS_HEADER_FOUND
=1
26641 FREETDS_HEADER_FOUND
=0
26646 CPPFLAGS
="${saved_cppflags}"
26648 if test "xtds.h" != "x" ; then
26649 if test "${ac_cv_header_tds_h+set}" = set; then
26650 { echo "$as_me:$LINENO: checking for tds.h" >&5
26651 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
26652 if test "${ac_cv_header_tds_h+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
26656 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
26658 # Is the header compilable?
26659 { echo "$as_me:$LINENO: checking tds.h usability" >&5
26660 echo $ECHO_N "checking tds.h usability... $ECHO_C" >&6; }
26661 cat >conftest.
$ac_ext <<_ACEOF
26664 cat confdefs.h
>>conftest.
$ac_ext
26665 cat >>conftest.
$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 $ac_includes_default
26670 rm -f conftest.
$ac_objext
26671 if { (ac_try
="$ac_compile"
26672 case "(($ac_try" in
26673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26674 *) ac_try_echo=$ac_try;;
26676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26677 (eval "$ac_compile") 2>conftest.er1
26679 grep -v '^ *+' conftest.er1 >conftest.err
26681 cat conftest.err >&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } && {
26684 test -z "$ac_c_werror_flag" ||
26685 test ! -s conftest.err
26686 } && test -s conftest.$ac_objext; then
26687 ac_header_compiler=yes
26689 echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.$ac_ext >&5
26692 ac_header_compiler=no
26695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26696 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26697 echo "${ECHO_T}$ac_header_compiler" >&6; }
26699 # Is the header present?
26700 { echo "$as_me:$LINENO: checking tds.h presence" >&5
26701 echo $ECHO_N "checking tds.h presence... $ECHO_C" >&6; }
26702 cat >conftest.$ac_ext <<_ACEOF
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26710 if { (ac_try="$ac_cpp conftest.$ac_ext"
26711 case "(($ac_try" in
26712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26713 *) ac_try_echo
=$ac_try;;
26715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26718 grep -v '^ *+' conftest.er1
>conftest.err
26720 cat conftest.err
>&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); } >/dev
/null
&& {
26723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26724 test ! -s conftest.err
26726 ac_header_preproc
=yes
26728 echo "$as_me: failed program was:" >&5
26729 sed 's/^/| /' conftest.
$ac_ext >&5
26731 ac_header_preproc
=no
26734 rm -f conftest.err conftest.
$ac_ext
26735 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26736 echo "${ECHO_T}$ac_header_preproc" >&6; }
26738 # So? What about this header?
26739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26741 { echo "$as_me:$LINENO: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
26742 echo "$as_me: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26743 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the compiler's result" >&5
26744 echo "$as_me: WARNING: tds.h: proceeding with the compiler's result" >&2;}
26745 ac_header_preproc
=yes
26748 { echo "$as_me:$LINENO: WARNING: tds.h: present but cannot be compiled" >&5
26749 echo "$as_me: WARNING: tds.h: present but cannot be compiled" >&2;}
26750 { echo "$as_me:$LINENO: WARNING: tds.h: check for missing prerequisite headers?" >&5
26751 echo "$as_me: WARNING: tds.h: check for missing prerequisite headers?" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: tds.h: see the Autoconf documentation" >&5
26753 echo "$as_me: WARNING: tds.h: see the Autoconf documentation" >&2;}
26754 { echo "$as_me:$LINENO: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&5
26755 echo "$as_me: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the preprocessor's result" >&5
26757 echo "$as_me: WARNING: tds.h: proceeding with the preprocessor's result" >&2;}
26758 { echo "$as_me:$LINENO: WARNING: tds.h: in the future, the compiler will take precedence" >&5
26759 echo "$as_me: WARNING: tds.h: in the future, the compiler will take precedence" >&2;}
26763 { echo "$as_me:$LINENO: checking for tds.h" >&5
26764 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
26765 if test "${ac_cv_header_tds_h+set}" = set; then
26766 echo $ECHO_N "(cached) $ECHO_C" >&6
26768 ac_cv_header_tds_h
=$ac_header_preproc
26770 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
26771 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
26774 if test $ac_cv_header_tds_h = yes; then
26775 FREETDS_HEADER_FOUND
=1
26777 FREETDS_HEADER_FOUND
=0
26783 if test "x${FREETDS_HEADER_FOUND}" = "x0" ; then
26784 if test ! -z "${FREETDS_MANDATORY}" ;
26786 { echo "$as_me:$LINENO: ***" >&5
26787 echo "$as_me: ***" >&6;}
26788 { echo "$as_me:$LINENO: *** It appears that you do not have the tds development package installed." >&5
26789 echo "$as_me: *** It appears that you do not have the tds development package installed." >&6;}
26790 { echo "$as_me:$LINENO: *** Please install it to include ${FREETDS_DESCRIP} support, or re-run configure" >&5
26791 echo "$as_me: *** Please install it to include ${FREETDS_DESCRIP} support, or re-run configure" >&6;}
26792 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
26793 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
26802 cat >>confdefs.h
<<_ACEOF
26803 #define HAVE_FREETDS 1
26807 elif test ! -z "${FREETDS_MANDATORY}";
26809 { echo "$as_me:$LINENO: ***" >&5
26810 echo "$as_me: ***" >&6;}
26811 { echo "$as_me:$LINENO: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&5
26812 echo "$as_me: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&6;}
26813 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
26814 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
26815 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
26816 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
26821 if test "${PBX_FREETDS}" != "0";
26823 case `grep TDS_VERSION_NO ${FREETDS_DIR:-/usr/include}/tdsver.h` in
26825 FREETDS_INCLUDE
="${FREETDS_INCLUDE} -DFREETDS_0_64"
26828 FREETDS_INCLUDE
="${FREETDS_INCLUDE} -DFREETDS_0_63"
26831 FREETDS_INCLUDE
="${FREETDS_INCLUDE} -DFREETDS_0_62"
26834 FREETDS_INCLUDE
="${FREETDS_INCLUDE} -DFREETDS_PRE_0_62"
26840 if test "${USE_TERMCAP}" != "no"; then
26842 if test "x${TERMCAP_DIR}" != "x"; then
26843 if test -d ${TERMCAP_DIR}/lib
; then
26844 pbxlibdir
="-L${TERMCAP_DIR}/lib"
26846 pbxlibdir
="-L${TERMCAP_DIR}"
26849 { echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
26850 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
26851 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 ac_check_lib_save_LIBS
=$LIBS
26855 LIBS
="-ltermcap ${pbxlibdir} $LIBS"
26856 cat >conftest.
$ac_ext <<_ACEOF
26859 cat confdefs.h
>>conftest.
$ac_ext
26860 cat >>conftest.
$ac_ext <<_ACEOF
26861 /* end confdefs.h. */
26863 /* Override any GCC internal prototype to avoid an error.
26864 Use char because int might match the return type of a GCC
26865 builtin and then its argument prototype would still apply. */
26878 rm -f conftest.
$ac_objext conftest
$ac_exeext
26879 if { (ac_try
="$ac_link"
26880 case "(($ac_try" in
26881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26882 *) ac_try_echo=$ac_try;;
26884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26885 (eval "$ac_link") 2>conftest.er1
26887 grep -v '^ *+' conftest.er1 >conftest.err
26889 cat conftest.err >&5
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); } && {
26892 test -z "$ac_c_werror_flag" ||
26893 test ! -s conftest.err
26894 } && test -s conftest$ac_exeext &&
26895 $as_test_x conftest$ac_exeext; then
26896 ac_cv_lib_termcap_tgetent=yes
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.$ac_ext >&5
26901 ac_cv_lib_termcap_tgetent=no
26904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26905 conftest$ac_exeext conftest.$ac_ext
26906 LIBS=$ac_check_lib_save_LIBS
26908 { echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
26909 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
26910 if test $ac_cv_lib_termcap_tgetent = yes; then
26911 AST_TERMCAP_FOUND=yes
26913 AST_TERMCAP_FOUND=no
26917 if test "${AST_TERMCAP_FOUND}" = "yes"; then
26918 TERMCAP_LIB="-ltermcap "
26919 TERMCAP_HEADER_FOUND="1"
26920 if test "x${TERMCAP_DIR}" != "x"; then
26921 TERMCAP_LIB="${pbxlibdir} ${TERMCAP_LIB}"
26922 TERMCAP_INCLUDE="-I${TERMCAP_DIR}/include"
26923 saved_cppflags="${CPPFLAGS}"
26924 CPPFLAGS="${CPPFLAGS} -I${TERMCAP_DIR}/include"
26925 if test "x" != "x" ; then
26926 as_ac_Header=`echo "ac_cv_header_${TERMCAP_DIR}/include/" |
$as_tr_sh`
26927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26928 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
26929 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
26930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26931 echo $ECHO_N "(cached) $ECHO_C" >&6
26933 ac_res=`eval echo '${'$as_ac_Header'}'`
26934 { echo "$as_me:$LINENO: result: $ac_res" >&5
26935 echo "${ECHO_T}$ac_res" >&6; }
26937 # Is the header compilable?
26938 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ usability" >&5
26939 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ usability... $ECHO_C" >&6; }
26940 cat >conftest.$ac_ext <<_ACEOF
26943 cat confdefs.h >>conftest.$ac_ext
26944 cat >>conftest.$ac_ext <<_ACEOF
26945 /* end confdefs.h. */
26946 $ac_includes_default
26947 #include <${TERMCAP_DIR}/include/>
26949 rm -f conftest.$ac_objext
26950 if { (ac_try="$ac_compile"
26951 case "(($ac_try" in
26952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26953 *) ac_try_echo
=$ac_try;;
26955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26956 (eval "$ac_compile") 2>conftest.er1
26958 grep -v '^ *+' conftest.er1
>conftest.err
26960 cat conftest.err
>&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } && {
26963 test -z "$ac_c_werror_flag" ||
26964 test ! -s conftest.err
26965 } && test -s conftest.
$ac_objext; then
26966 ac_header_compiler
=yes
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.
$ac_ext >&5
26971 ac_header_compiler
=no
26974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26975 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26976 echo "${ECHO_T}$ac_header_compiler" >&6; }
26978 # Is the header present?
26979 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ presence" >&5
26980 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ presence... $ECHO_C" >&6; }
26981 cat >conftest.
$ac_ext <<_ACEOF
26984 cat confdefs.h
>>conftest.
$ac_ext
26985 cat >>conftest.
$ac_ext <<_ACEOF
26986 /* end confdefs.h. */
26987 #include <${TERMCAP_DIR}/include/>
26989 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26990 case "(($ac_try" in
26991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26992 *) ac_try_echo=$ac_try;;
26994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26997 grep -v '^ *+' conftest.er1 >conftest.err
26999 cat conftest.err >&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } >/dev/null && {
27002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27003 test ! -s conftest.err
27005 ac_header_preproc=yes
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.$ac_ext >&5
27010 ac_header_preproc=no
27013 rm -f conftest.err conftest.$ac_ext
27014 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27015 echo "${ECHO_T}$ac_header_preproc" >&6; }
27017 # So? What about this header?
27018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27020 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
27021 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
27022 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the compiler's result" >&5
27023 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: proceeding with the compiler's result" >&2;}
27024 ac_header_preproc=yes
27027 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&5
27028 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&2;}
27029 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&5
27030 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&2;}
27031 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&5
27032 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&2;}
27033 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
27034 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
27035 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the preprocessor's result" >&5
27036 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: proceeding with the preprocessor's result" >&2;}
27037 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&5
27038 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&2;}
27042 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
27043 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
27044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27047 eval "$as_ac_Header=\$ac_header_preproc"
27049 ac_res=`eval echo '${'$as_ac_Header'}'`
27050 { echo "$as_me:$LINENO: result: $ac_res" >&5
27051 echo "${ECHO_T}$ac_res" >&6; }
27054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27055 TERMCAP_HEADER_FOUND=1
27057 TERMCAP_HEADER_FOUND=0
27062 CPPFLAGS="${saved_cppflags}"
27064 if test "x" != "x" ; then
27065 if test "${ac_cv_header_+set}" = set; then
27066 { echo "$as_me:$LINENO: checking for " >&5
27067 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
27068 if test "${ac_cv_header_+set}" = set; then
27069 echo $ECHO_N "(cached) $ECHO_C" >&6
27071 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
27072 echo "${ECHO_T}$ac_cv_header_" >&6; }
27074 # Is the header compilable?
27075 { echo "$as_me:$LINENO: checking usability" >&5
27076 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
27077 cat >conftest.$ac_ext <<_ACEOF
27080 cat confdefs.h >>conftest.$ac_ext
27081 cat >>conftest.$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27083 $ac_includes_default
27086 rm -f conftest.$ac_objext
27087 if { (ac_try="$ac_compile"
27088 case "(($ac_try" in
27089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27090 *) ac_try_echo
=$ac_try;;
27092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27093 (eval "$ac_compile") 2>conftest.er1
27095 grep -v '^ *+' conftest.er1
>conftest.err
27097 cat conftest.err
>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); } && {
27100 test -z "$ac_c_werror_flag" ||
27101 test ! -s conftest.err
27102 } && test -s conftest.
$ac_objext; then
27103 ac_header_compiler
=yes
27105 echo "$as_me: failed program was:" >&5
27106 sed 's/^/| /' conftest.
$ac_ext >&5
27108 ac_header_compiler
=no
27111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27112 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27113 echo "${ECHO_T}$ac_header_compiler" >&6; }
27115 # Is the header present?
27116 { echo "$as_me:$LINENO: checking presence" >&5
27117 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
27118 cat >conftest.
$ac_ext <<_ACEOF
27121 cat confdefs.h
>>conftest.
$ac_ext
27122 cat >>conftest.
$ac_ext <<_ACEOF
27123 /* end confdefs.h. */
27126 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27127 case "(($ac_try" in
27128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27129 *) ac_try_echo=$ac_try;;
27131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27132 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27134 grep -v '^ *+' conftest.er1 >conftest.err
27136 cat conftest.err >&5
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); } >/dev/null && {
27139 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27140 test ! -s conftest.err
27142 ac_header_preproc=yes
27144 echo "$as_me: failed program was:" >&5
27145 sed 's/^/| /' conftest.$ac_ext >&5
27147 ac_header_preproc=no
27150 rm -f conftest.err conftest.$ac_ext
27151 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27152 echo "${ECHO_T}$ac_header_preproc" >&6; }
27154 # So? What about this header?
27155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27157 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
27158 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
27159 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
27160 echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
27161 ac_header_preproc=yes
27164 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
27165 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
27166 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
27167 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
27168 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
27169 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
27170 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
27171 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
27172 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
27173 echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
27174 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
27175 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
27179 { echo "$as_me:$LINENO: checking for " >&5
27180 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
27181 if test "${ac_cv_header_+set}" = set; then
27182 echo $ECHO_N "(cached) $ECHO_C" >&6
27184 ac_cv_header_=$ac_header_preproc
27186 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
27187 echo "${ECHO_T}$ac_cv_header_" >&6; }
27190 if test $ac_cv_header_ = yes; then
27191 TERMCAP_HEADER_FOUND=1
27193 TERMCAP_HEADER_FOUND=0
27199 if test "x${TERMCAP_HEADER_FOUND}" = "x0" ; then
27200 if test ! -z "${TERMCAP_MANDATORY}" ;
27202 { echo "$as_me:$LINENO: ***" >&5
27203 echo "$as_me: ***" >&6;}
27204 { echo "$as_me:$LINENO: *** It appears that you do not have the termcap development package installed." >&5
27205 echo "$as_me: *** It appears that you do not have the termcap development package installed." >&6;}
27206 { echo "$as_me:$LINENO: *** Please install it to include ${TERMCAP_DESCRIP} support, or re-run configure" >&5
27207 echo "$as_me: *** Please install it to include ${TERMCAP_DESCRIP} support, or re-run configure" >&6;}
27208 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
27209 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
27218 cat >>confdefs.h <<_ACEOF
27219 #define HAVE_TERMCAP 1
27223 elif test ! -z "${TERMCAP_MANDATORY}";
27225 { echo "$as_me:$LINENO: ***" >&5
27226 echo "$as_me: ***" >&6;}
27227 { echo "$as_me:$LINENO: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&5
27228 echo "$as_me: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&6;}
27229 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
27230 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
27231 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
27232 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
27239 if test "${USE_TINFO}" != "no"; then
27241 if test "x${TINFO_DIR}" != "x"; then
27242 if test -d ${TINFO_DIR}/lib; then
27243 pbxlibdir="-L${TINFO_DIR}/lib"
27245 pbxlibdir="-L${TINFO_DIR}"
27248 { echo "$as_me:$LINENO: checking for tgetent in -ltinfo" >&5
27249 echo $ECHO_N "checking for tgetent in -ltinfo... $ECHO_C" >&6; }
27250 if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then
27251 echo $ECHO_N "(cached) $ECHO_C" >&6
27253 ac_check_lib_save_LIBS=$LIBS
27254 LIBS="-ltinfo ${pbxlibdir} $LIBS"
27255 cat >conftest.$ac_ext <<_ACEOF
27258 cat confdefs.h >>conftest.$ac_ext
27259 cat >>conftest.$ac_ext <<_ACEOF
27260 /* end confdefs.h. */
27262 /* Override any GCC internal prototype to avoid an error.
27263 Use char because int might match the return type of a GCC
27264 builtin and then its argument prototype would still apply. */
27277 rm -f conftest.$ac_objext conftest$ac_exeext
27278 if { (ac_try="$ac_link"
27279 case "(($ac_try" in
27280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27281 *) ac_try_echo
=$ac_try;;
27283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27284 (eval "$ac_link") 2>conftest.er1
27286 grep -v '^ *+' conftest.er1
>conftest.err
27288 cat conftest.err
>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } && {
27291 test -z "$ac_c_werror_flag" ||
27292 test ! -s conftest.err
27293 } && test -s conftest
$ac_exeext &&
27294 $as_test_x conftest
$ac_exeext; then
27295 ac_cv_lib_tinfo_tgetent
=yes
27297 echo "$as_me: failed program was:" >&5
27298 sed 's/^/| /' conftest.
$ac_ext >&5
27300 ac_cv_lib_tinfo_tgetent
=no
27303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27304 conftest
$ac_exeext conftest.
$ac_ext
27305 LIBS
=$ac_check_lib_save_LIBS
27307 { echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tgetent" >&5
27308 echo "${ECHO_T}$ac_cv_lib_tinfo_tgetent" >&6; }
27309 if test $ac_cv_lib_tinfo_tgetent = yes; then
27310 AST_TINFO_FOUND
=yes
27316 if test "${AST_TINFO_FOUND}" = "yes"; then
27317 TINFO_LIB
="-ltinfo "
27318 TINFO_HEADER_FOUND
="1"
27319 if test "x${TINFO_DIR}" != "x"; then
27320 TINFO_LIB
="${pbxlibdir} ${TINFO_LIB}"
27321 TINFO_INCLUDE
="-I${TINFO_DIR}/include"
27322 saved_cppflags
="${CPPFLAGS}"
27323 CPPFLAGS
="${CPPFLAGS} -I${TINFO_DIR}/include"
27324 if test "x" != "x" ; then
27325 as_ac_Header
=`echo "ac_cv_header_${TINFO_DIR}/include/" | $as_tr_sh`
27326 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27327 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
27328 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
27329 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27330 echo $ECHO_N "(cached) $ECHO_C" >&6
27332 ac_res
=`eval echo '${'$as_ac_Header'}'`
27333 { echo "$as_me:$LINENO: result: $ac_res" >&5
27334 echo "${ECHO_T}$ac_res" >&6; }
27336 # Is the header compilable?
27337 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ usability" >&5
27338 echo $ECHO_N "checking ${TINFO_DIR}/include/ usability... $ECHO_C" >&6; }
27339 cat >conftest.
$ac_ext <<_ACEOF
27342 cat confdefs.h
>>conftest.
$ac_ext
27343 cat >>conftest.
$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27345 $ac_includes_default
27346 #include <${TINFO_DIR}/include/>
27348 rm -f conftest.
$ac_objext
27349 if { (ac_try
="$ac_compile"
27350 case "(($ac_try" in
27351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27352 *) ac_try_echo=$ac_try;;
27354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27355 (eval "$ac_compile") 2>conftest.er1
27357 grep -v '^ *+' conftest.er1 >conftest.err
27359 cat conftest.err >&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); } && {
27362 test -z "$ac_c_werror_flag" ||
27363 test ! -s conftest.err
27364 } && test -s conftest.$ac_objext; then
27365 ac_header_compiler=yes
27367 echo "$as_me: failed program was:" >&5
27368 sed 's/^/| /' conftest.$ac_ext >&5
27370 ac_header_compiler=no
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27375 echo "${ECHO_T}$ac_header_compiler" >&6; }
27377 # Is the header present?
27378 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ presence" >&5
27379 echo $ECHO_N "checking ${TINFO_DIR}/include/ presence... $ECHO_C" >&6; }
27380 cat >conftest.$ac_ext <<_ACEOF
27383 cat confdefs.h >>conftest.$ac_ext
27384 cat >>conftest.$ac_ext <<_ACEOF
27385 /* end confdefs.h. */
27386 #include <${TINFO_DIR}/include/>
27388 if { (ac_try="$ac_cpp conftest.$ac_ext"
27389 case "(($ac_try" in
27390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27391 *) ac_try_echo
=$ac_try;;
27393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27394 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27396 grep -v '^ *+' conftest.er1
>conftest.err
27398 cat conftest.err
>&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); } >/dev
/null
&& {
27401 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27402 test ! -s conftest.err
27404 ac_header_preproc
=yes
27406 echo "$as_me: failed program was:" >&5
27407 sed 's/^/| /' conftest.
$ac_ext >&5
27409 ac_header_preproc
=no
27412 rm -f conftest.err conftest.
$ac_ext
27413 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27414 echo "${ECHO_T}$ac_header_preproc" >&6; }
27416 # So? What about this header?
27417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27419 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
27420 echo "$as_me: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
27421 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the compiler's result" >&5
27422 echo "$as_me: WARNING: ${TINFO_DIR}/include/: proceeding with the compiler's result" >&2;}
27423 ac_header_preproc
=yes
27426 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&5
27427 echo "$as_me: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&2;}
27428 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&5
27429 echo "$as_me: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&2;}
27430 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&5
27431 echo "$as_me: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&2;}
27432 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
27433 echo "$as_me: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
27434 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the preprocessor's result" >&5
27435 echo "$as_me: WARNING: ${TINFO_DIR}/include/: proceeding with the preprocessor's result" >&2;}
27436 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&5
27437 echo "$as_me: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&2;}
27441 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
27442 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
27443 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27444 echo $ECHO_N "(cached) $ECHO_C" >&6
27446 eval "$as_ac_Header=\$ac_header_preproc"
27448 ac_res
=`eval echo '${'$as_ac_Header'}'`
27449 { echo "$as_me:$LINENO: result: $ac_res" >&5
27450 echo "${ECHO_T}$ac_res" >&6; }
27453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27454 TINFO_HEADER_FOUND
=1
27456 TINFO_HEADER_FOUND
=0
27461 CPPFLAGS
="${saved_cppflags}"
27463 if test "x" != "x" ; then
27464 if test "${ac_cv_header_+set}" = set; then
27465 { echo "$as_me:$LINENO: checking for " >&5
27466 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
27467 if test "${ac_cv_header_+set}" = set; then
27468 echo $ECHO_N "(cached) $ECHO_C" >&6
27470 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
27471 echo "${ECHO_T}$ac_cv_header_" >&6; }
27473 # Is the header compilable?
27474 { echo "$as_me:$LINENO: checking usability" >&5
27475 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
27476 cat >conftest.
$ac_ext <<_ACEOF
27479 cat confdefs.h
>>conftest.
$ac_ext
27480 cat >>conftest.
$ac_ext <<_ACEOF
27481 /* end confdefs.h. */
27482 $ac_includes_default
27485 rm -f conftest.
$ac_objext
27486 if { (ac_try
="$ac_compile"
27487 case "(($ac_try" in
27488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27489 *) ac_try_echo=$ac_try;;
27491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27492 (eval "$ac_compile") 2>conftest.er1
27494 grep -v '^ *+' conftest.er1 >conftest.err
27496 cat conftest.err >&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } && {
27499 test -z "$ac_c_werror_flag" ||
27500 test ! -s conftest.err
27501 } && test -s conftest.$ac_objext; then
27502 ac_header_compiler=yes
27504 echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.$ac_ext >&5
27507 ac_header_compiler=no
27510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27511 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27512 echo "${ECHO_T}$ac_header_compiler" >&6; }
27514 # Is the header present?
27515 { echo "$as_me:$LINENO: checking presence" >&5
27516 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
27517 cat >conftest.$ac_ext <<_ACEOF
27520 cat confdefs.h >>conftest.$ac_ext
27521 cat >>conftest.$ac_ext <<_ACEOF
27522 /* end confdefs.h. */
27525 if { (ac_try="$ac_cpp conftest.$ac_ext"
27526 case "(($ac_try" in
27527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27528 *) ac_try_echo
=$ac_try;;
27530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27533 grep -v '^ *+' conftest.er1
>conftest.err
27535 cat conftest.err
>&5
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); } >/dev
/null
&& {
27538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27539 test ! -s conftest.err
27541 ac_header_preproc
=yes
27543 echo "$as_me: failed program was:" >&5
27544 sed 's/^/| /' conftest.
$ac_ext >&5
27546 ac_header_preproc
=no
27549 rm -f conftest.err conftest.
$ac_ext
27550 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27551 echo "${ECHO_T}$ac_header_preproc" >&6; }
27553 # So? What about this header?
27554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27556 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
27557 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
27558 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
27559 echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
27560 ac_header_preproc
=yes
27563 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
27564 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
27565 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
27566 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
27567 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
27568 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
27569 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
27570 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
27571 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
27572 echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
27573 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
27574 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
27578 { echo "$as_me:$LINENO: checking for " >&5
27579 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
27580 if test "${ac_cv_header_+set}" = set; then
27581 echo $ECHO_N "(cached) $ECHO_C" >&6
27583 ac_cv_header_
=$ac_header_preproc
27585 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
27586 echo "${ECHO_T}$ac_cv_header_" >&6; }
27589 if test $ac_cv_header_ = yes; then
27590 TINFO_HEADER_FOUND
=1
27592 TINFO_HEADER_FOUND
=0
27598 if test "x${TINFO_HEADER_FOUND}" = "x0" ; then
27599 if test ! -z "${TINFO_MANDATORY}" ;
27601 { echo "$as_me:$LINENO: ***" >&5
27602 echo "$as_me: ***" >&6;}
27603 { echo "$as_me:$LINENO: *** It appears that you do not have the tinfo development package installed." >&5
27604 echo "$as_me: *** It appears that you do not have the tinfo development package installed." >&6;}
27605 { echo "$as_me:$LINENO: *** Please install it to include ${TINFO_DESCRIP} support, or re-run configure" >&5
27606 echo "$as_me: *** Please install it to include ${TINFO_DESCRIP} support, or re-run configure" >&6;}
27607 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
27608 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
27617 cat >>confdefs.h
<<_ACEOF
27618 #define HAVE_TINFO 1
27622 elif test ! -z "${TINFO_MANDATORY}";
27624 { echo "$as_me:$LINENO: ***" >&5
27625 echo "$as_me: ***" >&6;}
27626 { echo "$as_me:$LINENO: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&5
27627 echo "$as_me: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&6;}
27628 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
27629 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
27630 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
27631 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
27637 if test "${host_os}" != "linux-gnu" ; then
27638 tonezone_extra
="-lm"
27642 if test "${USE_TONEZONE}" != "no"; then
27644 if test "x${TONEZONE_DIR}" != "x"; then
27645 if test -d ${TONEZONE_DIR}/lib
; then
27646 pbxlibdir
="-L${TONEZONE_DIR}/lib"
27648 pbxlibdir
="-L${TONEZONE_DIR}"
27651 { echo "$as_me:$LINENO: checking for tone_zone_find in -ltonezone" >&5
27652 echo $ECHO_N "checking for tone_zone_find in -ltonezone... $ECHO_C" >&6; }
27653 if test "${ac_cv_lib_tonezone_tone_zone_find+set}" = set; then
27654 echo $ECHO_N "(cached) $ECHO_C" >&6
27656 ac_check_lib_save_LIBS
=$LIBS
27657 LIBS
="-ltonezone ${pbxlibdir} ${tonezone_extra} $LIBS"
27658 cat >conftest.
$ac_ext <<_ACEOF
27661 cat confdefs.h
>>conftest.
$ac_ext
27662 cat >>conftest.
$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27665 /* Override any GCC internal prototype to avoid an error.
27666 Use char because int might match the return type of a GCC
27667 builtin and then its argument prototype would still apply. */
27671 char tone_zone_find ();
27675 return tone_zone_find ();
27680 rm -f conftest.
$ac_objext conftest
$ac_exeext
27681 if { (ac_try
="$ac_link"
27682 case "(($ac_try" in
27683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27684 *) ac_try_echo=$ac_try;;
27686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27687 (eval "$ac_link") 2>conftest.er1
27689 grep -v '^ *+' conftest.er1 >conftest.err
27691 cat conftest.err >&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } && {
27694 test -z "$ac_c_werror_flag" ||
27695 test ! -s conftest.err
27696 } && test -s conftest$ac_exeext &&
27697 $as_test_x conftest$ac_exeext; then
27698 ac_cv_lib_tonezone_tone_zone_find=yes
27700 echo "$as_me: failed program was:" >&5
27701 sed 's/^/| /' conftest.$ac_ext >&5
27703 ac_cv_lib_tonezone_tone_zone_find=no
27706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27707 conftest$ac_exeext conftest.$ac_ext
27708 LIBS=$ac_check_lib_save_LIBS
27710 { echo "$as_me:$LINENO: result: $ac_cv_lib_tonezone_tone_zone_find" >&5
27711 echo "${ECHO_T}$ac_cv_lib_tonezone_tone_zone_find" >&6; }
27712 if test $ac_cv_lib_tonezone_tone_zone_find = yes; then
27713 AST_TONEZONE_FOUND=yes
27715 AST_TONEZONE_FOUND=no
27719 if test "${AST_TONEZONE_FOUND}" = "yes"; then
27720 TONEZONE_LIB="-ltonezone ${tonezone_extra}"
27721 TONEZONE_HEADER_FOUND="1"
27722 if test "x${TONEZONE_DIR}" != "x"; then
27723 TONEZONE_LIB="${pbxlibdir} ${TONEZONE_LIB}"
27724 TONEZONE_INCLUDE="-I${TONEZONE_DIR}/include"
27725 saved_cppflags="${CPPFLAGS}"
27726 CPPFLAGS="${CPPFLAGS} -I${TONEZONE_DIR}/include"
27727 if test "xzaptel/tonezone.h" != "x" ; then
27728 as_ac_Header=`echo "ac_cv_header_${TONEZONE_DIR}/include/zaptel/tonezone.h" |
$as_tr_sh`
27729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27730 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
27731 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
27732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27733 echo $ECHO_N "(cached) $ECHO_C" >&6
27735 ac_res=`eval echo '${'$as_ac_Header'}'`
27736 { echo "$as_me:$LINENO: result: $ac_res" >&5
27737 echo "${ECHO_T}$ac_res" >&6; }
27739 # Is the header compilable?
27740 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability" >&5
27741 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability... $ECHO_C" >&6; }
27742 cat >conftest.$ac_ext <<_ACEOF
27745 cat confdefs.h >>conftest.$ac_ext
27746 cat >>conftest.$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27748 $ac_includes_default
27749 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
27751 rm -f conftest.$ac_objext
27752 if { (ac_try="$ac_compile"
27753 case "(($ac_try" in
27754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27755 *) ac_try_echo
=$ac_try;;
27757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27758 (eval "$ac_compile") 2>conftest.er1
27760 grep -v '^ *+' conftest.er1
>conftest.err
27762 cat conftest.err
>&5
27763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27764 (exit $ac_status); } && {
27765 test -z "$ac_c_werror_flag" ||
27766 test ! -s conftest.err
27767 } && test -s conftest.
$ac_objext; then
27768 ac_header_compiler
=yes
27770 echo "$as_me: failed program was:" >&5
27771 sed 's/^/| /' conftest.
$ac_ext >&5
27773 ac_header_compiler
=no
27776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27777 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27778 echo "${ECHO_T}$ac_header_compiler" >&6; }
27780 # Is the header present?
27781 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence" >&5
27782 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence... $ECHO_C" >&6; }
27783 cat >conftest.
$ac_ext <<_ACEOF
27786 cat confdefs.h
>>conftest.
$ac_ext
27787 cat >>conftest.
$ac_ext <<_ACEOF
27788 /* end confdefs.h. */
27789 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
27791 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27792 case "(($ac_try" in
27793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27794 *) ac_try_echo=$ac_try;;
27796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27799 grep -v '^ *+' conftest.er1 >conftest.err
27801 cat conftest.err >&5
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } >/dev/null && {
27804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27805 test ! -s conftest.err
27807 ac_header_preproc=yes
27809 echo "$as_me: failed program was:" >&5
27810 sed 's/^/| /' conftest.$ac_ext >&5
27812 ac_header_preproc=no
27815 rm -f conftest.err conftest.$ac_ext
27816 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27817 echo "${ECHO_T}$ac_header_preproc" >&6; }
27819 # So? What about this header?
27820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27822 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
27823 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27824 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the compiler's result" >&5
27825 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the compiler's result" >&2;}
27826 ac_header_preproc=yes
27829 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&5
27830 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&2;}
27831 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&5
27832 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
27833 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&5
27834 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&2;}
27835 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
27836 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
27837 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the preprocessor's result" >&5
27838 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the preprocessor's result" >&2;}
27839 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
27840 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
27844 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
27845 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
27846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27847 echo $ECHO_N "(cached) $ECHO_C" >&6
27849 eval "$as_ac_Header=\$ac_header_preproc"
27851 ac_res=`eval echo '${'$as_ac_Header'}'`
27852 { echo "$as_me:$LINENO: result: $ac_res" >&5
27853 echo "${ECHO_T}$ac_res" >&6; }
27856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27857 TONEZONE_HEADER_FOUND=1
27859 TONEZONE_HEADER_FOUND=0
27864 CPPFLAGS="${saved_cppflags}"
27866 if test "xzaptel/tonezone.h" != "x" ; then
27867 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
27868 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
27869 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
27870 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
27871 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
27874 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
27876 # Is the header compilable?
27877 { echo "$as_me:$LINENO: checking zaptel/tonezone.h usability" >&5
27878 echo $ECHO_N "checking zaptel/tonezone.h usability... $ECHO_C" >&6; }
27879 cat >conftest.$ac_ext <<_ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27885 $ac_includes_default
27886 #include <zaptel/tonezone.h>
27888 rm -f conftest.$ac_objext
27889 if { (ac_try="$ac_compile"
27890 case "(($ac_try" in
27891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27892 *) ac_try_echo
=$ac_try;;
27894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27895 (eval "$ac_compile") 2>conftest.er1
27897 grep -v '^ *+' conftest.er1
>conftest.err
27899 cat conftest.err
>&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); } && {
27902 test -z "$ac_c_werror_flag" ||
27903 test ! -s conftest.err
27904 } && test -s conftest.
$ac_objext; then
27905 ac_header_compiler
=yes
27907 echo "$as_me: failed program was:" >&5
27908 sed 's/^/| /' conftest.
$ac_ext >&5
27910 ac_header_compiler
=no
27913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27914 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27915 echo "${ECHO_T}$ac_header_compiler" >&6; }
27917 # Is the header present?
27918 { echo "$as_me:$LINENO: checking zaptel/tonezone.h presence" >&5
27919 echo $ECHO_N "checking zaptel/tonezone.h presence... $ECHO_C" >&6; }
27920 cat >conftest.
$ac_ext <<_ACEOF
27923 cat confdefs.h
>>conftest.
$ac_ext
27924 cat >>conftest.
$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27926 #include <zaptel/tonezone.h>
27928 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27929 case "(($ac_try" in
27930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27931 *) ac_try_echo=$ac_try;;
27933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27936 grep -v '^ *+' conftest.er1 >conftest.err
27938 cat conftest.err >&5
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); } >/dev/null && {
27941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27942 test ! -s conftest.err
27944 ac_header_preproc=yes
27946 echo "$as_me: failed program was:" >&5
27947 sed 's/^/| /' conftest.$ac_ext >&5
27949 ac_header_preproc=no
27952 rm -f conftest.err conftest.$ac_ext
27953 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27954 echo "${ECHO_T}$ac_header_preproc" >&6; }
27956 # So? What about this header?
27957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27959 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
27960 echo "$as_me: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27961 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the compiler's result" >&5
27962 echo "$as_me: WARNING: zaptel/tonezone.h: proceeding with the compiler's result" >&2;}
27963 ac_header_preproc=yes
27966 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&5
27967 echo "$as_me: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&2;}
27968 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&5
27969 echo "$as_me: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
27970 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&5
27971 echo "$as_me: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&2;}
27972 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
27973 echo "$as_me: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
27974 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the preprocessor's result" >&5
27975 echo "$as_me: WARNING: zaptel/tonezone.h: proceeding with the preprocessor's result" >&2;}
27976 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
27977 echo "$as_me: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
27981 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
27982 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
27983 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27986 ac_cv_header_zaptel_tonezone_h=$ac_header_preproc
27988 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
27989 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
27992 if test $ac_cv_header_zaptel_tonezone_h = yes; then
27993 TONEZONE_HEADER_FOUND=1
27995 TONEZONE_HEADER_FOUND=0
28001 if test "x${TONEZONE_HEADER_FOUND}" = "x0" ; then
28002 if test ! -z "${TONEZONE_MANDATORY}" ;
28004 { echo "$as_me:$LINENO: ***" >&5
28005 echo "$as_me: ***" >&6;}
28006 { echo "$as_me:$LINENO: *** It appears that you do not have the tonezone development package installed." >&5
28007 echo "$as_me: *** It appears that you do not have the tonezone development package installed." >&6;}
28008 { echo "$as_me:$LINENO: *** Please install it to include ${TONEZONE_DESCRIP} support, or re-run configure" >&5
28009 echo "$as_me: *** Please install it to include ${TONEZONE_DESCRIP} support, or re-run configure" >&6;}
28010 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
28011 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
28015 TONEZONE_INCLUDE=""
28020 cat >>confdefs.h <<_ACEOF
28021 #define HAVE_TONEZONE 1
28025 elif test ! -z "${TONEZONE_MANDATORY}";
28027 { echo "$as_me:$LINENO: ***" >&5
28028 echo "$as_me: ***" >&6;}
28029 { echo "$as_me:$LINENO: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&5
28030 echo "$as_me: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&6;}
28031 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28032 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28033 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
28034 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
28041 if test "${USE_VORBIS}" != "no"; then
28043 if test "x${VORBIS_DIR}" != "x"; then
28044 if test -d ${VORBIS_DIR}/lib; then
28045 pbxlibdir="-L${VORBIS_DIR}/lib"
28047 pbxlibdir="-L${VORBIS_DIR}"
28050 { echo "$as_me:$LINENO: checking for vorbis_info_init in -lvorbis" >&5
28051 echo $ECHO_N "checking for vorbis_info_init in -lvorbis... $ECHO_C" >&6; }
28052 if test "${ac_cv_lib_vorbis_vorbis_info_init+set}" = set; then
28053 echo $ECHO_N "(cached) $ECHO_C" >&6
28055 ac_check_lib_save_LIBS=$LIBS
28056 LIBS="-lvorbis ${pbxlibdir} -lm -lvorbisenc $LIBS"
28057 cat >conftest.$ac_ext <<_ACEOF
28060 cat confdefs.h >>conftest.$ac_ext
28061 cat >>conftest.$ac_ext <<_ACEOF
28062 /* end confdefs.h. */
28064 /* Override any GCC internal prototype to avoid an error.
28065 Use char because int might match the return type of a GCC
28066 builtin and then its argument prototype would still apply. */
28070 char vorbis_info_init ();
28074 return vorbis_info_init ();
28079 rm -f conftest.$ac_objext conftest$ac_exeext
28080 if { (ac_try="$ac_link"
28081 case "(($ac_try" in
28082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28083 *) ac_try_echo
=$ac_try;;
28085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28086 (eval "$ac_link") 2>conftest.er1
28088 grep -v '^ *+' conftest.er1
>conftest.err
28090 cat conftest.err
>&5
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); } && {
28093 test -z "$ac_c_werror_flag" ||
28094 test ! -s conftest.err
28095 } && test -s conftest
$ac_exeext &&
28096 $as_test_x conftest
$ac_exeext; then
28097 ac_cv_lib_vorbis_vorbis_info_init
=yes
28099 echo "$as_me: failed program was:" >&5
28100 sed 's/^/| /' conftest.
$ac_ext >&5
28102 ac_cv_lib_vorbis_vorbis_info_init
=no
28105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28106 conftest
$ac_exeext conftest.
$ac_ext
28107 LIBS
=$ac_check_lib_save_LIBS
28109 { echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
28110 echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
28111 if test $ac_cv_lib_vorbis_vorbis_info_init = yes; then
28112 AST_VORBIS_FOUND
=yes
28114 AST_VORBIS_FOUND
=no
28118 if test "${AST_VORBIS_FOUND}" = "yes"; then
28119 VORBIS_LIB
="-lvorbis -lm -lvorbisenc"
28120 VORBIS_HEADER_FOUND
="1"
28121 if test "x${VORBIS_DIR}" != "x"; then
28122 VORBIS_LIB
="${pbxlibdir} ${VORBIS_LIB}"
28123 VORBIS_INCLUDE
="-I${VORBIS_DIR}/include"
28124 saved_cppflags
="${CPPFLAGS}"
28125 CPPFLAGS
="${CPPFLAGS} -I${VORBIS_DIR}/include"
28126 if test "xvorbis/codec.h" != "x" ; then
28127 as_ac_Header
=`echo "ac_cv_header_${VORBIS_DIR}/include/vorbis/codec.h" | $as_tr_sh`
28128 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28129 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
28130 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
28131 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28132 echo $ECHO_N "(cached) $ECHO_C" >&6
28134 ac_res
=`eval echo '${'$as_ac_Header'}'`
28135 { echo "$as_me:$LINENO: result: $ac_res" >&5
28136 echo "${ECHO_T}$ac_res" >&6; }
28138 # Is the header compilable?
28139 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h usability" >&5
28140 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h usability... $ECHO_C" >&6; }
28141 cat >conftest.
$ac_ext <<_ACEOF
28144 cat confdefs.h
>>conftest.
$ac_ext
28145 cat >>conftest.
$ac_ext <<_ACEOF
28146 /* end confdefs.h. */
28147 $ac_includes_default
28148 #include <${VORBIS_DIR}/include/vorbis/codec.h>
28150 rm -f conftest.
$ac_objext
28151 if { (ac_try
="$ac_compile"
28152 case "(($ac_try" in
28153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28154 *) ac_try_echo=$ac_try;;
28156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28157 (eval "$ac_compile") 2>conftest.er1
28159 grep -v '^ *+' conftest.er1 >conftest.err
28161 cat conftest.err >&5
28162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28163 (exit $ac_status); } && {
28164 test -z "$ac_c_werror_flag" ||
28165 test ! -s conftest.err
28166 } && test -s conftest.$ac_objext; then
28167 ac_header_compiler=yes
28169 echo "$as_me: failed program was:" >&5
28170 sed 's/^/| /' conftest.$ac_ext >&5
28172 ac_header_compiler=no
28175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28176 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28177 echo "${ECHO_T}$ac_header_compiler" >&6; }
28179 # Is the header present?
28180 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h presence" >&5
28181 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h presence... $ECHO_C" >&6; }
28182 cat >conftest.$ac_ext <<_ACEOF
28185 cat confdefs.h >>conftest.$ac_ext
28186 cat >>conftest.$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28188 #include <${VORBIS_DIR}/include/vorbis/codec.h>
28190 if { (ac_try="$ac_cpp conftest.$ac_ext"
28191 case "(($ac_try" in
28192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28193 *) ac_try_echo
=$ac_try;;
28195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28196 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28198 grep -v '^ *+' conftest.er1
>conftest.err
28200 cat conftest.err
>&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); } >/dev
/null
&& {
28203 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28204 test ! -s conftest.err
28206 ac_header_preproc
=yes
28208 echo "$as_me: failed program was:" >&5
28209 sed 's/^/| /' conftest.
$ac_ext >&5
28211 ac_header_preproc
=no
28214 rm -f conftest.err conftest.
$ac_ext
28215 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28216 echo "${ECHO_T}$ac_header_preproc" >&6; }
28218 # So? What about this header?
28219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28221 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
28222 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28223 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the compiler's result" >&5
28224 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the compiler's result" >&2;}
28225 ac_header_preproc
=yes
28228 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&5
28229 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&2;}
28230 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&5
28231 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&2;}
28232 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&5
28233 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&2;}
28234 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
28235 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
28236 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the preprocessor's result" >&5
28237 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
28238 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&5
28239 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
28243 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
28244 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
28245 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28246 echo $ECHO_N "(cached) $ECHO_C" >&6
28248 eval "$as_ac_Header=\$ac_header_preproc"
28250 ac_res
=`eval echo '${'$as_ac_Header'}'`
28251 { echo "$as_me:$LINENO: result: $ac_res" >&5
28252 echo "${ECHO_T}$ac_res" >&6; }
28255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28256 VORBIS_HEADER_FOUND
=1
28258 VORBIS_HEADER_FOUND
=0
28263 CPPFLAGS
="${saved_cppflags}"
28265 if test "xvorbis/codec.h" != "x" ; then
28266 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
28267 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
28268 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
28269 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
28273 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
28275 # Is the header compilable?
28276 { echo "$as_me:$LINENO: checking vorbis/codec.h usability" >&5
28277 echo $ECHO_N "checking vorbis/codec.h usability... $ECHO_C" >&6; }
28278 cat >conftest.
$ac_ext <<_ACEOF
28281 cat confdefs.h
>>conftest.
$ac_ext
28282 cat >>conftest.
$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28284 $ac_includes_default
28285 #include <vorbis/codec.h>
28287 rm -f conftest.
$ac_objext
28288 if { (ac_try
="$ac_compile"
28289 case "(($ac_try" in
28290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28291 *) ac_try_echo=$ac_try;;
28293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28294 (eval "$ac_compile") 2>conftest.er1
28296 grep -v '^ *+' conftest.er1 >conftest.err
28298 cat conftest.err >&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); } && {
28301 test -z "$ac_c_werror_flag" ||
28302 test ! -s conftest.err
28303 } && test -s conftest.$ac_objext; then
28304 ac_header_compiler=yes
28306 echo "$as_me: failed program was:" >&5
28307 sed 's/^/| /' conftest.$ac_ext >&5
28309 ac_header_compiler=no
28312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28313 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28314 echo "${ECHO_T}$ac_header_compiler" >&6; }
28316 # Is the header present?
28317 { echo "$as_me:$LINENO: checking vorbis/codec.h presence" >&5
28318 echo $ECHO_N "checking vorbis/codec.h presence... $ECHO_C" >&6; }
28319 cat >conftest.$ac_ext <<_ACEOF
28322 cat confdefs.h >>conftest.$ac_ext
28323 cat >>conftest.$ac_ext <<_ACEOF
28324 /* end confdefs.h. */
28325 #include <vorbis/codec.h>
28327 if { (ac_try="$ac_cpp conftest.$ac_ext"
28328 case "(($ac_try" in
28329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28330 *) ac_try_echo
=$ac_try;;
28332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28333 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28335 grep -v '^ *+' conftest.er1
>conftest.err
28337 cat conftest.err
>&5
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); } >/dev
/null
&& {
28340 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28341 test ! -s conftest.err
28343 ac_header_preproc
=yes
28345 echo "$as_me: failed program was:" >&5
28346 sed 's/^/| /' conftest.
$ac_ext >&5
28348 ac_header_preproc
=no
28351 rm -f conftest.err conftest.
$ac_ext
28352 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28353 echo "${ECHO_T}$ac_header_preproc" >&6; }
28355 # So? What about this header?
28356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28358 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
28359 echo "$as_me: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28360 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&5
28361 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&2;}
28362 ac_header_preproc
=yes
28365 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: present but cannot be compiled" >&5
28366 echo "$as_me: WARNING: vorbis/codec.h: present but cannot be compiled" >&2;}
28367 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&5
28368 echo "$as_me: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&2;}
28369 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: see the Autoconf documentation" >&5
28370 echo "$as_me: WARNING: vorbis/codec.h: see the Autoconf documentation" >&2;}
28371 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
28372 echo "$as_me: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
28373 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&5
28374 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
28375 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&5
28376 echo "$as_me: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
28380 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
28381 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
28382 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
28383 echo $ECHO_N "(cached) $ECHO_C" >&6
28385 ac_cv_header_vorbis_codec_h
=$ac_header_preproc
28387 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
28388 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
28391 if test $ac_cv_header_vorbis_codec_h = yes; then
28392 VORBIS_HEADER_FOUND
=1
28394 VORBIS_HEADER_FOUND
=0
28400 if test "x${VORBIS_HEADER_FOUND}" = "x0" ; then
28401 if test ! -z "${VORBIS_MANDATORY}" ;
28403 { echo "$as_me:$LINENO: ***" >&5
28404 echo "$as_me: ***" >&6;}
28405 { echo "$as_me:$LINENO: *** It appears that you do not have the vorbis development package installed." >&5
28406 echo "$as_me: *** It appears that you do not have the vorbis development package installed." >&6;}
28407 { echo "$as_me:$LINENO: *** Please install it to include ${VORBIS_DESCRIP} support, or re-run configure" >&5
28408 echo "$as_me: *** Please install it to include ${VORBIS_DESCRIP} support, or re-run configure" >&6;}
28409 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
28410 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
28419 cat >>confdefs.h
<<_ACEOF
28420 #define HAVE_VORBIS 1
28424 elif test ! -z "${VORBIS_MANDATORY}";
28426 { echo "$as_me:$LINENO: ***" >&5
28427 echo "$as_me: ***" >&6;}
28428 { echo "$as_me:$LINENO: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&5
28429 echo "$as_me: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&6;}
28430 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28431 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28432 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
28433 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
28440 ac_cpp
='$CXXCPP $CPPFLAGS'
28441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28446 if test "${USE_VPB}" != "no"; then
28447 { echo "$as_me:$LINENO: checking for vpb_open in -lvpb" >&5
28448 echo $ECHO_N "checking for vpb_open in -lvpb... $ECHO_C" >&6; }
28449 saved_libs
="${LIBS}"
28450 saved_cppflags
="${CPPFLAGS}"
28451 if test "x${VPB_DIR}" != "x"; then
28452 if test -d ${VPB_DIR}/lib
; then
28453 vpblibdir
=${VPB_DIR}/lib
28455 vpblibdir
=${VPB_DIR}
28457 LIBS
="${LIBS} -L${vpblibdir}"
28458 CPPFLAGS
="${CPPFLAGS} -I${VPB_DIR}/include"
28460 LIBS
="${LIBS} -lvpb -lpthread"
28461 cat >conftest.
$ac_ext <<_ACEOF
28465 cat confdefs.h
>>conftest.
$ac_ext
28466 cat >>conftest.
$ac_ext <<_ACEOF
28467 /* end confdefs.h. */
28468 #include <vpbapi.h>
28472 int q = vpb_open(0,0);
28478 rm -f conftest.
$ac_objext conftest
$ac_exeext
28479 if { (ac_try
="$ac_link"
28480 case "(($ac_try" in
28481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28482 *) ac_try_echo=$ac_try;;
28484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28485 (eval "$ac_link") 2>conftest.er1
28487 grep -v '^ *+' conftest.er1 >conftest.err
28489 cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } && {
28492 test -z "$ac_cxx_werror_flag" ||
28493 test ! -s conftest.err
28494 } && test -s conftest$ac_exeext &&
28495 $as_test_x conftest$ac_exeext; then
28496 { echo "$as_me:$LINENO: result: yes" >&5
28497 echo "${ECHO_T}yes" >&6; }
28498 ac_cv_lib_vpb_vpb_open="yes"
28501 echo "$as_me: failed program was:" >&5
28502 sed 's/^/| /' conftest.$ac_ext >&5
28504 { echo "$as_me:$LINENO: result: no" >&5
28505 echo "${ECHO_T}no" >&6; }
28506 ac_cv_lib_vpb_vpb_open="no"
28511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28512 conftest$ac_exeext conftest.$ac_ext
28513 LIBS="${saved_libs}"
28514 CPPFLAGS="${saved_cppflags}"
28515 if test "${ac_cv_lib_vpb_vpb_open}" = "yes"; then
28517 if test "${VPB_DIR}" != ""; then
28518 VPB_LIB="-L${vpblibdir} ${VPB_LIB}"
28519 VPB_INCLUDE="-I${VPB_DIR}/include"
28523 cat >>confdefs.h <<\_ACEOF
28527 elif test ! -z "${VPB_MANDATORY}"; then
28528 { echo "$as_me:$LINENO: ***" >&5
28529 echo "$as_me: ***" >&6;}
28530 { echo "$as_me:$LINENO: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&5
28531 echo "$as_me: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&6;}
28532 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28533 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28534 { echo "$as_me:$LINENO: *** including --without-vpb." >&5
28535 echo "$as_me: *** including --without-vpb." >&6;}
28541 ac_cpp='$CPP $CPPFLAGS'
28542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28548 if test "${USE_ZLIB}" != "no"; then
28550 if test "x${ZLIB_DIR}" != "x"; then
28551 if test -d ${ZLIB_DIR}/lib; then
28552 pbxlibdir="-L${ZLIB_DIR}/lib"
28554 pbxlibdir="-L${ZLIB_DIR}"
28557 { echo "$as_me:$LINENO: checking for compress in -lz" >&5
28558 echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
28559 if test "${ac_cv_lib_z_compress+set}" = set; then
28560 echo $ECHO_N "(cached) $ECHO_C" >&6
28562 ac_check_lib_save_LIBS=$LIBS
28563 LIBS="-lz ${pbxlibdir} $LIBS"
28564 cat >conftest.$ac_ext <<_ACEOF
28567 cat confdefs.h >>conftest.$ac_ext
28568 cat >>conftest.$ac_ext <<_ACEOF
28569 /* end confdefs.h. */
28571 /* Override any GCC internal prototype to avoid an error.
28572 Use char because int might match the return type of a GCC
28573 builtin and then its argument prototype would still apply. */
28581 return compress ();
28586 rm -f conftest.$ac_objext conftest$ac_exeext
28587 if { (ac_try="$ac_link"
28588 case "(($ac_try" in
28589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28590 *) ac_try_echo
=$ac_try;;
28592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28593 (eval "$ac_link") 2>conftest.er1
28595 grep -v '^ *+' conftest.er1
>conftest.err
28597 cat conftest.err
>&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); } && {
28600 test -z "$ac_c_werror_flag" ||
28601 test ! -s conftest.err
28602 } && test -s conftest
$ac_exeext &&
28603 $as_test_x conftest
$ac_exeext; then
28604 ac_cv_lib_z_compress
=yes
28606 echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.
$ac_ext >&5
28609 ac_cv_lib_z_compress
=no
28612 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28613 conftest
$ac_exeext conftest.
$ac_ext
28614 LIBS
=$ac_check_lib_save_LIBS
28616 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
28617 echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
28618 if test $ac_cv_lib_z_compress = yes; then
28625 if test "${AST_ZLIB_FOUND}" = "yes"; then
28627 ZLIB_HEADER_FOUND
="1"
28628 if test "x${ZLIB_DIR}" != "x"; then
28629 ZLIB_LIB
="${pbxlibdir} ${ZLIB_LIB}"
28630 ZLIB_INCLUDE
="-I${ZLIB_DIR}/include"
28631 saved_cppflags
="${CPPFLAGS}"
28632 CPPFLAGS
="${CPPFLAGS} -I${ZLIB_DIR}/include"
28633 if test "xzlib.h" != "x" ; then
28634 as_ac_Header
=`echo "ac_cv_header_${ZLIB_DIR}/include/zlib.h" | $as_tr_sh`
28635 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28636 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
28637 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
28638 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28639 echo $ECHO_N "(cached) $ECHO_C" >&6
28641 ac_res
=`eval echo '${'$as_ac_Header'}'`
28642 { echo "$as_me:$LINENO: result: $ac_res" >&5
28643 echo "${ECHO_T}$ac_res" >&6; }
28645 # Is the header compilable?
28646 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h usability" >&5
28647 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h usability... $ECHO_C" >&6; }
28648 cat >conftest.
$ac_ext <<_ACEOF
28651 cat confdefs.h
>>conftest.
$ac_ext
28652 cat >>conftest.
$ac_ext <<_ACEOF
28653 /* end confdefs.h. */
28654 $ac_includes_default
28655 #include <${ZLIB_DIR}/include/zlib.h>
28657 rm -f conftest.
$ac_objext
28658 if { (ac_try
="$ac_compile"
28659 case "(($ac_try" in
28660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28661 *) ac_try_echo=$ac_try;;
28663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28664 (eval "$ac_compile") 2>conftest.er1
28666 grep -v '^ *+' conftest.er1 >conftest.err
28668 cat conftest.err >&5
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); } && {
28671 test -z "$ac_c_werror_flag" ||
28672 test ! -s conftest.err
28673 } && test -s conftest.$ac_objext; then
28674 ac_header_compiler=yes
28676 echo "$as_me: failed program was:" >&5
28677 sed 's/^/| /' conftest.$ac_ext >&5
28679 ac_header_compiler=no
28682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28683 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28684 echo "${ECHO_T}$ac_header_compiler" >&6; }
28686 # Is the header present?
28687 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h presence" >&5
28688 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h presence... $ECHO_C" >&6; }
28689 cat >conftest.$ac_ext <<_ACEOF
28692 cat confdefs.h >>conftest.$ac_ext
28693 cat >>conftest.$ac_ext <<_ACEOF
28694 /* end confdefs.h. */
28695 #include <${ZLIB_DIR}/include/zlib.h>
28697 if { (ac_try="$ac_cpp conftest.$ac_ext"
28698 case "(($ac_try" in
28699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28700 *) ac_try_echo
=$ac_try;;
28702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28705 grep -v '^ *+' conftest.er1
>conftest.err
28707 cat conftest.err
>&5
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); } >/dev
/null
&& {
28710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28711 test ! -s conftest.err
28713 ac_header_preproc
=yes
28715 echo "$as_me: failed program was:" >&5
28716 sed 's/^/| /' conftest.
$ac_ext >&5
28718 ac_header_preproc
=no
28721 rm -f conftest.err conftest.
$ac_ext
28722 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28723 echo "${ECHO_T}$ac_header_preproc" >&6; }
28725 # So? What about this header?
28726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28728 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
28729 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28730 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the compiler's result" >&5
28731 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the compiler's result" >&2;}
28732 ac_header_preproc
=yes
28735 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&5
28736 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&2;}
28737 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&5
28738 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&2;}
28739 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&5
28740 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&2;}
28741 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&5
28742 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
28743 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the preprocessor's result" >&5
28744 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the preprocessor's result" >&2;}
28745 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&5
28746 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&2;}
28750 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
28751 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
28752 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28753 echo $ECHO_N "(cached) $ECHO_C" >&6
28755 eval "$as_ac_Header=\$ac_header_preproc"
28757 ac_res
=`eval echo '${'$as_ac_Header'}'`
28758 { echo "$as_me:$LINENO: result: $ac_res" >&5
28759 echo "${ECHO_T}$ac_res" >&6; }
28762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28763 ZLIB_HEADER_FOUND
=1
28765 ZLIB_HEADER_FOUND
=0
28770 CPPFLAGS
="${saved_cppflags}"
28772 if test "xzlib.h" != "x" ; then
28773 if test "${ac_cv_header_zlib_h+set}" = set; then
28774 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28775 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28776 if test "${ac_cv_header_zlib_h+set}" = set; then
28777 echo $ECHO_N "(cached) $ECHO_C" >&6
28779 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28780 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28782 # Is the header compilable?
28783 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
28784 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
28785 cat >conftest.
$ac_ext <<_ACEOF
28788 cat confdefs.h
>>conftest.
$ac_ext
28789 cat >>conftest.
$ac_ext <<_ACEOF
28790 /* end confdefs.h. */
28791 $ac_includes_default
28794 rm -f conftest.
$ac_objext
28795 if { (ac_try
="$ac_compile"
28796 case "(($ac_try" in
28797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28798 *) ac_try_echo=$ac_try;;
28800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28801 (eval "$ac_compile") 2>conftest.er1
28803 grep -v '^ *+' conftest.er1 >conftest.err
28805 cat conftest.err >&5
28806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28807 (exit $ac_status); } && {
28808 test -z "$ac_c_werror_flag" ||
28809 test ! -s conftest.err
28810 } && test -s conftest.$ac_objext; then
28811 ac_header_compiler=yes
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.$ac_ext >&5
28816 ac_header_compiler=no
28819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28820 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28821 echo "${ECHO_T}$ac_header_compiler" >&6; }
28823 # Is the header present?
28824 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
28825 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
28826 cat >conftest.$ac_ext <<_ACEOF
28829 cat confdefs.h >>conftest.$ac_ext
28830 cat >>conftest.$ac_ext <<_ACEOF
28831 /* end confdefs.h. */
28834 if { (ac_try="$ac_cpp conftest.$ac_ext"
28835 case "(($ac_try" in
28836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28837 *) ac_try_echo
=$ac_try;;
28839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28842 grep -v '^ *+' conftest.er1
>conftest.err
28844 cat conftest.err
>&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); } >/dev
/null
&& {
28847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28848 test ! -s conftest.err
28850 ac_header_preproc
=yes
28852 echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.
$ac_ext >&5
28855 ac_header_preproc
=no
28858 rm -f conftest.err conftest.
$ac_ext
28859 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28860 echo "${ECHO_T}$ac_header_preproc" >&6; }
28862 # So? What about this header?
28863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28865 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
28866 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28867 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
28868 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
28869 ac_header_preproc
=yes
28872 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
28873 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
28874 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
28875 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
28876 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
28877 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
28878 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
28879 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
28880 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
28881 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
28882 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
28883 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
28887 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28888 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28889 if test "${ac_cv_header_zlib_h+set}" = set; then
28890 echo $ECHO_N "(cached) $ECHO_C" >&6
28892 ac_cv_header_zlib_h
=$ac_header_preproc
28894 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28895 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28898 if test $ac_cv_header_zlib_h = yes; then
28899 ZLIB_HEADER_FOUND
=1
28901 ZLIB_HEADER_FOUND
=0
28907 if test "x${ZLIB_HEADER_FOUND}" = "x0" ; then
28908 if test ! -z "${ZLIB_MANDATORY}" ;
28910 { echo "$as_me:$LINENO: ***" >&5
28911 echo "$as_me: ***" >&6;}
28912 { echo "$as_me:$LINENO: *** It appears that you do not have the z development package installed." >&5
28913 echo "$as_me: *** It appears that you do not have the z development package installed." >&6;}
28914 { echo "$as_me:$LINENO: *** Please install it to include ${ZLIB_DESCRIP} support, or re-run configure" >&5
28915 echo "$as_me: *** Please install it to include ${ZLIB_DESCRIP} support, or re-run configure" >&6;}
28916 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
28917 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
28926 cat >>confdefs.h
<<_ACEOF
28927 #define HAVE_ZLIB 1
28931 elif test ! -z "${ZLIB_MANDATORY}";
28933 { echo "$as_me:$LINENO: ***" >&5
28934 echo "$as_me: ***" >&6;}
28935 { echo "$as_me:$LINENO: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&5
28936 echo "$as_me: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&6;}
28937 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28938 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28939 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
28940 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
28946 if test "${USE_ZAPTEL}" != "no"; then
28947 { echo "$as_me:$LINENO: checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h" >&5
28948 echo $ECHO_N "checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h... $ECHO_C" >&6; }
28949 saved_cppflags
="${CPPFLAGS}"
28950 if test "x${ZAPTEL_DIR}" != "x"; then
28951 CPPFLAGS
="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
28953 cat >conftest.
$ac_ext <<_ACEOF
28957 cat confdefs.h
>>conftest.
$ac_ext
28958 cat >>conftest.
$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28960 #include <zaptel/zaptel.h>
28964 int foo = ZT_DIAL_OP_CANCEL;
28970 rm -f conftest.
$ac_objext
28971 if { (ac_try
="$ac_compile"
28972 case "(($ac_try" in
28973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28974 *) ac_try_echo=$ac_try;;
28976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28977 (eval "$ac_compile") 2>conftest.er1
28979 grep -v '^ *+' conftest.er1 >conftest.err
28981 cat conftest.err >&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } && {
28984 test -z "$ac_c_werror_flag" ||
28985 test ! -s conftest.err
28986 } && test -s conftest.$ac_objext; then
28987 { echo "$as_me:$LINENO: result: yes" >&5
28988 echo "${ECHO_T}yes" >&6; }
28989 ac_cv_zaptel_h="yes"
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.$ac_ext >&5
28995 { echo "$as_me:$LINENO: result: no" >&5
28996 echo "${ECHO_T}no" >&6; }
28997 ac_cv_zaptel_h="no"
29002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29003 CPPFLAGS="${saved_cppflags}"
29004 if test "${ac_cv_zaptel_h}" = "yes"; then
29005 if test "${ZAPTEL_DIR}" != ""; then
29006 ZAPTEL_INCLUDE="-I${ZAPTEL_DIR}/include"
29010 cat >>confdefs.h <<\_ACEOF
29011 #define HAVE_ZAPTEL 1
29014 elif test ! -z "${ZAPTEL_MANDATORY}";
29016 { echo "$as_me:$LINENO: ***" >&5
29017 echo "$as_me: ***" >&6;}
29018 { echo "$as_me:$LINENO: *** The Zaptel installation on this system appears to be broken." >&5
29019 echo "$as_me: *** The Zaptel installation on this system appears to be broken." >&6;}
29020 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
29021 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
29022 { echo "$as_me:$LINENO: *** including --without-zaptel." >&5
29023 echo "$as_me: *** including --without-zaptel." >&6;}
29028 if test "${PBX_ZAPTEL}" = 1; then
29029 { echo "$as_me:$LINENO: checking for ZT_TONE_DTMF_BASE in zaptel/zaptel.h" >&5
29030 echo $ECHO_N "checking for ZT_TONE_DTMF_BASE in zaptel/zaptel.h... $ECHO_C" >&6; }
29031 saved_cppflags="${CPPFLAGS}"
29032 if test "x${ZAPTEL_DIR}" != "x"; then
29033 CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
29035 cat >conftest.$ac_ext <<_ACEOF
29039 cat confdefs.h >>conftest.$ac_ext
29040 cat >>conftest.$ac_ext <<_ACEOF
29041 /* end confdefs.h. */
29042 #include <zaptel/zaptel.h>
29046 int foo = ZT_TONE_DTMF_BASE;
29052 rm -f conftest.$ac_objext
29053 if { (ac_try="$ac_compile"
29054 case "(($ac_try" in
29055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29056 *) ac_try_echo
=$ac_try;;
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_compile") 2>conftest.er1
29061 grep -v '^ *+' conftest.er1
>conftest.err
29063 cat conftest.err
>&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); } && {
29066 test -z "$ac_c_werror_flag" ||
29067 test ! -s conftest.err
29068 } && test -s conftest.
$ac_objext; then
29069 { echo "$as_me:$LINENO: result: yes" >&5
29070 echo "${ECHO_T}yes" >&6; }
29071 ac_cv_zaptel_vldtmf
="yes"
29074 echo "$as_me: failed program was:" >&5
29075 sed 's/^/| /' conftest.
$ac_ext >&5
29077 { echo "$as_me:$LINENO: result: no" >&5
29078 echo "${ECHO_T}no" >&6; }
29079 ac_cv_zaptel_vldtmf
="no"
29084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29085 CPPFLAGS
="${saved_cppflags}"
29086 if test "${ac_cv_zaptel_vldtmf}" = "yes"; then
29087 PBX_ZAPTEL_VLDTMF
=1
29089 { echo "$as_me:$LINENO: checking for ZT_TCOP_TRANSCODE in zaptel/zaptel.h" >&5
29090 echo $ECHO_N "checking for ZT_TCOP_TRANSCODE in zaptel/zaptel.h... $ECHO_C" >&6; }
29091 saved_cppflags
="${CPPFLAGS}"
29092 if test "x${ZAPTEL_DIR}" != "x"; then
29093 CPPFLAGS
="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
29095 cat >conftest.
$ac_ext <<_ACEOF
29099 cat confdefs.h
>>conftest.
$ac_ext
29100 cat >>conftest.
$ac_ext <<_ACEOF
29101 /* end confdefs.h. */
29102 #include <zaptel/zaptel.h>
29106 int foo = ZT_TCOP_TRANSCODE;
29112 rm -f conftest.
$ac_objext
29113 if { (ac_try
="$ac_compile"
29114 case "(($ac_try" in
29115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29116 *) ac_try_echo=$ac_try;;
29118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29119 (eval "$ac_compile") 2>conftest.er1
29121 grep -v '^ *+' conftest.er1 >conftest.err
29123 cat conftest.err >&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); } && {
29126 test -z "$ac_c_werror_flag" ||
29127 test ! -s conftest.err
29128 } && test -s conftest.$ac_objext; then
29129 { echo "$as_me:$LINENO: result: yes" >&5
29130 echo "${ECHO_T}yes" >&6; }
29131 ac_cv_zaptel_transcode="yes"
29134 echo "$as_me: failed program was:" >&5
29135 sed 's/^/| /' conftest.$ac_ext >&5
29137 { echo "$as_me:$LINENO: result: no" >&5
29138 echo "${ECHO_T}no" >&6; }
29139 ac_cv_zaptel_transcode="no"
29144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29145 CPPFLAGS="${saved_cppflags}"
29146 if test "${ac_cv_zaptel_transcode}" = "yes"; then
29147 PBX_ZAPTEL_TRANSCODE=1
29154 if test "x$TERMCAP_LIB" != "x" ; then
29155 EDITLINE_LIB="$TERMCAP_LIB"
29156 elif test "x$TINFO_LIB" != "x" ; then
29157 EDITLINE_LIB="$TINFO_LIB"
29158 elif test "x$CURSES_LIB" != "x" ; then
29159 EDITLINE_LIB="$CURSES_LIB"
29160 elif test "x$NCURSES_LIB" != "x" ; then
29161 EDITLINE_LIB="$NCURSES_LIB"
29163 { { echo "$as_me:$LINENO: error: *** termcap support not found" >&5
29164 echo "$as_me: error: *** termcap support not found" >&2;}
29165 { (exit 1); exit 1; }; }
29169 if test "${ac_cv_header_h323_h+set}" = set; then
29170 { echo "$as_me:$LINENO: checking for h323.h" >&5
29171 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
29172 if test "${ac_cv_header_h323_h+set}" = set; then
29173 echo $ECHO_N "(cached) $ECHO_C" >&6
29175 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
29176 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
29178 # Is the header compilable?
29179 { echo "$as_me:$LINENO: checking h323.h usability" >&5
29180 echo $ECHO_N "checking h323.h usability... $ECHO_C" >&6; }
29181 cat >conftest.$ac_ext <<_ACEOF
29184 cat confdefs.h >>conftest.$ac_ext
29185 cat >>conftest.$ac_ext <<_ACEOF
29186 /* end confdefs.h. */
29187 $ac_includes_default
29190 rm -f conftest.$ac_objext
29191 if { (ac_try="$ac_compile"
29192 case "(($ac_try" in
29193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29194 *) ac_try_echo
=$ac_try;;
29196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29197 (eval "$ac_compile") 2>conftest.er1
29199 grep -v '^ *+' conftest.er1
>conftest.err
29201 cat conftest.err
>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); } && {
29204 test -z "$ac_c_werror_flag" ||
29205 test ! -s conftest.err
29206 } && test -s conftest.
$ac_objext; then
29207 ac_header_compiler
=yes
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.
$ac_ext >&5
29212 ac_header_compiler
=no
29215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29216 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29217 echo "${ECHO_T}$ac_header_compiler" >&6; }
29219 # Is the header present?
29220 { echo "$as_me:$LINENO: checking h323.h presence" >&5
29221 echo $ECHO_N "checking h323.h presence... $ECHO_C" >&6; }
29222 cat >conftest.
$ac_ext <<_ACEOF
29225 cat confdefs.h
>>conftest.
$ac_ext
29226 cat >>conftest.
$ac_ext <<_ACEOF
29227 /* end confdefs.h. */
29230 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29231 case "(($ac_try" in
29232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29233 *) ac_try_echo=$ac_try;;
29235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29238 grep -v '^ *+' conftest.er1 >conftest.err
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } >/dev/null && {
29243 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29244 test ! -s conftest.err
29246 ac_header_preproc=yes
29248 echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.$ac_ext >&5
29251 ac_header_preproc=no
29254 rm -f conftest.err conftest.$ac_ext
29255 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29256 echo "${ECHO_T}$ac_header_preproc" >&6; }
29258 # So? What about this header?
29259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29261 { echo "$as_me:$LINENO: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&5
29262 echo "$as_me: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29263 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the compiler's result" >&5
29264 echo "$as_me: WARNING: h323.h: proceeding with the compiler's result" >&2;}
29265 ac_header_preproc=yes
29268 { echo "$as_me:$LINENO: WARNING: h323.h: present but cannot be compiled" >&5
29269 echo "$as_me: WARNING: h323.h: present but cannot be compiled" >&2;}
29270 { echo "$as_me:$LINENO: WARNING: h323.h: check for missing prerequisite headers?" >&5
29271 echo "$as_me: WARNING: h323.h: check for missing prerequisite headers?" >&2;}
29272 { echo "$as_me:$LINENO: WARNING: h323.h: see the Autoconf documentation" >&5
29273 echo "$as_me: WARNING: h323.h: see the Autoconf documentation" >&2;}
29274 { echo "$as_me:$LINENO: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&5
29275 echo "$as_me: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&2;}
29276 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the preprocessor's result" >&5
29277 echo "$as_me: WARNING: h323.h: proceeding with the preprocessor's result" >&2;}
29278 { echo "$as_me:$LINENO: WARNING: h323.h: in the future, the compiler will take precedence" >&5
29279 echo "$as_me: WARNING: h323.h: in the future, the compiler will take precedence" >&2;}
29283 { echo "$as_me:$LINENO: checking for h323.h" >&5
29284 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
29285 if test "${ac_cv_header_h323_h+set}" = set; then
29286 echo $ECHO_N "(cached) $ECHO_C" >&6
29288 ac_cv_header_h323_h=$ac_header_preproc
29290 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
29291 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
29294 if test $ac_cv_header_h323_h = yes; then
29303 { echo "$as_me:$LINENO: checking for linux/ixjuser.h" >&5
29304 echo $ECHO_N "checking for linux/ixjuser.h... $ECHO_C" >&6; }
29305 if test "${ac_cv_header_linux_ixjuser_h+set}" = set; then
29306 echo $ECHO_N "(cached) $ECHO_C" >&6
29308 cat >conftest.$ac_ext <<_ACEOF
29311 cat confdefs.h >>conftest.$ac_ext
29312 cat >>conftest.$ac_ext <<_ACEOF
29313 /* end confdefs.h. */
29315 #include <linux/version.h>
29316 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
29317 #include <linux/compiler.h>
29321 #include <linux/ixjuser.h>
29323 rm -f conftest.$ac_objext
29324 if { (ac_try="$ac_compile"
29325 case "(($ac_try" in
29326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29327 *) ac_try_echo
=$ac_try;;
29329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29330 (eval "$ac_compile") 2>conftest.er1
29332 grep -v '^ *+' conftest.er1
>conftest.err
29334 cat conftest.err
>&5
29335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336 (exit $ac_status); } && {
29337 test -z "$ac_c_werror_flag" ||
29338 test ! -s conftest.err
29339 } && test -s conftest.
$ac_objext; then
29340 ac_cv_header_linux_ixjuser_h
=yes
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.
$ac_ext >&5
29345 ac_cv_header_linux_ixjuser_h
=no
29348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29350 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ixjuser_h" >&5
29351 echo "${ECHO_T}$ac_cv_header_linux_ixjuser_h" >&6; }
29352 if test $ac_cv_header_linux_ixjuser_h = yes; then
29362 if test -n "$ac_tool_prefix"; then
29363 # Extract the first word of "${ac_tool_prefix}gtk-config", so it can be a program name with args.
29364 set dummy
${ac_tool_prefix}gtk-config
; ac_word
=$2
29365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29367 if test "${ac_cv_prog_GTKCONFIG+set}" = set; then
29368 echo $ECHO_N "(cached) $ECHO_C" >&6
29370 if test -n "$GTKCONFIG"; then
29371 ac_cv_prog_GTKCONFIG
="$GTKCONFIG" # Let the user override the test.
29373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29374 for as_dir
in $PATH
29377 test -z "$as_dir" && as_dir
=.
29378 for ac_exec_ext
in '' $ac_executable_extensions; do
29379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29380 ac_cv_prog_GTKCONFIG
="${ac_tool_prefix}gtk-config"
29381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29390 GTKCONFIG
=$ac_cv_prog_GTKCONFIG
29391 if test -n "$GTKCONFIG"; then
29392 { echo "$as_me:$LINENO: result: $GTKCONFIG" >&5
29393 echo "${ECHO_T}$GTKCONFIG" >&6; }
29395 { echo "$as_me:$LINENO: result: no" >&5
29396 echo "${ECHO_T}no" >&6; }
29401 if test -z "$ac_cv_prog_GTKCONFIG"; then
29402 ac_ct_GTKCONFIG
=$GTKCONFIG
29403 # Extract the first word of "gtk-config", so it can be a program name with args.
29404 set dummy gtk-config
; ac_word
=$2
29405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29407 if test "${ac_cv_prog_ac_ct_GTKCONFIG+set}" = set; then
29408 echo $ECHO_N "(cached) $ECHO_C" >&6
29410 if test -n "$ac_ct_GTKCONFIG"; then
29411 ac_cv_prog_ac_ct_GTKCONFIG
="$ac_ct_GTKCONFIG" # Let the user override the test.
29413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29414 for as_dir
in $PATH
29417 test -z "$as_dir" && as_dir
=.
29418 for ac_exec_ext
in '' $ac_executable_extensions; do
29419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29420 ac_cv_prog_ac_ct_GTKCONFIG
="gtk-config"
29421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29430 ac_ct_GTKCONFIG
=$ac_cv_prog_ac_ct_GTKCONFIG
29431 if test -n "$ac_ct_GTKCONFIG"; then
29432 { echo "$as_me:$LINENO: result: $ac_ct_GTKCONFIG" >&5
29433 echo "${ECHO_T}$ac_ct_GTKCONFIG" >&6; }
29435 { echo "$as_me:$LINENO: result: no" >&5
29436 echo "${ECHO_T}no" >&6; }
29439 if test "x$ac_ct_GTKCONFIG" = x
; then
29442 case $cross_compiling:$ac_tool_warned in
29444 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29445 whose name does not start with the host triplet. If you think this
29446 configuration is useful to you, please write to autoconf@gnu.org." >&5
29447 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29448 whose name does not start with the host triplet. If you think this
29449 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29450 ac_tool_warned
=yes ;;
29452 GTKCONFIG
=$ac_ct_GTKCONFIG
29455 GTKCONFIG
="$ac_cv_prog_GTKCONFIG"
29458 if test ! "x${GTKCONFIG}" = xNo
; then
29459 GTK_INCLUDE
=$
(${GTKCONFIG} --cflags gthread
)
29460 GTK_LIB
=$
(${GTKCONFIG} --libs gthread
)
29463 cat >>confdefs.h
<<\_ACEOF
29472 if test "${USE_CURL}" != "no"; then
29473 if test -n "$ac_tool_prefix"; then
29474 # Extract the first word of "${ac_tool_prefix}curl-config", so it can be a program name with args.
29475 set dummy
${ac_tool_prefix}curl-config
; ac_word
=$2
29476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29478 if test "${ac_cv_path_CURL_CONFIG+set}" = set; then
29479 echo $ECHO_N "(cached) $ECHO_C" >&6
29481 case $CURL_CONFIG in
29483 ac_cv_path_CURL_CONFIG
="$CURL_CONFIG" # Let the user override the test with a path.
29486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29487 for as_dir
in $PATH
29490 test -z "$as_dir" && as_dir
=.
29491 for ac_exec_ext
in '' $ac_executable_extensions; do
29492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29493 ac_cv_path_CURL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29504 CURL_CONFIG
=$ac_cv_path_CURL_CONFIG
29505 if test -n "$CURL_CONFIG"; then
29506 { echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
29507 echo "${ECHO_T}$CURL_CONFIG" >&6; }
29509 { echo "$as_me:$LINENO: result: no" >&5
29510 echo "${ECHO_T}no" >&6; }
29515 if test -z "$ac_cv_path_CURL_CONFIG"; then
29516 ac_pt_CURL_CONFIG
=$CURL_CONFIG
29517 # Extract the first word of "curl-config", so it can be a program name with args.
29518 set dummy curl-config
; ac_word
=$2
29519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29521 if test "${ac_cv_path_ac_pt_CURL_CONFIG+set}" = set; then
29522 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 case $ac_pt_CURL_CONFIG in
29526 ac_cv_path_ac_pt_CURL_CONFIG
="$ac_pt_CURL_CONFIG" # Let the user override the test with a path.
29529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29530 for as_dir
in $PATH
29533 test -z "$as_dir" && as_dir
=.
29534 for ac_exec_ext
in '' $ac_executable_extensions; do
29535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29536 ac_cv_path_ac_pt_CURL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29547 ac_pt_CURL_CONFIG
=$ac_cv_path_ac_pt_CURL_CONFIG
29548 if test -n "$ac_pt_CURL_CONFIG"; then
29549 { echo "$as_me:$LINENO: result: $ac_pt_CURL_CONFIG" >&5
29550 echo "${ECHO_T}$ac_pt_CURL_CONFIG" >&6; }
29552 { echo "$as_me:$LINENO: result: no" >&5
29553 echo "${ECHO_T}no" >&6; }
29556 if test "x$ac_pt_CURL_CONFIG" = x
; then
29559 case $cross_compiling:$ac_tool_warned in
29561 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29562 whose name does not start with the host triplet. If you think this
29563 configuration is useful to you, please write to autoconf@gnu.org." >&5
29564 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29565 whose name does not start with the host triplet. If you think this
29566 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29567 ac_tool_warned
=yes ;;
29569 CURL_CONFIG
=$ac_pt_CURL_CONFIG
29572 CURL_CONFIG
="$ac_cv_path_CURL_CONFIG"
29575 if test ! x
"${CURL_CONFIG}" = xNo
; then
29576 # check for version
29577 if test $
(printf "%d" 0x$
(${CURL_CONFIG} --vernum)) -ge $
(printf "%d" 0x070907); then
29578 CURL_INCLUDE
=$
(${CURL_CONFIG} --cflags)
29579 CURL_LIB
=$
(${CURL_CONFIG} --libs)
29582 cat >>confdefs.h
<<\_ACEOF
29583 #define HAVE_CURL 1
29590 ac_config_files
="$ac_config_files build_tools/menuselect-deps makeopts channels/h323/Makefile"
29592 cat >confcache
<<\_ACEOF
29593 # This file is a shell script that caches the results of configure
29594 # tests run on this system so they can be shared between configure
29595 # scripts and configure runs, see configure's option --config-cache.
29596 # It is not useful on other systems. If it contains results you don't
29597 # want to keep, you may remove or edit it.
29599 # config.status only pays attention to the cache file if you give it
29600 # the --recheck option to rerun configure.
29602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29604 # following values.
29608 # The following way of writing the cache mishandles newlines in values,
29609 # but we know of no workaround that is simple, portable, and efficient.
29610 # So, we kill variables containing newlines.
29611 # Ultrix sh set writes to stderr and can't be redirected directly,
29612 # and sets the high bit in the cache file unless we assign to the vars.
29614 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29615 eval ac_val
=\$
$ac_var
29619 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
29620 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
29623 _ | IFS | as_nl
) ;; #(
29624 *) $as_unset $ac_var ;;
29630 case $as_nl`(ac_space=' '; set) 2>&1` in #(
29631 *${as_nl}ac_space
=\
*)
29632 # `set' does not quote correctly, so add quotes (double-quote
29633 # substitution turns \\\\ into \\, and sed turns \\ into \).
29636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29639 # `set' quotes correctly as required by POSIX, so do not add quotes.
29640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29649 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29651 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29653 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
29654 if test -w "$cache_file"; then
29655 test "x$cache_file" != "x/dev/null" &&
29656 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
29657 echo "$as_me: updating cache $cache_file" >&6;}
29658 cat confcache
>$cache_file
29660 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29661 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29666 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
29667 # Let make expand exec_prefix.
29668 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
29670 DEFS
=-DHAVE_CONFIG_H
29674 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
29675 # 1. Remove the extension, and $U if already installed.
29676 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
29677 ac_i
=`echo "$ac_i" | sed "$ac_script"`
29678 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29679 # will be set to the directory where LIBOBJS objects are built.
29680 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29681 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
29683 LIBOBJS
=$ac_libobjs
29685 LTLIBOBJS
=$ac_ltlibobjs
29689 : ${CONFIG_STATUS=./config.status}
29690 ac_clean_files_save
=$ac_clean_files
29691 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
29692 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29693 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29694 cat >$CONFIG_STATUS <<_ACEOF
29696 # Generated by $as_me.
29697 # Run this file to recreate the current configuration.
29698 # Compiler output produced by configure, useful for debugging
29699 # configure, is in config.log if it exists.
29702 ac_cs_recheck=false
29704 SHELL=\${CONFIG_SHELL-$SHELL}
29707 cat >>$CONFIG_STATUS <<\_ACEOF
29708 ## --------------------- ##
29709 ## M4sh Initialization. ##
29710 ## --------------------- ##
29712 # Be more Bourne compatible
29713 DUALCASE
=1; export DUALCASE
# for MKS sh
29714 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
29717 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29718 # is contrary to our usage. Disable this feature.
29719 alias -g '${1+"$@"}'='"$@"'
29720 setopt NO_GLOB_SUBST
29722 case `(set -o) 2>/dev/null` in
29723 *posix
*) set -o posix
;;
29732 # Avoid depending upon Character Ranges.
29733 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
29734 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29735 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
29736 as_cr_digits
='0123456789'
29737 as_cr_alnum
=$as_cr_Letters$as_cr_digits
29739 # The user is always right.
29740 if test "${PATH_SEPARATOR+set}" != set; then
29741 echo "#! /bin/sh" >conf$$.sh
29742 echo "exit 0" >>conf$$.sh
29744 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
29752 # Support unset when possible.
29753 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
29761 # We need space, tab and new line, in precisely that order. Quoting is
29762 # there to prevent editors from complaining about space-tab.
29763 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
29764 # splitting by setting IFS to empty value.)
29769 # Find who we are. Look in the path if we contain no directory separator.
29771 *[\\/]* ) as_myself
=$0 ;;
29772 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29773 for as_dir
in $PATH
29776 test -z "$as_dir" && as_dir
=.
29777 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
29783 # We did not find ourselves, most probably we were run as `sh COMMAND'
29784 # in which case we are not to be found in the path.
29785 if test "x$as_myself" = x
; then
29788 if test ! -f "$as_myself"; then
29789 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29790 { (exit 1); exit 1; }
29793 # Work around bugs in pre-3.0 UWIN ksh.
29794 for as_var
in ENV MAIL MAILPATH
29795 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
29803 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29804 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29805 LC_TELEPHONE LC_TIME
29807 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29808 eval $as_var=C
; export $as_var
29810 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
29814 # Required to use basename.
29815 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
29816 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
29822 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29823 as_basename
=basename
29829 # Name of the executable.
29830 as_me
=`$as_basename -- "$0" ||
29831 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29832 X"$0" : 'X\(//\)$' \| \
29833 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29835 sed '/^.*\/\([^/][^/]*\)\/*$/{
29854 as_lineno_1
=$LINENO
29855 as_lineno_2
=$LINENO
29856 test "x$as_lineno_1" != "x$as_lineno_2" &&
29857 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
29859 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29860 # uniformly replaced by the line number. The first 'sed' inserts a
29861 # line-number line after each line using $LINENO; the second 'sed'
29862 # does the real work. The second script uses 'N' to pair each
29863 # line-number line with the line containing $LINENO, and appends
29864 # trailing '-' during substitution so that $LINENO is not a special
29865 # case at line end.
29866 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29867 # scripts with optimization help from Paolo Bonzini. Blame Lee
29868 # E. McMahon (1931-1989) for sed's syntax. :-)
29880 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29883 ' >$as_me.lineno
&&
29884 chmod +x
"$as_me.lineno" ||
29885 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29886 { (exit 1); exit 1; }; }
29888 # Don't try to exec as it changes $[0], causing all sort of problems
29889 # (the dirname of $[0] is not the place where we might find the
29890 # original and so on. Autoconf is especially sensitive to this).
29891 .
"./$as_me.lineno"
29892 # Exit status is that of the last command.
29897 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
29903 ECHO_C
= ECHO_N
= ECHO_T
=
29904 case `echo -n x` in
29906 case `echo 'x\c'` in
29907 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
29914 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
29915 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
29921 rm -f conf$$ conf$$.exe conf$$.
file
29922 if test -d conf$$.dir
; then
29923 rm -f conf$$.dir
/conf$$.
file
29929 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
29931 # ... but there are two gotchas:
29932 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29933 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29934 # In both cases, we have to default to `cp -p'.
29935 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
29937 elif ln conf$$.
file conf$$
2>/dev
/null
; then
29942 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
29943 rmdir conf$$.dir
2>/dev
/null
29945 if mkdir
-p .
2>/dev
/null
; then
29948 test -d .
/-p && rmdir .
/-p
29952 if test -x / >/dev
/null
2>&1; then
29953 as_test_x
='test -x'
29955 if ls -dL / >/dev
/null
2>&1; then
29962 if test -d "$1"; then
29968 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29969 ???[sx]*):;;*)false;;esac;fi
29973 as_executable_p
=$as_test_x
29975 # Sed expression to map a string onto a valid CPP name.
29976 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29978 # Sed expression to map a string onto a valid variable name.
29979 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29984 # Save the log message, to keep $[0] and so on meaningful, and to
29985 # report actual input values of CONFIG_FILES etc. instead of their
29986 # values after options handling.
29988 This file was extended by $as_me, which was
29989 generated by GNU Autoconf 2.61. Invocation command line was
29991 CONFIG_FILES = $CONFIG_FILES
29992 CONFIG_HEADERS = $CONFIG_HEADERS
29993 CONFIG_LINKS = $CONFIG_LINKS
29994 CONFIG_COMMANDS = $CONFIG_COMMANDS
29997 on `(hostname || uname -n) 2>/dev/null | sed 1q`
30002 cat >>$CONFIG_STATUS <<_ACEOF
30003 # Files that config.status was made for.
30004 config_files="$ac_config_files"
30005 config_headers="$ac_config_headers"
30009 cat >>$CONFIG_STATUS <<\_ACEOF
30011 \`$as_me' instantiates files from templates according to the
30012 current configuration.
30014 Usage: $0 [OPTIONS] [FILE]...
30016 -h, --help print this help, then exit
30017 -V, --version print version number and configuration settings, then exit
30018 -q, --quiet do not print progress messages
30019 -d, --debug don't remove temporary files
30020 --recheck update $as_me by reconfiguring in the same conditions
30021 --file=FILE[:TEMPLATE]
30022 instantiate the configuration file FILE
30023 --header=FILE[:TEMPLATE]
30024 instantiate the configuration header FILE
30026 Configuration files:
30029 Configuration headers:
30032 Report bugs to <bug-autoconf@gnu.org>."
30035 cat >>$CONFIG_STATUS <<_ACEOF
30038 configured by $0, generated by GNU Autoconf 2.61,
30039 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
30041 Copyright (C) 2006 Free Software Foundation, Inc.
30042 This config.status script is free software; the Free Software Foundation
30043 gives unlimited permission to copy, distribute and modify it."
30050 cat >>$CONFIG_STATUS <<\_ACEOF
30051 # If no file are specified by the user, then we need to provide default
30052 # value. By we need to know if files were specified by the user.
30058 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
30059 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
30070 # Handling of the options.
30071 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
30073 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
30074 echo "$ac_cs_version"; exit ;;
30075 --debug |
--debu |
--deb |
--de |
--d |
-d )
30077 --file |
--fil |
--fi |
--f )
30079 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
30080 ac_need_defaults
=false
;;
30081 --header |
--heade |
--head |
--hea )
30083 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
30084 ac_need_defaults
=false
;;
30086 # Conflict between --help and --header
30087 { echo "$as_me: error: ambiguous option: $1
30088 Try \`$0 --help' for more information." >&2
30089 { (exit 1); exit 1; }; };;
30090 --help |
--hel |
-h )
30091 echo "$ac_cs_usage"; exit ;;
30092 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
30093 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
30096 # This is an error.
30097 -*) { echo "$as_me: error: unrecognized option: $1
30098 Try \`$0 --help' for more information." >&2
30099 { (exit 1); exit 1; }; } ;;
30101 *) ac_config_targets
="$ac_config_targets $1"
30102 ac_need_defaults
=false
;;
30108 ac_configure_extra_args
=
30110 if $ac_cs_silent; then
30112 ac_configure_extra_args
="$ac_configure_extra_args --silent"
30116 cat >>$CONFIG_STATUS <<_ACEOF
30117 if \$ac_cs_recheck; then
30118 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30119 CONFIG_SHELL=$SHELL
30120 export CONFIG_SHELL
30121 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30125 cat >>$CONFIG_STATUS <<\_ACEOF
30129 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30130 ## Running $as_me. ##
30136 cat >>$CONFIG_STATUS <<_ACEOF
30139 cat >>$CONFIG_STATUS <<\_ACEOF
30141 # Handling of arguments.
30142 for ac_config_target
in $ac_config_targets
30144 case $ac_config_target in
30145 "include/asterisk/autoconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/asterisk/autoconfig.h" ;;
30146 "build_tools/menuselect-deps") CONFIG_FILES
="$CONFIG_FILES build_tools/menuselect-deps" ;;
30147 "makeopts") CONFIG_FILES
="$CONFIG_FILES makeopts" ;;
30148 "channels/h323/Makefile") CONFIG_FILES
="$CONFIG_FILES channels/h323/Makefile" ;;
30150 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30151 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30152 { (exit 1); exit 1; }; };;
30157 # If the user did not use the arguments to specify the items to instantiate,
30158 # then the envvar interface is used. Set only those that are not.
30159 # We use the long form for the default assignment because of an extremely
30160 # bizarre bug on SunOS 4.1.3.
30161 if $ac_need_defaults; then
30162 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
30163 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
30166 # Have a temporary directory for convenience. Make it in the build tree
30167 # simply because there is no reason against having it here, and in addition,
30168 # creating and moving files from /tmp can sometimes cause problems.
30169 # Hook for its removal unless debugging.
30170 # Note that there is a small window in which the directory will not be cleaned:
30171 # after its creation but before its name has been assigned to `$tmp'.
30175 trap 'exit_status=$?
30176 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
30178 trap '{ (exit 1); exit 1; }' 1 2 13 15
30180 # Create a (secure) tmp directory for tmp files.
30183 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30184 test -n "$tmp" && test -d "$tmp"
30187 tmp
=.
/conf$$
-$RANDOM
30188 (umask 077 && mkdir
"$tmp")
30191 echo "$me: cannot create a temporary directory in ." >&2
30192 { (exit 1); exit 1; }
30196 # Set up the sed scripts for CONFIG_FILES section.
30199 # No need to generate the scripts if there are no CONFIG_FILES.
30200 # This happens for instance when ./config.status config.h
30201 if test -n "$CONFIG_FILES"; then
30208 for ac_last_try
in false false false false false
:; do
30209 cat >conf$
$subs.
sed <<_ACEOF
30210 SHELL!$SHELL$ac_delim
30211 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
30212 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
30213 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
30214 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
30215 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
30216 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
30217 exec_prefix!$exec_prefix$ac_delim
30218 prefix!$prefix$ac_delim
30219 program_transform_name!$program_transform_name$ac_delim
30220 bindir!$bindir$ac_delim
30221 sbindir!$sbindir$ac_delim
30222 libexecdir!$libexecdir$ac_delim
30223 datarootdir!$datarootdir$ac_delim
30224 datadir!$datadir$ac_delim
30225 sysconfdir!$sysconfdir$ac_delim
30226 sharedstatedir!$sharedstatedir$ac_delim
30227 localstatedir!$localstatedir$ac_delim
30228 includedir!$includedir$ac_delim
30229 oldincludedir!$oldincludedir$ac_delim
30230 docdir!$docdir$ac_delim
30231 infodir!$infodir$ac_delim
30232 htmldir!$htmldir$ac_delim
30233 dvidir!$dvidir$ac_delim
30234 pdfdir!$pdfdir$ac_delim
30235 psdir!$psdir$ac_delim
30236 libdir!$libdir$ac_delim
30237 localedir!$localedir$ac_delim
30238 mandir!$mandir$ac_delim
30239 DEFS!$DEFS$ac_delim
30240 ECHO_C!$ECHO_C$ac_delim
30241 ECHO_N!$ECHO_N$ac_delim
30242 ECHO_T!$ECHO_T$ac_delim
30243 LIBS!$LIBS$ac_delim
30244 build_alias!$build_alias$ac_delim
30245 host_alias!$host_alias$ac_delim
30246 target_alias!$target_alias$ac_delim
30247 build!$build$ac_delim
30248 build_cpu!$build_cpu$ac_delim
30249 build_vendor!$build_vendor$ac_delim
30250 build_os!$build_os$ac_delim
30251 host!$host$ac_delim
30252 host_cpu!$host_cpu$ac_delim
30253 host_vendor!$host_vendor$ac_delim
30254 host_os!$host_os$ac_delim
30256 CFLAGS!$CFLAGS$ac_delim
30257 LDFLAGS!$LDFLAGS$ac_delim
30258 CPPFLAGS!$CPPFLAGS$ac_delim
30259 ac_ct_CC!$ac_ct_CC$ac_delim
30260 EXEEXT!$EXEEXT$ac_delim
30261 OBJEXT!$OBJEXT$ac_delim
30263 GREP!$GREP$ac_delim
30264 EGREP!$EGREP$ac_delim
30265 BUILD_PLATFORM!$BUILD_PLATFORM$ac_delim
30266 BUILD_CPU!$BUILD_CPU$ac_delim
30267 BUILD_VENDOR!$BUILD_VENDOR$ac_delim
30268 BUILD_OS!$BUILD_OS$ac_delim
30269 HOST_PLATFORM!$HOST_PLATFORM$ac_delim
30270 HOST_CPU!$HOST_CPU$ac_delim
30271 HOST_VENDOR!$HOST_VENDOR$ac_delim
30272 HOST_OS!$HOST_OS$ac_delim
30273 OSARCH!$OSARCH$ac_delim
30274 UNAME!$UNAME$ac_delim
30275 PBX_OSREV!$PBX_OSREV$ac_delim
30278 RANLIB!$RANLIB$ac_delim
30280 CXXFLAGS!$CXXFLAGS$ac_delim
30281 ac_ct_CXX!$ac_ct_CXX$ac_delim
30282 CXXCPP!$CXXCPP$ac_delim
30285 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
30286 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
30287 INSTALL_DATA!$INSTALL_DATA$ac_delim
30288 LN_S!$LN_S$ac_delim
30289 GNU_MAKE!$GNU_MAKE$ac_delim
30290 GNU_LD!$GNU_LD$ac_delim
30291 FIND!$FIND$ac_delim
30292 COMPRESS!$COMPRESS$ac_delim
30293 BASENAME!$BASENAME$ac_delim
30295 DIRNAME!$DIRNAME$ac_delim
30298 STRIP!$STRIP$ac_delim
30299 WGET!$WGET$ac_delim
30300 FETCH!$FETCH$ac_delim
30301 DOWNLOAD!$DOWNLOAD$ac_delim
30302 acx_pthread_config!$acx_pthread_config$ac_delim
30303 PTHREAD_CC!$PTHREAD_CC$ac_delim
30304 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
30305 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
30306 AST_DEVMODE!$AST_DEVMODE$ac_delim
30309 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30311 elif $ac_last_try; then
30312 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30313 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30314 { (exit 1); exit 1; }; }
30316 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
30320 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30321 if test -n "$ac_eof"; then
30322 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
30323 ac_eof
=`expr $ac_eof + 1`
30326 cat >>$CONFIG_STATUS <<_ACEOF
30327 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
30328 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30331 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30332 s/^/s,@/; s/!/@,|#_!!_#|/
30335 s/'"$ac_delim"'$/,g/; t
30337 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30338 ' >>$CONFIG_STATUS <conf$
$subs.
sed
30339 rm -f conf$
$subs.
sed
30340 cat >>$CONFIG_STATUS <<_ACEOF
30346 for ac_last_try
in false false false false false
:; do
30347 cat >conf$
$subs.
sed <<_ACEOF
30348 ALSA_LIB!$ALSA_LIB$ac_delim
30349 ALSA_INCLUDE!$ALSA_INCLUDE$ac_delim
30350 ALSA_DIR!$ALSA_DIR$ac_delim
30351 PBX_ALSA!$PBX_ALSA$ac_delim
30352 CURL_LIB!$CURL_LIB$ac_delim
30353 CURL_INCLUDE!$CURL_INCLUDE$ac_delim
30354 CURL_DIR!$CURL_DIR$ac_delim
30355 PBX_CURL!$PBX_CURL$ac_delim
30356 CURSES_LIB!$CURSES_LIB$ac_delim
30357 CURSES_INCLUDE!$CURSES_INCLUDE$ac_delim
30358 CURSES_DIR!$CURSES_DIR$ac_delim
30359 PBX_CURSES!$PBX_CURSES$ac_delim
30360 GNUTLS_LIB!$GNUTLS_LIB$ac_delim
30361 GNUTLS_INCLUDE!$GNUTLS_INCLUDE$ac_delim
30362 GNUTLS_DIR!$GNUTLS_DIR$ac_delim
30363 PBX_GNUTLS!$PBX_GNUTLS$ac_delim
30364 GSM_LIB!$GSM_LIB$ac_delim
30365 GSM_INCLUDE!$GSM_INCLUDE$ac_delim
30366 GSM_DIR!$GSM_DIR$ac_delim
30367 PBX_GSM!$PBX_GSM$ac_delim
30368 IKSEMEL_LIB!$IKSEMEL_LIB$ac_delim
30369 IKSEMEL_INCLUDE!$IKSEMEL_INCLUDE$ac_delim
30370 IKSEMEL_DIR!$IKSEMEL_DIR$ac_delim
30371 PBX_IKSEMEL!$PBX_IKSEMEL$ac_delim
30372 IMAP_TK_LIB!$IMAP_TK_LIB$ac_delim
30373 IMAP_TK_INCLUDE!$IMAP_TK_INCLUDE$ac_delim
30374 IMAP_TK_DIR!$IMAP_TK_DIR$ac_delim
30375 PBX_IMAP_TK!$PBX_IMAP_TK$ac_delim
30376 ISDNNET_LIB!$ISDNNET_LIB$ac_delim
30377 ISDNNET_INCLUDE!$ISDNNET_INCLUDE$ac_delim
30378 ISDNNET_DIR!$ISDNNET_DIR$ac_delim
30379 PBX_ISDNNET!$PBX_ISDNNET$ac_delim
30380 KDE_LIB!$KDE_LIB$ac_delim
30381 KDE_INCLUDE!$KDE_INCLUDE$ac_delim
30382 KDE_DIR!$KDE_DIR$ac_delim
30383 PBX_KDE!$PBX_KDE$ac_delim
30384 MISDN_LIB!$MISDN_LIB$ac_delim
30385 MISDN_INCLUDE!$MISDN_INCLUDE$ac_delim
30386 MISDN_DIR!$MISDN_DIR$ac_delim
30387 PBX_MISDN!$PBX_MISDN$ac_delim
30388 NBS_LIB!$NBS_LIB$ac_delim
30389 NBS_INCLUDE!$NBS_INCLUDE$ac_delim
30390 NBS_DIR!$NBS_DIR$ac_delim
30391 PBX_NBS!$PBX_NBS$ac_delim
30392 NCURSES_LIB!$NCURSES_LIB$ac_delim
30393 NCURSES_INCLUDE!$NCURSES_INCLUDE$ac_delim
30394 NCURSES_DIR!$NCURSES_DIR$ac_delim
30395 PBX_NCURSES!$PBX_NCURSES$ac_delim
30396 NETSNMP_LIB!$NETSNMP_LIB$ac_delim
30397 NETSNMP_INCLUDE!$NETSNMP_INCLUDE$ac_delim
30398 NETSNMP_DIR!$NETSNMP_DIR$ac_delim
30399 PBX_NETSNMP!$PBX_NETSNMP$ac_delim
30400 NEWT_LIB!$NEWT_LIB$ac_delim
30401 NEWT_INCLUDE!$NEWT_INCLUDE$ac_delim
30402 NEWT_DIR!$NEWT_DIR$ac_delim
30403 PBX_NEWT!$PBX_NEWT$ac_delim
30404 UNIXODBC_LIB!$UNIXODBC_LIB$ac_delim
30405 UNIXODBC_INCLUDE!$UNIXODBC_INCLUDE$ac_delim
30406 UNIXODBC_DIR!$UNIXODBC_DIR$ac_delim
30407 PBX_UNIXODBC!$PBX_UNIXODBC$ac_delim
30408 OGG_LIB!$OGG_LIB$ac_delim
30409 OGG_INCLUDE!$OGG_INCLUDE$ac_delim
30410 OGG_DIR!$OGG_DIR$ac_delim
30411 PBX_OGG!$PBX_OGG$ac_delim
30412 OSPTK_LIB!$OSPTK_LIB$ac_delim
30413 OSPTK_INCLUDE!$OSPTK_INCLUDE$ac_delim
30414 OSPTK_DIR!$OSPTK_DIR$ac_delim
30415 PBX_OSPTK!$PBX_OSPTK$ac_delim
30416 OSS_LIB!$OSS_LIB$ac_delim
30417 OSS_INCLUDE!$OSS_INCLUDE$ac_delim
30418 OSS_DIR!$OSS_DIR$ac_delim
30419 PBX_OSS!$PBX_OSS$ac_delim
30420 POPT_LIB!$POPT_LIB$ac_delim
30421 POPT_INCLUDE!$POPT_INCLUDE$ac_delim
30422 POPT_DIR!$POPT_DIR$ac_delim
30423 PBX_POPT!$PBX_POPT$ac_delim
30424 PGSQL_LIB!$PGSQL_LIB$ac_delim
30425 PGSQL_INCLUDE!$PGSQL_INCLUDE$ac_delim
30426 PGSQL_DIR!$PGSQL_DIR$ac_delim
30427 PBX_PGSQL!$PBX_PGSQL$ac_delim
30428 PRI_LIB!$PRI_LIB$ac_delim
30429 PRI_INCLUDE!$PRI_INCLUDE$ac_delim
30430 PRI_DIR!$PRI_DIR$ac_delim
30431 PBX_PRI!$PBX_PRI$ac_delim
30432 PWLIB_LIB!$PWLIB_LIB$ac_delim
30433 PWLIB_INCLUDE!$PWLIB_INCLUDE$ac_delim
30434 PWLIB_DIR!$PWLIB_DIR$ac_delim
30435 PBX_PWLIB!$PBX_PWLIB$ac_delim
30436 OPENH323_LIB!$OPENH323_LIB$ac_delim
30437 OPENH323_INCLUDE!$OPENH323_INCLUDE$ac_delim
30438 OPENH323_DIR!$OPENH323_DIR$ac_delim
30439 PBX_OPENH323!$PBX_OPENH323$ac_delim
30440 QT_LIB!$QT_LIB$ac_delim
30441 QT_INCLUDE!$QT_INCLUDE$ac_delim
30442 QT_DIR!$QT_DIR$ac_delim
30443 PBX_QT!$PBX_QT$ac_delim
30444 RADIUS_LIB!$RADIUS_LIB$ac_delim
30447 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30449 elif $ac_last_try; then
30450 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30451 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30452 { (exit 1); exit 1; }; }
30454 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
30458 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30459 if test -n "$ac_eof"; then
30460 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
30461 ac_eof
=`expr $ac_eof + 1`
30464 cat >>$CONFIG_STATUS <<_ACEOF
30465 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
30466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30469 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30470 s/^/s,@/; s/!/@,|#_!!_#|/
30473 s/'"$ac_delim"'$/,g/; t
30475 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30476 ' >>$CONFIG_STATUS <conf$
$subs.
sed
30477 rm -f conf$
$subs.
sed
30478 cat >>$CONFIG_STATUS <<_ACEOF
30484 for ac_last_try
in false false false false false
:; do
30485 cat >conf$
$subs.
sed <<_ACEOF
30486 RADIUS_INCLUDE!$RADIUS_INCLUDE$ac_delim
30487 RADIUS_DIR!$RADIUS_DIR$ac_delim
30488 PBX_RADIUS!$PBX_RADIUS$ac_delim
30489 SPEEX_LIB!$SPEEX_LIB$ac_delim
30490 SPEEX_INCLUDE!$SPEEX_INCLUDE$ac_delim
30491 SPEEX_DIR!$SPEEX_DIR$ac_delim
30492 PBX_SPEEX!$PBX_SPEEX$ac_delim
30493 SQLITE_LIB!$SQLITE_LIB$ac_delim
30494 SQLITE_INCLUDE!$SQLITE_INCLUDE$ac_delim
30495 SQLITE_DIR!$SQLITE_DIR$ac_delim
30496 PBX_SQLITE!$PBX_SQLITE$ac_delim
30497 SUPPSERV_LIB!$SUPPSERV_LIB$ac_delim
30498 SUPPSERV_INCLUDE!$SUPPSERV_INCLUDE$ac_delim
30499 SUPPSERV_DIR!$SUPPSERV_DIR$ac_delim
30500 PBX_SUPPSERV!$PBX_SUPPSERV$ac_delim
30501 OPENSSL_LIB!$OPENSSL_LIB$ac_delim
30502 OPENSSL_INCLUDE!$OPENSSL_INCLUDE$ac_delim
30503 OPENSSL_DIR!$OPENSSL_DIR$ac_delim
30504 PBX_OPENSSL!$PBX_OPENSSL$ac_delim
30505 FREETDS_LIB!$FREETDS_LIB$ac_delim
30506 FREETDS_INCLUDE!$FREETDS_INCLUDE$ac_delim
30507 FREETDS_DIR!$FREETDS_DIR$ac_delim
30508 PBX_FREETDS!$PBX_FREETDS$ac_delim
30509 TERMCAP_LIB!$TERMCAP_LIB$ac_delim
30510 TERMCAP_INCLUDE!$TERMCAP_INCLUDE$ac_delim
30511 TERMCAP_DIR!$TERMCAP_DIR$ac_delim
30512 PBX_TERMCAP!$PBX_TERMCAP$ac_delim
30513 TINFO_LIB!$TINFO_LIB$ac_delim
30514 TINFO_INCLUDE!$TINFO_INCLUDE$ac_delim
30515 TINFO_DIR!$TINFO_DIR$ac_delim
30516 PBX_TINFO!$PBX_TINFO$ac_delim
30517 TONEZONE_LIB!$TONEZONE_LIB$ac_delim
30518 TONEZONE_INCLUDE!$TONEZONE_INCLUDE$ac_delim
30519 TONEZONE_DIR!$TONEZONE_DIR$ac_delim
30520 PBX_TONEZONE!$PBX_TONEZONE$ac_delim
30521 VORBIS_LIB!$VORBIS_LIB$ac_delim
30522 VORBIS_INCLUDE!$VORBIS_INCLUDE$ac_delim
30523 VORBIS_DIR!$VORBIS_DIR$ac_delim
30524 PBX_VORBIS!$PBX_VORBIS$ac_delim
30525 VPB_LIB!$VPB_LIB$ac_delim
30526 VPB_INCLUDE!$VPB_INCLUDE$ac_delim
30527 VPB_DIR!$VPB_DIR$ac_delim
30528 PBX_VPB!$PBX_VPB$ac_delim
30529 ZLIB_LIB!$ZLIB_LIB$ac_delim
30530 ZLIB_INCLUDE!$ZLIB_INCLUDE$ac_delim
30531 ZLIB_DIR!$ZLIB_DIR$ac_delim
30532 PBX_ZLIB!$PBX_ZLIB$ac_delim
30533 ZAPTEL_LIB!$ZAPTEL_LIB$ac_delim
30534 ZAPTEL_INCLUDE!$ZAPTEL_INCLUDE$ac_delim
30535 ZAPTEL_DIR!$ZAPTEL_DIR$ac_delim
30536 PBX_ZAPTEL!$PBX_ZAPTEL$ac_delim
30537 ALLOCA!$ALLOCA$ac_delim
30538 LIBOBJS!$LIBOBJS$ac_delim
30539 POW_LIB!$POW_LIB$ac_delim
30540 GC_CFLAGS!$GC_CFLAGS$ac_delim
30541 GC_LDFLAGS!$GC_LDFLAGS$ac_delim
30542 GSM_INTERNAL!$GSM_INTERNAL$ac_delim
30543 KDEINIT!$KDEINIT$ac_delim
30544 KDEDIR!$KDEDIR$ac_delim
30545 NETSNMP_CONFIG!$NETSNMP_CONFIG$ac_delim
30546 PG_CONFIG!$PG_CONFIG$ac_delim
30547 PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
30548 PWLIBDIR!$PWLIBDIR$ac_delim
30549 PWLIB_INCDIR!$PWLIB_INCDIR$ac_delim
30550 PWLIB_LIBDIR!$PWLIB_LIBDIR$ac_delim
30551 PWLIB_PLATFORM!$PWLIB_PLATFORM$ac_delim
30552 OPENH323DIR!$OPENH323DIR$ac_delim
30553 OPENH323_INCDIR!$OPENH323_INCDIR$ac_delim
30554 OPENH323_LIBDIR!$OPENH323_LIBDIR$ac_delim
30555 OPENH323_SUFFIX!$OPENH323_SUFFIX$ac_delim
30556 OPENH323_BUILD!$OPENH323_BUILD$ac_delim
30557 QTMOC!$QTMOC$ac_delim
30558 PBX_ZAPTEL_VLDTMF!$PBX_ZAPTEL_VLDTMF$ac_delim
30559 PBX_ZAPTEL_TRANSCODE!$PBX_ZAPTEL_TRANSCODE$ac_delim
30560 EDITLINE_LIB!$EDITLINE_LIB$ac_delim
30561 PBX_H323!$PBX_H323$ac_delim
30562 PBX_IXJUSER!$PBX_IXJUSER$ac_delim
30563 GTKCONFIG!$GTKCONFIG$ac_delim
30564 PBX_GTK!$PBX_GTK$ac_delim
30565 GTK_INCLUDE!$GTK_INCLUDE$ac_delim
30566 GTK_LIB!$GTK_LIB$ac_delim
30567 CURL_CONFIG!$CURL_CONFIG$ac_delim
30568 LTLIBOBJS!$LTLIBOBJS$ac_delim
30571 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
30573 elif $ac_last_try; then
30574 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30575 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30576 { (exit 1); exit 1; }; }
30578 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
30582 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30583 if test -n "$ac_eof"; then
30584 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
30585 ac_eof
=`expr $ac_eof + 1`
30588 cat >>$CONFIG_STATUS <<_ACEOF
30589 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
30590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
30593 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30594 s/^/s,@/; s/!/@,|#_!!_#|/
30597 s/'"$ac_delim"'$/,g/; t
30599 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30600 ' >>$CONFIG_STATUS <conf$
$subs.
sed
30601 rm -f conf$
$subs.
sed
30602 cat >>$CONFIG_STATUS <<_ACEOF
30609 # VPATH may cause trouble with some makes, so we remove $(srcdir),
30610 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30611 # trailing colons and then remove the whole line if VPATH becomes empty
30612 # (actually we leave an empty line to preserve line numbers).
30613 if test "x$srcdir" = x.
; then
30614 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
30615 s/:*\$(srcdir):*/:/
30616 s/:*\${srcdir}:*/:/
30618 s/^\([^=]*=[ ]*\):*/\1/
30624 cat >>$CONFIG_STATUS <<\_ACEOF
30625 fi # test -n "$CONFIG_FILES"
30628 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
30631 :[FHLC
]) ac_mode
=$ac_tag; continue;;
30633 case $ac_mode$ac_tag in
30635 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
30636 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
30637 { (exit 1); exit 1; }; };;
30638 :[FH
]-) ac_tag
=-:-;;
30639 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
30656 -) ac_f
="$tmp/stdin";;
30657 *) # Look for the file first in the build tree, then in the source tree
30658 # (if the path is not absolute). The absolute path cannot be DOS-style,
30659 # because $ac_f cannot contain `:'.
30663 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
30665 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
30666 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
30667 { (exit 1); exit 1; }; };;
30669 ac_file_inputs
="$ac_file_inputs $ac_f"
30672 # Let's still pretend it is `configure' which instantiates (i.e., don't
30673 # use $as_me), people would be surprised to read:
30674 # /* config.h. Generated by config.status. */
30675 configure_input
="Generated from "`IFS=:
30676 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
30677 if test x
"$ac_file" != x-
; then
30678 configure_input
="$ac_file. $configure_input"
30679 { echo "$as_me:$LINENO: creating $ac_file" >&5
30680 echo "$as_me: creating $ac_file" >&6;}
30684 *:-:* |
*:-) cat >"$tmp/stdin";;
30689 ac_dir
=`$as_dirname -- "$ac_file" ||
30690 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30691 X"$ac_file" : 'X\(//\)[^/]' \| \
30692 X"$ac_file" : 'X\(//\)$' \| \
30693 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
30695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30699 /^X\(\/\/\)[^/].*/{
30714 -*) as_dir
=.
/$as_dir;;
30716 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
30720 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30721 *) as_qdir
=$as_dir;;
30723 as_dirs
="'$as_qdir' $as_dirs"
30724 as_dir
=`$as_dirname -- "$as_dir" ||
30725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30726 X"$as_dir" : 'X\(//\)[^/]' \| \
30727 X"$as_dir" : 'X\(//\)$' \| \
30728 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30734 /^X\(\/\/\)[^/].*/{
30747 test -d "$as_dir" && break
30749 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
30750 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30751 echo "$as_me: error: cannot create directory $as_dir" >&2;}
30752 { (exit 1); exit 1; }; }; }
30756 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
30758 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30759 # A ".." for each directory in $ac_dir_suffix.
30760 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
30761 case $ac_top_builddir_sub in
30762 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
30763 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
30766 ac_abs_top_builddir
=$ac_pwd
30767 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
30768 # for backward compatibility:
30769 ac_top_builddir
=$ac_top_build_prefix
30772 .
) # We are building in place.
30774 ac_top_srcdir
=$ac_top_builddir_sub
30775 ac_abs_top_srcdir
=$ac_pwd ;;
30776 [\\/]* | ?
:[\\/]* ) # Absolute name.
30777 ac_srcdir
=$srcdir$ac_dir_suffix;
30778 ac_top_srcdir
=$srcdir
30779 ac_abs_top_srcdir
=$srcdir ;;
30780 *) # Relative name.
30781 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
30782 ac_top_srcdir
=$ac_top_build_prefix$srcdir
30783 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
30785 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
30795 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
30796 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
30800 cat >>$CONFIG_STATUS <<\_ACEOF
30801 # If the template does not know about datarootdir, expand it.
30802 # FIXME: This hack should be removed a few years after 2.60.
30803 ac_datarootdir_hack
=; ac_datarootdir_seen
=
30805 case `sed -n '/datarootdir/ {
30814 ' $ac_file_inputs` in
30815 *datarootdir
*) ac_datarootdir_seen
=yes;;
30816 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
30817 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30818 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30820 cat >>$CONFIG_STATUS <<_ACEOF
30821 ac_datarootdir_hack='
30822 s&@datadir@&$datadir&g
30823 s&@docdir@&$docdir&g
30824 s&@infodir@&$infodir&g
30825 s&@localedir@&$localedir&g
30826 s&@mandir@&$mandir&g
30827 s&\\\${datarootdir}&$datarootdir&g' ;;
30831 # Neutralize VPATH when `$srcdir' = `.'.
30832 # Shell code in configure.ac might set extrasub.
30833 # FIXME: do we really want to maintain this feature?
30834 cat >>$CONFIG_STATUS <<_ACEOF
30838 cat >>$CONFIG_STATUS <<\_ACEOF
30840 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
30841 s
&@configure_input@
&$configure_input&;t t
30842 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
30843 s
&@srcdir@
&$ac_srcdir&;t t
30844 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
30845 s
&@top_srcdir@
&$ac_top_srcdir&;t t
30846 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
30847 s
&@builddir@
&$ac_builddir&;t t
30848 s
&@abs_builddir@
&$ac_abs_builddir&;t t
30849 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
30850 s
&@INSTALL@
&$ac_INSTALL&;t t
30851 $ac_datarootdir_hack
30852 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
30854 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30855 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
30856 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
30857 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
30858 which seems to be undefined. Please make sure it is defined." >&5
30859 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
30860 which seems to be undefined. Please make sure it is defined." >&2;}
30864 -) cat "$tmp/out"; rm -f "$tmp/out";;
30865 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
30874 # Transform confdefs.h into a sed script `conftest.defines', that
30875 # substitutes the proper values into config.h.in to produce config.h.
30876 rm -f conftest.defines conftest.
tail
30877 # First, append a space to every undef/define line, to ease matching.
30878 echo 's/$/ /' >conftest.defines
30879 # Then, protect against being on the right side of a sed subst, or in
30880 # an unquoted here document, in config.status. If some macros were
30881 # called several times there might be several #defines for the same
30882 # symbol, which is useless. But do not sort them, since the last
30883 # AC_DEFINE must be honored.
30884 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
30885 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30886 # NAME is the cpp macro being defined, VALUE is the value it is being given.
30887 # PARAMS is the parameter list in the macro definition--in most cases, it's
30888 # just an empty string.
30889 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
30890 ac_dB
='\\)[ (].*,\\1define\\2'
30898 s/^[ ]*#[ ]*define[ ][ ]*//
30903 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30904 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30905 ' >>conftest.defines
30907 # Remove the space that was appended to ease matching.
30908 # Then replace #undef with comments. This is necessary, for
30909 # example, in the case of _POSIX_SOURCE, which is predefined and required
30910 # on some systems where configure will not decide to define it.
30911 # (The regexp can be short, since the line contains either #define or #undef.)
30913 s,^[ #]*u.*,/* & */,' >>conftest.defines
30915 # Break up conftest.defines:
30916 ac_max_sed_lines
=50
30918 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30919 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30920 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30922 ac_in
='$ac_file_inputs'
30923 ac_out
='"$tmp/out1"'
30924 ac_nxt
='"$tmp/out2"'
30928 # Write a here document:
30929 cat >>$CONFIG_STATUS <<_ACEOF
30930 # First, check the format of the line:
30931 cat >"\$tmp/defines.sed" <<\\CEOF
30932 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
30933 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30937 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
30939 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30940 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
30941 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
30942 grep . conftest.
tail >/dev
/null ||
break
30943 rm -f conftest.defines
30944 mv conftest.
tail conftest.defines
30946 rm -f conftest.defines conftest.
tail
30948 echo "ac_result=$ac_in" >>$CONFIG_STATUS
30949 cat >>$CONFIG_STATUS <<\_ACEOF
30950 if test x
"$ac_file" != x-
; then
30951 echo "/* $configure_input */" >"$tmp/config.h"
30952 cat "$ac_result" >>"$tmp/config.h"
30953 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
30954 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30955 echo "$as_me: $ac_file is unchanged" >&6;}
30958 mv "$tmp/config.h" $ac_file
30961 echo "/* $configure_input */"
30973 { (exit 0); exit 0; }
30975 chmod +x
$CONFIG_STATUS
30976 ac_clean_files
=$ac_clean_files_save
30979 # configure is writing to config.log, and then calls config.status.
30980 # config.status does its own redirection, appending to config.log.
30981 # Unfortunately, on DOS this fails, as config.log is still kept open
30982 # by configure, so config.status won't be able to write to it; its
30983 # output is simply discarded. So we exec the FD to /dev/null,
30984 # effectively closing config.log, so it can be properly (re)opened and
30985 # appended to by config.status. When coming back to configure, we
30986 # need to make the FD available again.
30987 if test "$no_create" != yes; then
30989 ac_config_status_args
=
30990 test "$silent" = yes &&
30991 ac_config_status_args
="$ac_config_status_args --quiet"
30993 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
30995 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30996 # would make configure fail if this is the last instruction.
30997 $ac_cs_success ||
{ (exit 1); exit 1; }
31001 if test "x${silent}" != "xyes" ; then
31003 echo " .\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$=.. "
31004 echo " .\$7\$7.. .7\$\$7:. "
31005 echo " .\$\$:. ,\$7.7 "
31006 echo " .\$7. 7\$\$\$\$ .\$\$77 "
31007 echo " ..\$\$. \$\$\$\$\$ .\$\$\$7 "
31008 echo " ..7\$ .?. \$\$\$\$\$ .?. 7\$\$\$."
31009 echo " \$.\$. .\$\$\$7. \$\$\$\$7 .7\$\$\$. .\$\$\$."
31010 echo " .777. .\$\$\$\$\$\$77\$\$\$77\$\$\$\$\$7. \$\$\$,"
31011 echo " \$\$\$~ .7\$\$\$\$\$\$\$\$\$\$\$\$\$7. .\$\$\$."
31012 echo ".\$\$7 .7\$\$\$\$\$\$\$7: ?\$\$\$."
31013 echo "\$\$\$ ?7\$\$\$\$\$\$\$\$\$\$I .\$\$\$7 "
31014 echo "\$\$\$ .7\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$ :\$\$\$. "
31015 echo "\$\$\$ \$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$\$\$\$ .\$\$\$. "
31016 echo "\$\$\$ \$\$\$ 7\$\$\$7 .\$\$\$ .\$\$\$. "
31017 echo "\$\$\$\$ \$\$\$\$7 .\$\$\$. "
31018 echo "7\$\$\$7 7\$\$\$\$ 7\$\$\$ "
31019 echo " \$\$\$\$\$ \$\$\$ "
31020 echo " \$\$\$\$7. \$\$ (TM) "
31021 echo " \$\$\$\$\$\$\$. .7\$\$\$\$\$\$ \$\$ "
31022 echo " \$\$\$\$\$\$\$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$.\$\$\$\$\$\$ "
31023 echo " \$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$. "
31027 { echo "$as_me:$LINENO: Package configured for: " >&5
31028 echo "$as_me: Package configured for: " >&6;}
31029 { echo "$as_me:$LINENO: OS type : $host_os" >&5
31030 echo "$as_me: OS type : $host_os" >&6;}
31031 { echo "$as_me:$LINENO: Host CPU : $host_cpu" >&5
31032 echo "$as_me: Host CPU : $host_cpu" >&6;}
31033 if test "${cross_compiling}" = "yes"; then
31034 { echo "$as_me:$LINENO: Cross Compilation = YES" >&5
31035 echo "$as_me: Cross Compilation = YES" >&6;}