2 # From configure.ac Revision: 67026 .
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
908 ac_precious_vars
='build_alias
923 # Initialize some variables set by options.
925 ac_init_version
=false
926 # The variables have the same names as the options, with
927 # dashes changed to underlines.
935 program_transform_name
=s
,x
,x
,
943 # Installation directory options.
944 # These are left unexpanded so users can "make install exec_prefix=/foo"
945 # and all the variables that are supposed to be based on exec_prefix
946 # by default will actually change.
947 # Use braces instead of parens because sh, perl, etc. also accept them.
948 # (The list follows the same order as the GNU Coding Standards.)
949 bindir
='${exec_prefix}/bin'
950 sbindir
='${exec_prefix}/sbin'
951 libexecdir
='${exec_prefix}/libexec'
952 datarootdir
='${prefix}/share'
953 datadir
='${datarootdir}'
954 sysconfdir
='${prefix}/etc'
955 sharedstatedir
='${prefix}/com'
956 localstatedir
='${prefix}/var'
957 includedir
='${prefix}/include'
958 oldincludedir
='/usr/include'
959 docdir
='${datarootdir}/doc/${PACKAGE}'
960 infodir
='${datarootdir}/info'
965 libdir
='${exec_prefix}/lib'
966 localedir
='${datarootdir}/locale'
967 mandir
='${datarootdir}/man'
973 # If the previous option needs an argument, assign it.
974 if test -n "$ac_prev"; then
975 eval $ac_prev=\
$ac_option
981 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
985 # Accept the important Cygnus configure options, so we can diagnose typos.
987 case $ac_dashdash$ac_option in
991 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
993 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
996 -build |
--build |
--buil |
--bui |
--bu)
997 ac_prev
=build_alias
;;
998 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
999 build_alias
=$ac_optarg ;;
1001 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1002 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1003 ac_prev
=cache_file
;;
1004 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1005 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1006 cache_file
=$ac_optarg ;;
1008 --config-cache |
-C)
1009 cache_file
=config.cache
;;
1011 -datadir |
--datadir |
--datadi |
--datad)
1013 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1014 datadir
=$ac_optarg ;;
1016 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1017 |
--dataroo |
--dataro |
--datar)
1018 ac_prev
=datarootdir
;;
1019 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1020 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1021 datarootdir
=$ac_optarg ;;
1023 -disable-* |
--disable-*)
1024 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1027 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1028 { (exit 1); exit 1; }; }
1029 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1030 eval enable_
$ac_feature=no
;;
1032 -docdir |
--docdir |
--docdi |
--doc |
--do)
1034 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1035 docdir
=$ac_optarg ;;
1037 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1039 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1040 dvidir
=$ac_optarg ;;
1042 -enable-* |
--enable-*)
1043 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1046 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1047 { (exit 1); exit 1; }; }
1048 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1049 eval enable_
$ac_feature=\
$ac_optarg ;;
1051 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1052 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1053 |
--exec |
--exe |
--ex)
1054 ac_prev
=exec_prefix
;;
1055 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1056 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1057 |
--exec=* |
--exe=* |
--ex=*)
1058 exec_prefix
=$ac_optarg ;;
1060 -gas |
--gas |
--ga |
--g)
1061 # Obsolete; use --with-gas.
1064 -help |
--help |
--hel |
--he |
-h)
1065 ac_init_help
=long
;;
1066 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1067 ac_init_help
=recursive
;;
1068 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1069 ac_init_help
=short
;;
1071 -host |
--host |
--hos |
--ho)
1072 ac_prev
=host_alias
;;
1073 -host=* |
--host=* |
--hos=* |
--ho=*)
1074 host_alias
=$ac_optarg ;;
1076 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1078 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1080 htmldir
=$ac_optarg ;;
1082 -includedir |
--includedir |
--includedi |
--included |
--include \
1083 |
--includ |
--inclu |
--incl |
--inc)
1084 ac_prev
=includedir
;;
1085 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1086 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1087 includedir
=$ac_optarg ;;
1089 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1091 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1092 infodir
=$ac_optarg ;;
1094 -libdir |
--libdir |
--libdi |
--libd)
1096 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1097 libdir
=$ac_optarg ;;
1099 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1100 |
--libexe |
--libex |
--libe)
1101 ac_prev
=libexecdir
;;
1102 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1103 |
--libexe=* |
--libex=* |
--libe=*)
1104 libexecdir
=$ac_optarg ;;
1106 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1107 ac_prev
=localedir
;;
1108 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1109 localedir
=$ac_optarg ;;
1111 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1112 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1113 ac_prev
=localstatedir
;;
1114 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1115 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1116 localstatedir
=$ac_optarg ;;
1118 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1120 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1121 mandir
=$ac_optarg ;;
1123 -nfp |
--nfp |
--nf)
1124 # Obsolete; use --without-fp.
1127 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1128 |
--no-cr |
--no-c |
-n)
1131 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1132 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1135 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1136 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1137 |
--oldin |
--oldi |
--old |
--ol |
--o)
1138 ac_prev
=oldincludedir
;;
1139 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1140 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1141 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1142 oldincludedir
=$ac_optarg ;;
1144 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1146 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1147 prefix
=$ac_optarg ;;
1149 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1150 |
--program-pre |
--program-pr |
--program-p)
1151 ac_prev
=program_prefix
;;
1152 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1153 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1154 program_prefix
=$ac_optarg ;;
1156 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1157 |
--program-suf |
--program-su |
--program-s)
1158 ac_prev
=program_suffix
;;
1159 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1160 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1161 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1171 -program-transform-name=* |
--program-transform-name=* \
1172 |
--program-transform-nam=* |
--program-transform-na=* \
1173 |
--program-transform-n=* |
--program-transform-=* \
1174 |
--program-transform=* |
--program-transfor=* \
1175 |
--program-transfo=* |
--program-transf=* \
1176 |
--program-trans=* |
--program-tran=* \
1177 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1178 program_transform_name
=$ac_optarg ;;
1180 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1182 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1183 pdfdir
=$ac_optarg ;;
1185 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1187 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1190 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1191 |
-silent |
--silent |
--silen |
--sile |
--sil)
1194 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1196 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1198 sbindir
=$ac_optarg ;;
1200 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1201 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1202 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1204 ac_prev
=sharedstatedir
;;
1205 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1206 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1207 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1209 sharedstatedir
=$ac_optarg ;;
1211 -site |
--site |
--sit)
1213 -site=* |
--site=* |
--sit=*)
1216 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1218 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1219 srcdir
=$ac_optarg ;;
1221 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1222 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1223 ac_prev
=sysconfdir
;;
1224 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1225 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1226 sysconfdir
=$ac_optarg ;;
1228 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1229 ac_prev
=target_alias
;;
1230 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1231 target_alias
=$ac_optarg ;;
1233 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1236 -version |
--version |
--versio |
--versi |
--vers |
-V)
1237 ac_init_version
=: ;;
1240 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1243 { echo "$as_me: error: invalid package name: $ac_package" >&2
1244 { (exit 1); exit 1; }; }
1245 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1246 eval with_
$ac_package=\
$ac_optarg ;;
1248 -without-* |
--without-*)
1249 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1252 { echo "$as_me: error: invalid package name: $ac_package" >&2
1253 { (exit 1); exit 1; }; }
1254 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1255 eval with_
$ac_package=no
;;
1258 # Obsolete; use --with-x.
1261 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1262 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1263 ac_prev
=x_includes
;;
1264 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1265 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1266 x_includes
=$ac_optarg ;;
1268 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1269 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1270 ac_prev
=x_libraries
;;
1271 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1272 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1273 x_libraries
=$ac_optarg ;;
1275 -*) { echo "$as_me: error: unrecognized option: $ac_option
1276 Try \`$0 --help' for more information." >&2
1277 { (exit 1); exit 1; }; }
1281 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1284 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1285 { (exit 1); exit 1; }; }
1286 eval $ac_envvar=\
$ac_optarg
1287 export $ac_envvar ;;
1290 # FIXME: should be removed in autoconf 3.0.
1291 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1292 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1293 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1294 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1300 if test -n "$ac_prev"; then
1301 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1302 { echo "$as_me: error: missing argument to $ac_option" >&2
1303 { (exit 1); exit 1; }; }
1306 # Be sure to have absolute directory names.
1307 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308 datadir sysconfdir sharedstatedir localstatedir includedir \
1309 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310 libdir localedir mandir
1312 eval ac_val
=\$
$ac_var
1314 [\\/$
]* | ?
:[\\/]* ) continue;;
1315 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1317 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1318 { (exit 1); exit 1; }; }
1321 # There might be people who depend on the old broken behavior: `$host'
1322 # used to hold the argument of --host etc.
1323 # FIXME: To remove some day.
1326 target
=$target_alias
1328 # FIXME: To remove some day.
1329 if test "x$host_alias" != x
; then
1330 if test "x$build_alias" = x
; then
1331 cross_compiling
=maybe
1332 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1333 If a cross compiler is detected then cross compile mode will be used." >&2
1334 elif test "x$build_alias" != "x$host_alias"; then
1340 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1342 test "$silent" = yes && exec 6>/dev
/null
1345 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1346 ac_ls_di
=`ls -di .` &&
1347 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1348 { echo "$as_me: error: Working directory cannot be determined" >&2
1349 { (exit 1); exit 1; }; }
1350 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1351 { echo "$as_me: error: pwd does not report name of working directory" >&2
1352 { (exit 1); exit 1; }; }
1355 # Find the source files, if location was not specified.
1356 if test -z "$srcdir"; then
1357 ac_srcdir_defaulted
=yes
1358 # Try the directory containing this script, then the parent directory.
1359 ac_confdir
=`$as_dirname -- "$0" ||
1360 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1361 X"$0" : 'X\(//\)[^/]' \| \
1362 X"$0" : 'X\(//\)$' \| \
1363 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1383 if test ! -r "$srcdir/$ac_unique_file"; then
1387 ac_srcdir_defaulted
=no
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1391 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1392 { (exit 1); exit 1; }; }
1394 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1396 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1397 { (exit 1); exit 1; }; }
1399 # When building in place, set srcdir=.
1400 if test "$ac_abs_confdir" = "$ac_pwd"; then
1403 # Remove unnecessary trailing slashes from srcdir.
1404 # Double slashes in file names in object file debugging info
1405 # mess up M-x gdb in Emacs.
1407 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1409 for ac_var
in $ac_precious_vars; do
1410 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1411 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1412 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1413 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1417 # Report the --help message.
1419 if test "$ac_init_help" = "long"; then
1420 # Omit some internal or obsolete options to make the list less imposing.
1421 # This message is too long to be a string in the A/UX 3.1 sh.
1423 \`configure' configures this package to adapt to many kinds of systems.
1425 Usage: $0 [OPTION]... [VAR=VALUE]...
1427 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1428 VAR=VALUE. See below for descriptions of some of the useful variables.
1430 Defaults for the options are specified in brackets.
1433 -h, --help display this help and exit
1434 --help=short display options specific to this package
1435 --help=recursive display the short help of all the included packages
1436 -V, --version display version information and exit
1437 -q, --quiet, --silent do not print \`checking...' messages
1438 --cache-file=FILE cache test results in FILE [disabled]
1439 -C, --config-cache alias for \`--cache-file=config.cache'
1440 -n, --no-create do not create output files
1441 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1443 Installation directories:
1444 --prefix=PREFIX install architecture-independent files in PREFIX
1445 [$ac_default_prefix]
1446 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1449 By default, \`make install' will install all the files in
1450 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1451 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1452 for instance \`--prefix=\$HOME'.
1454 For better control, use the options below.
1456 Fine tuning of the installation directories:
1457 --bindir=DIR user executables [EPREFIX/bin]
1458 --sbindir=DIR system admin executables [EPREFIX/sbin]
1459 --libexecdir=DIR program executables [EPREFIX/libexec]
1460 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1461 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1462 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1463 --libdir=DIR object code libraries [EPREFIX/lib]
1464 --includedir=DIR C header files [PREFIX/include]
1465 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1466 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1467 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1468 --infodir=DIR info documentation [DATAROOTDIR/info]
1469 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1470 --mandir=DIR man documentation [DATAROOTDIR/man]
1471 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1472 --htmldir=DIR html documentation [DOCDIR]
1473 --dvidir=DIR dvi documentation [DOCDIR]
1474 --pdfdir=DIR pdf documentation [DOCDIR]
1475 --psdir=DIR ps documentation [DOCDIR]
1481 --build=BUILD configure
for building on BUILD
[guessed
]
1482 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1486 if test -n "$ac_init_help"; then
1491 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1492 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1493 --enable-dev-mode Turn on developer mode
1494 --disable-largefile omit support
for large files
1497 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1498 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1499 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1500 --with-asound=PATH use Advanced Linux Sound Architecture files
in PATH
1501 --with-curl=PATH use cURL files
in PATH
1502 --with-curses=PATH use curses files
in PATH
1503 --with-gnutls=PATH use GNU TLS support
(used
for iksemel only
) files
in
1505 --with-gsm=PATH use GSM files
in PATH
, or
'internal'
1506 --with-iksemel=PATH use Iksemel Jabber Library files
in PATH
1507 --with-imap=PATH use UW IMAP Toolkit files
in PATH
1508 --with-isdnnet=PATH use ISDN4Linux Library files
in PATH
1509 --with-kde=PATH use KDE files
in PATH
1510 --with-ltdl=PATH use libtool files
in PATH
1511 --with-misdn=PATH use mISDN User Library files
in PATH
1512 --with-nbs=PATH use Network Broadcast Sound files
in PATH
1513 --with-ncurses=PATH use ncurses files
in PATH
1514 --with-netsnmp=PATH use Net-SNMP files
in PATH
1515 --with-newt=PATH use newt files
in PATH
1516 --with-odbc=PATH use unixODBC files
in PATH
1517 --with-ogg=PATH use OGG files
in PATH
1518 --with-osptk=PATH use OSP Toolkit files
in PATH
1519 --with-oss=PATH use Open Sound System files
in PATH
1520 --with-popt=PATH use popt files
in PATH
1521 --with-postgres=PATH use PostgreSQL files
in PATH
1522 --with-pri=PATH use ISDN PRI files
in PATH
1523 --with-pwlib=PATH use PWlib files
in PATH
1524 --with-h323=PATH use OpenH323 files
in PATH
1525 --with-qt=PATH use Qt files
in PATH
1526 --with-radius=PATH use Radius Client files
in PATH
1527 --with-speex=PATH use Speex files
in PATH
1528 --with-sqlite=PATH use SQLite files
in PATH
1529 --with-suppserv=PATH use mISDN Supplemental Services files
in PATH
1530 --with-ssl=PATH use OpenSSL files
in PATH
1531 --with-tds=PATH use FreeTDS files
in PATH
1532 --with-termcap=PATH use Termcap files
in PATH
1533 --with-tinfo=PATH use Term Info files
in PATH
1534 --with-tonezone=PATH use tonezone files
in PATH
1535 --with-vorbis=PATH use Vorbis files
in PATH
1536 --with-vpb=PATH use Voicetronix API files
in PATH
1537 --with-z=PATH use zlib files
in PATH
1538 --with-zaptel=PATH use Zaptel files
in PATH
1540 Some influential environment variables
:
1541 CC C compiler
command
1542 CFLAGS C compiler flags
1543 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1544 nonstandard directory
<lib dir
>
1545 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1546 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1547 you have headers
in a nonstandard directory
<include dir
>
1549 CXX C
++ compiler
command
1550 CXXFLAGS C
++ compiler flags
1551 CXXCPP C
++ preprocessor
1553 Use these variables to override the choices made by
`configure' or to help
1554 it to find libraries and programs with nonstandard names/locations.
1560 if test "$ac_init_help" = "recursive"; then
1561 # If there are subdirs, report their specific --help.
1562 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1563 test -d "$ac_dir" || continue
1567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1569 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1570 # A ".." for each directory in $ac_dir_suffix.
1571 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1572 case $ac_top_builddir_sub in
1573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1577 ac_abs_top_builddir=$ac_pwd
1578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1579 # for backward compatibility:
1580 ac_top_builddir=$ac_top_build_prefix
1583 .) # We are building in place.
1585 ac_top_srcdir=$ac_top_builddir_sub
1586 ac_abs_top_srcdir=$ac_pwd ;;
1587 [\\/]* | ?:[\\/]* ) # Absolute name.
1588 ac_srcdir=$srcdir$ac_dir_suffix;
1589 ac_top_srcdir=$srcdir
1590 ac_abs_top_srcdir=$srcdir ;;
1592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1593 ac_top_srcdir=$ac_top_build_prefix$srcdir
1594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1598 cd "$ac_dir" || { ac_status=$?; continue; }
1599 # Check for guested configure.
1600 if test -f "$ac_srcdir/configure.gnu"; then
1602 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1603 elif test -f "$ac_srcdir/configure"; then
1605 $SHELL "$ac_srcdir/configure" --help=recursive
1607 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1609 cd "$ac_pwd" || { ac_status=$?; break; }
1613 test -n "$ac_init_help" && exit $ac_status
1614 if $ac_init_version; then
1617 generated by GNU Autoconf 2.61
1619 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1620 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1621 This configure script is free software; the Free Software Foundation
1622 gives unlimited permission to copy, distribute and modify it.
1628 cat >config.log <<_ACEOF
1629 This file contains any messages produced by compilers while
1630 running configure, to aid debugging if configure makes a mistake.
1632 It was created by $as_me, which was
1633 generated by GNU Autoconf 2.61. Invocation command line was
1645 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1646 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1647 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1648 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1649 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1651 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1652 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1654 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1655 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1656 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1657 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1658 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1659 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1660 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668 test -z "$as_dir" && as_dir=.
1669 echo "PATH: $as_dir"
1685 # Keep a trace of the command line.
1686 # Strip out --no-create and --no-recursion so they do not pile up.
1687 # Strip out --silent because we don't want to record it for future runs.
1688 # Also quote any args containing shell meta-characters.
1689 # Make two passes to allow for proper duplicate-argument suppression.
1693 ac_must_keep_next=false
1699 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1700 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1701 | -silent | --silent | --silen | --sile | --sil)
1704 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1707 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1709 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1710 if test $ac_must_keep_next = true; then
1711 ac_must_keep_next=false # Got value, back to normal.
1714 *=* | --config-cache | -C | -disable-* | --disable-* \
1715 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1716 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1717 | -with-* | --with-* | -without-* | --without-* | --x)
1718 case "$ac_configure_args0 " in
1719 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1722 -* ) ac_must_keep_next=true ;;
1725 ac_configure_args="$ac_configure_args '$ac_arg'"
1730 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1731 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1733 # When interrupted or exit'd, cleanup temporary files, and complete
1734 # config.log. We remove comments because anyway the quotes in there
1735 # would cause problems or look ugly.
1736 # WARNING: Use '\'' to represent an apostrophe within the trap.
1737 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1738 trap 'exit_status=$?
1739 # Save into config.log some information that might help in debugging.
1744 ## ---------------- ##
1745 ## Cache variables. ##
1746 ## ---------------- ##
1749 # The following way of writing the cache mishandles newlines in values,
1751 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1752 eval ac_val=\$$ac_var
1756 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1757 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1760 _ | IFS | as_nl) ;; #(
1761 *) $as_unset $ac_var ;;
1766 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1767 *${as_nl}ac_space=\ *)
1769 "s/'\''/'\''\\\\'\'''\''/g;
1770 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1773 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1781 ## ----------------- ##
1782 ## Output variables. ##
1783 ## ----------------- ##
1786 for ac_var in $ac_subst_vars
1788 eval ac_val=\$$ac_var
1790 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1792 echo "$ac_var='\''$ac_val'\''"
1796 if test -n "$ac_subst_files"; then
1798 ## ------------------- ##
1799 ## File substitutions. ##
1800 ## ------------------- ##
1803 for ac_var in $ac_subst_files
1805 eval ac_val=\$$ac_var
1807 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1809 echo "$ac_var='\''$ac_val'\''"
1814 if test -s confdefs.h; then
1824 test "$ac_signal" != 0 &&
1825 echo "$as_me: caught signal $ac_signal"
1826 echo "$as_me: exit $exit_status"
1828 rm -f core *.core core.conftest.* &&
1829 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1832 for ac_signal in 1 2 13 15; do
1833 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1837 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1838 rm -f -r conftest* confdefs.h
1840 # Predefined preprocessor variables.
1842 cat >>confdefs.h <<_ACEOF
1843 #define PACKAGE_NAME "$PACKAGE_NAME"
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE_STRING "$PACKAGE_STRING"
1862 cat >>confdefs.h <<_ACEOF
1863 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1867 # Let the site file select an alternate cache file if it wants to.
1868 # Prefer explicitly selected file to automatically selected ones.
1869 if test -n "$CONFIG_SITE"; then
1870 set x "$CONFIG_SITE"
1871 elif test "x$prefix" != xNONE; then
1872 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1874 set x "$ac_default_prefix/share/config.site" \
1875 "$ac_default_prefix/etc/config.site"
1880 if test -r "$ac_site_file"; then
1881 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1882 echo "$as_me: loading site script $ac_site_file" >&6;}
1883 sed 's/^/| /' "$ac_site_file" >&5
1888 if test -r "$cache_file"; then
1889 # Some versions of bash will fail to source /dev/null (special
1890 # files actually), so we avoid doing that.
1891 if test -f "$cache_file"; then
1892 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1893 echo "$as_me: loading cache $cache_file" >&6;}
1895 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1896 *) . "./$cache_file";;
1900 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1901 echo "$as_me: creating cache $cache_file" >&6;}
1905 ac_header_list="$ac_header_list sys/time.h"
1906 ac_header_list="$ac_header_list unistd.h"
1907 ac_func_list="$ac_func_list alarm"
1908 ac_header_list="$ac_header_list utime.h"
1909 # Check that the precious variables saved in the cache have kept the same
1911 ac_cache_corrupted=false
1912 for ac_var in $ac_precious_vars; do
1913 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1914 eval ac_new_set=\$ac_env_${ac_var}_set
1915 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1916 eval ac_new_val=\$ac_env_${ac_var}_value
1917 case $ac_old_set,$ac_new_set in
1919 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1920 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1921 ac_cache_corrupted=: ;;
1923 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1924 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1925 ac_cache_corrupted=: ;;
1928 if test "x$ac_old_val" != "x$ac_new_val"; then
1929 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1930 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1931 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1932 echo "$as_me: former value
: $ac_old_val" >&2;}
1933 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1934 echo "$as_me: current value
: $ac_new_val" >&2;}
1935 ac_cache_corrupted=:
1938 # Pass precious variables to config.status.
1939 if test "$ac_new_set" = set; then
1941 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1942 *) ac_arg=$ac_var=$ac_new_val ;;
1944 case " $ac_configure_args " in
1945 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1946 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1950 if $ac_cache_corrupted; then
1951 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1952 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1953 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1954 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1955 { (exit 1); exit 1; }; }
1975 ac_cpp='$CPP $CPPFLAGS'
1976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1982 # cross-compile macros
1984 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1985 if test -f "$ac_dir/install-sh"; then
1987 ac_install_sh="$ac_aux_dir/install-sh -c"
1989 elif test -f "$ac_dir/install.sh"; then
1991 ac_install_sh="$ac_aux_dir/install.sh -c"
1993 elif test -f "$ac_dir/shtool"; then
1995 ac_install_sh="$ac_aux_dir/shtool install -c"
1999 if test -z "$ac_aux_dir"; then
2000 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2001 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2002 { (exit 1); exit 1; }; }
2005 # These three variables are undocumented and unsupported,
2006 # and are intended to be withdrawn in a future Autoconf release.
2007 # They can cause serious problems if a builder's source tree is in a directory
2008 # whose full name contains unusual characters.
2009 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2010 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2011 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2014 # Make sure we can run config.sub.
2015 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2016 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2017 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2018 { (exit 1); exit 1; }; }
2020 { echo "$as_me:$LINENO: checking build system type" >&5
2021 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2022 if test "${ac_cv_build+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 ac_build_alias=$build_alias
2026 test "x$ac_build_alias" = x &&
2027 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2028 test "x$ac_build_alias" = x &&
2029 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2030 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2031 { (exit 1); exit 1; }; }
2032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2033 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2034 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2035 { (exit 1); exit 1; }; }
2038 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2039 echo "${ECHO_T}$ac_cv_build" >&6; }
2040 case $ac_cv_build in
2042 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2043 echo "$as_me: error: invalid value of canonical build" >&2;}
2044 { (exit 1); exit 1; }; };;
2047 ac_save_IFS=$IFS; IFS='-'
2053 # Remember, the first character of IFS is used to create $*,
2054 # except with old shells:
2057 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2060 { echo "$as_me:$LINENO: checking host system type" >&5
2061 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2062 if test "${ac_cv_host+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 if test "x$host_alias" = x; then
2066 ac_cv_host=$ac_cv_build
2068 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2069 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2070 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2071 { (exit 1); exit 1; }; }
2075 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2076 echo "${ECHO_T}$ac_cv_host" >&6; }
2079 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2080 echo "$as_me: error: invalid value of canonical host" >&2;}
2081 { (exit 1); exit 1; }; };;
2084 ac_save_IFS=$IFS; IFS='-'
2090 # Remember, the first character of IFS is used to create $*,
2091 # except with old shells:
2094 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2098 # check existence of the package
2101 # specify output header file
2102 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2109 cat >>confdefs.h <<\_ACEOF
2110 #define _GNU_SOURCE 1
2115 ac_cpp='$CPP $CPPFLAGS'
2116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2119 if test -n "$ac_tool_prefix"; then
2120 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2121 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2124 if test "${ac_cv_prog_CC+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 if test -n "$CC"; then
2128 ac_cv_prog_CC="$CC" # Let the user override the test.
2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 test -z "$as_dir" && as_dir=.
2135 for ac_exec_ext in '' $ac_executable_extensions; do
2136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2137 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148 if test -n "$CC"; then
2149 { echo "$as_me:$LINENO: result: $CC" >&5
2150 echo "${ECHO_T}$CC" >&6; }
2152 { echo "$as_me:$LINENO: result: no" >&5
2153 echo "${ECHO_T}no" >&6; }
2158 if test -z "$ac_cv_prog_CC"; then
2160 # Extract the first word of "gcc", so it can be a program name with args.
2161 set dummy gcc; ac_word=$2
2162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 if test -n "$ac_ct_CC"; then
2168 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir=.
2175 for ac_exec_ext in '' $ac_executable_extensions; do
2176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2177 ac_cv_prog_ac_ct_CC="gcc"
2178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2188 if test -n "$ac_ct_CC"; then
2189 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2190 echo "${ECHO_T}$ac_ct_CC" >&6; }
2192 { echo "$as_me:$LINENO: result: no" >&5
2193 echo "${ECHO_T}no" >&6; }
2196 if test "x$ac_ct_CC" = x; then
2199 case $cross_compiling:$ac_tool_warned in
2201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2202 whose name does not start with the host triplet. If you think this
2203 configuration is useful to you, please write to autoconf@gnu.org." >&5
2204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2205 whose name does not start with the host triplet. If you think this
2206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2207 ac_tool_warned=yes ;;
2215 if test -z "$CC"; then
2216 if test -n "$ac_tool_prefix"; then
2217 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2218 set dummy ${ac_tool_prefix}cc; ac_word=$2
2219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2221 if test "${ac_cv_prog_CC+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 if test -n "$CC"; then
2225 ac_cv_prog_CC="$CC" # Let the user override the test.
2227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231 test -z "$as_dir" && as_dir=.
2232 for ac_exec_ext in '' $ac_executable_extensions; do
2233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2234 ac_cv_prog_CC="${ac_tool_prefix}cc"
2235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 if test -n "$CC"; then
2246 { echo "$as_me:$LINENO: result: $CC" >&5
2247 echo "${ECHO_T}$CC" >&6; }
2249 { echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6; }
2256 if test -z "$CC"; then
2257 # Extract the first word of "cc", so it can be a program name with args.
2258 set dummy cc; ac_word=$2
2259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2261 if test "${ac_cv_prog_CC+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 if test -n "$CC"; then
2265 ac_cv_prog_CC="$CC" # Let the user override the test.
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 test -z "$as_dir" && as_dir=.
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2275 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2276 ac_prog_rejected=yes
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 if test $ac_prog_rejected = yes; then
2288 # We found a bogon in the path, so make sure we never use it.
2289 set dummy $ac_cv_prog_CC
2291 if test $# != 0; then
2292 # We chose a different compiler from the bogus one.
2293 # However, it has the same basename, so the bogon will be chosen
2294 # first if we set CC to just the basename; use the full file name.
2296 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2302 if test -n "$CC"; then
2303 { echo "$as_me:$LINENO: result: $CC" >&5
2304 echo "${ECHO_T}$CC" >&6; }
2306 { echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6; }
2312 if test -z "$CC"; then
2313 if test -n "$ac_tool_prefix"; then
2314 for ac_prog in cl.exe
2316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2320 if test "${ac_cv_prog_CC+set}" = set; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 if test -n "$CC"; then
2324 ac_cv_prog_CC="$CC" # Let the user override the test.
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir=.
2331 for ac_exec_ext in '' $ac_executable_extensions; do
2332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2333 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 if test -n "$CC"; then
2345 { echo "$as_me:$LINENO: result: $CC" >&5
2346 echo "${ECHO_T}$CC" >&6; }
2348 { echo "$as_me:$LINENO: result: no" >&5
2349 echo "${ECHO_T}no" >&6; }
2353 test -n "$CC" && break
2356 if test -z "$CC"; then
2358 for ac_prog in cl.exe
2360 # Extract the first word of "$ac_prog", so it can be a program name with args.
2361 set dummy $ac_prog; ac_word=$2
2362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 if test -n "$ac_ct_CC"; then
2368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2377 ac_cv_prog_ac_ct_CC="$ac_prog"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2388 if test -n "$ac_ct_CC"; then
2389 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2390 echo "${ECHO_T}$ac_ct_CC" >&6; }
2392 { echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6; }
2397 test -n "$ac_ct_CC" && break
2400 if test "x$ac_ct_CC" = x; then
2403 case $cross_compiling:$ac_tool_warned in
2405 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2406 whose name does not start with the host triplet. If you think this
2407 configuration is useful to you, please write to autoconf@gnu.org." >&5
2408 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2409 whose name does not start with the host triplet. If you think this
2410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2411 ac_tool_warned=yes ;;
2420 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2421 See \`config.log
' for more details." >&5
2422 echo "$as_me: error: no acceptable C compiler found in \$PATH
2423 See \`config.log' for more details.
" >&2;}
2424 { (exit 1); exit 1; }; }
2426 # Provide some information about the compiler.
2427 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2428 ac_compiler=`set X $ac_compile; echo $2`
2429 { (ac_try="$ac_compiler --version >&5"
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2435 (eval "$ac_compiler --version >&5") 2>&5
2437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2438 (exit $ac_status); }
2439 { (ac_try="$ac_compiler -v >&5"
2441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2445 (eval "$ac_compiler -v >&5") 2>&5
2447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2448 (exit $ac_status); }
2449 { (ac_try="$ac_compiler -V >&5"
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2454 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2455 (eval "$ac_compiler -V >&5") 2>&5
2457 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2458 (exit $ac_status); }
2460 cat >conftest.$ac_ext <<_ACEOF
2463 cat confdefs.h >>conftest.$ac_ext
2464 cat >>conftest.$ac_ext <<_ACEOF
2465 /* end confdefs.h. */
2475 ac_clean_files_save=$ac_clean_files
2476 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2477 # Try to create an executable without -o first, disregard a.out.
2478 # It will help us diagnose broken compilers, and finding out an intuition
2480 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2481 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2482 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2484 # List of possible output files, starting from the most likely.
2485 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2486 # only as a last resort. b.out is created by i960 compilers.
2487 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2489 # The IRIX 6 linker writes into existing files which may not be
2490 # executable, retaining their permissions. Remove them first so a
2491 # subsequent execution test works.
2493 for ac_file in $ac_files
2496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2497 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2502 if { (ac_try="$ac_link_default"
2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;;
2507 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2508 (eval "$ac_link_default") 2>&5
2510 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2511 (exit $ac_status); }; then
2512 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2513 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2514 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2515 # so that the user can short-circuit this test for compilers unknown to
2517 for ac_file in $ac_files ''
2519 test -f "$ac_file" || continue
2521 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2524 # We found the default executable, but exeext='' is most
2528 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2530 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 # We set ac_cv_exeext here because the later test for it is not
2533 # safe: cross compilers may not add the suffix if given an `-o'
2534 # argument, so we may need to know it at that point already.
2535 # Even if this section looks crufty: it has the advantage of
2542 test "$ac_cv_exeext" = no && ac_cv_exeext=
2548 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2549 echo "${ECHO_T}$ac_file" >&6; }
2550 if test -z "$ac_file"; then
2551 echo "$as_me: failed program was
:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2554 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2555 See \
`config.log' for more details." >&5
2556 echo "$as_me: error: C compiler cannot create executables
2557 See \`config.log
' for more details." >&2;}
2558 { (exit 77); exit 77; }; }
2561 ac_exeext=$ac_cv_exeext
2563 # Check that the compiler produces executables we can run. If not, either
2564 # the compiler is broken, or we cross compile.
2565 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2566 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2567 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2568 # If not cross compiling, check that we can run a simple program.
2569 if test "$cross_compiling" != yes; then
2570 if { ac_try='.
/$ac_file'
2571 { (case "(($ac_try" in
2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2576 (eval "$ac_try") 2>&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; }; then
2582 if test "$cross_compiling" = maybe; then
2585 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2586 If you meant to cross compile, use \`--host'.
2587 See \
`config.log' for more details." >&5
2588 echo "$as_me: error: cannot run C compiled programs.
2589 If you meant to cross compile, use \`--host'.
2590 See \`config.log' for more details.
" >&2;}
2591 { (exit 1); exit 1; }; }
2595 { echo "$as_me:$LINENO: result
: yes" >&5
2596 echo "${ECHO_T}yes" >&6; }
2598 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2599 ac_clean_files=$ac_clean_files_save
2600 # Check that the compiler produces executables we can run. If not, either
2601 # the compiler is broken, or we cross compile.
2602 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2603 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2604 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2605 echo "${ECHO_T}$cross_compiling" >&6; }
2607 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2608 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2609 if { (ac_try="$ac_link"
2611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612 *) ac_try_echo=$ac_try;;
2614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2615 (eval "$ac_link") 2>&5
2617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2618 (exit $ac_status); }; then
2619 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2620 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2621 # work properly (i.e., refer to `conftest.exe'), while it won't with
2623 for ac_file in conftest.exe conftest conftest.*; do
2624 test -f "$ac_file" || continue
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2627 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2633 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2634 See \
`config.log' for more details." >&5
2635 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2636 See \`config.log
' for more details." >&2;}
2637 { (exit 1); exit 1; }; }
2640 rm -f conftest$ac_cv_exeext
2641 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2642 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2644 rm -f conftest.$ac_ext
2645 EXEEXT=$ac_cv_exeext
2647 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2648 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2649 if test "${ac_cv_objext+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 cat >conftest.$ac_ext <<_ACEOF
2655 cat confdefs.h >>conftest.$ac_ext
2656 cat >>conftest.$ac_ext <<_ACEOF
2657 /* end confdefs.h. */
2667 rm -f conftest.o conftest.obj
2668 if { (ac_try="$ac_compile"
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2674 (eval "$ac_compile") 2>&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; then
2678 for ac_file in conftest.o conftest.obj conftest.*; do
2679 test -f "$ac_file" || continue;
2681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2682 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2687 echo "$as_me: failed program was:" >&5
2688 sed 's
/^
/|
/' conftest.$ac_ext >&5
2690 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2691 See \`config.log' for more details.
" >&5
2692 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2693 See \
`config.log' for more details." >&2;}
2694 { (exit 1); exit 1; }; }
2697 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2699 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2700 echo "${ECHO_T}$ac_cv_objext" >&6; }
2701 OBJEXT=$ac_cv_objext
2703 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2704 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2705 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2706 echo $ECHO_N "(cached) $ECHO_C" >&6
2708 cat >conftest.$ac_ext <<_ACEOF
2711 cat confdefs.h >>conftest.$ac_ext
2712 cat >>conftest.$ac_ext <<_ACEOF
2713 /* end confdefs.h. */
2726 rm -f conftest.$ac_objext
2727 if { (ac_try="$ac_compile"
2729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2730 *) ac_try_echo
=$ac_try;;
2732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2733 (eval "$ac_compile") 2>conftest.er1
2735 grep -v '^ *+' conftest.er1
>conftest.err
2737 cat conftest.err
>&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); } && {
2740 test -z "$ac_c_werror_flag" ||
2741 test ! -s conftest.err
2742 } && test -s conftest.
$ac_objext; then
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.
$ac_ext >&5
2751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2752 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2755 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2756 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2757 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2758 ac_test_CFLAGS
=${CFLAGS+set}
2759 ac_save_CFLAGS
=$CFLAGS
2760 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2761 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2762 if test "${ac_cv_prog_cc_g+set}" = set; then
2763 echo $ECHO_N "(cached) $ECHO_C" >&6
2765 ac_save_c_werror_flag
=$ac_c_werror_flag
2766 ac_c_werror_flag
=yes
2769 cat >conftest.
$ac_ext <<_ACEOF
2772 cat confdefs.h
>>conftest.
$ac_ext
2773 cat >>conftest.
$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2784 rm -f conftest.
$ac_objext
2785 if { (ac_try
="$ac_compile"
2787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_compile") 2>conftest.er1
2793 grep -v '^ *+' conftest.er1 >conftest.err
2795 cat conftest.err >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } && {
2798 test -z "$ac_c_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2807 cat >conftest.$ac_ext <<_ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2822 rm -f conftest.$ac_objext
2823 if { (ac_try="$ac_compile"
2825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2826 *) ac_try_echo
=$ac_try;;
2828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2829 (eval "$ac_compile") 2>conftest.er1
2831 grep -v '^ *+' conftest.er1
>conftest.err
2833 cat conftest.err
>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest.
$ac_objext; then
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.
$ac_ext >&5
2844 ac_c_werror_flag
=$ac_save_c_werror_flag
2846 cat >conftest.
$ac_ext <<_ACEOF
2849 cat confdefs.h
>>conftest.
$ac_ext
2850 cat >>conftest.
$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2861 rm -f conftest.
$ac_objext
2862 if { (ac_try
="$ac_compile"
2864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2868 (eval "$ac_compile") 2>conftest.er1
2870 grep -v '^ *+' conftest.er1 >conftest.err
2872 cat conftest.err >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } && {
2875 test -z "$ac_c_werror_flag" ||
2876 test ! -s conftest.err
2877 } && test -s conftest.$ac_objext; then
2880 echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.$ac_ext >&5
2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 ac_c_werror_flag=$ac_save_c_werror_flag
2895 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2896 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2897 if test "$ac_test_CFLAGS" = set; then
2898 CFLAGS=$ac_save_CFLAGS
2899 elif test $ac_cv_prog_cc_g = yes; then
2900 if test "$GCC" = yes; then
2906 if test "$GCC" = yes; then
2912 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2913 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2914 if test "${ac_cv_prog_cc_c89+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 ac_cv_prog_cc_c89=no
2919 cat >conftest.$ac_ext <<_ACEOF
2922 cat confdefs.h >>conftest.$ac_ext
2923 cat >>conftest.$ac_ext <<_ACEOF
2924 /* end confdefs.h. */
2927 #include <sys/types.h>
2928 #include <sys/stat.h>
2929 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2930 struct buf { int x; };
2931 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2932 static char *e (p, i)
2938 static char *f (char * (*g) (char **, int), char **p, ...)
2943 s = g (p, va_arg (v,int));
2948 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2949 function prototypes and stuff, but not '\xHH' hex character constants.
2950 These don't provoke an error unfortunately, instead are silently treated
2951 as 'x'. The following induces an error, until -std is added to get
2952 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2953 array size at least. It's necessary to write '\x00'==0 to get something
2954 that's true only with -std. */
2955 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2957 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2958 inside strings and character constants. */
2960 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2962 int test (int i, double x);
2963 struct s1 {int (*f) (int a);};
2964 struct s2 {int (*f) (double a);};
2965 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2971 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2976 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2977 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2979 CC="$ac_save_CC $ac_arg"
2980 rm -f conftest.$ac_objext
2981 if { (ac_try="$ac_compile"
2983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2984 *) ac_try_echo
=$ac_try;;
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_compile") 2>conftest.er1
2989 grep -v '^ *+' conftest.er1
>conftest.err
2991 cat conftest.err
>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } && {
2994 test -z "$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2996 } && test -s conftest.
$ac_objext; then
2997 ac_cv_prog_cc_c89
=$ac_arg
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.
$ac_ext >&5
3005 rm -f core conftest.err conftest.
$ac_objext
3006 test "x$ac_cv_prog_cc_c89" != "xno" && break
3008 rm -f conftest.
$ac_ext
3013 case "x$ac_cv_prog_cc_c89" in
3015 { echo "$as_me:$LINENO: result: none needed" >&5
3016 echo "${ECHO_T}none needed" >&6; } ;;
3018 { echo "$as_me:$LINENO: result: unsupported" >&5
3019 echo "${ECHO_T}unsupported" >&6; } ;;
3021 CC
="$CC $ac_cv_prog_cc_c89"
3022 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3023 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3028 ac_cpp
='$CPP $CPPFLAGS'
3029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3035 ac_cpp
='$CPP $CPPFLAGS'
3036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3039 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3040 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3041 # On Suns, sometimes $CPP names a directory.
3042 if test -n "$CPP" && test -d "$CPP"; then
3045 if test -z "$CPP"; then
3046 if test "${ac_cv_prog_CPP+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 # Double quotes because CPP needs to be expanded
3050 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3053 for ac_c_preproc_warn_flag
in '' yes
3055 # Use a header file that comes with gcc, so configuring glibc
3056 # with a fresh cross-compiler works.
3057 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3058 # <limits.h> exists even on freestanding compilers.
3059 # On the NeXT, cc -E runs the code through the compiler's parser,
3060 # not just through cpp. "Syntax error" is here to catch this case.
3061 cat >conftest.
$ac_ext <<_ACEOF
3064 cat confdefs.h
>>conftest.
$ac_ext
3065 cat >>conftest.
$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3068 # include <limits.h>
3070 # include <assert.h>
3074 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3082 grep -v '^ *+' conftest.er1 >conftest.err
3084 cat conftest.err >&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } >/dev/null && {
3087 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3088 test ! -s conftest.err
3092 echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.$ac_ext >&5
3095 # Broken: fails on valid input.
3099 rm -f conftest.err conftest.$ac_ext
3101 # OK, works on sane cases. Now check whether nonexistent headers
3102 # can be detected and how.
3103 cat >conftest.$ac_ext <<_ACEOF
3106 cat confdefs.h >>conftest.$ac_ext
3107 cat >>conftest.$ac_ext <<_ACEOF
3108 /* end confdefs.h. */
3109 #include <ac_nonexistent.h>
3111 if { (ac_try="$ac_cpp conftest.$ac_ext"
3113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3114 *) ac_try_echo
=$ac_try;;
3116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3117 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3119 grep -v '^ *+' conftest.er1
>conftest.err
3121 cat conftest.err
>&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } >/dev
/null
&& {
3124 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3125 test ! -s conftest.err
3127 # Broken: success on invalid input.
3130 echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.
$ac_ext >&5
3133 # Passes both tests.
3138 rm -f conftest.err conftest.
$ac_ext
3141 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3142 rm -f conftest.err conftest.
$ac_ext
3143 if $ac_preproc_ok; then
3155 { echo "$as_me:$LINENO: result: $CPP" >&5
3156 echo "${ECHO_T}$CPP" >&6; }
3158 for ac_c_preproc_warn_flag
in '' yes
3160 # Use a header file that comes with gcc, so configuring glibc
3161 # with a fresh cross-compiler works.
3162 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3163 # <limits.h> exists even on freestanding compilers.
3164 # On the NeXT, cc -E runs the code through the compiler's parser,
3165 # not just through cpp. "Syntax error" is here to catch this case.
3166 cat >conftest.
$ac_ext <<_ACEOF
3169 cat confdefs.h
>>conftest.
$ac_ext
3170 cat >>conftest.
$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3173 # include <limits.h>
3175 # include <assert.h>
3179 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3182 *) ac_try_echo=$ac_try;;
3184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3187 grep -v '^ *+' conftest.er1 >conftest.err
3189 cat conftest.err >&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } >/dev/null && {
3192 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3193 test ! -s conftest.err
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3200 # Broken: fails on valid input.
3204 rm -f conftest.err conftest.$ac_ext
3206 # OK, works on sane cases. Now check whether nonexistent headers
3207 # can be detected and how.
3208 cat >conftest.$ac_ext <<_ACEOF
3211 cat confdefs.h >>conftest.$ac_ext
3212 cat >>conftest.$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3214 #include <ac_nonexistent.h>
3216 if { (ac_try="$ac_cpp conftest.$ac_ext"
3218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3219 *) ac_try_echo
=$ac_try;;
3221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3224 grep -v '^ *+' conftest.er1
>conftest.err
3226 cat conftest.err
>&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } >/dev
/null
&& {
3229 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3230 test ! -s conftest.err
3232 # Broken: success on invalid input.
3235 echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.
$ac_ext >&5
3238 # Passes both tests.
3243 rm -f conftest.err conftest.
$ac_ext
3246 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3247 rm -f conftest.err conftest.
$ac_ext
3248 if $ac_preproc_ok; then
3251 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3252 See \`config.log' for more details." >&5
3253 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3254 See \`config.log' for more details." >&2;}
3255 { (exit 1); exit 1; }; }
3259 ac_cpp
='$CPP $CPPFLAGS'
3260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3265 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3266 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3267 if test "${ac_cv_path_GREP+set}" = set; then
3268 echo $ECHO_N "(cached) $ECHO_C" >&6
3270 # Extract the first word of "grep ggrep" to use in msg output
3271 if test -z "$GREP"; then
3272 set dummy
grep ggrep
; ac_prog_name
=$2
3273 if test "${ac_cv_path_GREP+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3276 ac_path_GREP_found
=false
3277 # Loop through the user's path and test for each of PROGNAME-LIST
3278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3279 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3282 test -z "$as_dir" && as_dir
=.
3283 for ac_prog
in grep ggrep
; do
3284 for ac_exec_ext
in '' $ac_executable_extensions; do
3285 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3286 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3287 # Check for GNU ac_path_GREP and select it if it is found.
3288 # Check for GNU $ac_path_GREP
3289 case `"$ac_path_GREP" --version 2>&1` in
3291 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3294 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3297 cat "conftest.in" "conftest.in" >"conftest.tmp"
3298 mv "conftest.tmp" "conftest.in"
3299 cp "conftest.in" "conftest.nl"
3300 echo 'GREP' >> "conftest.nl"
3301 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3302 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3303 ac_count
=`expr $ac_count + 1`
3304 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3305 # Best one so far, save it but keep looking for a better one
3306 ac_cv_path_GREP
="$ac_path_GREP"
3307 ac_path_GREP_max
=$ac_count
3309 # 10*(2^10) chars as input seems more than enough
3310 test $ac_count -gt 10 && break
3312 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3316 $ac_path_GREP_found && break 3
3326 GREP
="$ac_cv_path_GREP"
3327 if test -z "$GREP"; then
3328 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3329 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3330 { (exit 1); exit 1; }; }
3334 ac_cv_path_GREP
=$GREP
3339 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3340 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3341 GREP
="$ac_cv_path_GREP"
3344 { echo "$as_me:$LINENO: checking for egrep" >&5
3345 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3346 if test "${ac_cv_path_EGREP+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3350 then ac_cv_path_EGREP
="$GREP -E"
3352 # Extract the first word of "egrep" to use in msg output
3353 if test -z "$EGREP"; then
3354 set dummy
egrep; ac_prog_name
=$2
3355 if test "${ac_cv_path_EGREP+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 ac_path_EGREP_found
=false
3359 # Loop through the user's path and test for each of PROGNAME-LIST
3360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3361 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3364 test -z "$as_dir" && as_dir
=.
3365 for ac_prog
in egrep; do
3366 for ac_exec_ext
in '' $ac_executable_extensions; do
3367 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3368 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3369 # Check for GNU ac_path_EGREP and select it if it is found.
3370 # Check for GNU $ac_path_EGREP
3371 case `"$ac_path_EGREP" --version 2>&1` in
3373 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3376 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3379 cat "conftest.in" "conftest.in" >"conftest.tmp"
3380 mv "conftest.tmp" "conftest.in"
3381 cp "conftest.in" "conftest.nl"
3382 echo 'EGREP' >> "conftest.nl"
3383 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3384 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3385 ac_count
=`expr $ac_count + 1`
3386 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3387 # Best one so far, save it but keep looking for a better one
3388 ac_cv_path_EGREP
="$ac_path_EGREP"
3389 ac_path_EGREP_max
=$ac_count
3391 # 10*(2^10) chars as input seems more than enough
3392 test $ac_count -gt 10 && break
3394 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3398 $ac_path_EGREP_found && break 3
3408 EGREP
="$ac_cv_path_EGREP"
3409 if test -z "$EGREP"; then
3410 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3411 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3412 { (exit 1); exit 1; }; }
3416 ac_cv_path_EGREP
=$EGREP
3422 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3423 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3424 EGREP
="$ac_cv_path_EGREP"
3428 { echo "$as_me:$LINENO: checking for AIX" >&5
3429 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3430 cat >conftest.
$ac_ext <<_ACEOF
3433 cat confdefs.h
>>conftest.
$ac_ext
3434 cat >>conftest.
$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3442 $EGREP "yes" >/dev
/null
2>&1; then
3443 { echo "$as_me:$LINENO: result: yes" >&5
3444 echo "${ECHO_T}yes" >&6; }
3445 cat >>confdefs.h
<<\_ACEOF
3446 #define _ALL_SOURCE 1
3450 { echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6; }
3456 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3457 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3458 if test "${ac_cv_header_stdc+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 cat >conftest.
$ac_ext <<_ACEOF
3464 cat confdefs.h
>>conftest.
$ac_ext
3465 cat >>conftest.
$ac_ext <<_ACEOF
3466 /* end confdefs.h. */
3480 rm -f conftest.
$ac_objext
3481 if { (ac_try
="$ac_compile"
3483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3487 (eval "$ac_compile") 2>conftest.er1
3489 grep -v '^ *+' conftest.er1 >conftest.err
3491 cat conftest.err >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } && {
3494 test -z "$ac_c_werror_flag" ||
3495 test ! -s conftest.err
3496 } && test -s conftest.$ac_objext; then
3497 ac_cv_header_stdc=yes
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.$ac_ext >&5
3502 ac_cv_header_stdc=no
3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 if test $ac_cv_header_stdc = yes; then
3508 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3509 cat >conftest.$ac_ext <<_ACEOF
3512 cat confdefs.h >>conftest.$ac_ext
3513 cat >>conftest.$ac_ext <<_ACEOF
3514 /* end confdefs.h. */
3518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3519 $EGREP "memchr" >/dev/null 2>&1; then
3522 ac_cv_header_stdc=no
3528 if test $ac_cv_header_stdc = yes; then
3529 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3530 cat >conftest.$ac_ext <<_ACEOF
3533 cat confdefs.h >>conftest.$ac_ext
3534 cat >>conftest.$ac_ext <<_ACEOF
3535 /* end confdefs.h. */
3539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3540 $EGREP "free" >/dev/null 2>&1; then
3543 ac_cv_header_stdc=no
3549 if test $ac_cv_header_stdc = yes; then
3550 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3551 if test "$cross_compiling" = yes; then
3554 cat >conftest.$ac_ext <<_ACEOF
3557 cat confdefs.h >>conftest.$ac_ext
3558 cat >>conftest.$ac_ext <<_ACEOF
3559 /* end confdefs.h. */
3562 #if ((' ' & 0x0FF) == 0x020)
3563 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3564 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3566 # define ISLOWER(c) \
3567 (('a' <= (c) && (c) <= 'i') \
3568 || ('j' <= (c) && (c) <= 'r') \
3569 || ('s' <= (c) && (c) <= 'z'))
3570 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3573 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3578 for (i = 0; i < 256; i++)
3579 if (XOR (islower (i), ISLOWER (i))
3580 || toupper (i) != TOUPPER (i))
3585 rm -f conftest$ac_exeext
3586 if { (ac_try="$ac_link"
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_link") 2>&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3596 { (case "(($ac_try" in
3597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3601 (eval "$ac_try") 2>&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3607 echo "$as_me: program exited with status $ac_status" >&5
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3612 ac_cv_header_stdc=no
3614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3620 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3621 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3622 if test $ac_cv_header_stdc = yes; then
3624 cat >>confdefs.h <<\_ACEOF
3625 #define STDC_HEADERS 1
3630 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3640 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3641 inttypes.h stdint.h unistd.h
3643 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 cat >conftest.$ac_ext <<_ACEOF
3652 cat confdefs.h >>conftest.$ac_ext
3653 cat >>conftest.$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3655 $ac_includes_default
3657 #include <$ac_header>
3659 rm -f conftest.$ac_objext
3660 if { (ac_try="$ac_compile"
3662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3663 *) ac_try_echo
=$ac_try;;
3665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3666 (eval "$ac_compile") 2>conftest.er1
3668 grep -v '^ *+' conftest.er1
>conftest.err
3670 cat conftest.err
>&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } && {
3673 test -z "$ac_c_werror_flag" ||
3674 test ! -s conftest.err
3675 } && test -s conftest.
$ac_objext; then
3676 eval "$as_ac_Header=yes"
3678 echo "$as_me: failed program was:" >&5
3679 sed 's/^/| /' conftest.
$ac_ext >&5
3681 eval "$as_ac_Header=no"
3684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3686 ac_res
=`eval echo '${'$as_ac_Header'}'`
3687 { echo "$as_me:$LINENO: result: $ac_res" >&5
3688 echo "${ECHO_T}$ac_res" >&6; }
3689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3690 cat >>confdefs.h
<<_ACEOF
3691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3699 if test "${ac_cv_header_minix_config_h+set}" = set; then
3700 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3701 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3702 if test "${ac_cv_header_minix_config_h+set}" = set; then
3703 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3706 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3708 # Is the header compilable?
3709 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3710 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3711 cat >conftest.
$ac_ext <<_ACEOF
3714 cat confdefs.h
>>conftest.
$ac_ext
3715 cat >>conftest.
$ac_ext <<_ACEOF
3716 /* end confdefs.h. */
3717 $ac_includes_default
3718 #include <minix/config.h>
3720 rm -f conftest.
$ac_objext
3721 if { (ac_try
="$ac_compile"
3723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3724 *) ac_try_echo=$ac_try;;
3726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3727 (eval "$ac_compile") 2>conftest.er1
3729 grep -v '^ *+' conftest.er1 >conftest.err
3731 cat conftest.err >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } && {
3734 test -z "$ac_c_werror_flag" ||
3735 test ! -s conftest.err
3736 } && test -s conftest.$ac_objext; then
3737 ac_header_compiler=yes
3739 echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.$ac_ext >&5
3742 ac_header_compiler=no
3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3747 echo "${ECHO_T}$ac_header_compiler" >&6; }
3749 # Is the header present?
3750 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3751 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3752 cat >conftest.$ac_ext <<_ACEOF
3755 cat confdefs.h >>conftest.$ac_ext
3756 cat >>conftest.$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3758 #include <minix/config.h>
3760 if { (ac_try="$ac_cpp conftest.$ac_ext"
3762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3763 *) ac_try_echo
=$ac_try;;
3765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3768 grep -v '^ *+' conftest.er1
>conftest.err
3770 cat conftest.err
>&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } >/dev
/null
&& {
3773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3776 ac_header_preproc
=yes
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.
$ac_ext >&5
3781 ac_header_preproc
=no
3784 rm -f conftest.err conftest.
$ac_ext
3785 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3786 echo "${ECHO_T}$ac_header_preproc" >&6; }
3788 # So? What about this header?
3789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3791 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3792 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3793 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3794 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3795 ac_header_preproc
=yes
3798 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3799 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3800 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3801 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3802 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3803 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3804 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3805 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3806 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3807 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3808 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3809 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3813 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3814 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3815 if test "${ac_cv_header_minix_config_h+set}" = set; then
3816 echo $ECHO_N "(cached) $ECHO_C" >&6
3818 ac_cv_header_minix_config_h
=$ac_header_preproc
3820 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3821 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3824 if test $ac_cv_header_minix_config_h = yes; then
3831 if test "$MINIX" = yes; then
3833 cat >>confdefs.h
<<\_ACEOF
3834 #define _POSIX_SOURCE 1
3838 cat >>confdefs.h
<<\_ACEOF
3839 #define _POSIX_1_SOURCE 2
3843 cat >>confdefs.h
<<\_ACEOF
3859 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3860 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3861 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 cat >conftest.
$ac_ext <<_ACEOF
3867 cat confdefs.h
>>conftest.
$ac_ext
3868 cat >>conftest.
$ac_ext <<_ACEOF
3869 /* end confdefs.h. */
3871 # define __EXTENSIONS__ 1
3872 $ac_includes_default
3881 rm -f conftest.
$ac_objext
3882 if { (ac_try
="$ac_compile"
3884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3885 *) ac_try_echo=$ac_try;;
3887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3888 (eval "$ac_compile") 2>conftest.er1
3890 grep -v '^ *+' conftest.er1 >conftest.err
3892 cat conftest.err >&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); } && {
3895 test -z "$ac_c_werror_flag" ||
3896 test ! -s conftest.err
3897 } && test -s conftest.$ac_objext; then
3898 ac_cv_safe_to_define___extensions__=yes
3900 echo "$as_me: failed program was:" >&5
3901 sed 's/^/| /' conftest.$ac_ext >&5
3903 ac_cv_safe_to_define___extensions__=no
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3908 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3909 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
3910 test $ac_cv_safe_to_define___extensions__ = yes &&
3911 cat >>confdefs.h <<\_ACEOF
3912 #define __EXTENSIONS__ 1
3915 cat >>confdefs.h <<\_ACEOF
3916 #define _POSIX_PTHREAD_SEMANTICS 1
3919 cat >>confdefs.h <<\_ACEOF
3920 #define _TANDEM_SOURCE 1
3925 case "${host_os}" in
3927 ac_default_prefix=/usr/local
3928 CPPFLAGS=-I/usr/local/include
3929 LDFLAGS=-L/usr/local/lib
3932 ac_default_prefix=/usr
3933 if test ${sysconfdir} = '${prefix}/etc'; then
3936 if test ${mandir} = '${prefix}/man'; then
3937 mandir=/usr/share/man
3942 if test ${localstatedir} = '${prefix}/var'; then
3946 BUILD_PLATFORM=${build}
3947 BUILD_CPU=${build_cpu}
3948 BUILD_VENDOR=${build_vendor}
3949 BUILD_OS=${build_os}
3956 HOST_PLATFORM=${host}
3957 HOST_CPU=${host_cpu}
3958 HOST_VENDOR=${host_vendor}
3966 case "${host_os}" in
3987 if test -n "$ac_tool_prefix"; then
3988 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
3989 set dummy ${ac_tool_prefix}uname; ac_word=$2
3990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3992 if test "${ac_cv_path_UNAME+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3997 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 UNAME=$ac_cv_path_UNAME
4019 if test -n "$UNAME"; then
4020 { echo "$as_me:$LINENO: result: $UNAME" >&5
4021 echo "${ECHO_T}$UNAME" >&6; }
4023 { echo "$as_me:$LINENO: result: no" >&5
4024 echo "${ECHO_T}no" >&6; }
4029 if test -z "$ac_cv_path_UNAME"; then
4031 # Extract the first word of "uname", so it can be a program name with args.
4032 set dummy uname; ac_word=$2
4033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4035 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 case $ac_pt_UNAME in
4040 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 test -z "$as_dir" && as_dir=.
4048 for ac_exec_ext in '' $ac_executable_extensions; do
4049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4050 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4062 if test -n "$ac_pt_UNAME"; then
4063 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4064 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4066 { echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6; }
4070 if test "x$ac_pt_UNAME" = x; then
4073 case $cross_compiling:$ac_tool_warned in
4075 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4076 whose name does not start with the host triplet. If you think this
4077 configuration is useful to you, please write to autoconf@gnu.org." >&5
4078 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4079 whose name does not start with the host triplet. If you think this
4080 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4081 ac_tool_warned=yes ;;
4086 UNAME="$ac_cv_path_UNAME"
4089 if test ! x"${UNAME}" = xNo; then
4090 PBX_OSREV=$(${UNAME} -r)
4100 # cross-compile checks
4101 if test "${cross_compiling}" = "yes";
4103 if test -n "$ac_tool_prefix"; then
4104 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4105 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4108 if test "${ac_cv_prog_CC+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 if test -n "$CC"; then
4112 ac_cv_prog_CC="$CC" # Let the user override the test.
4114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4118 test -z "$as_dir" && as_dir=.
4119 for ac_exec_ext in '' $ac_executable_extensions; do
4120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4121 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 if test -n "$CC"; then
4133 { echo "$as_me:$LINENO: result: $CC" >&5
4134 echo "${ECHO_T}$CC" >&6; }
4136 { echo "$as_me:$LINENO: result: no" >&5
4137 echo "${ECHO_T}no" >&6; }
4142 if test -z "$ac_cv_prog_CC"; then
4144 # Extract the first word of "gcc", so it can be a program name with args.
4145 set dummy gcc; ac_word=$2
4146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4148 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 if test -n "$ac_ct_CC"; then
4152 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir=.
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4161 ac_cv_prog_ac_ct_CC="gcc"
4162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4172 if test -n "$ac_ct_CC"; then
4173 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4174 echo "${ECHO_T}$ac_ct_CC" >&6; }
4176 { echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6; }
4180 if test "x$ac_ct_CC" = x; then
4183 case $cross_compiling:$ac_tool_warned in
4185 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4186 whose name does not start with the host triplet. If you think this
4187 configuration is useful to you, please write to autoconf@gnu.org." >&5
4188 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4189 whose name does not start with the host triplet. If you think this
4190 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4191 ac_tool_warned=yes ;;
4199 if test -n "$ac_tool_prefix"; then
4200 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4201 set dummy ${ac_tool_prefix}g++; ac_word=$2
4202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4204 if test "${ac_cv_prog_CXX+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 if test -n "$CXX"; then
4208 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4217 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 if test -n "$CXX"; then
4229 { echo "$as_me:$LINENO: result: $CXX" >&5
4230 echo "${ECHO_T}$CXX" >&6; }
4232 { echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6; }
4238 if test -z "$ac_cv_prog_CXX"; then
4240 # Extract the first word of "g++", so it can be a program name with args.
4241 set dummy g++; ac_word=$2
4242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4244 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 if test -n "$ac_ct_CXX"; then
4248 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4257 ac_cv_prog_ac_ct_CXX="g++"
4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4268 if test -n "$ac_ct_CXX"; then
4269 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4270 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4276 if test "x$ac_ct_CXX" = x; then
4279 case $cross_compiling:$ac_tool_warned in
4281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4282 whose name does not start with the host triplet. If you think this
4283 configuration is useful to you, please write to autoconf@gnu.org." >&5
4284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4285 whose name does not start with the host triplet. If you think this
4286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4287 ac_tool_warned=yes ;;
4292 CXX="$ac_cv_prog_CXX"
4295 if test -n "$ac_tool_prefix"; then
4296 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4297 set dummy ${ac_tool_prefix}ld; ac_word=$2
4298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4300 if test "${ac_cv_prog_LD+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4303 if test -n "$LD"; then
4304 ac_cv_prog_LD="$LD" # Let the user override the test.
4306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 test -z "$as_dir" && as_dir=.
4311 for ac_exec_ext in '' $ac_executable_extensions; do
4312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4313 ac_cv_prog_LD="${ac_tool_prefix}ld"
4314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4324 if test -n "$LD"; then
4325 { echo "$as_me:$LINENO: result: $LD" >&5
4326 echo "${ECHO_T}$LD" >&6; }
4328 { echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6; }
4334 if test -z "$ac_cv_prog_LD"; then
4336 # Extract the first word of "ld", so it can be a program name with args.
4337 set dummy ld; ac_word=$2
4338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4340 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 if test -n "$ac_ct_LD"; then
4344 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350 test -z "$as_dir" && as_dir=.
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4353 ac_cv_prog_ac_ct_LD="ld"
4354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4364 if test -n "$ac_ct_LD"; then
4365 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4366 echo "${ECHO_T}$ac_ct_LD" >&6; }
4368 { echo "$as_me:$LINENO: result: no" >&5
4369 echo "${ECHO_T}no" >&6; }
4372 if test "x$ac_ct_LD" = x; then
4375 case $cross_compiling:$ac_tool_warned in
4377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4378 whose name does not start with the host triplet. If you think this
4379 configuration is useful to you, please write to autoconf@gnu.org." >&5
4380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4381 whose name does not start with the host triplet. If you think this
4382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4383 ac_tool_warned=yes ;;
4391 if test -n "$ac_tool_prefix"; then
4392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4396 if test "${ac_cv_prog_RANLIB+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 if test -n "$RANLIB"; then
4400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 RANLIB=$ac_cv_prog_RANLIB
4420 if test -n "$RANLIB"; then
4421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4422 echo "${ECHO_T}$RANLIB" >&6; }
4424 { echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6; }
4430 if test -z "$ac_cv_prog_RANLIB"; then
4431 ac_ct_RANLIB=$RANLIB
4432 # Extract the first word of "ranlib", so it can be a program name with args.
4433 set dummy ranlib; ac_word=$2
4434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 if test -n "$ac_ct_RANLIB"; then
4440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4449 ac_cv_prog_ac_ct_RANLIB="ranlib"
4450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4460 if test -n "$ac_ct_RANLIB"; then
4461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4464 { echo "$as_me:$LINENO: result: no" >&5
4465 echo "${ECHO_T}no" >&6; }
4468 if test "x$ac_ct_RANLIB" = x; then
4471 case $cross_compiling:$ac_tool_warned in
4473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4474 whose name does not start with the host triplet. If you think this
4475 configuration is useful to you, please write to autoconf@gnu.org." >&5
4476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4477 whose name does not start with the host triplet. If you think this
4478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4479 ac_tool_warned=yes ;;
4481 RANLIB=$ac_ct_RANLIB
4484 RANLIB="$ac_cv_prog_RANLIB"
4489 # Checks for programs.
4491 ac_cpp='$CPP $CPPFLAGS'
4492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4495 if test -n "$ac_tool_prefix"; then
4496 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4497 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4500 if test "${ac_cv_prog_CC+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 if test -n "$CC"; then
4504 ac_cv_prog_CC="$CC" # Let the user override the test.
4506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510 test -z "$as_dir" && as_dir=.
4511 for ac_exec_ext in '' $ac_executable_extensions; do
4512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4513 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4524 if test -n "$CC"; then
4525 { echo "$as_me:$LINENO: result: $CC" >&5
4526 echo "${ECHO_T}$CC" >&6; }
4528 { echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6; }
4534 if test -z "$ac_cv_prog_CC"; then
4536 # Extract the first word of "gcc", so it can be a program name with args.
4537 set dummy gcc; ac_word=$2
4538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 if test -n "$ac_ct_CC"; then
4544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553 ac_cv_prog_ac_ct_CC="gcc"
4554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4564 if test -n "$ac_ct_CC"; then
4565 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4566 echo "${ECHO_T}$ac_ct_CC" >&6; }
4568 { echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6; }
4572 if test "x$ac_ct_CC" = x; then
4575 case $cross_compiling:$ac_tool_warned in
4577 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4578 whose name does not start with the host triplet. If you think this
4579 configuration is useful to you, please write to autoconf@gnu.org." >&5
4580 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4581 whose name does not start with the host triplet. If you think this
4582 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4583 ac_tool_warned=yes ;;
4591 if test -z "$CC"; then
4592 if test -n "$ac_tool_prefix"; then
4593 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4594 set dummy ${ac_tool_prefix}cc; ac_word=$2
4595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4597 if test "${ac_cv_prog_CC+set}" = set; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 if test -n "$CC"; then
4601 ac_cv_prog_CC="$CC" # Let the user override the test.
4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir=.
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4610 ac_cv_prog_CC="${ac_tool_prefix}cc"
4611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 if test -n "$CC"; then
4622 { echo "$as_me:$LINENO: result: $CC" >&5
4623 echo "${ECHO_T}$CC" >&6; }
4625 { echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6; }
4632 if test -z "$CC"; then
4633 # Extract the first word of "cc", so it can be a program name with args.
4634 set dummy cc; ac_word=$2
4635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4637 if test "${ac_cv_prog_CC+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 if test -n "$CC"; then
4641 ac_cv_prog_CC="$CC" # Let the user override the test.
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4651 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4652 ac_prog_rejected=yes
4656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 if test $ac_prog_rejected = yes; then
4664 # We found a bogon in the path, so make sure we never use it.
4665 set dummy $ac_cv_prog_CC
4667 if test $# != 0; then
4668 # We chose a different compiler from the bogus one.
4669 # However, it has the same basename, so the bogon will be chosen
4670 # first if we set CC to just the basename; use the full file name.
4672 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4678 if test -n "$CC"; then
4679 { echo "$as_me:$LINENO: result: $CC" >&5
4680 echo "${ECHO_T}$CC" >&6; }
4682 { echo "$as_me:$LINENO: result: no" >&5
4683 echo "${ECHO_T}no" >&6; }
4688 if test -z "$CC"; then
4689 if test -n "$ac_tool_prefix"; then
4690 for ac_prog in cl.exe
4692 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4693 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4696 if test "${ac_cv_prog_CC+set}" = set; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 if test -n "$CC"; then
4700 ac_cv_prog_CC="$CC" # Let the user override the test.
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir=.
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4709 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4720 if test -n "$CC"; then
4721 { echo "$as_me:$LINENO: result: $CC" >&5
4722 echo "${ECHO_T}$CC" >&6; }
4724 { echo "$as_me:$LINENO: result: no" >&5
4725 echo "${ECHO_T}no" >&6; }
4729 test -n "$CC" && break
4732 if test -z "$CC"; then
4734 for ac_prog in cl.exe
4736 # Extract the first word of "$ac_prog", so it can be a program name with args.
4737 set dummy $ac_prog; ac_word=$2
4738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4740 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 if test -n "$ac_ct_CC"; then
4744 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_prog_ac_ct_CC="$ac_prog"
4754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4764 if test -n "$ac_ct_CC"; then
4765 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4766 echo "${ECHO_T}$ac_ct_CC" >&6; }
4768 { echo "$as_me:$LINENO: result: no" >&5
4769 echo "${ECHO_T}no" >&6; }
4773 test -n "$ac_ct_CC" && break
4776 if test "x$ac_ct_CC" = x; then
4779 case $cross_compiling:$ac_tool_warned in
4781 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4782 whose name does not start with the host triplet. If you think this
4783 configuration is useful to you, please write to autoconf@gnu.org." >&5
4784 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4785 whose name does not start with the host triplet. If you think this
4786 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4787 ac_tool_warned=yes ;;
4796 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4797 See \`config.log
' for more details." >&5
4798 echo "$as_me: error: no acceptable C compiler found in \$PATH
4799 See \`config.log' for more details.
" >&2;}
4800 { (exit 1); exit 1; }; }
4802 # Provide some information about the compiler.
4803 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
4804 ac_compiler=`set X $ac_compile; echo $2`
4805 { (ac_try="$ac_compiler --version >&5"
4807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4808 *) ac_try_echo=$ac_try;;
4810 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4811 (eval "$ac_compiler --version >&5") 2>&5
4813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4814 (exit $ac_status); }
4815 { (ac_try="$ac_compiler -v >&5"
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4821 (eval "$ac_compiler -v >&5") 2>&5
4823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4824 (exit $ac_status); }
4825 { (ac_try="$ac_compiler -V >&5"
4827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4831 (eval "$ac_compiler -V >&5") 2>&5
4833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4834 (exit $ac_status); }
4836 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
4837 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
4838 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4839 echo $ECHO_N "(cached
) $ECHO_C" >&6
4841 cat >conftest.$ac_ext <<_ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4859 rm -f conftest.$ac_objext
4860 if { (ac_try="$ac_compile"
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4866 (eval "$ac_compile") 2>conftest.er1
4868 grep -v '^ *+' conftest.er1 >conftest.err
4870 cat conftest.err >&5
4871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4872 (exit $ac_status); } && {
4873 test -z "$ac_c_werror_flag" ||
4874 test ! -s conftest.err
4875 } && test -s conftest.$ac_objext; then
4878 echo "$as_me: failed program was
:" >&5
4879 sed 's/^/| /' conftest.$ac_ext >&5
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4888 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
4889 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4890 GCC=`test $ac_compiler_gnu = yes && echo yes`
4891 ac_test_CFLAGS=${CFLAGS+set}
4892 ac_save_CFLAGS=$CFLAGS
4893 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
4894 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
4895 if test "${ac_cv_prog_cc_g+set}" = set; then
4896 echo $ECHO_N "(cached
) $ECHO_C" >&6
4898 ac_save_c_werror_flag=$ac_c_werror_flag
4899 ac_c_werror_flag=yes
4902 cat >conftest.$ac_ext <<_ACEOF
4905 cat confdefs.h >>conftest.$ac_ext
4906 cat >>conftest.$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4917 rm -f conftest.$ac_objext
4918 if { (ac_try="$ac_compile"
4920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4921 *) ac_try_echo=$ac_try;;
4923 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4924 (eval "$ac_compile") 2>conftest.er1
4926 grep -v '^ *+' conftest.er1 >conftest.err
4928 cat conftest.err >&5
4929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4930 (exit $ac_status); } && {
4931 test -z "$ac_c_werror_flag" ||
4932 test ! -s conftest.err
4933 } && test -s conftest.$ac_objext; then
4936 echo "$as_me: failed program was
:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4940 cat >conftest.$ac_ext <<_ACEOF
4943 cat confdefs.h >>conftest.$ac_ext
4944 cat >>conftest.$ac_ext <<_ACEOF
4945 /* end confdefs.h. */
4955 rm -f conftest.$ac_objext
4956 if { (ac_try="$ac_compile"
4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4961 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4962 (eval "$ac_compile") 2>conftest.er1
4964 grep -v '^ *+' conftest.er1 >conftest.err
4966 cat conftest.err >&5
4967 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4968 (exit $ac_status); } && {
4969 test -z "$ac_c_werror_flag" ||
4970 test ! -s conftest.err
4971 } && test -s conftest.$ac_objext; then
4974 echo "$as_me: failed program was
:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 ac_c_werror_flag=$ac_save_c_werror_flag
4979 cat >conftest.$ac_ext <<_ACEOF
4982 cat confdefs.h >>conftest.$ac_ext
4983 cat >>conftest.$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4994 rm -f conftest.$ac_objext
4995 if { (ac_try="$ac_compile"
4997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4998 *) ac_try_echo=$ac_try;;
5000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5001 (eval "$ac_compile") 2>conftest.er1
5003 grep -v '^ *+' conftest.er1 >conftest.err
5005 cat conftest.err >&5
5006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5007 (exit $ac_status); } && {
5008 test -z "$ac_c_werror_flag" ||
5009 test ! -s conftest.err
5010 } && test -s conftest.$ac_objext; then
5013 echo "$as_me: failed program was
:" >&5
5014 sed 's/^/| /' conftest.$ac_ext >&5
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 ac_c_werror_flag=$ac_save_c_werror_flag
5028 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
5029 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5030 if test "$ac_test_CFLAGS" = set; then
5031 CFLAGS=$ac_save_CFLAGS
5032 elif test $ac_cv_prog_cc_g = yes; then
5033 if test "$GCC" = yes; then
5039 if test "$GCC" = yes; then
5045 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
5046 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
5047 if test "${ac_cv_prog_cc_c89+set}" = set; then
5048 echo $ECHO_N "(cached
) $ECHO_C" >&6
5050 ac_cv_prog_cc_c89=no
5052 cat >conftest.$ac_ext <<_ACEOF
5055 cat confdefs.h >>conftest.$ac_ext
5056 cat >>conftest.$ac_ext <<_ACEOF
5057 /* end confdefs.h. */
5060 #include <sys/types.h>
5061 #include <sys/stat.h>
5062 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5063 struct buf { int x; };
5064 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5065 static char *e (p, i)
5071 static char *f (char * (*g) (char **, int), char **p, ...)
5076 s = g (p, va_arg (v,int));
5081 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5082 function prototypes and stuff, but not '\xHH' hex character constants.
5083 These don't provoke an error unfortunately, instead are silently treated
5084 as 'x'. The following induces an error, until -std is added to get
5085 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5086 array size at least. It's necessary to write '\x00'==0 to get something
5087 that's true only with -std. */
5088 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5090 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5091 inside strings and character constants. */
5093 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5095 int test (int i, double x);
5096 struct s1 {int (*f) (int a);};
5097 struct s2 {int (*f) (double a);};
5098 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5104 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5109 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5110 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5112 CC="$ac_save_CC $ac_arg"
5113 rm -f conftest.$ac_objext
5114 if { (ac_try="$ac_compile"
5116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5117 *) ac_try_echo=$ac_try;;
5119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5120 (eval "$ac_compile") 2>conftest.er1
5122 grep -v '^ *+' conftest.er1 >conftest.err
5124 cat conftest.err >&5
5125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5126 (exit $ac_status); } && {
5127 test -z "$ac_c_werror_flag" ||
5128 test ! -s conftest.err
5129 } && test -s conftest.$ac_objext; then
5130 ac_cv_prog_cc_c89=$ac_arg
5132 echo "$as_me: failed program was
:" >&5
5133 sed 's/^/| /' conftest.$ac_ext >&5
5138 rm -f core conftest.err conftest.$ac_objext
5139 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
5141 rm -f conftest.$ac_ext
5146 case "x
$ac_cv_prog_cc_c89" in
5148 { echo "$as_me:$LINENO: result
: none needed
" >&5
5149 echo "${ECHO_T}none needed
" >&6; } ;;
5151 { echo "$as_me:$LINENO: result
: unsupported
" >&5
5152 echo "${ECHO_T}unsupported
" >&6; } ;;
5154 CC="$CC $ac_cv_prog_cc_c89"
5155 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
5156 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5161 ac_cpp='$CPP $CPPFLAGS'
5162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5167 ac_cpp='$CXXCPP $CPPFLAGS'
5168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5171 if test -z "$CXX"; then
5172 if test -n "$CCC"; then
5175 if test -n "$ac_tool_prefix"; then
5176 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5179 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5180 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5181 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5182 if test "${ac_cv_prog_CXX+set}" = set; then
5183 echo $ECHO_N "(cached
) $ECHO_C" >&6
5185 if test -n "$CXX"; then
5186 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5196 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5206 if test -n "$CXX"; then
5207 { echo "$as_me:$LINENO: result
: $CXX" >&5
5208 echo "${ECHO_T}$CXX" >&6; }
5210 { echo "$as_me:$LINENO: result
: no
" >&5
5211 echo "${ECHO_T}no
" >&6; }
5215 test -n "$CXX" && break
5218 if test -z "$CXX"; then
5220 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5222 # Extract the first word of "$ac_prog", so it can be a program name with args.
5223 set dummy $ac_prog; ac_word=$2
5224 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5225 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5226 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5227 echo $ECHO_N "(cached
) $ECHO_C" >&6
5229 if test -n "$ac_ct_CXX"; then
5230 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_ac_ct_CXX="$ac_prog"
5240 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5249 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5250 if test -n "$ac_ct_CXX"; then
5251 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
5252 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5254 { echo "$as_me:$LINENO: result
: no
" >&5
5255 echo "${ECHO_T}no
" >&6; }
5259 test -n "$ac_ct_CXX" && break
5262 if test "x
$ac_ct_CXX" = x; then
5265 case $cross_compiling:$ac_tool_warned in
5267 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5268 whose name does not start with the
host triplet. If you think this
5269 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5270 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5271 whose name does not start with the
host triplet. If you think this
5272 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5273 ac_tool_warned=yes ;;
5281 # Provide some information about the compiler.
5282 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
5283 ac_compiler=`set X $ac_compile; echo $2`
5284 { (ac_try="$ac_compiler --version >&5"
5286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5290 (eval "$ac_compiler --version >&5") 2>&5
5292 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5293 (exit $ac_status); }
5294 { (ac_try="$ac_compiler -v >&5"
5296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5297 *) ac_try_echo=$ac_try;;
5299 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5300 (eval "$ac_compiler -v >&5") 2>&5
5302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5303 (exit $ac_status); }
5304 { (ac_try="$ac_compiler -V >&5"
5306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5307 *) ac_try_echo=$ac_try;;
5309 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5310 (eval "$ac_compiler -V >&5") 2>&5
5312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5313 (exit $ac_status); }
5315 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
5316 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
5317 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5318 echo $ECHO_N "(cached
) $ECHO_C" >&6
5320 cat >conftest.$ac_ext <<_ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5338 rm -f conftest.$ac_objext
5339 if { (ac_try="$ac_compile"
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5344 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5345 (eval "$ac_compile") 2>conftest.er1
5347 grep -v '^ *+' conftest.er1 >conftest.err
5349 cat conftest.err >&5
5350 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5351 (exit $ac_status); } && {
5352 test -z "$ac_cxx_werror_flag" ||
5353 test ! -s conftest.err
5354 } && test -s conftest.$ac_objext; then
5357 echo "$as_me: failed program was
:" >&5
5358 sed 's/^/| /' conftest.$ac_ext >&5
5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5367 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
5368 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5369 GXX=`test $ac_compiler_gnu = yes && echo yes`
5370 ac_test_CXXFLAGS=${CXXFLAGS+set}
5371 ac_save_CXXFLAGS=$CXXFLAGS
5372 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
5373 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
5374 if test "${ac_cv_prog_cxx_g+set}" = set; then
5375 echo $ECHO_N "(cached
) $ECHO_C" >&6
5377 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5378 ac_cxx_werror_flag=yes
5381 cat >conftest.$ac_ext <<_ACEOF
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h. */
5396 rm -f conftest.$ac_objext
5397 if { (ac_try="$ac_compile"
5399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5400 *) ac_try_echo=$ac_try;;
5402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5403 (eval "$ac_compile") 2>conftest.er1
5405 grep -v '^ *+' conftest.er1 >conftest.err
5407 cat conftest.err >&5
5408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5409 (exit $ac_status); } && {
5410 test -z "$ac_cxx_werror_flag" ||
5411 test ! -s conftest.err
5412 } && test -s conftest.$ac_objext; then
5413 ac_cv_prog_cxx_g=yes
5415 echo "$as_me: failed program was
:" >&5
5416 sed 's/^/| /' conftest.$ac_ext >&5
5419 cat >conftest.$ac_ext <<_ACEOF
5422 cat confdefs.h >>conftest.$ac_ext
5423 cat >>conftest.$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5434 rm -f conftest.$ac_objext
5435 if { (ac_try="$ac_compile"
5437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5438 *) ac_try_echo=$ac_try;;
5440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5441 (eval "$ac_compile") 2>conftest.er1
5443 grep -v '^ *+' conftest.er1 >conftest.err
5445 cat conftest.err >&5
5446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5447 (exit $ac_status); } && {
5448 test -z "$ac_cxx_werror_flag" ||
5449 test ! -s conftest.err
5450 } && test -s conftest.$ac_objext; then
5453 echo "$as_me: failed program was
:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5456 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5458 cat >conftest.$ac_ext <<_ACEOF
5461 cat confdefs.h >>conftest.$ac_ext
5462 cat >>conftest.$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5473 rm -f conftest.$ac_objext
5474 if { (ac_try="$ac_compile"
5476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5480 (eval "$ac_compile") 2>conftest.er1
5482 grep -v '^ *+' conftest.er1 >conftest.err
5484 cat conftest.err >&5
5485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5486 (exit $ac_status); } && {
5487 test -z "$ac_cxx_werror_flag" ||
5488 test ! -s conftest.err
5489 } && test -s conftest.$ac_objext; then
5490 ac_cv_prog_cxx_g=yes
5492 echo "$as_me: failed program was
:" >&5
5493 sed 's/^/| /' conftest.$ac_ext >&5
5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5505 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5507 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
5508 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5509 if test "$ac_test_CXXFLAGS" = set; then
5510 CXXFLAGS=$ac_save_CXXFLAGS
5511 elif test $ac_cv_prog_cxx_g = yes; then
5512 if test "$GXX" = yes; then
5518 if test "$GXX" = yes; then
5525 ac_cpp='$CPP $CPPFLAGS'
5526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5531 ac_cpp='$CPP $CPPFLAGS'
5532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5535 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5536 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
5537 # On Suns, sometimes $CPP names a directory.
5538 if test -n "$CPP" && test -d "$CPP"; then
5541 if test -z "$CPP"; then
5542 if test "${ac_cv_prog_CPP+set}" = set; then
5543 echo $ECHO_N "(cached
) $ECHO_C" >&6
5545 # Double quotes because CPP needs to be expanded
5546 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5549 for ac_c_preproc_warn_flag in '' yes
5551 # Use a header file that comes with gcc, so configuring glibc
5552 # with a fresh cross-compiler works.
5553 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5554 # <limits.h> exists even on freestanding compilers.
5555 # On the NeXT, cc -E runs the code through the compiler's parser,
5556 # not just through cpp. "Syntax error
" is here to catch this case.
5557 cat >conftest.$ac_ext <<_ACEOF
5560 cat confdefs.h >>conftest.$ac_ext
5561 cat >>conftest.$ac_ext <<_ACEOF
5562 /* end confdefs.h. */
5564 # include <limits.h>
5566 # include <assert.h>
5570 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5573 *) ac_try_echo=$ac_try;;
5575 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5576 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5578 grep -v '^ *+' conftest.er1 >conftest.err
5580 cat conftest.err >&5
5581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5582 (exit $ac_status); } >/dev/null && {
5583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5584 test ! -s conftest.err
5588 echo "$as_me: failed program was
:" >&5
5589 sed 's/^/| /' conftest.$ac_ext >&5
5591 # Broken: fails on valid input.
5595 rm -f conftest.err conftest.$ac_ext
5597 # OK, works on sane cases. Now check whether nonexistent headers
5598 # can be detected and how.
5599 cat >conftest.$ac_ext <<_ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 #include <ac_nonexistent.h>
5607 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5610 *) ac_try_echo=$ac_try;;
5612 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5613 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5615 grep -v '^ *+' conftest.er1 >conftest.err
5617 cat conftest.err >&5
5618 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5619 (exit $ac_status); } >/dev/null && {
5620 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5621 test ! -s conftest.err
5623 # Broken: success on invalid input.
5626 echo "$as_me: failed program was
:" >&5
5627 sed 's/^/| /' conftest.$ac_ext >&5
5629 # Passes both tests.
5634 rm -f conftest.err conftest.$ac_ext
5637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5638 rm -f conftest.err conftest.$ac_ext
5639 if $ac_preproc_ok; then
5651 { echo "$as_me:$LINENO: result
: $CPP" >&5
5652 echo "${ECHO_T}$CPP" >&6; }
5654 for ac_c_preproc_warn_flag in '' yes
5656 # Use a header file that comes with gcc, so configuring glibc
5657 # with a fresh cross-compiler works.
5658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5659 # <limits.h> exists even on freestanding compilers.
5660 # On the NeXT, cc -E runs the code through the compiler's parser,
5661 # not just through cpp. "Syntax error
" is here to catch this case.
5662 cat >conftest.$ac_ext <<_ACEOF
5665 cat confdefs.h >>conftest.$ac_ext
5666 cat >>conftest.$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5669 # include <limits.h>
5671 # include <assert.h>
5675 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5678 *) ac_try_echo=$ac_try;;
5680 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5681 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5683 grep -v '^ *+' conftest.er1 >conftest.err
5685 cat conftest.err >&5
5686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5687 (exit $ac_status); } >/dev/null && {
5688 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5689 test ! -s conftest.err
5693 echo "$as_me: failed program was
:" >&5
5694 sed 's/^/| /' conftest.$ac_ext >&5
5696 # Broken: fails on valid input.
5700 rm -f conftest.err conftest.$ac_ext
5702 # OK, works on sane cases. Now check whether nonexistent headers
5703 # can be detected and how.
5704 cat >conftest.$ac_ext <<_ACEOF
5707 cat confdefs.h >>conftest.$ac_ext
5708 cat >>conftest.$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5710 #include <ac_nonexistent.h>
5712 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5715 *) ac_try_echo=$ac_try;;
5717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5718 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5720 grep -v '^ *+' conftest.er1 >conftest.err
5722 cat conftest.err >&5
5723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5724 (exit $ac_status); } >/dev/null && {
5725 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5726 test ! -s conftest.err
5728 # Broken: success on invalid input.
5731 echo "$as_me: failed program was
:" >&5
5732 sed 's/^/| /' conftest.$ac_ext >&5
5734 # Passes both tests.
5739 rm -f conftest.err conftest.$ac_ext
5742 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5743 rm -f conftest.err conftest.$ac_ext
5744 if $ac_preproc_ok; then
5747 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5748 See \
`config.log' for more details." >&5
5749 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5750 See \`config.log
' for more details." >&2;}
5751 { (exit 1); exit 1; }; }
5755 ac_cpp='$CPP $CPPFLAGS'
5756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5757 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5761 ac_cpp='$CXXCPP $CPPFLAGS'
5762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5763 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5765 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5766 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5767 if test -z "$CXXCPP"; then
5768 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 # Double quotes because CXXCPP needs to be expanded
5772 for CXXCPP in "$CXX -E" "/lib/cpp"
5775 for ac_cxx_preproc_warn_flag in '' yes
5777 # Use a header file that comes with gcc, so configuring glibc
5778 # with a fresh cross-compiler works.
5779 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5780 # <limits.h> exists even on freestanding compilers.
5781 # On the NeXT, cc -E runs the code through the compiler's parser
,
5782 # not just through cpp. "Syntax error" is here to catch this case.
5783 cat >conftest.
$ac_ext <<_ACEOF
5786 cat confdefs.h
>>conftest.
$ac_ext
5787 cat >>conftest.
$ac_ext <<_ACEOF
5788 /* end confdefs.h. */
5790 # include <limits.h>
5792 # include <assert.h>
5796 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5799 *) ac_try_echo=$ac_try;;
5801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5802 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5804 grep -v '^ *+' conftest.er1 >conftest.err
5806 cat conftest.err >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); } >/dev/null && {
5809 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5810 test ! -s conftest.err
5814 echo "$as_me: failed program was:" >&5
5815 sed 's/^/| /' conftest.$ac_ext >&5
5817 # Broken: fails on valid input.
5821 rm -f conftest.err conftest.$ac_ext
5823 # OK, works on sane cases. Now check whether nonexistent headers
5824 # can be detected and how.
5825 cat >conftest.$ac_ext <<_ACEOF
5828 cat confdefs.h >>conftest.$ac_ext
5829 cat >>conftest.$ac_ext <<_ACEOF
5830 /* end confdefs.h. */
5831 #include <ac_nonexistent.h>
5833 if { (ac_try="$ac_cpp conftest.$ac_ext"
5835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5836 *) ac_try_echo
=$ac_try;;
5838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5841 grep -v '^ *+' conftest.er1
>conftest.err
5843 cat conftest.err
>&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } >/dev
/null
&& {
5846 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5847 test ! -s conftest.err
5849 # Broken: success on invalid input.
5852 echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.
$ac_ext >&5
5855 # Passes both tests.
5860 rm -f conftest.err conftest.
$ac_ext
5863 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5864 rm -f conftest.err conftest.
$ac_ext
5865 if $ac_preproc_ok; then
5870 ac_cv_prog_CXXCPP
=$CXXCPP
5873 CXXCPP
=$ac_cv_prog_CXXCPP
5875 ac_cv_prog_CXXCPP
=$CXXCPP
5877 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5878 echo "${ECHO_T}$CXXCPP" >&6; }
5880 for ac_cxx_preproc_warn_flag
in '' yes
5882 # Use a header file that comes with gcc, so configuring glibc
5883 # with a fresh cross-compiler works.
5884 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5885 # <limits.h> exists even on freestanding compilers.
5886 # On the NeXT, cc -E runs the code through the compiler's parser,
5887 # not just through cpp. "Syntax error" is here to catch this case.
5888 cat >conftest.
$ac_ext <<_ACEOF
5891 cat confdefs.h
>>conftest.
$ac_ext
5892 cat >>conftest.
$ac_ext <<_ACEOF
5893 /* end confdefs.h. */
5895 # include <limits.h>
5897 # include <assert.h>
5901 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5904 *) ac_try_echo=$ac_try;;
5906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5907 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5909 grep -v '^ *+' conftest.er1 >conftest.err
5911 cat conftest.err >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); } >/dev/null && {
5914 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5915 test ! -s conftest.err
5919 echo "$as_me: failed program was:" >&5
5920 sed 's/^/| /' conftest.$ac_ext >&5
5922 # Broken: fails on valid input.
5926 rm -f conftest.err conftest.$ac_ext
5928 # OK, works on sane cases. Now check whether nonexistent headers
5929 # can be detected and how.
5930 cat >conftest.$ac_ext <<_ACEOF
5933 cat confdefs.h >>conftest.$ac_ext
5934 cat >>conftest.$ac_ext <<_ACEOF
5935 /* end confdefs.h. */
5936 #include <ac_nonexistent.h>
5938 if { (ac_try="$ac_cpp conftest.$ac_ext"
5940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5941 *) ac_try_echo
=$ac_try;;
5943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5946 grep -v '^ *+' conftest.er1
>conftest.err
5948 cat conftest.err
>&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } >/dev
/null
&& {
5951 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5952 test ! -s conftest.err
5954 # Broken: success on invalid input.
5957 echo "$as_me: failed program was:" >&5
5958 sed 's/^/| /' conftest.
$ac_ext >&5
5960 # Passes both tests.
5965 rm -f conftest.err conftest.
$ac_ext
5968 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5969 rm -f conftest.err conftest.
$ac_ext
5970 if $ac_preproc_ok; then
5973 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5974 See \`config.log' for more details." >&5
5975 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5976 See \`config.log' for more details." >&2;}
5977 { (exit 1); exit 1; }; }
5981 ac_cpp
='$CPP $CPPFLAGS'
5982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5986 # This macro is just copied into our local acinclude.m4 from libtool.m4 so that
5987 # the developers regenerating the configure script don't have to install libtool.
5988 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5989 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5990 if test "${ac_cv_path_SED+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5994 for ac_i
in 1 2 3 4 5 6 7; do
5995 ac_script
="$ac_script$as_nl$ac_script"
5997 echo "$ac_script" |
sed 99q
>conftest.
sed
5998 $as_unset ac_script || ac_script
=
5999 # Extract the first word of "sed gsed" to use in msg output
6000 if test -z "$SED"; then
6001 set dummy
sed gsed
; ac_prog_name
=$2
6002 if test "${ac_cv_path_SED+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 ac_path_SED_found
=false
6006 # Loop through the user's path and test for each of PROGNAME-LIST
6007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6011 test -z "$as_dir" && as_dir
=.
6012 for ac_prog
in sed gsed
; do
6013 for ac_exec_ext
in '' $ac_executable_extensions; do
6014 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6015 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6016 # Check for GNU ac_path_SED and select it if it is found.
6017 # Check for GNU $ac_path_SED
6018 case `"$ac_path_SED" --version 2>&1` in
6020 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6023 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6026 cat "conftest.in" "conftest.in" >"conftest.tmp"
6027 mv "conftest.tmp" "conftest.in"
6028 cp "conftest.in" "conftest.nl"
6029 echo '' >> "conftest.nl"
6030 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6031 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6032 ac_count
=`expr $ac_count + 1`
6033 if test $ac_count -gt ${ac_path_SED_max-0}; then
6034 # Best one so far, save it but keep looking for a better one
6035 ac_cv_path_SED
="$ac_path_SED"
6036 ac_path_SED_max
=$ac_count
6038 # 10*(2^10) chars as input seems more than enough
6039 test $ac_count -gt 10 && break
6041 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6045 $ac_path_SED_found && break 3
6055 SED
="$ac_cv_path_SED"
6056 if test -z "$SED"; then
6057 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
6058 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
6059 { (exit 1); exit 1; }; }
6067 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6068 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
6069 SED
="$ac_cv_path_SED"
6072 { echo "$as_me:$LINENO: checking for egrep" >&5
6073 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6074 if test "${ac_cv_prog_egrep+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6078 then ac_cv_prog_egrep
='grep -E'
6079 else ac_cv_prog_egrep
='egrep'
6082 { echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6083 echo "${ECHO_T}$ac_cv_prog_egrep" >&6; }
6084 EGREP
=$ac_cv_prog_egrep
6088 # Check whether --with-gnu-ld was given.
6089 if test "${with_gnu_ld+set}" = set; then
6090 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6096 if test "$GCC" = yes; then
6097 # Check if gcc -print-prog-name=ld gives a path.
6098 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6099 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6102 # gcc leaves a trailing carriage return which upsets mingw
6103 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6105 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6108 # Accept absolute paths.
6110 re_direlt
='/[^/][^/]*/\.\./'
6111 # Canonicalize the pathname of ld
6112 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
6113 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6114 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6116 test -z "$LD" && LD
="$ac_prog"
6119 # If it fails, then pretend we aren't using GCC.
6123 # If it is relative, then search for the first ld in PATH.
6127 elif test "$with_gnu_ld" = yes; then
6128 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6129 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6131 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6132 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6134 if test "${lt_cv_path_LD+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 if test -z "$LD"; then
6138 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6139 for ac_dir
in $PATH; do
6141 test -z "$ac_dir" && ac_dir
=.
6142 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6143 lt_cv_path_LD
="$ac_dir/$ac_prog"
6144 # Check to see if the program is GNU ld. I'd rather use --version,
6145 # but apparently some variants of GNU ld only accept -v.
6146 # Break only if it was the GNU/non-GNU ld that we prefer.
6147 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6148 *GNU
* |
*'with BFD'*)
6149 test "$with_gnu_ld" != no
&& break
6152 test "$with_gnu_ld" != yes && break
6159 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6164 if test -n "$LD"; then
6165 { echo "$as_me:$LINENO: result: $LD" >&5
6166 echo "${ECHO_T}$LD" >&6; }
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6171 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6172 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6173 { (exit 1); exit 1; }; }
6174 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6175 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6176 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6177 echo $ECHO_N "(cached) $ECHO_C" >&6
6179 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6180 case `$LD -v 2>&1 </dev/null` in
6181 *GNU
* |
*'with BFD'*)
6182 lt_cv_prog_gnu_ld
=yes
6185 lt_cv_prog_gnu_ld
=no
6189 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6190 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6191 with_gnu_ld
=$lt_cv_prog_gnu_ld
6194 for ac_prog
in gawk mawk nawk
awk
6196 # Extract the first word of "$ac_prog", so it can be a program name with args.
6197 set dummy
$ac_prog; ac_word
=$2
6198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6200 if test "${ac_cv_prog_AWK+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 if test -n "$AWK"; then
6204 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir
=.
6211 for ac_exec_ext
in '' $ac_executable_extensions; do
6212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6213 ac_cv_prog_AWK
="$ac_prog"
6214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6224 if test -n "$AWK"; then
6225 { echo "$as_me:$LINENO: result: $AWK" >&5
6226 echo "${ECHO_T}$AWK" >&6; }
6228 { echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6; }
6233 test -n "$AWK" && break
6236 # Find a good install program. We prefer a C program (faster),
6237 # so one script is as good as another. But avoid the broken or
6238 # incompatible versions:
6239 # SysV /etc/install, /usr/sbin/install
6240 # SunOS /usr/etc/install
6241 # IRIX /sbin/install
6243 # AmigaOS /C/install, which installs bootblocks on floppy discs
6244 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6245 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6246 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6247 # OS/2's system install, which has a completely different semantic
6248 # ./install, which can be erroneously created by make from ./install.sh.
6249 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6250 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6251 if test -z "$INSTALL"; then
6252 if test "${ac_cv_path_install+set}" = set; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir
=.
6260 # Account for people who put trailing slashes in PATH elements.
6262 .
/ | .
// |
/cC
/* | \
6263 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6264 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6267 # OSF1 and SCO ODT 3.0 have their own names for install.
6268 # Don't use installbsd from OSF since it installs stuff as root
6270 for ac_prog
in ginstall scoinst
install; do
6271 for ac_exec_ext
in '' $ac_executable_extensions; do
6272 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6273 if test $ac_prog = install &&
6274 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6275 # AIX install. It has an incompatible calling convention.
6277 elif test $ac_prog = install &&
6278 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6279 # program-specific install script used by HP pwplus--don't use.
6282 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6295 if test "${ac_cv_path_install+set}" = set; then
6296 INSTALL
=$ac_cv_path_install
6298 # As a last resort, use the slow shell script. Don't cache a
6299 # value for INSTALL within a source directory, because that will
6300 # break other packages using the cache if that directory is
6301 # removed, or if the value is a relative name.
6302 INSTALL
=$ac_install_sh
6305 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6306 echo "${ECHO_T}$INSTALL" >&6; }
6308 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6309 # It thinks the first close brace ends the variable substitution.
6310 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6312 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6314 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6316 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6317 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6319 if test "$LN_S" = "ln -s"; then
6320 { echo "$as_me:$LINENO: result: yes" >&5
6321 echo "${ECHO_T}yes" >&6; }
6323 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6324 echo "${ECHO_T}no, using $LN_S" >&6; }
6327 if test -n "$ac_tool_prefix"; then
6328 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6329 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6332 if test "${ac_cv_prog_RANLIB+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 if test -n "$RANLIB"; then
6336 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6342 test -z "$as_dir" && as_dir
=.
6343 for ac_exec_ext
in '' $ac_executable_extensions; do
6344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6345 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6355 RANLIB
=$ac_cv_prog_RANLIB
6356 if test -n "$RANLIB"; then
6357 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6358 echo "${ECHO_T}$RANLIB" >&6; }
6360 { echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6; }
6366 if test -z "$ac_cv_prog_RANLIB"; then
6367 ac_ct_RANLIB
=$RANLIB
6368 # Extract the first word of "ranlib", so it can be a program name with args.
6369 set dummy ranlib
; ac_word
=$2
6370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6372 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 if test -n "$ac_ct_RANLIB"; then
6376 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir
=.
6383 for ac_exec_ext
in '' $ac_executable_extensions; do
6384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6385 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6395 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6396 if test -n "$ac_ct_RANLIB"; then
6397 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6398 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6404 if test "x$ac_ct_RANLIB" = x
; then
6407 case $cross_compiling:$ac_tool_warned in
6409 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6410 whose name does not start with the host triplet. If you think this
6411 configuration is useful to you, please write to autoconf@gnu.org." >&5
6412 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6413 whose name does not start with the host triplet. If you think this
6414 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6415 ac_tool_warned
=yes ;;
6417 RANLIB
=$ac_ct_RANLIB
6420 RANLIB
="$ac_cv_prog_RANLIB"
6423 { echo "$as_me:$LINENO: checking for GNU make" >&5
6424 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6425 if test "${GNU_MAKE+set}" = set; then
6426 echo $ECHO_N "(cached) $ECHO_C" >&6
6428 GNU_MAKE
='Not Found' ;
6429 GNU_MAKE_VERSION_MAJOR
=0 ;
6430 GNU_MAKE_VERSION_MINOR
=0 ;
6431 for a
in make gmake gnumake
; do
6432 if test -z "$a" ; then continue ; fi ;
6433 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
) ; then
6435 GNU_MAKE_VERSION_MAJOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f3 -d' ' | cut -f1 -d'.'`
6436 GNU_MAKE_VERSION_MINOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.' | cut -c1-2`
6442 { echo "$as_me:$LINENO: result: $GNU_MAKE" >&5
6443 echo "${ECHO_T}$GNU_MAKE" >&6; } ;
6444 if test "x$GNU_MAKE" = "xNot Found" ; then
6445 { { echo "$as_me:$LINENO: error: *** Please install GNU make. It is required to build Asterisk!" >&5
6446 echo "$as_me: error: *** Please install GNU make. It is required to build Asterisk!" >&2;}
6447 { (exit 1); exit 1; }; }
6453 if test -n "$ac_tool_prefix"; then
6454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6455 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6458 if test "${ac_cv_path_STRIP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
6466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6470 test -z "$as_dir" && as_dir
=.
6471 for ac_exec_ext
in '' $ac_executable_extensions; do
6472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6473 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
6474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 STRIP
=$ac_cv_path_STRIP
6485 if test -n "$STRIP"; then
6486 { echo "$as_me:$LINENO: result: $STRIP" >&5
6487 echo "${ECHO_T}$STRIP" >&6; }
6489 { echo "$as_me:$LINENO: result: no" >&5
6490 echo "${ECHO_T}no" >&6; }
6495 if test -z "$ac_cv_path_STRIP"; then
6497 # Extract the first word of "strip", so it can be a program name with args.
6498 set dummy strip
; ac_word
=$2
6499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6501 if test "${ac_cv_path_ac_pt_STRIP+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 case $ac_pt_STRIP in
6506 ac_cv_path_ac_pt_STRIP
="$ac_pt_STRIP" # Let the user override the test with a path.
6509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir
=.
6514 for ac_exec_ext
in '' $ac_executable_extensions; do
6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516 ac_cv_path_ac_pt_STRIP
="$as_dir/$ac_word$ac_exec_ext"
6517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 ac_pt_STRIP
=$ac_cv_path_ac_pt_STRIP
6528 if test -n "$ac_pt_STRIP"; then
6529 { echo "$as_me:$LINENO: result: $ac_pt_STRIP" >&5
6530 echo "${ECHO_T}$ac_pt_STRIP" >&6; }
6532 { echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6; }
6536 if test "x$ac_pt_STRIP" = x
; then
6539 case $cross_compiling:$ac_tool_warned in
6541 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6542 whose name does not start with the host triplet. If you think this
6543 configuration is useful to you, please write to autoconf@gnu.org." >&5
6544 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6545 whose name does not start with the host triplet. If you think this
6546 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6547 ac_tool_warned
=yes ;;
6552 STRIP
="$ac_cv_path_STRIP"
6555 if test -n "$ac_tool_prefix"; then
6556 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6557 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6560 if test "${ac_cv_path_AR+set}" = set; then
6561 echo $ECHO_N "(cached) $ECHO_C" >&6
6565 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
6568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir
=.
6573 for ac_exec_ext
in '' $ac_executable_extensions; do
6574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
6576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6587 if test -n "$AR"; then
6588 { echo "$as_me:$LINENO: result: $AR" >&5
6589 echo "${ECHO_T}$AR" >&6; }
6591 { echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6; }
6597 if test -z "$ac_cv_path_AR"; then
6599 # Extract the first word of "ar", so it can be a program name with args.
6600 set dummy
ar; ac_word
=$2
6601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6603 if test "${ac_cv_path_ac_pt_AR+set}" = set; then
6604 echo $ECHO_N "(cached) $ECHO_C" >&6
6608 ac_cv_path_ac_pt_AR
="$ac_pt_AR" # Let the user override the test with a path.
6611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6615 test -z "$as_dir" && as_dir
=.
6616 for ac_exec_ext
in '' $ac_executable_extensions; do
6617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6618 ac_cv_path_ac_pt_AR
="$as_dir/$ac_word$ac_exec_ext"
6619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 ac_pt_AR
=$ac_cv_path_ac_pt_AR
6630 if test -n "$ac_pt_AR"; then
6631 { echo "$as_me:$LINENO: result: $ac_pt_AR" >&5
6632 echo "${ECHO_T}$ac_pt_AR" >&6; }
6634 { echo "$as_me:$LINENO: result: no" >&5
6635 echo "${ECHO_T}no" >&6; }
6638 if test "x$ac_pt_AR" = x
; then
6641 case $cross_compiling:$ac_tool_warned in
6643 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6644 whose name does not start with the host triplet. If you think this
6645 configuration is useful to you, please write to autoconf@gnu.org." >&5
6646 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6647 whose name does not start with the host triplet. If you think this
6648 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6649 ac_tool_warned
=yes ;;
6659 if test "x$with_gnu_ld" = "xyes" ; then
6664 # Extract the first word of "grep", so it can be a program name with args.
6665 set dummy
grep; ac_word
=$2
6666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6668 if test "${ac_cv_path_GREP+set}" = set; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir
=.
6681 for ac_exec_ext
in '' $ac_executable_extensions; do
6682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
=":"
6695 GREP
=$ac_cv_path_GREP
6696 if test -n "$GREP"; then
6697 { echo "$as_me:$LINENO: result: $GREP" >&5
6698 echo "${ECHO_T}$GREP" >&6; }
6700 { echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6; }
6705 # Extract the first word of "find", so it can be a program name with args.
6706 set dummy
find; ac_word
=$2
6707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6709 if test "${ac_cv_path_FIND+set}" = set; then
6710 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir
=.
6722 for ac_exec_ext
in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
=":"
6736 FIND
=$ac_cv_path_FIND
6737 if test -n "$FIND"; then
6738 { echo "$as_me:$LINENO: result: $FIND" >&5
6739 echo "${ECHO_T}$FIND" >&6; }
6741 { echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6; }
6746 # Extract the first word of "compress", so it can be a program name with args.
6747 set dummy
compress; ac_word
=$2
6748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6750 if test "${ac_cv_path_COMPRESS+set}" = set; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6755 ac_cv_path_COMPRESS
="$COMPRESS" # Let the user override the test with a path.
6758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir
=.
6763 for ac_exec_ext
in '' $ac_executable_extensions; do
6764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6765 ac_cv_path_COMPRESS
="$as_dir/$ac_word$ac_exec_ext"
6766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 test -z "$ac_cv_path_COMPRESS" && ac_cv_path_COMPRESS
=":"
6777 COMPRESS
=$ac_cv_path_COMPRESS
6778 if test -n "$COMPRESS"; then
6779 { echo "$as_me:$LINENO: result: $COMPRESS" >&5
6780 echo "${ECHO_T}$COMPRESS" >&6; }
6782 { echo "$as_me:$LINENO: result: no" >&5
6783 echo "${ECHO_T}no" >&6; }
6787 # Extract the first word of "basename", so it can be a program name with args.
6788 set dummy
basename; ac_word
=$2
6789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6791 if test "${ac_cv_path_BASENAME+set}" = set; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6
6796 ac_cv_path_BASENAME
="$BASENAME" # Let the user override the test with a path.
6799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir
=.
6804 for ac_exec_ext
in '' $ac_executable_extensions; do
6805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6806 ac_cv_path_BASENAME
="$as_dir/$ac_word$ac_exec_ext"
6807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 test -z "$ac_cv_path_BASENAME" && ac_cv_path_BASENAME
=":"
6818 BASENAME
=$ac_cv_path_BASENAME
6819 if test -n "$BASENAME"; then
6820 { echo "$as_me:$LINENO: result: $BASENAME" >&5
6821 echo "${ECHO_T}$BASENAME" >&6; }
6823 { echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6; }
6828 # Extract the first word of "id", so it can be a program name with args.
6829 set dummy id
; ac_word
=$2
6830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6832 if test "${ac_cv_path_ID+set}" = set; then
6833 echo $ECHO_N "(cached) $ECHO_C" >&6
6837 ac_cv_path_ID
="$ID" # Let the user override the test with a path.
6840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6844 test -z "$as_dir" && as_dir
=.
6845 for ac_exec_ext
in '' $ac_executable_extensions; do
6846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6847 ac_cv_path_ID
="$as_dir/$ac_word$ac_exec_ext"
6848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 test -z "$ac_cv_path_ID" && ac_cv_path_ID
=":"
6860 if test -n "$ID"; then
6861 { echo "$as_me:$LINENO: result: $ID" >&5
6862 echo "${ECHO_T}$ID" >&6; }
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6869 # Extract the first word of "dirname", so it can be a program name with args.
6870 set dummy
dirname; ac_word
=$2
6871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6873 if test "${ac_cv_path_DIRNAME+set}" = set; then
6874 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 ac_cv_path_DIRNAME
="$DIRNAME" # Let the user override the test with a path.
6881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6885 test -z "$as_dir" && as_dir
=.
6886 for ac_exec_ext
in '' $ac_executable_extensions; do
6887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6888 ac_cv_path_DIRNAME
="$as_dir/$ac_word$ac_exec_ext"
6889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6896 test -z "$ac_cv_path_DIRNAME" && ac_cv_path_DIRNAME
=":"
6900 DIRNAME
=$ac_cv_path_DIRNAME
6901 if test -n "$DIRNAME"; then
6902 { echo "$as_me:$LINENO: result: $DIRNAME" >&5
6903 echo "${ECHO_T}$DIRNAME" >&6; }
6905 { echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6; }
6910 # Extract the first word of "sh", so it can be a program name with args.
6911 set dummy sh
; ac_word
=$2
6912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6914 if test "${ac_cv_path_SHELL+set}" = set; then
6915 echo $ECHO_N "(cached) $ECHO_C" >&6
6919 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
6922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6926 test -z "$as_dir" && as_dir
=.
6927 for ac_exec_ext
in '' $ac_executable_extensions; do
6928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 ac_cv_path_SHELL
="$as_dir/$ac_word$ac_exec_ext"
6930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6937 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
=":"
6941 SHELL
=$ac_cv_path_SHELL
6942 if test -n "$SHELL"; then
6943 { echo "$as_me:$LINENO: result: $SHELL" >&5
6944 echo "${ECHO_T}$SHELL" >&6; }
6946 { echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6; }
6951 # Extract the first word of "ln", so it can be a program name with args.
6952 set dummy
ln; ac_word
=$2
6953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6955 if test "${ac_cv_path_LN+set}" = set; then
6956 echo $ECHO_N "(cached) $ECHO_C" >&6
6960 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
6963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6967 test -z "$as_dir" && as_dir
=.
6968 for ac_exec_ext
in '' $ac_executable_extensions; do
6969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6970 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
6971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 test -z "$ac_cv_path_LN" && ac_cv_path_LN
=":"
6983 if test -n "$LN"; then
6984 { echo "$as_me:$LINENO: result: $LN" >&5
6985 echo "${ECHO_T}$LN" >&6; }
6987 { echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6; }
6992 # Extract the first word of "dot", so it can be a program name with args.
6993 set dummy dot
; ac_word
=$2
6994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6996 if test "${ac_cv_path_DOT+set}" = set; then
6997 echo $ECHO_N "(cached) $ECHO_C" >&6
7001 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7008 test -z "$as_dir" && as_dir
=.
7009 for ac_exec_ext
in '' $ac_executable_extensions; do
7010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7011 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
=":"
7024 if test -n "$DOT"; then
7025 { echo "$as_me:$LINENO: result: $DOT" >&5
7026 echo "${ECHO_T}$DOT" >&6; }
7028 { echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6; }
7033 # Extract the first word of "wget", so it can be a program name with args.
7034 set dummy wget
; ac_word
=$2
7035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7037 if test "${ac_cv_path_WGET+set}" = set; then
7038 echo $ECHO_N "(cached) $ECHO_C" >&6
7042 ac_cv_path_WGET
="$WGET" # Let the user override the test with a path.
7045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7049 test -z "$as_dir" && as_dir
=.
7050 for ac_exec_ext
in '' $ac_executable_extensions; do
7051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7052 ac_cv_path_WGET
="$as_dir/$ac_word$ac_exec_ext"
7053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET
=":"
7064 WGET
=$ac_cv_path_WGET
7065 if test -n "$WGET"; then
7066 { echo "$as_me:$LINENO: result: $WGET" >&5
7067 echo "${ECHO_T}$WGET" >&6; }
7069 { echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6; }
7074 if test "${WGET}" != ":" ; then
7077 # Extract the first word of "fetch", so it can be a program name with args.
7078 set dummy fetch
; ac_word
=$2
7079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7081 if test "${ac_cv_path_FETCH+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7086 ac_cv_path_FETCH
="$FETCH" # Let the user override the test with a path.
7089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir
=.
7094 for ac_exec_ext
in '' $ac_executable_extensions; do
7095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7096 ac_cv_path_FETCH
="$as_dir/$ac_word$ac_exec_ext"
7097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7104 test -z "$ac_cv_path_FETCH" && ac_cv_path_FETCH
=":"
7108 FETCH
=$ac_cv_path_FETCH
7109 if test -n "$FETCH"; then
7110 { echo "$as_me:$LINENO: result: $FETCH" >&5
7111 echo "${ECHO_T}$FETCH" >&6; }
7113 { echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6; }
7126 ac_cpp
='$CPP $CPPFLAGS'
7127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7133 # We used to check for pthread.h first, but this fails if pthread.h
7134 # requires special compiler flags (e.g. on True64 or Sequent).
7135 # It gets checked for in the link test anyway.
7137 # First of all, check if the user has set any of the PTHREAD_LIBS,
7138 # etcetera environment variables, and if threads linking works using
7140 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
7141 save_CFLAGS
="$CFLAGS"
7142 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
7144 LIBS
="$PTHREAD_LIBS $LIBS"
7145 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
7146 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
7147 cat >conftest.
$ac_ext <<_ACEOF
7150 cat confdefs.h
>>conftest.
$ac_ext
7151 cat >>conftest.
$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7154 /* Override any GCC internal prototype to avoid an error.
7155 Use char because int might match the return type of a GCC
7156 builtin and then its argument prototype would still apply. */
7160 char pthread_join ();
7164 return pthread_join ();
7169 rm -f conftest.
$ac_objext conftest
$ac_exeext
7170 if { (ac_try
="$ac_link"
7172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7173 *) ac_try_echo=$ac_try;;
7175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7176 (eval "$ac_link") 2>conftest.er1
7178 grep -v '^ *+' conftest.er1 >conftest.err
7180 cat conftest.err >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); } && {
7183 test -z "$ac_c_werror_flag" ||
7184 test ! -s conftest.err
7185 } && test -s conftest$ac_exeext &&
7186 $as_test_x conftest$ac_exeext; then
7189 echo "$as_me: failed program was:" >&5
7190 sed 's/^/| /' conftest.$ac_ext >&5
7195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7196 conftest$ac_exeext conftest.$ac_ext
7197 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
7198 echo "${ECHO_T}$acx_pthread_ok" >&6; }
7199 if test x"$acx_pthread_ok" = xno; then
7204 CFLAGS="$save_CFLAGS"
7207 # We must check for the threads library under a number of different
7208 # names; the ordering is very important because some systems
7209 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
7210 # libraries is broken (non-POSIX).
7212 # Create a list of thread flags to try. Items starting with a "-" are
7213 # C compiler flags, and other items are library names, except for "none"
7214 # which indicates that we try without any flags at all, and "pthread-config"
7215 # which is a program returning the flags for the Pth emulation library.
7217 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
7219 # The ordering *is* (sometimes) important. Some notes on the
7220 # individual items follow:
7222 # pthreads: AIX (must check this before -lpthread)
7223 # none: in case threads are in libc; should be tried before -Kthread and
7224 # other compiler flags to prevent continual compiler warnings
7225 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
7226 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
7227 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
7228 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
7229 # -pthreads: Solaris/gcc
7230 # -mthreads: Mingw32/gcc, Lynx/gcc
7231 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
7232 # doesn't hurt to check since this sometimes defines pthreads too;
7233 # also defines -D_REENTRANT)
7234 # ... -mt is also the pthreads flag for HP/aCC
7235 # pthread: Linux, etcetera
7236 # --thread-safe: KAI C++
7237 # pthread-config: use pthread-config program (for GNU Pth library)
7239 case "${host_cpu}-${host_os}" in
7242 # On Solaris (at least, for some versions), libc contains stubbed
7243 # (non-functional) versions of the pthreads routines, so link-based
7244 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
7245 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
7246 # a function called by this macro, so we could check for that, but
7247 # who knows whether they'll stub that too in a future libc.) So,
7248 # we'll just look for -pthreads and -lpthread first:
7250 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
7254 if test x"$acx_pthread_ok" = xno; then
7255 for flag in $acx_pthread_flags; do
7259 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
7260 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
7264 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
7265 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
7266 PTHREAD_CFLAGS="$flag"
7270 # Extract the first word of "pthread-config", so it can be a program name with args.
7271 set dummy pthread-config; ac_word=$2
7272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7274 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
7275 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 if test -n "$acx_pthread_config"; then
7278 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287 ac_cv_prog_acx_pthread_config="yes"
7288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7295 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
7298 acx_pthread_config=$ac_cv_prog_acx_pthread_config
7299 if test -n "$acx_pthread_config"; then
7300 { echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
7301 echo "${ECHO_T}$acx_pthread_config" >&6; }
7303 { echo "$as_me:$LINENO: result: no" >&5
7304 echo "${ECHO_T}no" >&6; }
7308 if test x"$acx_pthread_config" = xno; then continue; fi
7309 PTHREAD_CFLAGS="`pthread-config
--cflags`"
7310 PTHREAD_LIBS="`pthread-config
--ldflags` `pthread-config
--libs`"
7314 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
7315 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
7316 PTHREAD_LIBS="-l$flag"
7321 save_CFLAGS="$CFLAGS"
7322 LIBS="$PTHREAD_LIBS $LIBS"
7323 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
7325 # Check for various functions. We must include pthread.h,
7326 # since some functions may be macros. (On the Sequent, we
7327 # need a special flag -Kthread to make this header compile.)
7328 # We check for pthread_join because it is in -lpthread on IRIX
7329 # while pthread_create is in libc. We check for pthread_attr_init
7330 # due to DEC craziness with -lpthreads. We check for
7331 # pthread_cleanup_push because it is one of the few pthread
7332 # functions on Solaris that doesn't have a non-functional libc stub.
7333 # We try pthread_create on general principles.
7334 cat >conftest.$ac_ext <<_ACEOF
7337 cat confdefs.h >>conftest.$ac_ext
7338 cat >>conftest.$ac_ext <<_ACEOF
7339 /* end confdefs.h. */
7340 #include <pthread.h>
7344 pthread_t th; pthread_join(th, 0);
7345 pthread_attr_init(0); pthread_cleanup_push(0, 0);
7346 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
7351 rm -f conftest.$ac_objext conftest$ac_exeext
7352 if { (ac_try="$ac_link"
7354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7355 *) ac_try_echo
=$ac_try;;
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_link") 2>conftest.er1
7360 grep -v '^ *+' conftest.er1
>conftest.err
7362 cat conftest.err
>&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && {
7365 test -z "$ac_c_werror_flag" ||
7366 test ! -s conftest.err
7367 } && test -s conftest
$ac_exeext &&
7368 $as_test_x conftest
$ac_exeext; then
7371 echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.
$ac_ext >&5
7377 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7378 conftest
$ac_exeext conftest.
$ac_ext
7381 CFLAGS
="$save_CFLAGS"
7383 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
7384 echo "${ECHO_T}$acx_pthread_ok" >&6; }
7385 if test "x$acx_pthread_ok" = xyes
; then
7394 # Various other checks:
7395 if test "x$acx_pthread_ok" = xyes
; then
7397 LIBS
="$PTHREAD_LIBS $LIBS"
7398 save_CFLAGS
="$CFLAGS"
7399 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
7401 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
7402 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
7403 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
7405 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
7406 cat >conftest.
$ac_ext <<_ACEOF
7409 cat confdefs.h
>>conftest.
$ac_ext
7410 cat >>conftest.
$ac_ext <<_ACEOF
7411 /* end confdefs.h. */
7412 #include <pthread.h>
7416 int attr=$attr; return attr;
7421 rm -f conftest.
$ac_objext conftest
$ac_exeext
7422 if { (ac_try
="$ac_link"
7424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7425 *) ac_try_echo=$ac_try;;
7427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7428 (eval "$ac_link") 2>conftest.er1
7430 grep -v '^ *+' conftest.er1 >conftest.err
7432 cat conftest.err >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); } && {
7435 test -z "$ac_c_werror_flag" ||
7436 test ! -s conftest.err
7437 } && test -s conftest$ac_exeext &&
7438 $as_test_x conftest$ac_exeext; then
7439 attr_name=$attr; break
7441 echo "$as_me: failed program was:" >&5
7442 sed 's/^/| /' conftest.$ac_ext >&5
7447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7448 conftest$ac_exeext conftest.$ac_ext
7450 { echo "$as_me:$LINENO: result: $attr_name" >&5
7451 echo "${ECHO_T}$attr_name" >&6; }
7452 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
7454 cat >>confdefs.h <<_ACEOF
7455 #define PTHREAD_CREATE_JOINABLE $attr_name
7460 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
7461 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
7463 case "${host_cpu}-${host_os}" in
7464 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
7465 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
7467 { echo "$as_me:$LINENO: result: ${flag}" >&5
7468 echo "${ECHO_T}${flag}" >&6; }
7469 if test "x$flag" != xno; then
7470 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
7474 CFLAGS="$save_CFLAGS"
7476 # More AIX lossage: must compile with xlc_r or cc_r
7477 if test x"$GCC" != xyes; then
7478 for ac_prog in xlc_r cc_r
7480 # Extract the first word of "$ac_prog", so it can be a program name with args.
7481 set dummy $ac_prog; ac_word=$2
7482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7484 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 if test -n "$PTHREAD_CC"; then
7488 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7494 test -z "$as_dir" && as_dir=.
7495 for ac_exec_ext in '' $ac_executable_extensions; do
7496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7497 ac_cv_prog_PTHREAD_CC="$ac_prog"
7498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7507 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
7508 if test -n "$PTHREAD_CC"; then
7509 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
7510 echo "${ECHO_T}$PTHREAD_CC" >&6; }
7512 { echo "$as_me:$LINENO: result: no" >&5
7513 echo "${ECHO_T}no" >&6; }
7517 test -n "$PTHREAD_CC" && break
7519 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
7532 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
7533 if test x"$acx_pthread_ok" = xyes; then
7535 cat >>confdefs.h <<\_ACEOF
7536 #define HAVE_PTHREAD 1
7545 ac_cpp='$CPP $CPPFLAGS'
7546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7553 ac_cpp='$CPP $CPPFLAGS'
7554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7559 # Check whether --enable-dev-mode was given.
7560 if test "${enable_dev_mode+set}" = set; then
7561 enableval=$enable_dev_mode; case "${enableval}" in
7562 y|ye|yes) AST_DEVMODE=yes ;;
7563 n|no) AST_DEVMODE=no ;;
7564 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dev-mode" >&5
7565 echo "$as_me: error: bad value ${enableval} for --enable-dev-mode" >&2;}
7566 { (exit 1); exit 1; }; } ;;
7572 # package option names should be in alphabetical order
7573 # by the --with option name, to make things easier for the users :-)
7576 ALSA_DESCRIP="Advanced Linux Sound Architecture"
7577 ALSA_OPTION="asound"
7579 # Check whether --with-asound was given.
7580 if test "${with_asound+set}" = set; then
7581 withval=$with_asound;
7587 ALSA_MANDATORY="yes"
7590 ALSA_DIR="${withval}"
7591 ALSA_MANDATORY="yes"
7607 # Check whether --with-curl was given.
7608 if test "${with_curl+set}" = set; then
7615 CURL_MANDATORY="yes"
7618 CURL_DIR="${withval}"
7619 CURL_MANDATORY="yes"
7632 CURSES_DESCRIP="curses"
7633 CURSES_OPTION="curses"
7635 # Check whether --with-curses was given.
7636 if test "${with_curses+set}" = set; then
7637 withval=$with_curses;
7643 CURSES_MANDATORY="yes"
7646 CURSES_DIR="${withval}"
7647 CURSES_MANDATORY="yes"
7660 GNUTLS_DESCRIP="GNU TLS support (used for iksemel only)"
7661 GNUTLS_OPTION="gnutls"
7663 # Check whether --with-gnutls was given.
7664 if test "${with_gnutls+set}" = set; then
7665 withval=$with_gnutls;
7671 GNUTLS_MANDATORY="yes"
7674 GNUTLS_DIR="${withval}"
7675 GNUTLS_MANDATORY="yes"
7691 # Check whether --with-gsm was given.
7692 if test "${with_gsm+set}" = set; then
7702 GSM_DIR="${withval}"
7716 IKSEMEL_DESCRIP="Iksemel Jabber Library"
7717 IKSEMEL_OPTION="iksemel"
7719 # Check whether --with-iksemel was given.
7720 if test "${with_iksemel+set}" = set; then
7721 withval=$with_iksemel;
7727 IKSEMEL_MANDATORY="yes"
7730 IKSEMEL_DIR="${withval}"
7731 IKSEMEL_MANDATORY="yes"
7744 IMAP_TK_DESCRIP="UW IMAP Toolkit"
7745 IMAP_TK_OPTION="imap"
7747 # Check whether --with-imap was given.
7748 if test "${with_imap+set}" = set; then
7755 IMAP_TK_MANDATORY="yes"
7758 IMAP_TK_DIR="${withval}"
7759 IMAP_TK_MANDATORY="yes"
7772 ISDNNET_DESCRIP="ISDN4Linux Library"
7773 ISDNNET_OPTION="isdnnet"
7775 # Check whether --with-isdnnet was given.
7776 if test "${with_isdnnet+set}" = set; then
7777 withval=$with_isdnnet;
7783 ISDNNET_MANDATORY="yes"
7786 ISDNNET_DIR="${withval}"
7787 ISDNNET_MANDATORY="yes"
7803 # Check whether --with-kde was given.
7804 if test "${with_kde+set}" = set; then
7814 KDE_DIR="${withval}"
7828 LTDL_DESCRIP="libtool"
7831 # Check whether --with-ltdl was given.
7832 if test "${with_ltdl+set}" = set; then
7839 LTDL_MANDATORY="yes"
7842 LTDL_DIR="${withval}"
7843 LTDL_MANDATORY="yes"
7856 MISDN_DESCRIP="mISDN User Library"
7857 MISDN_OPTION="misdn"
7859 # Check whether --with-misdn was given.
7860 if test "${with_misdn+set}" = set; then
7861 withval=$with_misdn;
7867 MISDN_MANDATORY="yes"
7870 MISDN_DIR="${withval}"
7871 MISDN_MANDATORY="yes"
7884 NBS_DESCRIP="Network Broadcast Sound"
7887 # Check whether --with-nbs was given.
7888 if test "${with_nbs+set}" = set; then
7898 NBS_DIR="${withval}"
7912 NCURSES_DESCRIP="ncurses"
7913 NCURSES_OPTION="ncurses"
7915 # Check whether --with-ncurses was given.
7916 if test "${with_ncurses+set}" = set; then
7917 withval=$with_ncurses;
7923 NCURSES_MANDATORY="yes"
7926 NCURSES_DIR="${withval}"
7927 NCURSES_MANDATORY="yes"
7940 NETSNMP_DESCRIP="Net-SNMP"
7941 NETSNMP_OPTION="netsnmp"
7943 # Check whether --with-netsnmp was given.
7944 if test "${with_netsnmp+set}" = set; then
7945 withval=$with_netsnmp;
7951 NETSNMP_MANDATORY="yes"
7954 NETSNMP_DIR="${withval}"
7955 NETSNMP_MANDATORY="yes"
7971 # Check whether --with-newt was given.
7972 if test "${with_newt+set}" = set; then
7979 NEWT_MANDATORY="yes"
7982 NEWT_DIR="${withval}"
7983 NEWT_MANDATORY="yes"
7996 UNIXODBC_DESCRIP="unixODBC"
7997 UNIXODBC_OPTION="odbc"
7999 # Check whether --with-odbc was given.
8000 if test "${with_odbc+set}" = set; then
8007 UNIXODBC_MANDATORY="yes"
8010 UNIXODBC_DIR="${withval}"
8011 UNIXODBC_MANDATORY="yes"
8027 # Check whether --with-ogg was given.
8028 if test "${with_ogg+set}" = set; then
8038 OGG_DIR="${withval}"
8052 OSPTK_DESCRIP="OSP Toolkit"
8053 OSPTK_OPTION="osptk"
8055 # Check whether --with-osptk was given.
8056 if test "${with_osptk+set}" = set; then
8057 withval=$with_osptk;
8063 OSPTK_MANDATORY="yes"
8066 OSPTK_DIR="${withval}"
8067 OSPTK_MANDATORY="yes"
8080 OSS_DESCRIP="Open Sound System"
8083 # Check whether --with-oss was given.
8084 if test "${with_oss+set}" = set; then
8094 OSS_DIR="${withval}"
8111 # Check whether --with-popt was given.
8112 if test "${with_popt+set}" = set; then
8119 POPT_MANDATORY="yes"
8122 POPT_DIR="${withval}"
8123 POPT_MANDATORY="yes"
8136 PGSQL_DESCRIP="PostgreSQL"
8137 PGSQL_OPTION="postgres"
8139 # Check whether --with-postgres was given.
8140 if test "${with_postgres+set}" = set; then
8141 withval=$with_postgres;
8147 PGSQL_MANDATORY="yes"
8150 PGSQL_DIR="${withval}"
8151 PGSQL_MANDATORY="yes"
8164 PRI_DESCRIP="ISDN PRI"
8167 # Check whether --with-pri was given.
8168 if test "${with_pri+set}" = set; then
8178 PRI_DIR="${withval}"
8192 PWLIB_DESCRIP="PWlib"
8193 PWLIB_OPTION="pwlib"
8195 # Check whether --with-pwlib was given.
8196 if test "${with_pwlib+set}" = set; then
8197 withval=$with_pwlib;
8203 PWLIB_MANDATORY="yes"
8206 PWLIB_DIR="${withval}"
8207 PWLIB_MANDATORY="yes"
8220 OPENH323_DESCRIP="OpenH323"
8221 OPENH323_OPTION="h323"
8223 # Check whether --with-h323 was given.
8224 if test "${with_h323+set}" = set; then
8231 OPENH323_MANDATORY="yes"
8234 OPENH323_DIR="${withval}"
8235 OPENH323_MANDATORY="yes"
8251 # Check whether --with-qt was given.
8252 if test "${with_qt+set}" = set; then
8276 RADIUS_DESCRIP="Radius Client"
8277 RADIUS_OPTION="radius"
8279 # Check whether --with-radius was given.
8280 if test "${with_radius+set}" = set; then
8281 withval=$with_radius;
8287 RADIUS_MANDATORY="yes"
8290 RADIUS_DIR="${withval}"
8291 RADIUS_MANDATORY="yes"
8304 SPEEX_DESCRIP="Speex"
8305 SPEEX_OPTION="speex"
8307 # Check whether --with-speex was given.
8308 if test "${with_speex+set}" = set; then
8309 withval=$with_speex;
8315 SPEEX_MANDATORY="yes"
8318 SPEEX_DIR="${withval}"
8319 SPEEX_MANDATORY="yes"
8332 SQLITE_DESCRIP="SQLite"
8333 SQLITE_OPTION="sqlite"
8335 # Check whether --with-sqlite was given.
8336 if test "${with_sqlite+set}" = set; then
8337 withval=$with_sqlite;
8343 SQLITE_MANDATORY="yes"
8346 SQLITE_DIR="${withval}"
8347 SQLITE_MANDATORY="yes"
8360 SUPPSERV_DESCRIP="mISDN Supplemental Services"
8361 SUPPSERV_OPTION="suppserv"
8363 # Check whether --with-suppserv was given.
8364 if test "${with_suppserv+set}" = set; then
8365 withval=$with_suppserv;
8371 SUPPSERV_MANDATORY="yes"
8374 SUPPSERV_DIR="${withval}"
8375 SUPPSERV_MANDATORY="yes"
8388 OPENSSL_DESCRIP="OpenSSL"
8389 OPENSSL_OPTION="ssl"
8391 # Check whether --with-ssl was given.
8392 if test "${with_ssl+set}" = set; then
8399 OPENSSL_MANDATORY="yes"
8402 OPENSSL_DIR="${withval}"
8403 OPENSSL_MANDATORY="yes"
8416 FREETDS_DESCRIP="FreeTDS"
8417 FREETDS_OPTION="tds"
8419 # Check whether --with-tds was given.
8420 if test "${with_tds+set}" = set; then
8427 FREETDS_MANDATORY="yes"
8430 FREETDS_DIR="${withval}"
8431 FREETDS_MANDATORY="yes"
8444 TERMCAP_DESCRIP="Termcap"
8445 TERMCAP_OPTION="termcap"
8447 # Check whether --with-termcap was given.
8448 if test "${with_termcap+set}" = set; then
8449 withval=$with_termcap;
8455 TERMCAP_MANDATORY="yes"
8458 TERMCAP_DIR="${withval}"
8459 TERMCAP_MANDATORY="yes"
8472 TINFO_DESCRIP="Term Info"
8473 TINFO_OPTION="tinfo"
8475 # Check whether --with-tinfo was given.
8476 if test "${with_tinfo+set}" = set; then
8477 withval=$with_tinfo;
8483 TINFO_MANDATORY="yes"
8486 TINFO_DIR="${withval}"
8487 TINFO_MANDATORY="yes"
8500 TONEZONE_DESCRIP="tonezone"
8501 TONEZONE_OPTION="tonezone"
8503 # Check whether --with-tonezone was given.
8504 if test "${with_tonezone+set}" = set; then
8505 withval=$with_tonezone;
8511 TONEZONE_MANDATORY="yes"
8514 TONEZONE_DIR="${withval}"
8515 TONEZONE_MANDATORY="yes"
8528 VORBIS_DESCRIP="Vorbis"
8529 VORBIS_OPTION="vorbis"
8531 # Check whether --with-vorbis was given.
8532 if test "${with_vorbis+set}" = set; then
8533 withval=$with_vorbis;
8539 VORBIS_MANDATORY="yes"
8542 VORBIS_DIR="${withval}"
8543 VORBIS_MANDATORY="yes"
8556 VPB_DESCRIP="Voicetronix API"
8559 # Check whether --with-vpb was given.
8560 if test "${with_vpb+set}" = set; then
8570 VPB_DIR="${withval}"
8587 # Check whether --with-z was given.
8588 if test "${with_z+set}" = set; then
8595 ZLIB_MANDATORY="yes"
8598 ZLIB_DIR="${withval}"
8599 ZLIB_MANDATORY="yes"
8612 ZAPTEL_DESCRIP="Zaptel"
8613 ZAPTEL_OPTION="zaptel"
8615 # Check whether --with-zaptel was given.
8616 if test "${with_zaptel+set}" = set; then
8617 withval=$with_zaptel;
8623 ZAPTEL_MANDATORY="yes"
8626 ZAPTEL_DIR="${withval}"
8627 ZAPTEL_MANDATORY="yes"
8640 # check for basic system features and functionality before
8641 # checking for package libraries
8643 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8644 # for constant arguments. Useless!
8645 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
8646 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
8647 if test "${ac_cv_working_alloca_h+set}" = set; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 cat >conftest.$ac_ext <<_ACEOF
8653 cat confdefs.h >>conftest.$ac_ext
8654 cat >>conftest.$ac_ext <<_ACEOF
8655 /* end confdefs.h. */
8660 char *p = (char *) alloca (2 * sizeof (int));
8666 rm -f conftest.$ac_objext conftest$ac_exeext
8667 if { (ac_try="$ac_link"
8669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8670 *) ac_try_echo
=$ac_try;;
8672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8673 (eval "$ac_link") 2>conftest.er1
8675 grep -v '^ *+' conftest.er1
>conftest.err
8677 cat conftest.err
>&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } && {
8680 test -z "$ac_c_werror_flag" ||
8681 test ! -s conftest.err
8682 } && test -s conftest
$ac_exeext &&
8683 $as_test_x conftest
$ac_exeext; then
8684 ac_cv_working_alloca_h
=yes
8686 echo "$as_me: failed program was:" >&5
8687 sed 's/^/| /' conftest.
$ac_ext >&5
8689 ac_cv_working_alloca_h
=no
8692 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8693 conftest
$ac_exeext conftest.
$ac_ext
8695 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8696 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
8697 if test $ac_cv_working_alloca_h = yes; then
8699 cat >>confdefs.h
<<\_ACEOF
8700 #define HAVE_ALLOCA_H 1
8705 { echo "$as_me:$LINENO: checking for alloca" >&5
8706 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
8707 if test "${ac_cv_func_alloca_works+set}" = set; then
8708 echo $ECHO_N "(cached) $ECHO_C" >&6
8710 cat >conftest.
$ac_ext <<_ACEOF
8713 cat confdefs.h
>>conftest.
$ac_ext
8714 cat >>conftest.
$ac_ext <<_ACEOF
8715 /* end confdefs.h. */
8717 # define alloca __builtin_alloca
8720 # include <malloc.h>
8721 # define alloca _alloca
8723 # ifdef HAVE_ALLOCA_H
8724 # include <alloca.h>
8729 # ifndef alloca /* predefined by HP cc +Olibcalls */
8740 char *p = (char *) alloca (1);
8746 rm -f conftest.
$ac_objext conftest
$ac_exeext
8747 if { (ac_try
="$ac_link"
8749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8750 *) ac_try_echo=$ac_try;;
8752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8753 (eval "$ac_link") 2>conftest.er1
8755 grep -v '^ *+' conftest.er1 >conftest.err
8757 cat conftest.err >&5
8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 (exit $ac_status); } && {
8760 test -z "$ac_c_werror_flag" ||
8761 test ! -s conftest.err
8762 } && test -s conftest$ac_exeext &&
8763 $as_test_x conftest$ac_exeext; then
8764 ac_cv_func_alloca_works=yes
8766 echo "$as_me: failed program was:" >&5
8767 sed 's/^/| /' conftest.$ac_ext >&5
8769 ac_cv_func_alloca_works=no
8772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8773 conftest$ac_exeext conftest.$ac_ext
8775 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8776 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
8778 if test $ac_cv_func_alloca_works = yes; then
8780 cat >>confdefs.h <<\_ACEOF
8781 #define HAVE_ALLOCA 1
8785 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8786 # that cause trouble. Some versions do not even contain alloca or
8787 # contain a buggy version. If you still want to use their alloca,
8788 # use ar to extract alloca.o from them instead of compiling alloca.c.
8790 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
8792 cat >>confdefs.h <<\_ACEOF
8797 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
8798 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
8799 if test "${ac_cv_os_cray+set}" = set; then
8800 echo $ECHO_N "(cached
) $ECHO_C" >&6
8802 cat >conftest.$ac_ext <<_ACEOF
8805 cat confdefs.h >>conftest.$ac_ext
8806 cat >>conftest.$ac_ext <<_ACEOF
8807 /* end confdefs.h. */
8808 #if defined CRAY && ! defined CRAY2
8815 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8816 $EGREP "webecray
" >/dev/null 2>&1; then
8824 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
8825 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
8826 if test $ac_cv_os_cray = yes; then
8827 for ac_func in _getb67 GETB67 getb67; do
8828 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8829 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
8830 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
8831 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8832 echo $ECHO_N "(cached
) $ECHO_C" >&6
8834 cat >conftest.$ac_ext <<_ACEOF
8837 cat confdefs.h >>conftest.$ac_ext
8838 cat >>conftest.$ac_ext <<_ACEOF
8839 /* end confdefs.h. */
8840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8842 #define $ac_func innocuous_$ac_func
8844 /* System header to define __stub macros and hopefully few prototypes,
8845 which can conflict with char $ac_func (); below.
8846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8847 <limits.h> exists even on freestanding compilers. */
8850 # include <limits.h>
8852 # include <assert.h>
8857 /* Override any GCC internal prototype to avoid an error.
8858 Use char because int might match the return type of a GCC
8859 builtin and then its argument prototype would still apply. */
8864 /* The GNU C library defines this for functions which it implements
8865 to always fail with ENOSYS. Some functions are actually named
8866 something starting with __ and the normal name is an alias. */
8867 #if defined __stub_$ac_func || defined __stub___$ac_func
8879 rm -f conftest.$ac_objext conftest$ac_exeext
8880 if { (ac_try="$ac_link"
8882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8883 *) ac_try_echo=$ac_try;;
8885 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8886 (eval "$ac_link") 2>conftest.er1
8888 grep -v '^ *+' conftest.er1 >conftest.err
8890 cat conftest.err >&5
8891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8892 (exit $ac_status); } && {
8893 test -z "$ac_c_werror_flag" ||
8894 test ! -s conftest.err
8895 } && test -s conftest$ac_exeext &&
8896 $as_test_x conftest$ac_exeext; then
8897 eval "$as_ac_var=yes"
8899 echo "$as_me: failed program was
:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8902 eval "$as_ac_var=no
"
8905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8906 conftest$ac_exeext conftest.$ac_ext
8908 ac_res=`eval echo '${'$as_ac_var'}'`
8909 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8910 echo "${ECHO_T}$ac_res" >&6; }
8911 if test `eval echo '${'$as_ac_var'}'` = yes; then
8913 cat >>confdefs.h <<_ACEOF
8914 #define CRAY_STACKSEG_END $ac_func
8923 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
8924 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
8925 if test "${ac_cv_c_stack_direction+set}" = set; then
8926 echo $ECHO_N "(cached
) $ECHO_C" >&6
8928 if test "$cross_compiling" = yes; then
8929 ac_cv_c_stack_direction=0
8931 cat >conftest.$ac_ext <<_ACEOF
8934 cat confdefs.h >>conftest.$ac_ext
8935 cat >>conftest.$ac_ext <<_ACEOF
8936 /* end confdefs.h. */
8937 $ac_includes_default
8939 find_stack_direction ()
8941 static char *addr = 0;
8946 return find_stack_direction ();
8949 return (&dummy > addr) ? 1 : -1;
8955 return find_stack_direction () < 0;
8958 rm -f conftest$ac_exeext
8959 if { (ac_try="$ac_link"
8961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8962 *) ac_try_echo=$ac_try;;
8964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8965 (eval "$ac_link") 2>&5
8967 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8969 { (case "(($ac_try" in
8970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8971 *) ac_try_echo=$ac_try;;
8973 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8974 (eval "$ac_try") 2>&5
8976 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8977 (exit $ac_status); }; }; then
8978 ac_cv_c_stack_direction=1
8980 echo "$as_me: program exited with status
$ac_status" >&5
8981 echo "$as_me: failed program was
:" >&5
8982 sed 's/^/| /' conftest.$ac_ext >&5
8985 ac_cv_c_stack_direction=-1
8987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8992 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
8993 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
8995 cat >>confdefs.h <<_ACEOF
8996 #define STACK_DIRECTION $ac_cv_c_stack_direction
9008 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
9009 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
9010 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
9011 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
9012 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9013 echo $ECHO_N "(cached
) $ECHO_C" >&6
9015 cat >conftest.$ac_ext <<_ACEOF
9018 cat confdefs.h >>conftest.$ac_ext
9019 cat >>conftest.$ac_ext <<_ACEOF
9020 /* end confdefs.h. */
9021 #include <sys/types.h>
9033 rm -f conftest.$ac_objext
9034 if { (ac_try="$ac_compile"
9036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9037 *) ac_try_echo=$ac_try;;
9039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9040 (eval "$ac_compile") 2>conftest.er1
9042 grep -v '^ *+' conftest.er1 >conftest.err
9044 cat conftest.err >&5
9045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9046 (exit $ac_status); } && {
9047 test -z "$ac_c_werror_flag" ||
9048 test ! -s conftest.err
9049 } && test -s conftest.$ac_objext; then
9050 eval "$as_ac_Header=yes"
9052 echo "$as_me: failed program was
:" >&5
9053 sed 's/^/| /' conftest.$ac_ext >&5
9055 eval "$as_ac_Header=no
"
9058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9060 ac_res=`eval echo '${'$as_ac_Header'}'`
9061 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9062 echo "${ECHO_T}$ac_res" >&6; }
9063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9064 cat >>confdefs.h <<_ACEOF
9065 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
9068 ac_header_dirent=$ac_hdr; break
9072 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9073 if test $ac_header_dirent = dirent.h; then
9074 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
9075 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
9076 if test "${ac_cv_search_opendir+set}" = set; then
9077 echo $ECHO_N "(cached
) $ECHO_C" >&6
9079 ac_func_search_save_LIBS=$LIBS
9080 cat >conftest.$ac_ext <<_ACEOF
9083 cat confdefs.h >>conftest.$ac_ext
9084 cat >>conftest.$ac_ext <<_ACEOF
9085 /* end confdefs.h. */
9087 /* Override any GCC internal prototype to avoid an error.
9088 Use char because int might match the return type of a GCC
9089 builtin and then its argument prototype would still apply. */
9102 for ac_lib in '' dir; do
9103 if test -z "$ac_lib"; then
9104 ac_res="none required
"
9107 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9109 rm -f conftest.$ac_objext conftest$ac_exeext
9110 if { (ac_try="$ac_link"
9112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9113 *) ac_try_echo=$ac_try;;
9115 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9116 (eval "$ac_link") 2>conftest.er1
9118 grep -v '^ *+' conftest.er1 >conftest.err
9120 cat conftest.err >&5
9121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9122 (exit $ac_status); } && {
9123 test -z "$ac_c_werror_flag" ||
9124 test ! -s conftest.err
9125 } && test -s conftest$ac_exeext &&
9126 $as_test_x conftest$ac_exeext; then
9127 ac_cv_search_opendir=$ac_res
9129 echo "$as_me: failed program was
:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9137 if test "${ac_cv_search_opendir+set}" = set; then
9141 if test "${ac_cv_search_opendir+set}" = set; then
9144 ac_cv_search_opendir=no
9147 LIBS=$ac_func_search_save_LIBS
9149 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9150 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9151 ac_res=$ac_cv_search_opendir
9152 if test "$ac_res" != no; then
9153 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9158 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
9159 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
9160 if test "${ac_cv_search_opendir+set}" = set; then
9161 echo $ECHO_N "(cached
) $ECHO_C" >&6
9163 ac_func_search_save_LIBS=$LIBS
9164 cat >conftest.$ac_ext <<_ACEOF
9167 cat confdefs.h >>conftest.$ac_ext
9168 cat >>conftest.$ac_ext <<_ACEOF
9169 /* end confdefs.h. */
9171 /* Override any GCC internal prototype to avoid an error.
9172 Use char because int might match the return type of a GCC
9173 builtin and then its argument prototype would still apply. */
9186 for ac_lib in '' x; do
9187 if test -z "$ac_lib"; then
9188 ac_res="none required
"
9191 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9193 rm -f conftest.$ac_objext conftest$ac_exeext
9194 if { (ac_try="$ac_link"
9196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9197 *) ac_try_echo=$ac_try;;
9199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9200 (eval "$ac_link") 2>conftest.er1
9202 grep -v '^ *+' conftest.er1 >conftest.err
9204 cat conftest.err >&5
9205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9206 (exit $ac_status); } && {
9207 test -z "$ac_c_werror_flag" ||
9208 test ! -s conftest.err
9209 } && test -s conftest$ac_exeext &&
9210 $as_test_x conftest$ac_exeext; then
9211 ac_cv_search_opendir=$ac_res
9213 echo "$as_me: failed program was
:" >&5
9214 sed 's/^/| /' conftest.$ac_ext >&5
9219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9221 if test "${ac_cv_search_opendir+set}" = set; then
9225 if test "${ac_cv_search_opendir+set}" = set; then
9228 ac_cv_search_opendir=no
9231 LIBS=$ac_func_search_save_LIBS
9233 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9234 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9235 ac_res=$ac_cv_search_opendir
9236 if test "$ac_res" != no; then
9237 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9243 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
9244 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
9245 if test "${ac_cv_header_stdc+set}" = set; then
9246 echo $ECHO_N "(cached
) $ECHO_C" >&6
9248 cat >conftest.$ac_ext <<_ACEOF
9251 cat confdefs.h >>conftest.$ac_ext
9252 cat >>conftest.$ac_ext <<_ACEOF
9253 /* end confdefs.h. */
9267 rm -f conftest.$ac_objext
9268 if { (ac_try="$ac_compile"
9270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9271 *) ac_try_echo=$ac_try;;
9273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9274 (eval "$ac_compile") 2>conftest.er1
9276 grep -v '^ *+' conftest.er1 >conftest.err
9278 cat conftest.err >&5
9279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9280 (exit $ac_status); } && {
9281 test -z "$ac_c_werror_flag" ||
9282 test ! -s conftest.err
9283 } && test -s conftest.$ac_objext; then
9284 ac_cv_header_stdc=yes
9286 echo "$as_me: failed program was
:" >&5
9287 sed 's/^/| /' conftest.$ac_ext >&5
9289 ac_cv_header_stdc=no
9292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9294 if test $ac_cv_header_stdc = yes; then
9295 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9296 cat >conftest.$ac_ext <<_ACEOF
9299 cat confdefs.h >>conftest.$ac_ext
9300 cat >>conftest.$ac_ext <<_ACEOF
9301 /* end confdefs.h. */
9305 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9306 $EGREP "memchr
" >/dev/null 2>&1; then
9309 ac_cv_header_stdc=no
9315 if test $ac_cv_header_stdc = yes; then
9316 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9317 cat >conftest.$ac_ext <<_ACEOF
9320 cat confdefs.h >>conftest.$ac_ext
9321 cat >>conftest.$ac_ext <<_ACEOF
9322 /* end confdefs.h. */
9326 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9327 $EGREP "free
" >/dev/null 2>&1; then
9330 ac_cv_header_stdc=no
9336 if test $ac_cv_header_stdc = yes; then
9337 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9338 if test "$cross_compiling" = yes; then
9341 cat >conftest.$ac_ext <<_ACEOF
9344 cat confdefs.h >>conftest.$ac_ext
9345 cat >>conftest.$ac_ext <<_ACEOF
9346 /* end confdefs.h. */
9349 #if ((' ' & 0x0FF) == 0x020)
9350 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9351 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9353 # define ISLOWER(c) \
9354 (('a' <= (c) && (c) <= 'i') \
9355 || ('j' <= (c) && (c) <= 'r') \
9356 || ('s' <= (c) && (c) <= 'z'))
9357 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9360 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9365 for (i = 0; i < 256; i++)
9366 if (XOR (islower (i), ISLOWER (i))
9367 || toupper (i) != TOUPPER (i))
9372 rm -f conftest$ac_exeext
9373 if { (ac_try="$ac_link"
9375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9376 *) ac_try_echo=$ac_try;;
9378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9379 (eval "$ac_link") 2>&5
9381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9383 { (case "(($ac_try" in
9384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9385 *) ac_try_echo=$ac_try;;
9387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9388 (eval "$ac_try") 2>&5
9390 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9391 (exit $ac_status); }; }; then
9394 echo "$as_me: program exited with status
$ac_status" >&5
9395 echo "$as_me: failed program was
:" >&5
9396 sed 's/^/| /' conftest.$ac_ext >&5
9399 ac_cv_header_stdc=no
9401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9407 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
9408 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
9409 if test $ac_cv_header_stdc = yes; then
9411 cat >>confdefs.h <<\_ACEOF
9412 #define STDC_HEADERS 1
9417 { echo "$as_me:$LINENO: checking
for sys
/wait.h that is POSIX
.1 compatible
" >&5
9418 echo $ECHO_N "checking
for sys
/wait.h that is POSIX
.1 compatible...
$ECHO_C" >&6; }
9419 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9420 echo $ECHO_N "(cached
) $ECHO_C" >&6
9422 cat >conftest.$ac_ext <<_ACEOF
9425 cat confdefs.h >>conftest.$ac_ext
9426 cat >>conftest.$ac_ext <<_ACEOF
9427 /* end confdefs.h. */
9428 #include <sys/types.h>
9429 #include <sys/wait.h>
9431 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9434 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9442 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9447 rm -f conftest.$ac_objext
9448 if { (ac_try="$ac_compile"
9450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9451 *) ac_try_echo=$ac_try;;
9453 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9454 (eval "$ac_compile") 2>conftest.er1
9456 grep -v '^ *+' conftest.er1 >conftest.err
9458 cat conftest.err >&5
9459 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9460 (exit $ac_status); } && {
9461 test -z "$ac_c_werror_flag" ||
9462 test ! -s conftest.err
9463 } && test -s conftest.$ac_objext; then
9464 ac_cv_header_sys_wait_h=yes
9466 echo "$as_me: failed program was
:" >&5
9467 sed 's/^/| /' conftest.$ac_ext >&5
9469 ac_cv_header_sys_wait_h=no
9472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9474 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_wait_h" >&5
9475 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
9476 if test $ac_cv_header_sys_wait_h = yes; then
9478 cat >>confdefs.h <<\_ACEOF
9479 #define HAVE_SYS_WAIT_H 1
9507 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
9509 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9510 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9511 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9512 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9513 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9514 echo $ECHO_N "(cached
) $ECHO_C" >&6
9516 ac_res=`eval echo '${'$as_ac_Header'}'`
9517 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9518 echo "${ECHO_T}$ac_res" >&6; }
9520 # Is the header compilable?
9521 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9522 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
9523 cat >conftest.$ac_ext <<_ACEOF
9526 cat confdefs.h >>conftest.$ac_ext
9527 cat >>conftest.$ac_ext <<_ACEOF
9528 /* end confdefs.h. */
9529 $ac_includes_default
9530 #include <$ac_header>
9532 rm -f conftest.$ac_objext
9533 if { (ac_try="$ac_compile"
9535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9536 *) ac_try_echo=$ac_try;;
9538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9539 (eval "$ac_compile") 2>conftest.er1
9541 grep -v '^ *+' conftest.er1 >conftest.err
9543 cat conftest.err >&5
9544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9545 (exit $ac_status); } && {
9546 test -z "$ac_c_werror_flag" ||
9547 test ! -s conftest.err
9548 } && test -s conftest.$ac_objext; then
9549 ac_header_compiler=yes
9551 echo "$as_me: failed program was
:" >&5
9552 sed 's/^/| /' conftest.$ac_ext >&5
9554 ac_header_compiler=no
9557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9558 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9559 echo "${ECHO_T}$ac_header_compiler" >&6; }
9561 # Is the header present?
9562 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9563 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
9564 cat >conftest.$ac_ext <<_ACEOF
9567 cat confdefs.h >>conftest.$ac_ext
9568 cat >>conftest.$ac_ext <<_ACEOF
9569 /* end confdefs.h. */
9570 #include <$ac_header>
9572 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9575 *) ac_try_echo=$ac_try;;
9577 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9578 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9580 grep -v '^ *+' conftest.er1 >conftest.err
9582 cat conftest.err >&5
9583 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9584 (exit $ac_status); } >/dev/null && {
9585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9586 test ! -s conftest.err
9588 ac_header_preproc=yes
9590 echo "$as_me: failed program was
:" >&5
9591 sed 's/^/| /' conftest.$ac_ext >&5
9593 ac_header_preproc=no
9596 rm -f conftest.err conftest.$ac_ext
9597 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9598 echo "${ECHO_T}$ac_header_preproc" >&6; }
9600 # So? What about this header?
9601 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9603 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9604 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9605 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9606 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9607 ac_header_preproc=yes
9610 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9611 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9612 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9613 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9614 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9615 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9616 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9617 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9618 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9619 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9620 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9621 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9625 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9626 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9627 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9628 echo $ECHO_N "(cached
) $ECHO_C" >&6
9630 eval "$as_ac_Header=\
$ac_header_preproc"
9632 ac_res=`eval echo '${'$as_ac_Header'}'`
9633 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9634 echo "${ECHO_T}$ac_res" >&6; }
9637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9638 cat >>confdefs.h <<_ACEOF
9639 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9647 # Check whether --enable-largefile was given.
9648 if test "${enable_largefile+set}" = set; then
9649 enableval=$enable_largefile;
9652 if test "$enable_largefile" != no; then
9654 { echo "$as_me:$LINENO: checking
for special C compiler options needed
for large files
" >&5
9655 echo $ECHO_N "checking
for special C compiler options needed
for large files...
$ECHO_C" >&6; }
9656 if test "${ac_cv_sys_largefile_CC+set}" = set; then
9657 echo $ECHO_N "(cached
) $ECHO_C" >&6
9659 ac_cv_sys_largefile_CC=no
9660 if test "$GCC" != yes; then
9663 # IRIX 6.2 and later do not support large files by default,
9664 # so use the C compiler's -n32 option if that helps.
9665 cat >conftest.$ac_ext <<_ACEOF
9668 cat confdefs.h >>conftest.$ac_ext
9669 cat >>conftest.$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9671 #include <sys/types.h>
9672 /* Check that off_t can represent 2**63 - 1 correctly.
9673 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9674 since some C++ compilers masquerading as C compilers
9675 incorrectly reject 9223372036854775807. */
9676 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9677 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9678 && LARGE_OFF_T % 2147483647 == 1)
9688 rm -f conftest.$ac_objext
9689 if { (ac_try="$ac_compile"
9691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9692 *) ac_try_echo=$ac_try;;
9694 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9695 (eval "$ac_compile") 2>conftest.er1
9697 grep -v '^ *+' conftest.er1 >conftest.err
9699 cat conftest.err >&5
9700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9701 (exit $ac_status); } && {
9702 test -z "$ac_c_werror_flag" ||
9703 test ! -s conftest.err
9704 } && test -s conftest.$ac_objext; then
9707 echo "$as_me: failed program was
:" >&5
9708 sed 's/^/| /' conftest.$ac_ext >&5
9713 rm -f core conftest.err conftest.$ac_objext
9715 rm -f conftest.$ac_objext
9716 if { (ac_try="$ac_compile"
9718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9719 *) ac_try_echo=$ac_try;;
9721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9722 (eval "$ac_compile") 2>conftest.er1
9724 grep -v '^ *+' conftest.er1 >conftest.err
9726 cat conftest.err >&5
9727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9728 (exit $ac_status); } && {
9729 test -z "$ac_c_werror_flag" ||
9730 test ! -s conftest.err
9731 } && test -s conftest.$ac_objext; then
9732 ac_cv_sys_largefile_CC=' -n32'; break
9734 echo "$as_me: failed program was
:" >&5
9735 sed 's/^/| /' conftest.$ac_ext >&5
9740 rm -f core conftest.err conftest.$ac_objext
9744 rm -f conftest.$ac_ext
9747 { echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_CC" >&5
9748 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
9749 if test "$ac_cv_sys_largefile_CC" != no; then
9750 CC=$CC$ac_cv_sys_largefile_CC
9753 { echo "$as_me:$LINENO: checking
for _FILE_OFFSET_BITS value needed
for large files
" >&5
9754 echo $ECHO_N "checking
for _FILE_OFFSET_BITS value needed
for large files...
$ECHO_C" >&6; }
9755 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9756 echo $ECHO_N "(cached
) $ECHO_C" >&6
9759 cat >conftest.$ac_ext <<_ACEOF
9762 cat confdefs.h >>conftest.$ac_ext
9763 cat >>conftest.$ac_ext <<_ACEOF
9764 /* end confdefs.h. */
9765 #include <sys/types.h>
9766 /* Check that off_t can represent 2**63 - 1 correctly.
9767 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9768 since some C++ compilers masquerading as C compilers
9769 incorrectly reject 9223372036854775807. */
9770 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9771 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9772 && LARGE_OFF_T % 2147483647 == 1)
9782 rm -f conftest.$ac_objext
9783 if { (ac_try="$ac_compile"
9785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9786 *) ac_try_echo=$ac_try;;
9788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9789 (eval "$ac_compile") 2>conftest.er1
9791 grep -v '^ *+' conftest.er1 >conftest.err
9793 cat conftest.err >&5
9794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9795 (exit $ac_status); } && {
9796 test -z "$ac_c_werror_flag" ||
9797 test ! -s conftest.err
9798 } && test -s conftest.$ac_objext; then
9799 ac_cv_sys_file_offset_bits=no; break
9801 echo "$as_me: failed program was
:" >&5
9802 sed 's/^/| /' conftest.$ac_ext >&5
9807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9808 cat >conftest.$ac_ext <<_ACEOF
9811 cat confdefs.h >>conftest.$ac_ext
9812 cat >>conftest.$ac_ext <<_ACEOF
9813 /* end confdefs.h. */
9814 #define _FILE_OFFSET_BITS 64
9815 #include <sys/types.h>
9816 /* Check that off_t can represent 2**63 - 1 correctly.
9817 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9818 since some C++ compilers masquerading as C compilers
9819 incorrectly reject 9223372036854775807. */
9820 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9821 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9822 && LARGE_OFF_T % 2147483647 == 1)
9832 rm -f conftest.$ac_objext
9833 if { (ac_try="$ac_compile"
9835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9836 *) ac_try_echo=$ac_try;;
9838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9839 (eval "$ac_compile") 2>conftest.er1
9841 grep -v '^ *+' conftest.er1 >conftest.err
9843 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9845 (exit $ac_status); } && {
9846 test -z "$ac_c_werror_flag" ||
9847 test ! -s conftest.err
9848 } && test -s conftest.$ac_objext; then
9849 ac_cv_sys_file_offset_bits=64; break
9851 echo "$as_me: failed program was
:" >&5
9852 sed 's/^/| /' conftest.$ac_ext >&5
9857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9858 ac_cv_sys_file_offset_bits=unknown
9862 { echo "$as_me:$LINENO: result
: $ac_cv_sys_file_offset_bits" >&5
9863 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
9864 case $ac_cv_sys_file_offset_bits in #(
9867 cat >>confdefs.h <<_ACEOF
9868 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
9873 if test $ac_cv_sys_file_offset_bits = unknown; then
9874 { echo "$as_me:$LINENO: checking
for _LARGE_FILES value needed
for large files
" >&5
9875 echo $ECHO_N "checking
for _LARGE_FILES value needed
for large files...
$ECHO_C" >&6; }
9876 if test "${ac_cv_sys_large_files+set}" = set; then
9877 echo $ECHO_N "(cached
) $ECHO_C" >&6
9880 cat >conftest.$ac_ext <<_ACEOF
9883 cat confdefs.h >>conftest.$ac_ext
9884 cat >>conftest.$ac_ext <<_ACEOF
9885 /* end confdefs.h. */
9886 #include <sys/types.h>
9887 /* Check that off_t can represent 2**63 - 1 correctly.
9888 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9889 since some C++ compilers masquerading as C compilers
9890 incorrectly reject 9223372036854775807. */
9891 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9892 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9893 && LARGE_OFF_T % 2147483647 == 1)
9903 rm -f conftest.$ac_objext
9904 if { (ac_try="$ac_compile"
9906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9907 *) ac_try_echo=$ac_try;;
9909 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9910 (eval "$ac_compile") 2>conftest.er1
9912 grep -v '^ *+' conftest.er1 >conftest.err
9914 cat conftest.err >&5
9915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9916 (exit $ac_status); } && {
9917 test -z "$ac_c_werror_flag" ||
9918 test ! -s conftest.err
9919 } && test -s conftest.$ac_objext; then
9920 ac_cv_sys_large_files=no; break
9922 echo "$as_me: failed program was
:" >&5
9923 sed 's/^/| /' conftest.$ac_ext >&5
9928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9929 cat >conftest.$ac_ext <<_ACEOF
9932 cat confdefs.h >>conftest.$ac_ext
9933 cat >>conftest.$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9935 #define _LARGE_FILES 1
9936 #include <sys/types.h>
9937 /* Check that off_t can represent 2**63 - 1 correctly.
9938 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9939 since some C++ compilers masquerading as C compilers
9940 incorrectly reject 9223372036854775807. */
9941 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9942 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9943 && LARGE_OFF_T % 2147483647 == 1)
9953 rm -f conftest.$ac_objext
9954 if { (ac_try="$ac_compile"
9956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9957 *) ac_try_echo=$ac_try;;
9959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9960 (eval "$ac_compile") 2>conftest.er1
9962 grep -v '^ *+' conftest.er1 >conftest.err
9964 cat conftest.err >&5
9965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9966 (exit $ac_status); } && {
9967 test -z "$ac_c_werror_flag" ||
9968 test ! -s conftest.err
9969 } && test -s conftest.$ac_objext; then
9970 ac_cv_sys_large_files=1; break
9972 echo "$as_me: failed program was
:" >&5
9973 sed 's/^/| /' conftest.$ac_ext >&5
9978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9979 ac_cv_sys_large_files=unknown
9983 { echo "$as_me:$LINENO: result
: $ac_cv_sys_large_files" >&5
9984 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
9985 case $ac_cv_sys_large_files in #(
9988 cat >>confdefs.h <<_ACEOF
9989 #define _LARGE_FILES $ac_cv_sys_large_files
9998 # Checks for typedefs, structures, and compiler characteristics.
9999 { echo "$as_me:$LINENO: checking
for stdbool.h that conforms to C99
" >&5
10000 echo $ECHO_N "checking
for stdbool.h that conforms to C99...
$ECHO_C" >&6; }
10001 if test "${ac_cv_header_stdbool_h+set}" = set; then
10002 echo $ECHO_N "(cached
) $ECHO_C" >&6
10004 cat >conftest.$ac_ext <<_ACEOF
10007 cat confdefs.h >>conftest.$ac_ext
10008 cat >>conftest.$ac_ext <<_ACEOF
10009 /* end confdefs.h. */
10011 #include <stdbool.h>
10013 "error
: bool is not defined
"
10016 "error
: false is not defined
"
10019 "error
: false is not
0"
10022 "error
: true is not defined
"
10025 "error
: true is not
1"
10027 #ifndef __bool_true_false_are_defined
10028 "error
: __bool_true_false_are_defined is not defined
"
10031 struct s { _Bool s: 1; _Bool t; } s;
10033 char a[true == 1 ? 1 : -1];
10034 char b[false == 0 ? 1 : -1];
10035 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
10036 char d[(bool) 0.5 == true ? 1 : -1];
10038 char f[(_Bool) 0.0 == false ? 1 : -1];
10040 char h[sizeof (_Bool)];
10041 char i[sizeof s.t];
10042 enum { j = false, k = true, l = false * true, m = true * 256 };
10044 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
10045 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
10046 # if defined __xlc__ || defined __GNUC__
10047 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
10048 reported by James Lemley on 2005-10-05; see
10049 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
10050 This test is not quite right, since xlc is allowed to
10051 reject this program, as the initializer for xlcbug is
10052 not one of the forms that C requires support for.
10053 However, doing the test right would require a runtime
10054 test, and that would make cross-compilation harder.
10055 Let us hope that IBM fixes the xlc bug, and also adds
10056 support for this kind of constant expression. In the
10057 meantime, this test will reject xlc, which is OK, since
10058 our stdbool.h substitute should suffice. We also test
10059 this with GCC, where it should work, to detect more
10060 quickly whether someone messes up the test in the
10062 char digs[] = "0123456789";
10063 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
10065 /* Catch a bug in an HP-UX C compiler. See
10066 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
10067 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
10078 /* Refer to every declared value, to avoid compiler optimizations. */
10079 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
10080 + !m + !n + !o + !p + !q + !pq);
10086 rm -f conftest.$ac_objext
10087 if { (ac_try="$ac_compile"
10088 case "(($ac_try" in
10089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10090 *) ac_try_echo=$ac_try;;
10092 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10093 (eval "$ac_compile") 2>conftest.er1
10095 grep -v '^ *+' conftest.er1 >conftest.err
10097 cat conftest.err >&5
10098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10099 (exit $ac_status); } && {
10100 test -z "$ac_c_werror_flag" ||
10101 test ! -s conftest.err
10102 } && test -s conftest.$ac_objext; then
10103 ac_cv_header_stdbool_h=yes
10105 echo "$as_me: failed program was
:" >&5
10106 sed 's/^/| /' conftest.$ac_ext >&5
10108 ac_cv_header_stdbool_h=no
10111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10113 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdbool_h" >&5
10114 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
10115 { echo "$as_me:$LINENO: checking
for _Bool
" >&5
10116 echo $ECHO_N "checking
for _Bool...
$ECHO_C" >&6; }
10117 if test "${ac_cv_type__Bool+set}" = set; then
10118 echo $ECHO_N "(cached
) $ECHO_C" >&6
10120 cat >conftest.$ac_ext <<_ACEOF
10123 cat confdefs.h >>conftest.$ac_ext
10124 cat >>conftest.$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10126 $ac_includes_default
10127 typedef _Bool ac__type_new_;
10131 if ((ac__type_new_ *) 0)
10133 if (sizeof (ac__type_new_))
10139 rm -f conftest.$ac_objext
10140 if { (ac_try="$ac_compile"
10141 case "(($ac_try" in
10142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10143 *) ac_try_echo=$ac_try;;
10145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10146 (eval "$ac_compile") 2>conftest.er1
10148 grep -v '^ *+' conftest.er1 >conftest.err
10150 cat conftest.err >&5
10151 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10152 (exit $ac_status); } && {
10153 test -z "$ac_c_werror_flag" ||
10154 test ! -s conftest.err
10155 } && test -s conftest.$ac_objext; then
10156 ac_cv_type__Bool=yes
10158 echo "$as_me: failed program was
:" >&5
10159 sed 's/^/| /' conftest.$ac_ext >&5
10161 ac_cv_type__Bool=no
10164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10166 { echo "$as_me:$LINENO: result
: $ac_cv_type__Bool" >&5
10167 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
10168 if test $ac_cv_type__Bool = yes; then
10170 cat >>confdefs.h <<_ACEOF
10171 #define HAVE__BOOL 1
10177 if test $ac_cv_header_stdbool_h = yes; then
10179 cat >>confdefs.h <<\_ACEOF
10180 #define HAVE_STDBOOL_H 1
10185 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
10186 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
10187 if test "${ac_cv_c_const+set}" = set; then
10188 echo $ECHO_N "(cached
) $ECHO_C" >&6
10190 cat >conftest.$ac_ext <<_ACEOF
10193 cat confdefs.h >>conftest.$ac_ext
10194 cat >>conftest.$ac_ext <<_ACEOF
10195 /* end confdefs.h. */
10200 /* FIXME: Include the comments suggested by Paul. */
10201 #ifndef __cplusplus
10202 /* Ultrix mips cc rejects this. */
10203 typedef int charset[2];
10205 /* SunOS 4.1.1 cc rejects this. */
10206 char const *const *pcpcc;
10208 /* NEC SVR4.0.2 mips cc rejects this. */
10209 struct point {int x, y;};
10210 static struct point const zero = {0,0};
10211 /* AIX XL C 1.02.0.0 rejects this.
10212 It does not let you subtract one const X* pointer from another in
10213 an arm of an if-expression whose if-part is not a constant
10215 const char *g = "string
";
10216 pcpcc = &g + (g ? g-g : 0);
10217 /* HPUX 7.0 cc rejects these. */
10219 ppc = (char**) pcpcc;
10220 pcpcc = (char const *const *) ppc;
10221 { /* SCO 3.2v4 cc rejects this. */
10223 char const *s = 0 ? (char *) 0 : (char const *) 0;
10228 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10229 int x[] = {25, 17};
10230 const int *foo = &x[0];
10233 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10234 typedef const int *iptr;
10238 { /* AIX XL C 1.02.0.0 rejects this saying
10239 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10240 struct s { int j; const int *ap[3]; };
10241 struct s *b; b->j = 5;
10243 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10244 const int foo = 10;
10245 if (!foo) return 0;
10247 return !cs[0] && !zero.x;
10254 rm -f conftest.$ac_objext
10255 if { (ac_try="$ac_compile"
10256 case "(($ac_try" in
10257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10260 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_compile") 2>conftest.er1
10263 grep -v '^ *+' conftest.er1 >conftest.err
10265 cat conftest.err >&5
10266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10267 (exit $ac_status); } && {
10268 test -z "$ac_c_werror_flag" ||
10269 test ! -s conftest.err
10270 } && test -s conftest.$ac_objext; then
10273 echo "$as_me: failed program was
:" >&5
10274 sed 's/^/| /' conftest.$ac_ext >&5
10279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10281 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
10282 echo "${ECHO_T}$ac_cv_c_const" >&6; }
10283 if test $ac_cv_c_const = no; then
10285 cat >>confdefs.h <<\_ACEOF
10291 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
10292 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
10293 if test "${ac_cv_type_uid_t+set}" = set; then
10294 echo $ECHO_N "(cached
) $ECHO_C" >&6
10296 cat >conftest.$ac_ext <<_ACEOF
10299 cat confdefs.h >>conftest.$ac_ext
10300 cat >>conftest.$ac_ext <<_ACEOF
10301 /* end confdefs.h. */
10302 #include <sys/types.h>
10305 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
10306 $EGREP "uid_t
" >/dev/null 2>&1; then
10307 ac_cv_type_uid_t=yes
10309 ac_cv_type_uid_t=no
10314 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
10315 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
10316 if test $ac_cv_type_uid_t = no; then
10318 cat >>confdefs.h <<\_ACEOF
10323 cat >>confdefs.h <<\_ACEOF
10329 { echo "$as_me:$LINENO: checking
for inline
" >&5
10330 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
10331 if test "${ac_cv_c_inline+set}" = set; then
10332 echo $ECHO_N "(cached
) $ECHO_C" >&6
10335 for ac_kw in inline __inline__ __inline; do
10336 cat >conftest.$ac_ext <<_ACEOF
10339 cat confdefs.h >>conftest.$ac_ext
10340 cat >>conftest.$ac_ext <<_ACEOF
10341 /* end confdefs.h. */
10342 #ifndef __cplusplus
10344 static $ac_kw foo_t static_foo () {return 0; }
10345 $ac_kw foo_t foo () {return 0; }
10349 rm -f conftest.$ac_objext
10350 if { (ac_try="$ac_compile"
10351 case "(($ac_try" in
10352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10353 *) ac_try_echo=$ac_try;;
10355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10356 (eval "$ac_compile") 2>conftest.er1
10358 grep -v '^ *+' conftest.er1 >conftest.err
10360 cat conftest.err >&5
10361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10362 (exit $ac_status); } && {
10363 test -z "$ac_c_werror_flag" ||
10364 test ! -s conftest.err
10365 } && test -s conftest.$ac_objext; then
10366 ac_cv_c_inline=$ac_kw
10368 echo "$as_me: failed program was
:" >&5
10369 sed 's/^/| /' conftest.$ac_ext >&5
10374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10375 test "$ac_cv_c_inline" != no && break
10379 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
10380 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
10383 case $ac_cv_c_inline in
10386 case $ac_cv_c_inline in
10388 *) ac_val=$ac_cv_c_inline;;
10390 cat >>confdefs.h <<_ACEOF
10391 #ifndef __cplusplus
10392 #define inline $ac_val
10398 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
10399 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
10400 if test "${ac_cv_type_mode_t+set}" = set; then
10401 echo $ECHO_N "(cached
) $ECHO_C" >&6
10403 cat >conftest.$ac_ext <<_ACEOF
10406 cat confdefs.h >>conftest.$ac_ext
10407 cat >>conftest.$ac_ext <<_ACEOF
10408 /* end confdefs.h. */
10409 $ac_includes_default
10410 typedef mode_t ac__type_new_;
10414 if ((ac__type_new_ *) 0)
10416 if (sizeof (ac__type_new_))
10422 rm -f conftest.$ac_objext
10423 if { (ac_try="$ac_compile"
10424 case "(($ac_try" in
10425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10426 *) ac_try_echo=$ac_try;;
10428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10429 (eval "$ac_compile") 2>conftest.er1
10431 grep -v '^ *+' conftest.er1 >conftest.err
10433 cat conftest.err >&5
10434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10435 (exit $ac_status); } && {
10436 test -z "$ac_c_werror_flag" ||
10437 test ! -s conftest.err
10438 } && test -s conftest.$ac_objext; then
10439 ac_cv_type_mode_t=yes
10441 echo "$as_me: failed program was
:" >&5
10442 sed 's/^/| /' conftest.$ac_ext >&5
10444 ac_cv_type_mode_t=no
10447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10449 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
10450 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
10451 if test $ac_cv_type_mode_t = yes; then
10455 cat >>confdefs.h <<_ACEOF
10461 { echo "$as_me:$LINENO: checking
for off_t
" >&5
10462 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
10463 if test "${ac_cv_type_off_t+set}" = set; then
10464 echo $ECHO_N "(cached
) $ECHO_C" >&6
10466 cat >conftest.$ac_ext <<_ACEOF
10469 cat confdefs.h >>conftest.$ac_ext
10470 cat >>conftest.$ac_ext <<_ACEOF
10471 /* end confdefs.h. */
10472 $ac_includes_default
10473 typedef off_t ac__type_new_;
10477 if ((ac__type_new_ *) 0)
10479 if (sizeof (ac__type_new_))
10485 rm -f conftest.$ac_objext
10486 if { (ac_try="$ac_compile"
10487 case "(($ac_try" in
10488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10489 *) ac_try_echo=$ac_try;;
10491 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10492 (eval "$ac_compile") 2>conftest.er1
10494 grep -v '^ *+' conftest.er1 >conftest.err
10496 cat conftest.err >&5
10497 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10498 (exit $ac_status); } && {
10499 test -z "$ac_c_werror_flag" ||
10500 test ! -s conftest.err
10501 } && test -s conftest.$ac_objext; then
10502 ac_cv_type_off_t=yes
10504 echo "$as_me: failed program was
:" >&5
10505 sed 's/^/| /' conftest.$ac_ext >&5
10507 ac_cv_type_off_t=no
10510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10512 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
10513 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
10514 if test $ac_cv_type_off_t = yes; then
10518 cat >>confdefs.h <<_ACEOF
10519 #define off_t long int
10524 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
10525 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
10526 if test "${ac_cv_type_pid_t+set}" = set; then
10527 echo $ECHO_N "(cached
) $ECHO_C" >&6
10529 cat >conftest.$ac_ext <<_ACEOF
10532 cat confdefs.h >>conftest.$ac_ext
10533 cat >>conftest.$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10535 $ac_includes_default
10536 typedef pid_t ac__type_new_;
10540 if ((ac__type_new_ *) 0)
10542 if (sizeof (ac__type_new_))
10548 rm -f conftest.$ac_objext
10549 if { (ac_try="$ac_compile"
10550 case "(($ac_try" in
10551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10552 *) ac_try_echo=$ac_try;;
10554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10555 (eval "$ac_compile") 2>conftest.er1
10557 grep -v '^ *+' conftest.er1 >conftest.err
10559 cat conftest.err >&5
10560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10561 (exit $ac_status); } && {
10562 test -z "$ac_c_werror_flag" ||
10563 test ! -s conftest.err
10564 } && test -s conftest.$ac_objext; then
10565 ac_cv_type_pid_t=yes
10567 echo "$as_me: failed program was
:" >&5
10568 sed 's/^/| /' conftest.$ac_ext >&5
10570 ac_cv_type_pid_t=no
10573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10575 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
10576 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
10577 if test $ac_cv_type_pid_t = yes; then
10581 cat >>confdefs.h <<_ACEOF
10587 { echo "$as_me:$LINENO: checking
for size_t
" >&5
10588 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
10589 if test "${ac_cv_type_size_t+set}" = set; then
10590 echo $ECHO_N "(cached
) $ECHO_C" >&6
10592 cat >conftest.$ac_ext <<_ACEOF
10595 cat confdefs.h >>conftest.$ac_ext
10596 cat >>conftest.$ac_ext <<_ACEOF
10597 /* end confdefs.h. */
10598 $ac_includes_default
10599 typedef size_t ac__type_new_;
10603 if ((ac__type_new_ *) 0)
10605 if (sizeof (ac__type_new_))
10611 rm -f conftest.$ac_objext
10612 if { (ac_try="$ac_compile"
10613 case "(($ac_try" in
10614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10615 *) ac_try_echo=$ac_try;;
10617 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10618 (eval "$ac_compile") 2>conftest.er1
10620 grep -v '^ *+' conftest.er1 >conftest.err
10622 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10624 (exit $ac_status); } && {
10625 test -z "$ac_c_werror_flag" ||
10626 test ! -s conftest.err
10627 } && test -s conftest.$ac_objext; then
10628 ac_cv_type_size_t=yes
10630 echo "$as_me: failed program was
:" >&5
10631 sed 's/^/| /' conftest.$ac_ext >&5
10633 ac_cv_type_size_t=no
10636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10638 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
10639 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
10640 if test $ac_cv_type_size_t = yes; then
10644 cat >>confdefs.h <<_ACEOF
10645 #define size_t unsigned int
10650 { echo "$as_me:$LINENO: checking
for struct stat.st_blksize
" >&5
10651 echo $ECHO_N "checking
for struct stat.st_blksize...
$ECHO_C" >&6; }
10652 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
10653 echo $ECHO_N "(cached
) $ECHO_C" >&6
10655 cat >conftest.$ac_ext <<_ACEOF
10658 cat confdefs.h >>conftest.$ac_ext
10659 cat >>conftest.$ac_ext <<_ACEOF
10660 /* end confdefs.h. */
10661 $ac_includes_default
10665 static struct stat ac_aggr;
10666 if (ac_aggr.st_blksize)
10672 rm -f conftest.$ac_objext
10673 if { (ac_try="$ac_compile"
10674 case "(($ac_try" in
10675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10676 *) ac_try_echo=$ac_try;;
10678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10679 (eval "$ac_compile") 2>conftest.er1
10681 grep -v '^ *+' conftest.er1 >conftest.err
10683 cat conftest.err >&5
10684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10685 (exit $ac_status); } && {
10686 test -z "$ac_c_werror_flag" ||
10687 test ! -s conftest.err
10688 } && test -s conftest.$ac_objext; then
10689 ac_cv_member_struct_stat_st_blksize=yes
10691 echo "$as_me: failed program was
:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10694 cat >conftest.$ac_ext <<_ACEOF
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10700 $ac_includes_default
10704 static struct stat ac_aggr;
10705 if (sizeof ac_aggr.st_blksize)
10711 rm -f conftest.$ac_objext
10712 if { (ac_try="$ac_compile"
10713 case "(($ac_try" in
10714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10715 *) ac_try_echo=$ac_try;;
10717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10718 (eval "$ac_compile") 2>conftest.er1
10720 grep -v '^ *+' conftest.er1 >conftest.err
10722 cat conftest.err >&5
10723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10724 (exit $ac_status); } && {
10725 test -z "$ac_c_werror_flag" ||
10726 test ! -s conftest.err
10727 } && test -s conftest.$ac_objext; then
10728 ac_cv_member_struct_stat_st_blksize=yes
10730 echo "$as_me: failed program was
:" >&5
10731 sed 's/^/| /' conftest.$ac_ext >&5
10733 ac_cv_member_struct_stat_st_blksize=no
10736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10741 { echo "$as_me:$LINENO: result
: $ac_cv_member_struct_stat_st_blksize" >&5
10742 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
10743 if test $ac_cv_member_struct_stat_st_blksize = yes; then
10745 cat >>confdefs.h <<_ACEOF
10746 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
10752 { echo "$as_me:$LINENO: checking whether
time.h and sys
/time.h may both be included
" >&5
10753 echo $ECHO_N "checking whether
time.h and sys
/time.h may both be included...
$ECHO_C" >&6; }
10754 if test "${ac_cv_header_time+set}" = set; then
10755 echo $ECHO_N "(cached
) $ECHO_C" >&6
10757 cat >conftest.$ac_ext <<_ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 #include <sys/types.h>
10764 #include <sys/time.h>
10770 if ((struct tm *) 0)
10776 rm -f conftest.$ac_objext
10777 if { (ac_try="$ac_compile"
10778 case "(($ac_try" in
10779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10780 *) ac_try_echo=$ac_try;;
10782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10783 (eval "$ac_compile") 2>conftest.er1
10785 grep -v '^ *+' conftest.er1 >conftest.err
10787 cat conftest.err >&5
10788 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10789 (exit $ac_status); } && {
10790 test -z "$ac_c_werror_flag" ||
10791 test ! -s conftest.err
10792 } && test -s conftest.$ac_objext; then
10793 ac_cv_header_time=yes
10795 echo "$as_me: failed program was
:" >&5
10796 sed 's/^/| /' conftest.$ac_ext >&5
10798 ac_cv_header_time=no
10801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10803 { echo "$as_me:$LINENO: result
: $ac_cv_header_time" >&5
10804 echo "${ECHO_T}$ac_cv_header_time" >&6; }
10805 if test $ac_cv_header_time = yes; then
10807 cat >>confdefs.h <<\_ACEOF
10808 #define TIME_WITH_SYS_TIME 1
10813 { echo "$as_me:$LINENO: checking whether struct tm is
in sys
/time.h or
time.h
" >&5
10814 echo $ECHO_N "checking whether struct tm is
in sys
/time.h or
time.h...
$ECHO_C" >&6; }
10815 if test "${ac_cv_struct_tm+set}" = set; then
10816 echo $ECHO_N "(cached
) $ECHO_C" >&6
10818 cat >conftest.$ac_ext <<_ACEOF
10821 cat confdefs.h >>conftest.$ac_ext
10822 cat >>conftest.$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10824 #include <sys/types.h>
10831 int *p = &tm.tm_sec;
10837 rm -f conftest.$ac_objext
10838 if { (ac_try="$ac_compile"
10839 case "(($ac_try" in
10840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10841 *) ac_try_echo=$ac_try;;
10843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10844 (eval "$ac_compile") 2>conftest.er1
10846 grep -v '^ *+' conftest.er1 >conftest.err
10848 cat conftest.err >&5
10849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10850 (exit $ac_status); } && {
10851 test -z "$ac_c_werror_flag" ||
10852 test ! -s conftest.err
10853 } && test -s conftest.$ac_objext; then
10854 ac_cv_struct_tm=time.h
10856 echo "$as_me: failed program was
:" >&5
10857 sed 's/^/| /' conftest.$ac_ext >&5
10859 ac_cv_struct_tm=sys/time.h
10862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10864 { echo "$as_me:$LINENO: result
: $ac_cv_struct_tm" >&5
10865 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
10866 if test $ac_cv_struct_tm = sys/time.h; then
10868 cat >>confdefs.h <<\_ACEOF
10869 #define TM_IN_SYS_TIME 1
10874 { echo "$as_me:$LINENO: checking
for working volatile
" >&5
10875 echo $ECHO_N "checking
for working volatile...
$ECHO_C" >&6; }
10876 if test "${ac_cv_c_volatile+set}" = set; then
10877 echo $ECHO_N "(cached
) $ECHO_C" >&6
10879 cat >conftest.$ac_ext <<_ACEOF
10882 cat confdefs.h >>conftest.$ac_ext
10883 cat >>conftest.$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10891 int * volatile y = (int *) 0;
10897 rm -f conftest.$ac_objext
10898 if { (ac_try="$ac_compile"
10899 case "(($ac_try" in
10900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10901 *) ac_try_echo=$ac_try;;
10903 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10904 (eval "$ac_compile") 2>conftest.er1
10906 grep -v '^ *+' conftest.er1 >conftest.err
10908 cat conftest.err >&5
10909 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10910 (exit $ac_status); } && {
10911 test -z "$ac_c_werror_flag" ||
10912 test ! -s conftest.err
10913 } && test -s conftest.$ac_objext; then
10914 ac_cv_c_volatile=yes
10916 echo "$as_me: failed program was
:" >&5
10917 sed 's/^/| /' conftest.$ac_ext >&5
10919 ac_cv_c_volatile=no
10922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10924 { echo "$as_me:$LINENO: result
: $ac_cv_c_volatile" >&5
10925 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
10926 if test $ac_cv_c_volatile = no; then
10928 cat >>confdefs.h <<\_ACEOF
10934 { echo "$as_me:$LINENO: checking
for ptrdiff_t
" >&5
10935 echo $ECHO_N "checking
for ptrdiff_t...
$ECHO_C" >&6; }
10936 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10937 echo $ECHO_N "(cached
) $ECHO_C" >&6
10939 cat >conftest.$ac_ext <<_ACEOF
10942 cat confdefs.h >>conftest.$ac_ext
10943 cat >>conftest.$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10945 $ac_includes_default
10946 typedef ptrdiff_t ac__type_new_;
10950 if ((ac__type_new_ *) 0)
10952 if (sizeof (ac__type_new_))
10958 rm -f conftest.$ac_objext
10959 if { (ac_try="$ac_compile"
10960 case "(($ac_try" in
10961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10962 *) ac_try_echo=$ac_try;;
10964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10965 (eval "$ac_compile") 2>conftest.er1
10967 grep -v '^ *+' conftest.er1 >conftest.err
10969 cat conftest.err >&5
10970 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10971 (exit $ac_status); } && {
10972 test -z "$ac_c_werror_flag" ||
10973 test ! -s conftest.err
10974 } && test -s conftest.$ac_objext; then
10975 ac_cv_type_ptrdiff_t=yes
10977 echo "$as_me: failed program was
:" >&5
10978 sed 's/^/| /' conftest.$ac_ext >&5
10980 ac_cv_type_ptrdiff_t=no
10983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10985 { echo "$as_me:$LINENO: result
: $ac_cv_type_ptrdiff_t" >&5
10986 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
10987 if test $ac_cv_type_ptrdiff_t = yes; then
10989 cat >>confdefs.h <<_ACEOF
10990 #define HAVE_PTRDIFF_T 1
10997 # Checks for library functions.
10999 for ac_header in unistd.h
11001 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11002 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11003 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11004 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11005 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11006 echo $ECHO_N "(cached
) $ECHO_C" >&6
11008 ac_res=`eval echo '${'$as_ac_Header'}'`
11009 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11010 echo "${ECHO_T}$ac_res" >&6; }
11012 # Is the header compilable?
11013 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11014 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11015 cat >conftest.$ac_ext <<_ACEOF
11018 cat confdefs.h >>conftest.$ac_ext
11019 cat >>conftest.$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11021 $ac_includes_default
11022 #include <$ac_header>
11024 rm -f conftest.$ac_objext
11025 if { (ac_try="$ac_compile"
11026 case "(($ac_try" in
11027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11028 *) ac_try_echo=$ac_try;;
11030 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11031 (eval "$ac_compile") 2>conftest.er1
11033 grep -v '^ *+' conftest.er1 >conftest.err
11035 cat conftest.err >&5
11036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11037 (exit $ac_status); } && {
11038 test -z "$ac_c_werror_flag" ||
11039 test ! -s conftest.err
11040 } && test -s conftest.$ac_objext; then
11041 ac_header_compiler=yes
11043 echo "$as_me: failed program was
:" >&5
11044 sed 's/^/| /' conftest.$ac_ext >&5
11046 ac_header_compiler=no
11049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11050 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11051 echo "${ECHO_T}$ac_header_compiler" >&6; }
11053 # Is the header present?
11054 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11055 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11056 cat >conftest.$ac_ext <<_ACEOF
11059 cat confdefs.h >>conftest.$ac_ext
11060 cat >>conftest.$ac_ext <<_ACEOF
11061 /* end confdefs.h. */
11062 #include <$ac_header>
11064 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11065 case "(($ac_try" in
11066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11067 *) ac_try_echo=$ac_try;;
11069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11070 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11072 grep -v '^ *+' conftest.er1 >conftest.err
11074 cat conftest.err >&5
11075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11076 (exit $ac_status); } >/dev/null && {
11077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11078 test ! -s conftest.err
11080 ac_header_preproc=yes
11082 echo "$as_me: failed program was
:" >&5
11083 sed 's/^/| /' conftest.$ac_ext >&5
11085 ac_header_preproc=no
11088 rm -f conftest.err conftest.$ac_ext
11089 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11090 echo "${ECHO_T}$ac_header_preproc" >&6; }
11092 # So? What about this header?
11093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11095 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11096 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11097 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11099 ac_header_preproc=yes
11102 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11103 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11104 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11105 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11106 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11107 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11108 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11109 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11110 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11112 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11113 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11117 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11118 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11119 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11120 echo $ECHO_N "(cached
) $ECHO_C" >&6
11122 eval "$as_ac_Header=\
$ac_header_preproc"
11124 ac_res=`eval echo '${'$as_ac_Header'}'`
11125 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11126 echo "${ECHO_T}$ac_res" >&6; }
11129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11130 cat >>confdefs.h <<_ACEOF
11131 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11138 { echo "$as_me:$LINENO: checking
for working chown
" >&5
11139 echo $ECHO_N "checking
for working chown...
$ECHO_C" >&6; }
11140 if test "${ac_cv_func_chown_works+set}" = set; then
11141 echo $ECHO_N "(cached
) $ECHO_C" >&6
11143 if test "$cross_compiling" = yes; then
11144 ac_cv_func_chown_works=no
11146 cat >conftest.$ac_ext <<_ACEOF
11149 cat confdefs.h >>conftest.$ac_ext
11150 cat >>conftest.$ac_ext <<_ACEOF
11151 /* end confdefs.h. */
11152 $ac_includes_default
11158 char *f = "conftest.chown
";
11159 struct stat before, after;
11161 if (creat (f, 0600) < 0)
11163 if (stat (f, &before) < 0)
11165 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
11167 if (stat (f, &after) < 0)
11169 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
11175 rm -f conftest$ac_exeext
11176 if { (ac_try="$ac_link"
11177 case "(($ac_try" in
11178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11179 *) ac_try_echo=$ac_try;;
11181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11182 (eval "$ac_link") 2>&5
11184 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11185 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11186 { (case "(($ac_try" in
11187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11188 *) ac_try_echo=$ac_try;;
11190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11191 (eval "$ac_try") 2>&5
11193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11194 (exit $ac_status); }; }; then
11195 ac_cv_func_chown_works=yes
11197 echo "$as_me: program exited with status
$ac_status" >&5
11198 echo "$as_me: failed program was
:" >&5
11199 sed 's/^/| /' conftest.$ac_ext >&5
11201 ( exit $ac_status )
11202 ac_cv_func_chown_works=no
11204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11208 rm -f conftest.chown
11211 { echo "$as_me:$LINENO: result
: $ac_cv_func_chown_works" >&5
11212 echo "${ECHO_T}$ac_cv_func_chown_works" >&6; }
11213 if test $ac_cv_func_chown_works = yes; then
11215 cat >>confdefs.h <<\_ACEOF
11216 #define HAVE_CHOWN 1
11221 { echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
11222 echo $ECHO_N "checking whether closedir returns void...
$ECHO_C" >&6; }
11223 if test "${ac_cv_func_closedir_void+set}" = set; then
11224 echo $ECHO_N "(cached
) $ECHO_C" >&6
11226 if test "$cross_compiling" = yes; then
11227 ac_cv_func_closedir_void=yes
11229 cat >conftest.$ac_ext <<_ACEOF
11232 cat confdefs.h >>conftest.$ac_ext
11233 cat >>conftest.$ac_ext <<_ACEOF
11234 /* end confdefs.h. */
11235 $ac_includes_default
11236 #include <$ac_header_dirent>
11237 #ifndef __cplusplus
11244 return closedir (opendir (".
")) != 0;
11249 rm -f 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>&5
11258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11260 { (case "(($ac_try" in
11261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11262 *) ac_try_echo=$ac_try;;
11264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11265 (eval "$ac_try") 2>&5
11267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11268 (exit $ac_status); }; }; then
11269 ac_cv_func_closedir_void=no
11271 echo "$as_me: program exited with status
$ac_status" >&5
11272 echo "$as_me: failed program was
:" >&5
11273 sed 's/^/| /' conftest.$ac_ext >&5
11275 ( exit $ac_status )
11276 ac_cv_func_closedir_void=yes
11278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11283 { echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
11284 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
11285 if test $ac_cv_func_closedir_void = yes; then
11287 cat >>confdefs.h <<\_ACEOF
11288 #define CLOSEDIR_VOID 1
11293 { echo "$as_me:$LINENO: checking
for error_at_line
" >&5
11294 echo $ECHO_N "checking
for error_at_line...
$ECHO_C" >&6; }
11295 if test "${ac_cv_lib_error_at_line+set}" = set; then
11296 echo $ECHO_N "(cached
) $ECHO_C" >&6
11298 cat >conftest.$ac_ext <<_ACEOF
11301 cat confdefs.h >>conftest.$ac_ext
11302 cat >>conftest.$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11308 error_at_line (0, 0, "", 0, "an error occurred
");
11313 rm -f conftest.$ac_objext conftest$ac_exeext
11314 if { (ac_try="$ac_link"
11315 case "(($ac_try" in
11316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11317 *) ac_try_echo=$ac_try;;
11319 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11320 (eval "$ac_link") 2>conftest.er1
11322 grep -v '^ *+' conftest.er1 >conftest.err
11324 cat conftest.err >&5
11325 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11326 (exit $ac_status); } && {
11327 test -z "$ac_c_werror_flag" ||
11328 test ! -s conftest.err
11329 } && test -s conftest$ac_exeext &&
11330 $as_test_x conftest$ac_exeext; then
11331 ac_cv_lib_error_at_line=yes
11333 echo "$as_me: failed program was
:" >&5
11334 sed 's/^/| /' conftest.$ac_ext >&5
11336 ac_cv_lib_error_at_line=no
11339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11340 conftest$ac_exeext conftest.$ac_ext
11342 { echo "$as_me:$LINENO: result
: $ac_cv_lib_error_at_line" >&5
11343 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
11344 if test $ac_cv_lib_error_at_line = no; then
11345 case " $LIBOBJS " in
11346 *" error.
$ac_objext "* ) ;;
11347 *) LIBOBJS="$LIBOBJS error.
$ac_objext"
11354 for ac_header in vfork.h
11356 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11357 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11358 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11359 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11360 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11361 echo $ECHO_N "(cached
) $ECHO_C" >&6
11363 ac_res=`eval echo '${'$as_ac_Header'}'`
11364 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11365 echo "${ECHO_T}$ac_res" >&6; }
11367 # Is the header compilable?
11368 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11369 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11370 cat >conftest.$ac_ext <<_ACEOF
11373 cat confdefs.h >>conftest.$ac_ext
11374 cat >>conftest.$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11376 $ac_includes_default
11377 #include <$ac_header>
11379 rm -f conftest.$ac_objext
11380 if { (ac_try="$ac_compile"
11381 case "(($ac_try" in
11382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11383 *) ac_try_echo=$ac_try;;
11385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11386 (eval "$ac_compile") 2>conftest.er1
11388 grep -v '^ *+' conftest.er1 >conftest.err
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11392 (exit $ac_status); } && {
11393 test -z "$ac_c_werror_flag" ||
11394 test ! -s conftest.err
11395 } && test -s conftest.$ac_objext; then
11396 ac_header_compiler=yes
11398 echo "$as_me: failed program was
:" >&5
11399 sed 's/^/| /' conftest.$ac_ext >&5
11401 ac_header_compiler=no
11404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11405 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11406 echo "${ECHO_T}$ac_header_compiler" >&6; }
11408 # Is the header present?
11409 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11410 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11411 cat >conftest.$ac_ext <<_ACEOF
11414 cat confdefs.h >>conftest.$ac_ext
11415 cat >>conftest.$ac_ext <<_ACEOF
11416 /* end confdefs.h. */
11417 #include <$ac_header>
11419 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11420 case "(($ac_try" in
11421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11422 *) ac_try_echo=$ac_try;;
11424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11425 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11427 grep -v '^ *+' conftest.er1 >conftest.err
11429 cat conftest.err >&5
11430 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11431 (exit $ac_status); } >/dev/null && {
11432 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11433 test ! -s conftest.err
11435 ac_header_preproc=yes
11437 echo "$as_me: failed program was
:" >&5
11438 sed 's/^/| /' conftest.$ac_ext >&5
11440 ac_header_preproc=no
11443 rm -f conftest.err conftest.$ac_ext
11444 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11445 echo "${ECHO_T}$ac_header_preproc" >&6; }
11447 # So? What about this header?
11448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11450 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11451 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11452 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11454 ac_header_preproc=yes
11457 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11458 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11459 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11460 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11461 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11462 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11463 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11464 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11465 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11467 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11468 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11472 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11473 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11474 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11475 echo $ECHO_N "(cached
) $ECHO_C" >&6
11477 eval "$as_ac_Header=\
$ac_header_preproc"
11479 ac_res=`eval echo '${'$as_ac_Header'}'`
11480 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11481 echo "${ECHO_T}$ac_res" >&6; }
11484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11485 cat >>confdefs.h <<_ACEOF
11486 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11495 for ac_func in fork vfork
11497 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11498 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11499 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11500 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11501 echo $ECHO_N "(cached
) $ECHO_C" >&6
11503 cat >conftest.$ac_ext <<_ACEOF
11506 cat confdefs.h >>conftest.$ac_ext
11507 cat >>conftest.$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11511 #define $ac_func innocuous_$ac_func
11513 /* System header to define __stub macros and hopefully few prototypes,
11514 which can conflict with char $ac_func (); below.
11515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11516 <limits.h> exists even on freestanding compilers. */
11519 # include <limits.h>
11521 # include <assert.h>
11526 /* Override any GCC internal prototype to avoid an error.
11527 Use char because int might match the return type of a GCC
11528 builtin and then its argument prototype would still apply. */
11533 /* The GNU C library defines this for functions which it implements
11534 to always fail with ENOSYS. Some functions are actually named
11535 something starting with __ and the normal name is an alias. */
11536 #if defined __stub_$ac_func || defined __stub___$ac_func
11543 return $ac_func ();
11548 rm -f conftest.$ac_objext conftest$ac_exeext
11549 if { (ac_try="$ac_link"
11550 case "(($ac_try" in
11551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11552 *) ac_try_echo=$ac_try;;
11554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11555 (eval "$ac_link") 2>conftest.er1
11557 grep -v '^ *+' conftest.er1 >conftest.err
11559 cat conftest.err >&5
11560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11561 (exit $ac_status); } && {
11562 test -z "$ac_c_werror_flag" ||
11563 test ! -s conftest.err
11564 } && test -s conftest$ac_exeext &&
11565 $as_test_x conftest$ac_exeext; then
11566 eval "$as_ac_var=yes"
11568 echo "$as_me: failed program was
:" >&5
11569 sed 's/^/| /' conftest.$ac_ext >&5
11571 eval "$as_ac_var=no
"
11574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11575 conftest$ac_exeext conftest.$ac_ext
11577 ac_res=`eval echo '${'$as_ac_var'}'`
11578 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11579 echo "${ECHO_T}$ac_res" >&6; }
11580 if test `eval echo '${'$as_ac_var'}'` = yes; then
11581 cat >>confdefs.h <<_ACEOF
11582 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11588 if test "x
$ac_cv_func_fork" = xyes; then
11589 { echo "$as_me:$LINENO: checking
for working fork
" >&5
11590 echo $ECHO_N "checking
for working fork...
$ECHO_C" >&6; }
11591 if test "${ac_cv_func_fork_works+set}" = set; then
11592 echo $ECHO_N "(cached
) $ECHO_C" >&6
11594 if test "$cross_compiling" = yes; then
11595 ac_cv_func_fork_works=cross
11597 cat >conftest.$ac_ext <<_ACEOF
11600 cat confdefs.h >>conftest.$ac_ext
11601 cat >>conftest.$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 $ac_includes_default
11608 /* By Ruediger Kuhlmann. */
11609 return fork () < 0;
11615 rm -f conftest$ac_exeext
11616 if { (ac_try="$ac_link"
11617 case "(($ac_try" in
11618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11621 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11622 (eval "$ac_link") 2>&5
11624 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11626 { (case "(($ac_try" in
11627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11628 *) ac_try_echo=$ac_try;;
11630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11631 (eval "$ac_try") 2>&5
11633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11634 (exit $ac_status); }; }; then
11635 ac_cv_func_fork_works=yes
11637 echo "$as_me: program exited with status
$ac_status" >&5
11638 echo "$as_me: failed program was
:" >&5
11639 sed 's/^/| /' conftest.$ac_ext >&5
11641 ( exit $ac_status )
11642 ac_cv_func_fork_works=no
11644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11649 { echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
11650 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
11653 ac_cv_func_fork_works=$ac_cv_func_fork
11655 if test "x
$ac_cv_func_fork_works" = xcross; then
11657 *-*-amigaos* | *-*-msdosdjgpp* | *-*-uclinux* | *-*-linux-uclibc* )
11658 # Override, as these systems have only a dummy fork() stub
11659 ac_cv_func_fork_works=no
11662 ac_cv_func_fork_works=yes
11665 { echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
11666 echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
11668 ac_cv_func_vfork_works=$ac_cv_func_vfork
11669 if test "x
$ac_cv_func_vfork" = xyes; then
11670 { echo "$as_me:$LINENO: checking
for working vfork
" >&5
11671 echo $ECHO_N "checking
for working vfork...
$ECHO_C" >&6; }
11672 if test "${ac_cv_func_vfork_works+set}" = set; then
11673 echo $ECHO_N "(cached
) $ECHO_C" >&6
11675 if test "$cross_compiling" = yes; then
11676 ac_cv_func_vfork_works=cross
11678 cat >conftest.$ac_ext <<_ACEOF
11681 cat confdefs.h >>conftest.$ac_ext
11682 cat >>conftest.$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684 /* Thanks to Paul Eggert for this test. */
11685 $ac_includes_default
11686 #include <sys/wait.h>
11687 #ifdef HAVE_VFORK_H
11688 # include <vfork.h>
11690 /* On some sparc systems, changes by the child to local and incoming
11691 argument registers are propagated back to the parent. The compiler
11692 is told about this with #include <vfork.h>, but some compilers
11693 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11694 static variable whose address is put into a register that is
11695 clobbered by the vfork. */
11698 sparc_address_test (int arg)
11700 sparc_address_test (arg) int arg;
11703 static pid_t child;
11721 pid_t parent = getpid ();
11724 sparc_address_test (0);
11729 /* Here is another test for sparc vfork register problems. This
11730 test uses lots of local variables, at least as many local
11731 variables as main has allocated so far including compiler
11732 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11733 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11734 reuse the register of parent for one of the local variables,
11735 since it will think that parent can't possibly be used any more
11736 in this routine. Assigning to the local variable will thus
11737 munge parent in the parent process. */
11739 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11740 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11741 /* Convince the compiler that p..p7 are live; otherwise, it might
11742 use the same hardware register for all 8 local variables. */
11743 if (p != p1 || p != p2 || p != p3 || p != p4
11744 || p != p5 || p != p6 || p != p7)
11747 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11748 from child file descriptors. If the child closes a descriptor
11749 before it execs or exits, this munges the parent's descriptor
11750 as well. Test for this by closing stdout in the child. */
11751 _exit(close(fileno(stdout)) != 0);
11756 while (wait(&status) != child)
11759 /* Was there some problem with vforking? */
11762 /* Did the child fail? (This shouldn't happen.) */
11765 /* Did the vfork/compiler bug occur? */
11766 || parent != getpid()
11768 /* Did the file descriptor bug occur? */
11769 || fstat(fileno(stdout), &st) != 0
11774 rm -f conftest$ac_exeext
11775 if { (ac_try="$ac_link"
11776 case "(($ac_try" in
11777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11778 *) ac_try_echo=$ac_try;;
11780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11781 (eval "$ac_link") 2>&5
11783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11785 { (case "(($ac_try" in
11786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11787 *) ac_try_echo=$ac_try;;
11789 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11790 (eval "$ac_try") 2>&5
11792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11793 (exit $ac_status); }; }; then
11794 ac_cv_func_vfork_works=yes
11796 echo "$as_me: program exited with status
$ac_status" >&5
11797 echo "$as_me: failed program was
:" >&5
11798 sed 's/^/| /' conftest.$ac_ext >&5
11800 ( exit $ac_status )
11801 ac_cv_func_vfork_works=no
11803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11808 { echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
11809 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
11812 if test "x
$ac_cv_func_fork_works" = xcross; then
11813 ac_cv_func_vfork_works=$ac_cv_func_vfork
11814 { echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
11815 echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
11818 if test "x
$ac_cv_func_vfork_works" = xyes; then
11820 cat >>confdefs.h <<\_ACEOF
11821 #define HAVE_WORKING_VFORK 1
11826 cat >>confdefs.h <<\_ACEOF
11831 if test "x
$ac_cv_func_fork_works" = xyes; then
11833 cat >>confdefs.h <<\_ACEOF
11834 #define HAVE_WORKING_FORK 1
11839 { echo "$as_me:$LINENO: checking
for _LARGEFILE_SOURCE value needed
for large files
" >&5
11840 echo $ECHO_N "checking
for _LARGEFILE_SOURCE value needed
for large files...
$ECHO_C" >&6; }
11841 if test "${ac_cv_sys_largefile_source+set}" = set; then
11842 echo $ECHO_N "(cached
) $ECHO_C" >&6
11845 cat >conftest.$ac_ext <<_ACEOF
11848 cat confdefs.h >>conftest.$ac_ext
11849 cat >>conftest.$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11851 #include <sys/types.h> /* for off_t */
11856 int (*fp) (FILE *, off_t, int) = fseeko;
11857 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11862 rm -f conftest.$ac_objext conftest$ac_exeext
11863 if { (ac_try="$ac_link"
11864 case "(($ac_try" in
11865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11866 *) ac_try_echo=$ac_try;;
11868 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11869 (eval "$ac_link") 2>conftest.er1
11871 grep -v '^ *+' conftest.er1 >conftest.err
11873 cat conftest.err >&5
11874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11875 (exit $ac_status); } && {
11876 test -z "$ac_c_werror_flag" ||
11877 test ! -s conftest.err
11878 } && test -s conftest$ac_exeext &&
11879 $as_test_x conftest$ac_exeext; then
11880 ac_cv_sys_largefile_source=no; break
11882 echo "$as_me: failed program was
:" >&5
11883 sed 's/^/| /' conftest.$ac_ext >&5
11888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11889 conftest$ac_exeext conftest.$ac_ext
11890 cat >conftest.$ac_ext <<_ACEOF
11893 cat confdefs.h >>conftest.$ac_ext
11894 cat >>conftest.$ac_ext <<_ACEOF
11895 /* end confdefs.h. */
11896 #define _LARGEFILE_SOURCE 1
11897 #include <sys/types.h> /* for off_t */
11902 int (*fp) (FILE *, off_t, int) = fseeko;
11903 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11908 rm -f conftest.$ac_objext conftest$ac_exeext
11909 if { (ac_try="$ac_link"
11910 case "(($ac_try" in
11911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11912 *) ac_try_echo=$ac_try;;
11914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11915 (eval "$ac_link") 2>conftest.er1
11917 grep -v '^ *+' conftest.er1 >conftest.err
11919 cat conftest.err >&5
11920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11921 (exit $ac_status); } && {
11922 test -z "$ac_c_werror_flag" ||
11923 test ! -s conftest.err
11924 } && test -s conftest$ac_exeext &&
11925 $as_test_x conftest$ac_exeext; then
11926 ac_cv_sys_largefile_source=1; break
11928 echo "$as_me: failed program was
:" >&5
11929 sed 's/^/| /' conftest.$ac_ext >&5
11934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11935 conftest$ac_exeext conftest.$ac_ext
11936 ac_cv_sys_largefile_source=unknown
11940 { echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_source" >&5
11941 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
11942 case $ac_cv_sys_largefile_source in #(
11945 cat >>confdefs.h <<_ACEOF
11946 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
11952 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
11953 # in glibc 2.1.3, but that breaks too many other things.
11954 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
11955 if test $ac_cv_sys_largefile_source != unknown; then
11957 cat >>confdefs.h <<\_ACEOF
11958 #define HAVE_FSEEKO 1
11963 if test $ac_cv_c_compiler_gnu = yes; then
11964 { echo "$as_me:$LINENO: checking whether
$CC needs
-traditional" >&5
11965 echo $ECHO_N "checking whether
$CC needs
-traditional...
$ECHO_C" >&6; }
11966 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11967 echo $ECHO_N "(cached
) $ECHO_C" >&6
11969 ac_pattern="Autoconf.
*'x'"
11970 cat >conftest.$ac_ext <<_ACEOF
11973 cat confdefs.h >>conftest.$ac_ext
11974 cat >>conftest.$ac_ext <<_ACEOF
11975 /* end confdefs.h. */
11979 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
11980 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11981 ac_cv_prog_gcc_traditional=yes
11983 ac_cv_prog_gcc_traditional=no
11988 if test $ac_cv_prog_gcc_traditional = no; then
11989 cat >conftest.$ac_ext <<_ACEOF
11992 cat confdefs.h >>conftest.$ac_ext
11993 cat >>conftest.$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 #include <termio.h>
11998 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
11999 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12000 ac_cv_prog_gcc_traditional=yes
12006 { echo "$as_me:$LINENO: result
: $ac_cv_prog_gcc_traditional" >&5
12007 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
12008 if test $ac_cv_prog_gcc_traditional = yes; then
12009 CC="$CC -traditional"
12013 # XXX: these are commented out until we determine whether it matters if our malloc()
12014 # acts exactly like glibc's or not
12017 { echo "$as_me:$LINENO: checking
for working memcmp
" >&5
12018 echo $ECHO_N "checking
for working memcmp...
$ECHO_C" >&6; }
12019 if test "${ac_cv_func_memcmp_working+set}" = set; then
12020 echo $ECHO_N "(cached
) $ECHO_C" >&6
12022 if test "$cross_compiling" = yes; then
12023 ac_cv_func_memcmp_working=no
12025 cat >conftest.$ac_ext <<_ACEOF
12028 cat confdefs.h >>conftest.$ac_ext
12029 cat >>conftest.$ac_ext <<_ACEOF
12030 /* end confdefs.h. */
12031 $ac_includes_default
12036 /* Some versions of memcmp are not 8-bit clean. */
12037 char c0 = '\100', c1 = '\200', c2 = '\201';
12038 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12041 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12042 or more and with at least one buffer not starting on a 4-byte boundary.
12043 William Lewis provided this test program. */
12048 for (i = 0; i < 4; i++)
12052 strcpy (a, "--------01111111");
12053 strcpy (b, "--------10000000");
12054 if (memcmp (a, b, 16) >= 0)
12064 rm -f conftest$ac_exeext
12065 if { (ac_try="$ac_link"
12066 case "(($ac_try" in
12067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12068 *) ac_try_echo=$ac_try;;
12070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12071 (eval "$ac_link") 2>&5
12073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12075 { (case "(($ac_try" in
12076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12077 *) ac_try_echo=$ac_try;;
12079 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12080 (eval "$ac_try") 2>&5
12082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12083 (exit $ac_status); }; }; then
12084 ac_cv_func_memcmp_working=yes
12086 echo "$as_me: program exited with status
$ac_status" >&5
12087 echo "$as_me: failed program was
:" >&5
12088 sed 's/^/| /' conftest.$ac_ext >&5
12090 ( exit $ac_status )
12091 ac_cv_func_memcmp_working=no
12093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12098 { echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
12099 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
12100 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12101 *" memcmp.
$ac_objext "* ) ;;
12102 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
12111 for ac_header in $ac_header_list
12113 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
12114 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12115 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12116 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12117 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12118 echo $ECHO_N "(cached
) $ECHO_C" >&6
12120 ac_res=`eval echo '${'$as_ac_Header'}'`
12121 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12122 echo "${ECHO_T}$ac_res" >&6; }
12124 # Is the header compilable?
12125 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12126 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12127 cat >conftest.$ac_ext <<_ACEOF
12130 cat confdefs.h >>conftest.$ac_ext
12131 cat >>conftest.$ac_ext <<_ACEOF
12132 /* end confdefs.h. */
12133 $ac_includes_default
12134 #include <$ac_header>
12136 rm -f conftest.$ac_objext
12137 if { (ac_try="$ac_compile"
12138 case "(($ac_try" in
12139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12140 *) ac_try_echo=$ac_try;;
12142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12143 (eval "$ac_compile") 2>conftest.er1
12145 grep -v '^ *+' conftest.er1 >conftest.err
12147 cat conftest.err >&5
12148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12149 (exit $ac_status); } && {
12150 test -z "$ac_c_werror_flag" ||
12151 test ! -s conftest.err
12152 } && test -s conftest.$ac_objext; then
12153 ac_header_compiler=yes
12155 echo "$as_me: failed program was
:" >&5
12156 sed 's/^/| /' conftest.$ac_ext >&5
12158 ac_header_compiler=no
12161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12162 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12163 echo "${ECHO_T}$ac_header_compiler" >&6; }
12165 # Is the header present?
12166 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12167 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12168 cat >conftest.$ac_ext <<_ACEOF
12171 cat confdefs.h >>conftest.$ac_ext
12172 cat >>conftest.$ac_ext <<_ACEOF
12173 /* end confdefs.h. */
12174 #include <$ac_header>
12176 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12177 case "(($ac_try" in
12178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12179 *) ac_try_echo=$ac_try;;
12181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12182 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12184 grep -v '^ *+' conftest.er1 >conftest.err
12186 cat conftest.err >&5
12187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12188 (exit $ac_status); } >/dev/null && {
12189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12190 test ! -s conftest.err
12192 ac_header_preproc=yes
12194 echo "$as_me: failed program was
:" >&5
12195 sed 's/^/| /' conftest.$ac_ext >&5
12197 ac_header_preproc=no
12200 rm -f conftest.err conftest.$ac_ext
12201 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12202 echo "${ECHO_T}$ac_header_preproc" >&6; }
12204 # So? What about this header?
12205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12207 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12208 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12209 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12211 ac_header_preproc=yes
12214 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12215 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12216 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12217 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12218 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12219 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12220 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12221 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12222 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12224 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12225 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12229 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12230 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12231 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12232 echo $ECHO_N "(cached
) $ECHO_C" >&6
12234 eval "$as_ac_Header=\
$ac_header_preproc"
12236 ac_res=`eval echo '${'$as_ac_Header'}'`
12237 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12238 echo "${ECHO_T}$ac_res" >&6; }
12241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12242 cat >>confdefs.h <<_ACEOF
12243 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12258 for ac_func in $ac_func_list
12260 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12261 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12262 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12263 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12264 echo $ECHO_N "(cached
) $ECHO_C" >&6
12266 cat >conftest.$ac_ext <<_ACEOF
12269 cat confdefs.h >>conftest.$ac_ext
12270 cat >>conftest.$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12274 #define $ac_func innocuous_$ac_func
12276 /* System header to define __stub macros and hopefully few prototypes,
12277 which can conflict with char $ac_func (); below.
12278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12279 <limits.h> exists even on freestanding compilers. */
12282 # include <limits.h>
12284 # include <assert.h>
12289 /* Override any GCC internal prototype to avoid an error.
12290 Use char because int might match the return type of a GCC
12291 builtin and then its argument prototype would still apply. */
12296 /* The GNU C library defines this for functions which it implements
12297 to always fail with ENOSYS. Some functions are actually named
12298 something starting with __ and the normal name is an alias. */
12299 #if defined __stub_$ac_func || defined __stub___$ac_func
12306 return $ac_func ();
12311 rm -f conftest.$ac_objext conftest$ac_exeext
12312 if { (ac_try="$ac_link"
12313 case "(($ac_try" in
12314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12315 *) ac_try_echo=$ac_try;;
12317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12318 (eval "$ac_link") 2>conftest.er1
12320 grep -v '^ *+' conftest.er1 >conftest.err
12322 cat conftest.err >&5
12323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12324 (exit $ac_status); } && {
12325 test -z "$ac_c_werror_flag" ||
12326 test ! -s conftest.err
12327 } && test -s conftest$ac_exeext &&
12328 $as_test_x conftest$ac_exeext; then
12329 eval "$as_ac_var=yes"
12331 echo "$as_me: failed program was
:" >&5
12332 sed 's/^/| /' conftest.$ac_ext >&5
12334 eval "$as_ac_var=no
"
12337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12338 conftest$ac_exeext conftest.$ac_ext
12340 ac_res=`eval echo '${'$as_ac_var'}'`
12341 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12342 echo "${ECHO_T}$ac_res" >&6; }
12343 if test `eval echo '${'$as_ac_var'}'` = yes; then
12344 cat >>confdefs.h <<_ACEOF
12345 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12367 { echo "$as_me:$LINENO: checking
for working mktime
" >&5
12368 echo $ECHO_N "checking
for working mktime...
$ECHO_C" >&6; }
12369 if test "${ac_cv_func_working_mktime+set}" = set; then
12370 echo $ECHO_N "(cached
) $ECHO_C" >&6
12372 if test "$cross_compiling" = yes; then
12373 ac_cv_func_working_mktime=no
12375 cat >conftest.$ac_ext <<_ACEOF
12378 cat confdefs.h >>conftest.$ac_ext
12379 cat >>conftest.$ac_ext <<_ACEOF
12380 /* end confdefs.h. */
12381 /* Test program from Paul Eggert and Tony Leneis. */
12382 #ifdef TIME_WITH_SYS_TIME
12383 # include <sys/time.h>
12386 # ifdef HAVE_SYS_TIME_H
12387 # include <sys/time.h>
12393 #include <stdlib.h>
12395 #ifdef HAVE_UNISTD_H
12396 # include <unistd.h>
12400 # define alarm(X) /* empty */
12403 /* Work around redefinition to rpl_putenv by other config tests. */
12406 static time_t time_t_max;
12407 static time_t time_t_min;
12409 /* Values we'll use to set the TZ environment variable. */
12410 static char *tz_strings[] = {
12411 (char *) 0, "TZ
=GMT0
", "TZ
=JST-9
",
12412 "TZ
=EST
+3EDT
+2,M10.1
.0/00:00:00,M2.3
.0/00:00:00"
12414 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
12416 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
12417 Based on a problem report from Andreas Jaeger. */
12419 spring_forward_gap ()
12421 /* glibc (up to about 1998-10-07) failed this test. */
12424 /* Use the portable POSIX.1 specification "TZ
=PST8PDT
,M4.1
.0,M10.5
.0"
12425 instead of "TZ
=America
/Vancouver
" in order to detect the bug even
12426 on systems that don't support the Olson extension, or don't have the
12427 full zoneinfo tables installed. */
12428 putenv ("TZ
=PST8PDT
,M4.1
.0,M10.5
.0");
12437 return mktime (&tm) != (time_t) -1;
12445 return ! (lt = localtime (&now)) || mktime (lt) == now;
12452 return (mktime_test1 (now)
12453 && mktime_test1 ((time_t) (time_t_max - now))
12454 && mktime_test1 ((time_t) (time_t_min + now)));
12460 /* Based on code from Ariel Faigon. */
12470 return tm.tm_mon == 2 && tm.tm_mday == 31;
12479 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
12480 now = mktime (&tm);
12481 if (now != (time_t) -1)
12483 struct tm *lt = localtime (&now);
12485 && lt->tm_year == tm.tm_year
12486 && lt->tm_mon == tm.tm_mon
12487 && lt->tm_mday == tm.tm_mday
12488 && lt->tm_hour == tm.tm_hour
12489 && lt->tm_min == tm.tm_min
12490 && lt->tm_sec == tm.tm_sec
12491 && lt->tm_yday == tm.tm_yday
12492 && lt->tm_wday == tm.tm_wday
12493 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
12494 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
12503 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
12504 ignoring leap seconds. */
12505 unsigned long int answer = 2527315200UL;
12509 tm.tm_year = 2050 - 1900;
12512 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
12515 /* Use the portable POSIX.1 specification "TZ
=PST8PDT
,M4.1
.0,M10.5
.0"
12516 instead of "TZ
=America
/Vancouver
" in order to detect the bug even
12517 on systems that don't support the Olson extension, or don't have the
12518 full zoneinfo tables installed. */
12519 putenv ("TZ
=PST8PDT
,M4.1
.0,M10.5
.0");
12523 /* Check that the result is either a failure, or close enough
12524 to the correct answer that we can assume the discrepancy is
12525 due to leap seconds. */
12526 return (t == (time_t) -1
12527 || (0 < t && answer - 120 <= t && t <= answer + 120));
12536 /* This test makes some buggy mktime implementations loop.
12537 Give up after 60 seconds; a mktime slower than that
12538 isn't worth using anyway. */
12541 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
12544 if ((time_t) -1 < 0)
12545 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
12547 delta = time_t_max / 997; /* a suitable prime number */
12548 for (i = 0; i < N_STRINGS; i++)
12551 putenv (tz_strings[i]);
12553 for (t = 0; t <= time_t_max - delta; t += delta)
12554 if (! mktime_test (t))
12556 if (! (mktime_test ((time_t) 1)
12557 && mktime_test ((time_t) (60 * 60))
12558 && mktime_test ((time_t) (60 * 60 * 24))))
12561 for (j = 1; 0 < j; j *= 2)
12562 if (! bigtime_test (j))
12564 if (! bigtime_test (j - 1))
12567 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
12570 rm -f conftest$ac_exeext
12571 if { (ac_try="$ac_link"
12572 case "(($ac_try" in
12573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12574 *) ac_try_echo=$ac_try;;
12576 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12577 (eval "$ac_link") 2>&5
12579 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12581 { (case "(($ac_try" in
12582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12583 *) ac_try_echo=$ac_try;;
12585 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12586 (eval "$ac_try") 2>&5
12588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12589 (exit $ac_status); }; }; then
12590 ac_cv_func_working_mktime=yes
12592 echo "$as_me: program exited with status
$ac_status" >&5
12593 echo "$as_me: failed program was
:" >&5
12594 sed 's/^/| /' conftest.$ac_ext >&5
12596 ( exit $ac_status )
12597 ac_cv_func_working_mktime=no
12599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12604 { echo "$as_me:$LINENO: result
: $ac_cv_func_working_mktime" >&5
12605 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
12606 if test $ac_cv_func_working_mktime = no; then
12607 case " $LIBOBJS " in
12608 *" mktime.
$ac_objext "* ) ;;
12609 *) LIBOBJS="$LIBOBJS mktime.
$ac_objext"
12617 for ac_header in stdlib.h unistd.h
12619 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
12620 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12621 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12622 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12623 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12624 echo $ECHO_N "(cached
) $ECHO_C" >&6
12626 ac_res=`eval echo '${'$as_ac_Header'}'`
12627 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12628 echo "${ECHO_T}$ac_res" >&6; }
12630 # Is the header compilable?
12631 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12632 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12633 cat >conftest.$ac_ext <<_ACEOF
12636 cat confdefs.h >>conftest.$ac_ext
12637 cat >>conftest.$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12639 $ac_includes_default
12640 #include <$ac_header>
12642 rm -f conftest.$ac_objext
12643 if { (ac_try="$ac_compile"
12644 case "(($ac_try" in
12645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12646 *) ac_try_echo=$ac_try;;
12648 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12649 (eval "$ac_compile") 2>conftest.er1
12651 grep -v '^ *+' conftest.er1 >conftest.err
12653 cat conftest.err >&5
12654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12655 (exit $ac_status); } && {
12656 test -z "$ac_c_werror_flag" ||
12657 test ! -s conftest.err
12658 } && test -s conftest.$ac_objext; then
12659 ac_header_compiler=yes
12661 echo "$as_me: failed program was
:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12664 ac_header_compiler=no
12667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12668 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12669 echo "${ECHO_T}$ac_header_compiler" >&6; }
12671 # Is the header present?
12672 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12673 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12674 cat >conftest.$ac_ext <<_ACEOF
12677 cat confdefs.h >>conftest.$ac_ext
12678 cat >>conftest.$ac_ext <<_ACEOF
12679 /* end confdefs.h. */
12680 #include <$ac_header>
12682 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12683 case "(($ac_try" in
12684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12685 *) ac_try_echo=$ac_try;;
12687 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12688 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12690 grep -v '^ *+' conftest.er1 >conftest.err
12692 cat conftest.err >&5
12693 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12694 (exit $ac_status); } >/dev/null && {
12695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12696 test ! -s conftest.err
12698 ac_header_preproc=yes
12700 echo "$as_me: failed program was
:" >&5
12701 sed 's/^/| /' conftest.$ac_ext >&5
12703 ac_header_preproc=no
12706 rm -f conftest.err conftest.$ac_ext
12707 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12708 echo "${ECHO_T}$ac_header_preproc" >&6; }
12710 # So? What about this header?
12711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12713 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12714 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12715 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12717 ac_header_preproc=yes
12720 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12721 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12722 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12723 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12724 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12725 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12726 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12727 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12728 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12730 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12731 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12735 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12736 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12737 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12738 echo $ECHO_N "(cached
) $ECHO_C" >&6
12740 eval "$as_ac_Header=\
$ac_header_preproc"
12742 ac_res=`eval echo '${'$as_ac_Header'}'`
12743 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12744 echo "${ECHO_T}$ac_res" >&6; }
12747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12748 cat >>confdefs.h <<_ACEOF
12749 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12757 for ac_func in getpagesize
12759 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12760 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12761 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12762 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12763 echo $ECHO_N "(cached
) $ECHO_C" >&6
12765 cat >conftest.$ac_ext <<_ACEOF
12768 cat confdefs.h >>conftest.$ac_ext
12769 cat >>conftest.$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12773 #define $ac_func innocuous_$ac_func
12775 /* System header to define __stub macros and hopefully few prototypes,
12776 which can conflict with char $ac_func (); below.
12777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12778 <limits.h> exists even on freestanding compilers. */
12781 # include <limits.h>
12783 # include <assert.h>
12788 /* Override any GCC internal prototype to avoid an error.
12789 Use char because int might match the return type of a GCC
12790 builtin and then its argument prototype would still apply. */
12795 /* The GNU C library defines this for functions which it implements
12796 to always fail with ENOSYS. Some functions are actually named
12797 something starting with __ and the normal name is an alias. */
12798 #if defined __stub_$ac_func || defined __stub___$ac_func
12805 return $ac_func ();
12810 rm -f conftest.$ac_objext conftest$ac_exeext
12811 if { (ac_try="$ac_link"
12812 case "(($ac_try" in
12813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12814 *) ac_try_echo=$ac_try;;
12816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12817 (eval "$ac_link") 2>conftest.er1
12819 grep -v '^ *+' conftest.er1 >conftest.err
12821 cat conftest.err >&5
12822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12823 (exit $ac_status); } && {
12824 test -z "$ac_c_werror_flag" ||
12825 test ! -s conftest.err
12826 } && test -s conftest$ac_exeext &&
12827 $as_test_x conftest$ac_exeext; then
12828 eval "$as_ac_var=yes"
12830 echo "$as_me: failed program was
:" >&5
12831 sed 's/^/| /' conftest.$ac_ext >&5
12833 eval "$as_ac_var=no
"
12836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12837 conftest$ac_exeext conftest.$ac_ext
12839 ac_res=`eval echo '${'$as_ac_var'}'`
12840 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12841 echo "${ECHO_T}$ac_res" >&6; }
12842 if test `eval echo '${'$as_ac_var'}'` = yes; then
12843 cat >>confdefs.h <<_ACEOF
12844 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12850 { echo "$as_me:$LINENO: checking
for working mmap
" >&5
12851 echo $ECHO_N "checking
for working mmap...
$ECHO_C" >&6; }
12852 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12853 echo $ECHO_N "(cached
) $ECHO_C" >&6
12855 if test "$cross_compiling" = yes; then
12856 ac_cv_func_mmap_fixed_mapped=no
12858 cat >conftest.$ac_ext <<_ACEOF
12861 cat confdefs.h >>conftest.$ac_ext
12862 cat >>conftest.$ac_ext <<_ACEOF
12863 /* end confdefs.h. */
12864 $ac_includes_default
12865 /* malloc might have been renamed as rpl_malloc. */
12868 /* Thanks to Mike Haertel and Jim Avera for this test.
12869 Here is a matrix of mmap possibilities:
12870 mmap private not fixed
12871 mmap private fixed at somewhere currently unmapped
12872 mmap private fixed at somewhere already mapped
12873 mmap shared not fixed
12874 mmap shared fixed at somewhere currently unmapped
12875 mmap shared fixed at somewhere already mapped
12876 For private mappings, we should verify that changes cannot be read()
12877 back from the file, nor mmap's back from the file at a different
12878 address. (There have been systems where private was not correctly
12879 implemented like the infamous i386 svr4.0, and systems where the
12880 VM page cache was not coherent with the file system buffer cache
12881 like early versions of FreeBSD and possibly contemporary NetBSD.)
12882 For shared mappings, we should conversely verify that changes get
12883 propagated back to all the places they're supposed to be.
12885 Grep wants private fixed already mapped.
12886 The main things grep needs to know about mmap are:
12887 * does it exist and is it safe to write into the mmap'd area
12888 * how to use it (BSD variants) */
12891 #include <sys/mman.h>
12893 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12897 /* This mess was copied from the GNU getpagesize.h. */
12898 #ifndef HAVE_GETPAGESIZE
12899 /* Assume that all systems that can run configure have sys/param.h. */
12900 # ifndef HAVE_SYS_PARAM_H
12901 # define HAVE_SYS_PARAM_H 1
12904 # ifdef _SC_PAGESIZE
12905 # define getpagesize() sysconf(_SC_PAGESIZE)
12906 # else /* no _SC_PAGESIZE */
12907 # ifdef HAVE_SYS_PARAM_H
12908 # include <sys/param.h>
12909 # ifdef EXEC_PAGESIZE
12910 # define getpagesize() EXEC_PAGESIZE
12911 # else /* no EXEC_PAGESIZE */
12913 # define getpagesize() NBPG * CLSIZE
12916 # endif /* no CLSIZE */
12917 # else /* no NBPG */
12919 # define getpagesize() NBPC
12920 # else /* no NBPC */
12922 # define getpagesize() PAGESIZE
12923 # endif /* PAGESIZE */
12924 # endif /* no NBPC */
12925 # endif /* no NBPG */
12926 # endif /* no EXEC_PAGESIZE */
12927 # else /* no HAVE_SYS_PARAM_H */
12928 # define getpagesize() 8192 /* punt totally */
12929 # endif /* no HAVE_SYS_PARAM_H */
12930 # endif /* no _SC_PAGESIZE */
12932 #endif /* no HAVE_GETPAGESIZE */
12937 char *data, *data2, *data3;
12941 pagesize = getpagesize ();
12943 /* First, make a file with some known garbage in it. */
12944 data = (char *) malloc (pagesize);
12947 for (i = 0; i < pagesize; ++i)
12948 *(data + i) = rand ();
12950 fd = creat ("conftest.mmap
", 0600);
12953 if (write (fd, data, pagesize) != pagesize)
12957 /* Next, try to mmap the file at a fixed address which already has
12958 something else allocated at it. If we can, also make sure that
12959 we see the same garbage. */
12960 fd = open ("conftest.mmap
", O_RDWR);
12963 data2 = (char *) malloc (2 * pagesize);
12966 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
12967 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12968 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12970 for (i = 0; i < pagesize; ++i)
12971 if (*(data + i) != *(data2 + i))
12974 /* Finally, make sure that changes to the mapped area do not
12975 percolate back to the file as seen by read(). (This is a bug on
12976 some variants of i386 svr4.0.) */
12977 for (i = 0; i < pagesize; ++i)
12978 *(data2 + i) = *(data2 + i) + 1;
12979 data3 = (char *) malloc (pagesize);
12982 if (read (fd, data3, pagesize) != pagesize)
12984 for (i = 0; i < pagesize; ++i)
12985 if (*(data + i) != *(data3 + i))
12991 rm -f conftest$ac_exeext
12992 if { (ac_try="$ac_link"
12993 case "(($ac_try" in
12994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12995 *) ac_try_echo=$ac_try;;
12997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12998 (eval "$ac_link") 2>&5
13000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13002 { (case "(($ac_try" in
13003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13004 *) ac_try_echo=$ac_try;;
13006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13007 (eval "$ac_try") 2>&5
13009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13010 (exit $ac_status); }; }; then
13011 ac_cv_func_mmap_fixed_mapped=yes
13013 echo "$as_me: program exited with status
$ac_status" >&5
13014 echo "$as_me: failed program was
:" >&5
13015 sed 's/^/| /' conftest.$ac_ext >&5
13017 ( exit $ac_status )
13018 ac_cv_func_mmap_fixed_mapped=no
13020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13025 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
13026 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
13027 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13029 cat >>confdefs.h <<\_ACEOF
13030 #define HAVE_MMAP 1
13034 rm -f conftest.mmap
13038 for ac_header in sys/select.h sys/socket.h
13040 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
13041 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13042 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
13043 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
13044 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13045 echo $ECHO_N "(cached
) $ECHO_C" >&6
13047 ac_res=`eval echo '${'$as_ac_Header'}'`
13048 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13049 echo "${ECHO_T}$ac_res" >&6; }
13051 # Is the header compilable?
13052 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
13053 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
13054 cat >conftest.$ac_ext <<_ACEOF
13057 cat confdefs.h >>conftest.$ac_ext
13058 cat >>conftest.$ac_ext <<_ACEOF
13059 /* end confdefs.h. */
13060 $ac_includes_default
13061 #include <$ac_header>
13063 rm -f conftest.$ac_objext
13064 if { (ac_try="$ac_compile"
13065 case "(($ac_try" in
13066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13067 *) ac_try_echo=$ac_try;;
13069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13070 (eval "$ac_compile") 2>conftest.er1
13072 grep -v '^ *+' conftest.er1 >conftest.err
13074 cat conftest.err >&5
13075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13076 (exit $ac_status); } && {
13077 test -z "$ac_c_werror_flag" ||
13078 test ! -s conftest.err
13079 } && test -s conftest.$ac_objext; then
13080 ac_header_compiler=yes
13082 echo "$as_me: failed program was
:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13085 ac_header_compiler=no
13088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13089 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
13090 echo "${ECHO_T}$ac_header_compiler" >&6; }
13092 # Is the header present?
13093 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
13094 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
13095 cat >conftest.$ac_ext <<_ACEOF
13098 cat confdefs.h >>conftest.$ac_ext
13099 cat >>conftest.$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13101 #include <$ac_header>
13103 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13104 case "(($ac_try" in
13105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13106 *) ac_try_echo=$ac_try;;
13108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13109 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13111 grep -v '^ *+' conftest.er1 >conftest.err
13113 cat conftest.err >&5
13114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13115 (exit $ac_status); } >/dev/null && {
13116 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13117 test ! -s conftest.err
13119 ac_header_preproc=yes
13121 echo "$as_me: failed program was
:" >&5
13122 sed 's/^/| /' conftest.$ac_ext >&5
13124 ac_header_preproc=no
13127 rm -f conftest.err conftest.$ac_ext
13128 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
13129 echo "${ECHO_T}$ac_header_preproc" >&6; }
13131 # So? What about this header?
13132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13134 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
13135 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
13136 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
13137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
13138 ac_header_preproc=yes
13141 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
13142 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
13143 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
13144 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
13145 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
13146 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
13147 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
13148 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
13149 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
13150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
13151 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
13152 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
13156 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
13157 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
13158 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13159 echo $ECHO_N "(cached
) $ECHO_C" >&6
13161 eval "$as_ac_Header=\
$ac_header_preproc"
13163 ac_res=`eval echo '${'$as_ac_Header'}'`
13164 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13165 echo "${ECHO_T}$ac_res" >&6; }
13168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13169 cat >>confdefs.h <<_ACEOF
13170 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
13177 { echo "$as_me:$LINENO: checking types of arguments
for select" >&5
13178 echo $ECHO_N "checking types of arguments
for select...
$ECHO_C" >&6; }
13179 if test "${ac_cv_func_select_args+set}" = set; then
13180 echo $ECHO_N "(cached
) $ECHO_C" >&6
13182 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
13183 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
13184 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
13185 cat >conftest.$ac_ext <<_ACEOF
13188 cat confdefs.h >>conftest.$ac_ext
13189 cat >>conftest.$ac_ext <<_ACEOF
13190 /* end confdefs.h. */
13191 $ac_includes_default
13192 #ifdef HAVE_SYS_SELECT_H
13193 # include <sys/select.h>
13195 #ifdef HAVE_SYS_SOCKET_H
13196 # include <sys/socket.h>
13202 extern int select ($ac_arg1,
13203 $ac_arg234, $ac_arg234, $ac_arg234,
13209 rm -f conftest.$ac_objext
13210 if { (ac_try="$ac_compile"
13211 case "(($ac_try" in
13212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13213 *) ac_try_echo=$ac_try;;
13215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13216 (eval "$ac_compile") 2>conftest.er1
13218 grep -v '^ *+' conftest.er1 >conftest.err
13220 cat conftest.err >&5
13221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13222 (exit $ac_status); } && {
13223 test -z "$ac_c_werror_flag" ||
13224 test ! -s conftest.err
13225 } && test -s conftest.$ac_objext; then
13226 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
13228 echo "$as_me: failed program was
:" >&5
13229 sed 's/^/| /' conftest.$ac_ext >&5
13234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13238 # Provide a safe default value.
13239 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
13242 { echo "$as_me:$LINENO: result
: $ac_cv_func_select_args" >&5
13243 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
13244 ac_save_IFS=$IFS; IFS=','
13245 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
13249 cat >>confdefs.h <<_ACEOF
13250 #define SELECT_TYPE_ARG1 $1
13254 cat >>confdefs.h <<_ACEOF
13255 #define SELECT_TYPE_ARG234 ($2)
13259 cat >>confdefs.h <<_ACEOF
13260 #define SELECT_TYPE_ARG5 ($3)
13265 { echo "$as_me:$LINENO: checking
for function prototypes
" >&5
13266 echo $ECHO_N "checking
for function prototypes...
$ECHO_C" >&6; }
13267 if test "$ac_cv_prog_cc_c89" != no; then
13268 { echo "$as_me:$LINENO: result
: yes" >&5
13269 echo "${ECHO_T}yes" >&6; }
13271 cat >>confdefs.h <<\_ACEOF
13272 #define PROTOTYPES 1
13276 cat >>confdefs.h <<\_ACEOF
13277 #define __PROTOTYPES 1
13281 { echo "$as_me:$LINENO: result
: no
" >&5
13282 echo "${ECHO_T}no
" >&6; }
13285 { echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed
" >&5
13286 echo $ECHO_N "checking whether setvbuf arguments are reversed...
$ECHO_C" >&6; }
13287 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
13288 echo $ECHO_N "(cached
) $ECHO_C" >&6
13290 ac_cv_func_setvbuf_reversed=no
13291 cat >conftest.$ac_ext <<_ACEOF
13294 cat confdefs.h >>conftest.$ac_ext
13295 cat >>conftest.$ac_ext <<_ACEOF
13296 /* end confdefs.h. */
13299 int (setvbuf) (FILE *, int, char *, size_t);
13304 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
13309 rm -f conftest.$ac_objext conftest$ac_exeext
13310 if { (ac_try="$ac_link"
13311 case "(($ac_try" in
13312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13313 *) ac_try_echo=$ac_try;;
13315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13316 (eval "$ac_link") 2>conftest.er1
13318 grep -v '^ *+' conftest.er1 >conftest.err
13320 cat conftest.err >&5
13321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13322 (exit $ac_status); } && {
13323 test -z "$ac_c_werror_flag" ||
13324 test ! -s conftest.err
13325 } && test -s conftest$ac_exeext &&
13326 $as_test_x conftest$ac_exeext; then
13327 cat >conftest.$ac_ext <<_ACEOF
13330 cat confdefs.h >>conftest.$ac_ext
13331 cat >>conftest.$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13335 int (setvbuf) (FILE *, int, char *, size_t);
13340 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
13345 rm -f conftest.$ac_objext conftest$ac_exeext
13346 if { (ac_try="$ac_link"
13347 case "(($ac_try" in
13348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13349 *) ac_try_echo=$ac_try;;
13351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13352 (eval "$ac_link") 2>conftest.er1
13354 grep -v '^ *+' conftest.er1 >conftest.err
13356 cat conftest.err >&5
13357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13358 (exit $ac_status); } && {
13359 test -z "$ac_c_werror_flag" ||
13360 test ! -s conftest.err
13361 } && test -s conftest$ac_exeext &&
13362 $as_test_x conftest$ac_exeext; then
13363 # It compiles and links either way, so it must not be declared
13364 # with a prototype and most likely this is a K&R C compiler.
13366 if test "$cross_compiling" = yes; then
13367 : # Assume setvbuf is not reversed when cross-compiling.
13369 cat >conftest.$ac_ext <<_ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375 $ac_includes_default
13379 /* This call has the arguments reversed.
13380 A reversed system may check and see that the address of buf
13381 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
13383 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
13386 return 0; /* Non-reversed systems SEGV here. */
13391 rm -f conftest$ac_exeext
13392 if { (ac_try="$ac_link"
13393 case "(($ac_try" in
13394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13395 *) ac_try_echo=$ac_try;;
13397 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13398 (eval "$ac_link") 2>&5
13400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13401 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13402 { (case "(($ac_try" in
13403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13404 *) ac_try_echo=$ac_try;;
13406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_try") 2>&5
13409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13410 (exit $ac_status); }; }; then
13411 ac_cv_func_setvbuf_reversed=yes
13413 echo "$as_me: program exited with status
$ac_status" >&5
13414 echo "$as_me: failed program was
:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13422 ac_cv_func_setvbuf_reversed=yes
13424 echo "$as_me: failed program was
:" >&5
13425 sed 's/^/| /' conftest.$ac_ext >&5
13430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13431 conftest$ac_exeext conftest.$ac_ext
13433 echo "$as_me: failed program was
:" >&5
13434 sed 's/^/| /' conftest.$ac_ext >&5
13439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13440 conftest$ac_exeext conftest.$ac_ext
13442 { echo "$as_me:$LINENO: result
: $ac_cv_func_setvbuf_reversed" >&5
13443 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6; }
13444 if test $ac_cv_func_setvbuf_reversed = yes; then
13446 cat >>confdefs.h <<\_ACEOF
13447 #define SETVBUF_REVERSED 1
13452 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
13453 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
13454 if test "${ac_cv_type_signal+set}" = set; then
13455 echo $ECHO_N "(cached
) $ECHO_C" >&6
13457 cat >conftest.$ac_ext <<_ACEOF
13460 cat confdefs.h >>conftest.$ac_ext
13461 cat >>conftest.$ac_ext <<_ACEOF
13462 /* end confdefs.h. */
13463 #include <sys/types.h>
13464 #include <signal.h>
13469 return *(signal (0, 0)) (0) == 1;
13474 rm -f conftest.$ac_objext
13475 if { (ac_try="$ac_compile"
13476 case "(($ac_try" in
13477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13478 *) ac_try_echo=$ac_try;;
13480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13481 (eval "$ac_compile") 2>conftest.er1
13483 grep -v '^ *+' conftest.er1 >conftest.err
13485 cat conftest.err >&5
13486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13487 (exit $ac_status); } && {
13488 test -z "$ac_c_werror_flag" ||
13489 test ! -s conftest.err
13490 } && test -s conftest.$ac_objext; then
13491 ac_cv_type_signal=int
13493 echo "$as_me: failed program was
:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13496 ac_cv_type_signal=void
13499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13501 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
13502 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
13504 cat >>confdefs.h <<_ACEOF
13505 #define RETSIGTYPE $ac_cv_type_signal
13509 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
13510 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash...
$ECHO_C" >&6; }
13511 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
13512 echo $ECHO_N "(cached
) $ECHO_C" >&6
13514 rm -f conftest.sym conftest.file
13515 echo >conftest.file
13516 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
13517 if test "$cross_compiling" = yes; then
13518 ac_cv_func_lstat_dereferences_slashed_symlink=no
13520 cat >conftest.$ac_ext <<_ACEOF
13523 cat confdefs.h >>conftest.$ac_ext
13524 cat >>conftest.$ac_ext <<_ACEOF
13525 /* end confdefs.h. */
13526 $ac_includes_default
13531 /* Linux will dereference the symlink and fail.
13532 That is better in the sense that it means we will not
13533 have to compile and use the lstat wrapper. */
13534 return lstat ("conftest.sym
/", &sbuf) == 0;
13539 rm -f conftest$ac_exeext
13540 if { (ac_try="$ac_link"
13541 case "(($ac_try" in
13542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13543 *) ac_try_echo=$ac_try;;
13545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13546 (eval "$ac_link") 2>&5
13548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13550 { (case "(($ac_try" in
13551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13552 *) ac_try_echo=$ac_try;;
13554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13555 (eval "$ac_try") 2>&5
13557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13558 (exit $ac_status); }; }; then
13559 ac_cv_func_lstat_dereferences_slashed_symlink=yes
13561 echo "$as_me: program exited with status
$ac_status" >&5
13562 echo "$as_me: failed program was
:" >&5
13563 sed 's/^/| /' conftest.$ac_ext >&5
13565 ( exit $ac_status )
13566 ac_cv_func_lstat_dereferences_slashed_symlink=no
13568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13573 # If the `ln -s' command failed, then we probably don't even
13574 # have an lstat function.
13575 ac_cv_func_lstat_dereferences_slashed_symlink=no
13577 rm -f conftest.sym conftest.file
13580 { echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
13581 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
13583 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
13585 cat >>confdefs.h <<_ACEOF
13586 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
13590 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
13591 case " $LIBOBJS " in
13592 *" lstat.
$ac_objext "* ) ;;
13593 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
13599 { echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
13600 echo $ECHO_N "checking whether stat accepts an empty string...
$ECHO_C" >&6; }
13601 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
13602 echo $ECHO_N "(cached
) $ECHO_C" >&6
13604 if test "$cross_compiling" = yes; then
13605 ac_cv_func_stat_empty_string_bug=yes
13607 cat >conftest.$ac_ext <<_ACEOF
13610 cat confdefs.h >>conftest.$ac_ext
13611 cat >>conftest.$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13613 $ac_includes_default
13618 return stat ("", &sbuf) == 0;
13623 rm -f conftest$ac_exeext
13624 if { (ac_try="$ac_link"
13625 case "(($ac_try" in
13626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13627 *) ac_try_echo=$ac_try;;
13629 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13630 (eval "$ac_link") 2>&5
13632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13634 { (case "(($ac_try" in
13635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13636 *) ac_try_echo=$ac_try;;
13638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13639 (eval "$ac_try") 2>&5
13641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13642 (exit $ac_status); }; }; then
13643 ac_cv_func_stat_empty_string_bug=no
13645 echo "$as_me: program exited with status
$ac_status" >&5
13646 echo "$as_me: failed program was
:" >&5
13647 sed 's/^/| /' conftest.$ac_ext >&5
13649 ( exit $ac_status )
13650 ac_cv_func_stat_empty_string_bug=yes
13652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13657 { echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
13658 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
13659 if test $ac_cv_func_stat_empty_string_bug = yes; then
13660 case " $LIBOBJS " in
13661 *" stat.
$ac_objext "* ) ;;
13662 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
13667 cat >>confdefs.h <<_ACEOF
13668 #define HAVE_STAT_EMPTY_STRING_BUG 1
13673 { echo "$as_me:$LINENO: checking
for working strcoll
" >&5
13674 echo $ECHO_N "checking
for working strcoll...
$ECHO_C" >&6; }
13675 if test "${ac_cv_func_strcoll_works+set}" = set; then
13676 echo $ECHO_N "(cached
) $ECHO_C" >&6
13678 if test "$cross_compiling" = yes; then
13679 ac_cv_func_strcoll_works=no
13681 cat >conftest.$ac_ext <<_ACEOF
13684 cat confdefs.h >>conftest.$ac_ext
13685 cat >>conftest.$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13687 $ac_includes_default
13691 return (strcoll ("abc
", "def
") >= 0 ||
13692 strcoll ("ABC
", "DEF
") >= 0 ||
13693 strcoll ("123", "456") >= 0)
13698 rm -f conftest$ac_exeext
13699 if { (ac_try="$ac_link"
13700 case "(($ac_try" in
13701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13702 *) ac_try_echo=$ac_try;;
13704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13705 (eval "$ac_link") 2>&5
13707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13709 { (case "(($ac_try" in
13710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13711 *) ac_try_echo=$ac_try;;
13713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13714 (eval "$ac_try") 2>&5
13716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13717 (exit $ac_status); }; }; then
13718 ac_cv_func_strcoll_works=yes
13720 echo "$as_me: program exited with status
$ac_status" >&5
13721 echo "$as_me: failed program was
:" >&5
13722 sed 's/^/| /' conftest.$ac_ext >&5
13724 ( exit $ac_status )
13725 ac_cv_func_strcoll_works=no
13727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13732 { echo "$as_me:$LINENO: result
: $ac_cv_func_strcoll_works" >&5
13733 echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6; }
13734 if test $ac_cv_func_strcoll_works = yes; then
13736 cat >>confdefs.h <<\_ACEOF
13737 #define HAVE_STRCOLL 1
13743 for ac_func in strftime
13745 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13746 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
13747 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
13748 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
13749 echo $ECHO_N "(cached
) $ECHO_C" >&6
13751 cat >conftest.$ac_ext <<_ACEOF
13754 cat confdefs.h >>conftest.$ac_ext
13755 cat >>conftest.$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13759 #define $ac_func innocuous_$ac_func
13761 /* System header to define __stub macros and hopefully few prototypes,
13762 which can conflict with char $ac_func (); below.
13763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13764 <limits.h> exists even on freestanding compilers. */
13767 # include <limits.h>
13769 # include <assert.h>
13774 /* Override any GCC internal prototype to avoid an error.
13775 Use char because int might match the return type of a GCC
13776 builtin and then its argument prototype would still apply. */
13781 /* The GNU C library defines this for functions which it implements
13782 to always fail with ENOSYS. Some functions are actually named
13783 something starting with __ and the normal name is an alias. */
13784 #if defined __stub_$ac_func || defined __stub___$ac_func
13791 return $ac_func ();
13796 rm -f conftest.$ac_objext conftest$ac_exeext
13797 if { (ac_try="$ac_link"
13798 case "(($ac_try" in
13799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13800 *) ac_try_echo=$ac_try;;
13802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13803 (eval "$ac_link") 2>conftest.er1
13805 grep -v '^ *+' conftest.er1 >conftest.err
13807 cat conftest.err >&5
13808 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13809 (exit $ac_status); } && {
13810 test -z "$ac_c_werror_flag" ||
13811 test ! -s conftest.err
13812 } && test -s conftest$ac_exeext &&
13813 $as_test_x conftest$ac_exeext; then
13814 eval "$as_ac_var=yes"
13816 echo "$as_me: failed program was
:" >&5
13817 sed 's/^/| /' conftest.$ac_ext >&5
13819 eval "$as_ac_var=no
"
13822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13823 conftest$ac_exeext conftest.$ac_ext
13825 ac_res=`eval echo '${'$as_ac_var'}'`
13826 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13827 echo "${ECHO_T}$ac_res" >&6; }
13828 if test `eval echo '${'$as_ac_var'}'` = yes; then
13829 cat >>confdefs.h <<_ACEOF
13830 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13834 # strftime is in -lintl on SCO UNIX.
13835 { echo "$as_me:$LINENO: checking
for strftime
in -lintl" >&5
13836 echo $ECHO_N "checking
for strftime
in -lintl...
$ECHO_C" >&6; }
13837 if test "${ac_cv_lib_intl_strftime+set}" = set; then
13838 echo $ECHO_N "(cached
) $ECHO_C" >&6
13840 ac_check_lib_save_LIBS=$LIBS
13841 LIBS="-lintl $LIBS"
13842 cat >conftest.$ac_ext <<_ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13859 return strftime ();
13864 rm -f conftest.$ac_objext conftest$ac_exeext
13865 if { (ac_try="$ac_link"
13866 case "(($ac_try" in
13867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13868 *) ac_try_echo=$ac_try;;
13870 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13871 (eval "$ac_link") 2>conftest.er1
13873 grep -v '^ *+' conftest.er1 >conftest.err
13875 cat conftest.err >&5
13876 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13877 (exit $ac_status); } && {
13878 test -z "$ac_c_werror_flag" ||
13879 test ! -s conftest.err
13880 } && test -s conftest$ac_exeext &&
13881 $as_test_x conftest$ac_exeext; then
13882 ac_cv_lib_intl_strftime=yes
13884 echo "$as_me: failed program was
:" >&5
13885 sed 's/^/| /' conftest.$ac_ext >&5
13887 ac_cv_lib_intl_strftime=no
13890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13891 conftest$ac_exeext conftest.$ac_ext
13892 LIBS=$ac_check_lib_save_LIBS
13894 { echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_strftime" >&5
13895 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
13896 if test $ac_cv_lib_intl_strftime = yes; then
13897 cat >>confdefs.h <<\_ACEOF
13898 #define HAVE_STRFTIME 1
13901 LIBS="-lintl $LIBS"
13907 { echo "$as_me:$LINENO: checking
for working strnlen
" >&5
13908 echo $ECHO_N "checking
for working strnlen...
$ECHO_C" >&6; }
13909 if test "${ac_cv_func_strnlen_working+set}" = set; then
13910 echo $ECHO_N "(cached
) $ECHO_C" >&6
13912 if test "$cross_compiling" = yes; then
13913 ac_cv_func_strnlen_working=no
13915 cat >conftest.$ac_ext <<_ACEOF
13918 cat confdefs.h >>conftest.$ac_ext
13919 cat >>conftest.$ac_ext <<_ACEOF
13920 /* end confdefs.h. */
13921 $ac_includes_default
13927 #define S_LEN (sizeof S - 1)
13929 /* At least one implementation is buggy: that of AIX 4.3 would
13930 give strnlen (S, 1) == 3. */
13933 for (i = 0; i < S_LEN + 1; ++i)
13935 int expected = i <= S_LEN ? i : S_LEN;
13936 if (strnlen (S, i) != expected)
13945 rm -f conftest$ac_exeext
13946 if { (ac_try="$ac_link"
13947 case "(($ac_try" in
13948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13949 *) ac_try_echo=$ac_try;;
13951 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13952 (eval "$ac_link") 2>&5
13954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13956 { (case "(($ac_try" in
13957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13958 *) ac_try_echo=$ac_try;;
13960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13961 (eval "$ac_try") 2>&5
13963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13964 (exit $ac_status); }; }; then
13965 ac_cv_func_strnlen_working=yes
13967 echo "$as_me: program exited with status
$ac_status" >&5
13968 echo "$as_me: failed program was
:" >&5
13969 sed 's/^/| /' conftest.$ac_ext >&5
13971 ( exit $ac_status )
13972 ac_cv_func_strnlen_working=no
13974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13979 { echo "$as_me:$LINENO: result
: $ac_cv_func_strnlen_working" >&5
13980 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6; }
13981 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
13982 *" strnlen.
$ac_objext "* ) ;;
13983 *) LIBOBJS="$LIBOBJS strnlen.
$ac_objext"
13988 { echo "$as_me:$LINENO: checking
for working strtod
" >&5
13989 echo $ECHO_N "checking
for working strtod...
$ECHO_C" >&6; }
13990 if test "${ac_cv_func_strtod+set}" = set; then
13991 echo $ECHO_N "(cached
) $ECHO_C" >&6
13993 if test "$cross_compiling" = yes; then
13994 ac_cv_func_strtod=no
13996 cat >conftest.$ac_ext <<_ACEOF
13999 cat confdefs.h >>conftest.$ac_ext
14000 cat >>conftest.$ac_ext <<_ACEOF
14001 /* end confdefs.h. */
14003 $ac_includes_default
14011 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
14012 char *string = " +69";
14015 value = strtod (string, &term);
14016 if (value != 69 || term != (string + 4))
14021 /* Under Solaris 2.4, strtod returns the wrong value for the
14022 terminating character under some conditions. */
14023 char *string = "NaN
";
14025 strtod (string, &term);
14026 if (term != string && *(term - 1) == 0)
14033 rm -f conftest$ac_exeext
14034 if { (ac_try="$ac_link"
14035 case "(($ac_try" in
14036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14037 *) ac_try_echo=$ac_try;;
14039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14040 (eval "$ac_link") 2>&5
14042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14043 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14044 { (case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14048 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_try") 2>&5
14051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_cv_func_strtod=yes
14055 echo "$as_me: program exited with status
$ac_status" >&5
14056 echo "$as_me: failed program was
:" >&5
14057 sed 's/^/| /' conftest.$ac_ext >&5
14059 ( exit $ac_status )
14060 ac_cv_func_strtod=no
14062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14067 { echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
14068 echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
14069 if test $ac_cv_func_strtod = no; then
14070 case " $LIBOBJS " in
14071 *" strtod.
$ac_objext "* ) ;;
14072 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
14076 { echo "$as_me:$LINENO: checking
for pow
" >&5
14077 echo $ECHO_N "checking
for pow...
$ECHO_C" >&6; }
14078 if test "${ac_cv_func_pow+set}" = set; then
14079 echo $ECHO_N "(cached
) $ECHO_C" >&6
14081 cat >conftest.$ac_ext <<_ACEOF
14084 cat confdefs.h >>conftest.$ac_ext
14085 cat >>conftest.$ac_ext <<_ACEOF
14086 /* end confdefs.h. */
14087 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
14088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14089 #define pow innocuous_pow
14091 /* System header to define __stub macros and hopefully few prototypes,
14092 which can conflict with char pow (); below.
14093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14094 <limits.h> exists even on freestanding compilers. */
14097 # include <limits.h>
14099 # include <assert.h>
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14111 /* The GNU C library defines this for functions which it implements
14112 to always fail with ENOSYS. Some functions are actually named
14113 something starting with __ and the normal name is an alias. */
14114 #if defined __stub_pow || defined __stub___pow
14126 rm -f conftest.$ac_objext conftest$ac_exeext
14127 if { (ac_try="$ac_link"
14128 case "(($ac_try" in
14129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14130 *) ac_try_echo=$ac_try;;
14132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14133 (eval "$ac_link") 2>conftest.er1
14135 grep -v '^ *+' conftest.er1 >conftest.err
14137 cat conftest.err >&5
14138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14139 (exit $ac_status); } && {
14140 test -z "$ac_c_werror_flag" ||
14141 test ! -s conftest.err
14142 } && test -s conftest$ac_exeext &&
14143 $as_test_x conftest$ac_exeext; then
14146 echo "$as_me: failed program was
:" >&5
14147 sed 's/^/| /' conftest.$ac_ext >&5
14152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14153 conftest$ac_exeext conftest.$ac_ext
14155 { echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
14156 echo "${ECHO_T}$ac_cv_func_pow" >&6; }
14158 if test $ac_cv_func_pow = no; then
14159 { echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
14160 echo $ECHO_N "checking
for pow
in -lm...
$ECHO_C" >&6; }
14161 if test "${ac_cv_lib_m_pow+set}" = set; then
14162 echo $ECHO_N "(cached
) $ECHO_C" >&6
14164 ac_check_lib_save_LIBS=$LIBS
14166 cat >conftest.$ac_ext <<_ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14188 rm -f conftest.$ac_objext conftest$ac_exeext
14189 if { (ac_try="$ac_link"
14190 case "(($ac_try" in
14191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14192 *) ac_try_echo=$ac_try;;
14194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14195 (eval "$ac_link") 2>conftest.er1
14197 grep -v '^ *+' conftest.er1 >conftest.err
14199 cat conftest.err >&5
14200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14201 (exit $ac_status); } && {
14202 test -z "$ac_c_werror_flag" ||
14203 test ! -s conftest.err
14204 } && test -s conftest$ac_exeext &&
14205 $as_test_x conftest$ac_exeext; then
14206 ac_cv_lib_m_pow=yes
14208 echo "$as_me: failed program was
:" >&5
14209 sed 's/^/| /' conftest.$ac_ext >&5
14214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14215 conftest$ac_exeext conftest.$ac_ext
14216 LIBS=$ac_check_lib_save_LIBS
14218 { echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
14219 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
14220 if test $ac_cv_lib_m_pow = yes; then
14223 { echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
14224 echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
14239 { echo "$as_me:$LINENO: checking whether utime accepts a null argument
" >&5
14240 echo $ECHO_N "checking whether utime accepts a null argument...
$ECHO_C" >&6; }
14241 if test "${ac_cv_func_utime_null+set}" = set; then
14242 echo $ECHO_N "(cached
) $ECHO_C" >&6
14244 rm -f conftest.data; >conftest.data
14245 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
14246 if test "$cross_compiling" = yes; then
14247 ac_cv_func_utime_null=no
14249 cat >conftest.$ac_ext <<_ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255 $ac_includes_default
14256 #ifdef HAVE_UTIME_H
14257 # include <utime.h>
14263 return ! (stat ("conftest.data
", &s) == 0
14264 && utime ("conftest.data
", 0) == 0
14265 && stat ("conftest.data
", &t) == 0
14266 && t.st_mtime >= s.st_mtime
14267 && t.st_mtime - s.st_mtime < 120);
14272 rm -f conftest$ac_exeext
14273 if { (ac_try="$ac_link"
14274 case "(($ac_try" in
14275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14276 *) ac_try_echo=$ac_try;;
14278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14279 (eval "$ac_link") 2>&5
14281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14283 { (case "(($ac_try" in
14284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14285 *) ac_try_echo=$ac_try;;
14287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14288 (eval "$ac_try") 2>&5
14290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 ac_cv_func_utime_null=yes
14294 echo "$as_me: program exited with status
$ac_status" >&5
14295 echo "$as_me: failed program was
:" >&5
14296 sed 's/^/| /' conftest.$ac_ext >&5
14298 ( exit $ac_status )
14299 ac_cv_func_utime_null=no
14301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14306 { echo "$as_me:$LINENO: result
: $ac_cv_func_utime_null" >&5
14307 echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
14308 if test $ac_cv_func_utime_null = yes; then
14310 cat >>confdefs.h <<\_ACEOF
14311 #define HAVE_UTIME_NULL 1
14315 rm -f conftest.data
14318 for ac_func in vprintf
14320 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14321 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
14322 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
14323 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
14324 echo $ECHO_N "(cached
) $ECHO_C" >&6
14326 cat >conftest.$ac_ext <<_ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14334 #define $ac_func innocuous_$ac_func
14336 /* System header to define __stub macros and hopefully few prototypes,
14337 which can conflict with char $ac_func (); below.
14338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14339 <limits.h> exists even on freestanding compilers. */
14342 # include <limits.h>
14344 # include <assert.h>
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14356 /* The GNU C library defines this for functions which it implements
14357 to always fail with ENOSYS. Some functions are actually named
14358 something starting with __ and the normal name is an alias. */
14359 #if defined __stub_$ac_func || defined __stub___$ac_func
14366 return $ac_func ();
14371 rm -f conftest.$ac_objext conftest$ac_exeext
14372 if { (ac_try="$ac_link"
14373 case "(($ac_try" in
14374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375 *) ac_try_echo=$ac_try;;
14377 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14378 (eval "$ac_link") 2>conftest.er1
14380 grep -v '^ *+' conftest.er1 >conftest.err
14382 cat conftest.err >&5
14383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14384 (exit $ac_status); } && {
14385 test -z "$ac_c_werror_flag" ||
14386 test ! -s conftest.err
14387 } && test -s conftest$ac_exeext &&
14388 $as_test_x conftest$ac_exeext; then
14389 eval "$as_ac_var=yes"
14391 echo "$as_me: failed program was
:" >&5
14392 sed 's/^/| /' conftest.$ac_ext >&5
14394 eval "$as_ac_var=no
"
14397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14398 conftest$ac_exeext conftest.$ac_ext
14400 ac_res=`eval echo '${'$as_ac_var'}'`
14401 { echo "$as_me:$LINENO: result
: $ac_res" >&5
14402 echo "${ECHO_T}$ac_res" >&6; }
14403 if test `eval echo '${'$as_ac_var'}'` = yes; then
14404 cat >>confdefs.h <<_ACEOF
14405 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14408 { echo "$as_me:$LINENO: checking
for _doprnt
" >&5
14409 echo $ECHO_N "checking
for _doprnt...
$ECHO_C" >&6; }
14410 if test "${ac_cv_func__doprnt+set}" = set; then
14411 echo $ECHO_N "(cached
) $ECHO_C" >&6
14413 cat >conftest.$ac_ext <<_ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14419 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
14420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14421 #define _doprnt innocuous__doprnt
14423 /* System header to define __stub macros and hopefully few prototypes,
14424 which can conflict with char _doprnt (); below.
14425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14426 <limits.h> exists even on freestanding compilers. */
14429 # include <limits.h>
14431 # include <assert.h>
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14443 /* The GNU C library defines this for functions which it implements
14444 to always fail with ENOSYS. Some functions are actually named
14445 something starting with __ and the normal name is an alias. */
14446 #if defined __stub__doprnt || defined __stub____doprnt
14458 rm -f conftest.$ac_objext conftest$ac_exeext
14459 if { (ac_try="$ac_link"
14460 case "(($ac_try" in
14461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14462 *) ac_try_echo=$ac_try;;
14464 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14465 (eval "$ac_link") 2>conftest.er1
14467 grep -v '^ *+' conftest.er1 >conftest.err
14469 cat conftest.err >&5
14470 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14471 (exit $ac_status); } && {
14472 test -z "$ac_c_werror_flag" ||
14473 test ! -s conftest.err
14474 } && test -s conftest$ac_exeext &&
14475 $as_test_x conftest$ac_exeext; then
14476 ac_cv_func__doprnt=yes
14478 echo "$as_me: failed program was
:" >&5
14479 sed 's/^/| /' conftest.$ac_ext >&5
14481 ac_cv_func__doprnt=no
14484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14485 conftest$ac_exeext conftest.$ac_ext
14487 { echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
14488 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
14489 if test $ac_cv_func__doprnt = yes; then
14491 cat >>confdefs.h <<\_ACEOF
14492 #define HAVE_DOPRNT 1
14550 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 strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtol strtoq unsetenv utime vasprintf
14552 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14553 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
14554 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
14555 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
14556 echo $ECHO_N "(cached
) $ECHO_C" >&6
14558 cat >conftest.$ac_ext <<_ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14566 #define $ac_func innocuous_$ac_func
14568 /* System header to define __stub macros and hopefully few prototypes,
14569 which can conflict with char $ac_func (); below.
14570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14571 <limits.h> exists even on freestanding compilers. */
14574 # include <limits.h>
14576 # include <assert.h>
14581 /* Override any GCC internal prototype to avoid an error.
14582 Use char because int might match the return type of a GCC
14583 builtin and then its argument prototype would still apply. */
14588 /* The GNU C library defines this for functions which it implements
14589 to always fail with ENOSYS. Some functions are actually named
14590 something starting with __ and the normal name is an alias. */
14591 #if defined __stub_$ac_func || defined __stub___$ac_func
14598 return $ac_func ();
14603 rm -f conftest.$ac_objext conftest$ac_exeext
14604 if { (ac_try="$ac_link"
14605 case "(($ac_try" in
14606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14607 *) ac_try_echo=$ac_try;;
14609 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14610 (eval "$ac_link") 2>conftest.er1
14612 grep -v '^ *+' conftest.er1 >conftest.err
14614 cat conftest.err >&5
14615 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14616 (exit $ac_status); } && {
14617 test -z "$ac_c_werror_flag" ||
14618 test ! -s conftest.err
14619 } && test -s conftest$ac_exeext &&
14620 $as_test_x conftest$ac_exeext; then
14621 eval "$as_ac_var=yes"
14623 echo "$as_me: failed program was
:" >&5
14624 sed 's/^/| /' conftest.$ac_ext >&5
14626 eval "$as_ac_var=no
"
14629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14630 conftest$ac_exeext conftest.$ac_ext
14632 ac_res=`eval echo '${'$as_ac_var'}'`
14633 { echo "$as_me:$LINENO: result
: $ac_res" >&5
14634 echo "${ECHO_T}$ac_res" >&6; }
14635 if test `eval echo '${'$as_ac_var'}'` = yes; then
14636 cat >>confdefs.h <<_ACEOF
14637 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14644 { echo "$as_me:$LINENO: checking
for PTHREAD_RWLOCK_INITIALIZER
" >&5
14645 echo $ECHO_N "checking
for PTHREAD_RWLOCK_INITIALIZER...
$ECHO_C" >&6; }
14646 cat >conftest.$ac_ext <<_ACEOF
14649 cat confdefs.h >>conftest.$ac_ext
14650 cat >>conftest.$ac_ext <<_ACEOF
14651 /* end confdefs.h. */
14652 #include <pthread.h>
14656 int foo = PTHREAD_RWLOCK_INITIALIZER;
14661 rm -f conftest.$ac_objext conftest$ac_exeext
14662 if { (ac_try="$ac_link"
14663 case "(($ac_try" in
14664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14665 *) ac_try_echo=$ac_try;;
14667 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14668 (eval "$ac_link") 2>conftest.er1
14670 grep -v '^ *+' conftest.er1 >conftest.err
14672 cat conftest.err >&5
14673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14674 (exit $ac_status); } && {
14675 test -z "$ac_c_werror_flag" ||
14676 test ! -s conftest.err
14677 } && test -s conftest$ac_exeext &&
14678 $as_test_x conftest$ac_exeext; then
14679 { echo "$as_me:$LINENO: result
: yes" >&5
14680 echo "${ECHO_T}yes" >&6; }
14682 cat >>confdefs.h <<\_ACEOF
14683 #define HAVE_PTHREAD_RWLOCK_INITIALIZER 1
14687 echo "$as_me: failed program was
:" >&5
14688 sed 's/^/| /' conftest.$ac_ext >&5
14690 { echo "$as_me:$LINENO: result
: no
" >&5
14691 echo "${ECHO_T}no
" >&6; }
14695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14696 conftest$ac_exeext conftest.$ac_ext
14698 { echo "$as_me:$LINENO: checking
for PTHREAD_RWLOCK_PREFER_WRITER_NP
" >&5
14699 echo $ECHO_N "checking
for PTHREAD_RWLOCK_PREFER_WRITER_NP...
$ECHO_C" >&6; }
14700 cat >conftest.$ac_ext <<_ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 #include <pthread.h>
14710 int foo = PTHREAD_RWLOCK_PREFER_WRITER_NP;
14715 rm -f conftest.$ac_objext conftest$ac_exeext
14716 if { (ac_try="$ac_link"
14717 case "(($ac_try" in
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;;
14721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14722 (eval "$ac_link") 2>conftest.er1
14724 grep -v '^ *+' conftest.er1 >conftest.err
14726 cat conftest.err >&5
14727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14728 (exit $ac_status); } && {
14729 test -z "$ac_c_werror_flag" ||
14730 test ! -s conftest.err
14731 } && test -s conftest$ac_exeext &&
14732 $as_test_x conftest$ac_exeext; then
14733 { echo "$as_me:$LINENO: result
: yes" >&5
14734 echo "${ECHO_T}yes" >&6; }
14736 cat >>confdefs.h <<\_ACEOF
14737 #define HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP 1
14741 echo "$as_me: failed program was
:" >&5
14742 sed 's/^/| /' conftest.$ac_ext >&5
14744 { echo "$as_me:$LINENO: result
: no
" >&5
14745 echo "${ECHO_T}no
" >&6; }
14749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14750 conftest$ac_exeext conftest.$ac_ext
14752 { echo "$as_me:$LINENO: checking
for compiler atomic operations
" >&5
14753 echo $ECHO_N "checking
for compiler atomic operations...
$ECHO_C" >&6; }
14754 cat >conftest.$ac_ext <<_ACEOF
14757 cat confdefs.h >>conftest.$ac_ext
14758 cat >>conftest.$ac_ext <<_ACEOF
14759 /* end confdefs.h. */
14764 int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);
14769 rm -f conftest.$ac_objext conftest$ac_exeext
14770 if { (ac_try="$ac_link"
14771 case "(($ac_try" in
14772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14773 *) ac_try_echo=$ac_try;;
14775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14776 (eval "$ac_link") 2>conftest.er1
14778 grep -v '^ *+' conftest.er1 >conftest.err
14780 cat conftest.err >&5
14781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14782 (exit $ac_status); } && {
14783 test -z "$ac_c_werror_flag" ||
14784 test ! -s conftest.err
14785 } && test -s conftest$ac_exeext &&
14786 $as_test_x conftest$ac_exeext; then
14787 { echo "$as_me:$LINENO: result
: yes" >&5
14788 echo "${ECHO_T}yes" >&6; }
14790 cat >>confdefs.h <<\_ACEOF
14791 #define HAVE_GCC_ATOMICS 1
14795 echo "$as_me: failed program was
:" >&5
14796 sed 's/^/| /' conftest.$ac_ext >&5
14798 { echo "$as_me:$LINENO: result
: no
" >&5
14799 echo "${ECHO_T}no
" >&6; }
14803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14804 conftest$ac_exeext conftest.$ac_ext
14807 { echo "$as_me:$LINENO: checking
for compiler
'attribute pure' support
" >&5
14808 echo $ECHO_N "checking
for compiler
'attribute pure' support...
$ECHO_C" >&6; }
14809 cat >conftest.$ac_ext <<_ACEOF
14812 cat confdefs.h >>conftest.$ac_ext
14813 cat >>conftest.$ac_ext <<_ACEOF
14814 /* end confdefs.h. */
14815 static int __attribute__((pure)) test(void) {}
14824 rm -f conftest.$ac_objext
14825 if { (ac_try="$ac_compile"
14826 case "(($ac_try" in
14827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14828 *) ac_try_echo=$ac_try;;
14830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14831 (eval "$ac_compile") 2>conftest.er1
14833 grep -v '^ *+' conftest.er1 >conftest.err
14835 cat conftest.err >&5
14836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14837 (exit $ac_status); } && {
14838 test -z "$ac_c_werror_flag" ||
14839 test ! -s conftest.err
14840 } && test -s conftest.$ac_objext; then
14841 { echo "$as_me:$LINENO: result
: yes" >&5
14842 echo "${ECHO_T}yes" >&6; }
14844 cat >>confdefs.h <<_ACEOF
14845 #define HAVE_ATTRIBUTE_pure 1
14849 echo "$as_me: failed program was
:" >&5
14850 sed 's/^/| /' conftest.$ac_ext >&5
14852 { echo "$as_me:$LINENO: result
: no
" >&5
14853 echo "${ECHO_T}no
" >&6; }
14856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14859 { echo "$as_me:$LINENO: checking
for compiler
'attribute malloc' support
" >&5
14860 echo $ECHO_N "checking
for compiler
'attribute malloc' support...
$ECHO_C" >&6; }
14861 cat >conftest.$ac_ext <<_ACEOF
14864 cat confdefs.h >>conftest.$ac_ext
14865 cat >>conftest.$ac_ext <<_ACEOF
14866 /* end confdefs.h. */
14867 static int __attribute__((malloc)) test(void) {}
14876 rm -f conftest.$ac_objext
14877 if { (ac_try="$ac_compile"
14878 case "(($ac_try" in
14879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14880 *) ac_try_echo=$ac_try;;
14882 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14883 (eval "$ac_compile") 2>conftest.er1
14885 grep -v '^ *+' conftest.er1 >conftest.err
14887 cat conftest.err >&5
14888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14889 (exit $ac_status); } && {
14890 test -z "$ac_c_werror_flag" ||
14891 test ! -s conftest.err
14892 } && test -s conftest.$ac_objext; then
14893 { echo "$as_me:$LINENO: result
: yes" >&5
14894 echo "${ECHO_T}yes" >&6; }
14896 cat >>confdefs.h <<_ACEOF
14897 #define HAVE_ATTRIBUTE_malloc 1
14901 echo "$as_me: failed program was
:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14904 { echo "$as_me:$LINENO: result
: no
" >&5
14905 echo "${ECHO_T}no
" >&6; }
14908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14911 { echo "$as_me:$LINENO: checking
for compiler
'attribute const' support
" >&5
14912 echo $ECHO_N "checking
for compiler
'attribute const' support...
$ECHO_C" >&6; }
14913 cat >conftest.$ac_ext <<_ACEOF
14916 cat confdefs.h >>conftest.$ac_ext
14917 cat >>conftest.$ac_ext <<_ACEOF
14918 /* end confdefs.h. */
14919 static int __attribute__((const)) test(void) {}
14928 rm -f conftest.$ac_objext
14929 if { (ac_try="$ac_compile"
14930 case "(($ac_try" in
14931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14932 *) ac_try_echo=$ac_try;;
14934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14935 (eval "$ac_compile") 2>conftest.er1
14937 grep -v '^ *+' conftest.er1 >conftest.err
14939 cat conftest.err >&5
14940 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14941 (exit $ac_status); } && {
14942 test -z "$ac_c_werror_flag" ||
14943 test ! -s conftest.err
14944 } && test -s conftest.$ac_objext; then
14945 { echo "$as_me:$LINENO: result
: yes" >&5
14946 echo "${ECHO_T}yes" >&6; }
14948 cat >>confdefs.h <<_ACEOF
14949 #define HAVE_ATTRIBUTE_const 1
14953 echo "$as_me: failed program was
:" >&5
14954 sed 's/^/| /' conftest.$ac_ext >&5
14956 { echo "$as_me:$LINENO: result
: no
" >&5
14957 echo "${ECHO_T}no
" >&6; }
14960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14963 { echo "$as_me:$LINENO: checking
for compiler
'attribute unused' support
" >&5
14964 echo $ECHO_N "checking
for compiler
'attribute unused' support...
$ECHO_C" >&6; }
14965 cat >conftest.$ac_ext <<_ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 static int __attribute__((unused)) test(void) {}
14980 rm -f conftest.$ac_objext
14981 if { (ac_try="$ac_compile"
14982 case "(($ac_try" in
14983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14984 *) ac_try_echo=$ac_try;;
14986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14987 (eval "$ac_compile") 2>conftest.er1
14989 grep -v '^ *+' conftest.er1 >conftest.err
14991 cat conftest.err >&5
14992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14993 (exit $ac_status); } && {
14994 test -z "$ac_c_werror_flag" ||
14995 test ! -s conftest.err
14996 } && test -s conftest.$ac_objext; then
14997 { echo "$as_me:$LINENO: result
: yes" >&5
14998 echo "${ECHO_T}yes" >&6; }
15000 cat >>confdefs.h <<_ACEOF
15001 #define HAVE_ATTRIBUTE_unused 1
15005 echo "$as_me: failed program was
:" >&5
15006 sed 's/^/| /' conftest.$ac_ext >&5
15008 { echo "$as_me:$LINENO: result
: no
" >&5
15009 echo "${ECHO_T}no
" >&6; }
15012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15015 { echo "$as_me:$LINENO: checking
for compiler
'attribute always_inline' support
" >&5
15016 echo $ECHO_N "checking
for compiler
'attribute always_inline' support...
$ECHO_C" >&6; }
15017 cat >conftest.$ac_ext <<_ACEOF
15020 cat confdefs.h >>conftest.$ac_ext
15021 cat >>conftest.$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15023 static int __attribute__((always_inline)) test(void) {}
15032 rm -f conftest.$ac_objext
15033 if { (ac_try="$ac_compile"
15034 case "(($ac_try" in
15035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15036 *) ac_try_echo=$ac_try;;
15038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15039 (eval "$ac_compile") 2>conftest.er1
15041 grep -v '^ *+' conftest.er1 >conftest.err
15043 cat conftest.err >&5
15044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15045 (exit $ac_status); } && {
15046 test -z "$ac_c_werror_flag" ||
15047 test ! -s conftest.err
15048 } && test -s conftest.$ac_objext; then
15049 { echo "$as_me:$LINENO: result
: yes" >&5
15050 echo "${ECHO_T}yes" >&6; }
15052 cat >>confdefs.h <<_ACEOF
15053 #define HAVE_ATTRIBUTE_always_inline 1
15057 echo "$as_me: failed program was
:" >&5
15058 sed 's/^/| /' conftest.$ac_ext >&5
15060 { echo "$as_me:$LINENO: result
: no
" >&5
15061 echo "${ECHO_T}no
" >&6; }
15064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15067 { echo "$as_me:$LINENO: checking
for -ffunction-sections support
" >&5
15068 echo $ECHO_N "checking
for -ffunction-sections support...
$ECHO_C" >&6; }
15069 saved_CFLAGS="${CFLAGS}"
15070 CFLAGS="${CFLAGS} -ffunction-sections"
15071 cat >conftest.$ac_ext <<_ACEOF
15074 cat confdefs.h >>conftest.$ac_ext
15075 cat >>conftest.$ac_ext <<_ACEOF
15076 /* end confdefs.h. */
15086 rm -f conftest.$ac_objext
15087 if { (ac_try="$ac_compile"
15088 case "(($ac_try" in
15089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15090 *) ac_try_echo=$ac_try;;
15092 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15093 (eval "$ac_compile") 2>conftest.er1
15095 grep -v '^ *+' conftest.er1 >conftest.err
15097 cat conftest.err >&5
15098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15099 (exit $ac_status); } && {
15100 test -z "$ac_c_werror_flag" ||
15101 test ! -s conftest.err
15102 } && test -s conftest.$ac_objext; then
15103 { echo "$as_me:$LINENO: result
: yes" >&5
15104 echo "${ECHO_T}yes" >&6; }
15105 saved_LDFLAGS="${LDFLAGS}"
15106 LDFLAGS="${LDFLAGS} -Wl,--gc-sections"
15107 { echo "$as_me:$LINENO: checking
for --gc-sections support
" >&5
15108 echo $ECHO_N "checking
for --gc-sections support...
$ECHO_C" >&6; }
15109 cat >conftest.$ac_ext <<_ACEOF
15112 cat confdefs.h >>conftest.$ac_ext
15113 cat >>conftest.$ac_ext <<_ACEOF
15114 /* end confdefs.h. */
15124 rm -f conftest.$ac_objext conftest$ac_exeext
15125 if { (ac_try="$ac_link"
15126 case "(($ac_try" in
15127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15128 *) ac_try_echo=$ac_try;;
15130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15131 (eval "$ac_link") 2>conftest.er1
15133 grep -v '^ *+' conftest.er1 >conftest.err
15135 cat conftest.err >&5
15136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15137 (exit $ac_status); } && {
15138 test -z "$ac_c_werror_flag" ||
15139 test ! -s conftest.err
15140 } && test -s conftest$ac_exeext &&
15141 $as_test_x conftest$ac_exeext; then
15142 { echo "$as_me:$LINENO: result
: yes" >&5
15143 echo "${ECHO_T}yes" >&6; }
15144 GC_CFLAGS="-ffunction-sections"
15145 GC_LDFLAGS="-Wl,--gc-sections"
15147 echo "$as_me: failed program was
:" >&5
15148 sed 's/^/| /' conftest.$ac_ext >&5
15150 { echo "$as_me:$LINENO: result
: no
" >&5
15151 echo "${ECHO_T}no
" >&6; }
15155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15156 conftest$ac_exeext conftest.$ac_ext
15157 LDFLAGS="${saved_LDFLAGS}"
15159 echo "$as_me: failed program was
:" >&5
15160 sed 's/^/| /' conftest.$ac_ext >&5
15162 { echo "$as_me:$LINENO: result
: no
" >&5
15163 echo "${ECHO_T}no
" >&6; }
15167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15168 CFLAGS="${saved_CFLAGS}"
15172 { echo "$as_me:$LINENO: checking
for res_ninit
" >&5
15173 echo $ECHO_N "checking
for res_ninit...
$ECHO_C" >&6; }
15174 cat >conftest.$ac_ext <<_ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 #include <resolv.h>
15184 int foo = res_ninit(NULL);
15189 rm -f conftest.$ac_objext conftest$ac_exeext
15190 if { (ac_try="$ac_link"
15191 case "(($ac_try" in
15192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_link") 2>conftest.er1
15198 grep -v '^ *+' conftest.er1 >conftest.err
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15202 (exit $ac_status); } && {
15203 test -z "$ac_c_werror_flag" ||
15204 test ! -s conftest.err
15205 } && test -s conftest$ac_exeext &&
15206 $as_test_x conftest$ac_exeext; then
15207 { echo "$as_me:$LINENO: result
: yes" >&5
15208 echo "${ECHO_T}yes" >&6; }
15210 cat >>confdefs.h <<\_ACEOF
15211 #define HAVE_RES_NINIT 1
15215 echo "$as_me: failed program was
:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15218 { echo "$as_me:$LINENO: result
: no
" >&5
15219 echo "${ECHO_T}no
" >&6; }
15223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15224 conftest$ac_exeext conftest.$ac_ext
15226 { echo "$as_me:$LINENO: checking
for RTLD_NOLOAD
" >&5
15227 echo $ECHO_N "checking
for RTLD_NOLOAD...
$ECHO_C" >&6; }
15228 cat >conftest.$ac_ext <<_ACEOF
15231 cat confdefs.h >>conftest.$ac_ext
15232 cat >>conftest.$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15238 int foo = RTLD_NOLOAD;
15243 rm -f conftest.$ac_objext conftest$ac_exeext
15244 if { (ac_try="$ac_link"
15245 case "(($ac_try" in
15246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15247 *) ac_try_echo=$ac_try;;
15249 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15250 (eval "$ac_link") 2>conftest.er1
15252 grep -v '^ *+' conftest.er1 >conftest.err
15254 cat conftest.err >&5
15255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15256 (exit $ac_status); } && {
15257 test -z "$ac_c_werror_flag" ||
15258 test ! -s conftest.err
15259 } && test -s conftest$ac_exeext &&
15260 $as_test_x conftest$ac_exeext; then
15261 { echo "$as_me:$LINENO: result
: yes" >&5
15262 echo "${ECHO_T}yes" >&6; }
15264 cat >>confdefs.h <<\_ACEOF
15265 #define HAVE_RTLD_NOLOAD 1
15269 echo "$as_me: failed program was
:" >&5
15270 sed 's/^/| /' conftest.$ac_ext >&5
15272 { echo "$as_me:$LINENO: result
: no
" >&5
15273 echo "${ECHO_T}no
" >&6; }
15277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15278 conftest$ac_exeext conftest.$ac_ext
15280 { echo "$as_me:$LINENO: checking
for IP_MTU_DISCOVER
" >&5
15281 echo $ECHO_N "checking
for IP_MTU_DISCOVER...
$ECHO_C" >&6; }
15282 cat >conftest.$ac_ext <<_ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 #include <netinet/in.h>
15292 int foo = IP_MTU_DISCOVER;
15297 rm -f conftest.$ac_objext conftest$ac_exeext
15298 if { (ac_try="$ac_link"
15299 case "(($ac_try" in
15300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15301 *) ac_try_echo=$ac_try;;
15303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15304 (eval "$ac_link") 2>conftest.er1
15306 grep -v '^ *+' conftest.er1 >conftest.err
15308 cat conftest.err >&5
15309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15310 (exit $ac_status); } && {
15311 test -z "$ac_c_werror_flag" ||
15312 test ! -s conftest.err
15313 } && test -s conftest$ac_exeext &&
15314 $as_test_x conftest$ac_exeext; then
15315 { echo "$as_me:$LINENO: result
: yes" >&5
15316 echo "${ECHO_T}yes" >&6; }
15318 cat >>confdefs.h <<\_ACEOF
15319 #define HAVE_IP_MTU_DISCOVER 1
15323 echo "$as_me: failed program was
:" >&5
15324 sed 's/^/| /' conftest.$ac_ext >&5
15326 { echo "$as_me:$LINENO: result
: no
" >&5
15327 echo "${ECHO_T}no
" >&6; }
15331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15332 conftest$ac_exeext conftest.$ac_ext
15334 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15335 { echo "$as_me:$LINENO: checking
for libkern
/OSAtomic.h
" >&5
15336 echo $ECHO_N "checking
for libkern
/OSAtomic.h...
$ECHO_C" >&6; }
15337 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15338 echo $ECHO_N "(cached
) $ECHO_C" >&6
15340 { echo "$as_me:$LINENO: result
: $ac_cv_header_libkern_OSAtomic_h" >&5
15341 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
15343 # Is the header compilable?
15344 { echo "$as_me:$LINENO: checking libkern
/OSAtomic.h usability
" >&5
15345 echo $ECHO_N "checking libkern
/OSAtomic.h usability...
$ECHO_C" >&6; }
15346 cat >conftest.$ac_ext <<_ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 $ac_includes_default
15353 #include <libkern/OSAtomic.h>
15355 rm -f conftest.$ac_objext
15356 if { (ac_try="$ac_compile"
15357 case "(($ac_try" in
15358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15359 *) ac_try_echo=$ac_try;;
15361 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15362 (eval "$ac_compile") 2>conftest.er1
15364 grep -v '^ *+' conftest.er1 >conftest.err
15366 cat conftest.err >&5
15367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15368 (exit $ac_status); } && {
15369 test -z "$ac_c_werror_flag" ||
15370 test ! -s conftest.err
15371 } && test -s conftest.$ac_objext; then
15372 ac_header_compiler=yes
15374 echo "$as_me: failed program was
:" >&5
15375 sed 's/^/| /' conftest.$ac_ext >&5
15377 ac_header_compiler=no
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
15382 echo "${ECHO_T}$ac_header_compiler" >&6; }
15384 # Is the header present?
15385 { echo "$as_me:$LINENO: checking libkern
/OSAtomic.h presence
" >&5
15386 echo $ECHO_N "checking libkern
/OSAtomic.h presence...
$ECHO_C" >&6; }
15387 cat >conftest.$ac_ext <<_ACEOF
15390 cat confdefs.h >>conftest.$ac_ext
15391 cat >>conftest.$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15393 #include <libkern/OSAtomic.h>
15395 if { (ac_try="$ac_cpp conftest.
$ac_ext"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15400 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
15403 grep -v '^ *+' conftest.er1 >conftest.err
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15407 (exit $ac_status); } >/dev/null && {
15408 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15411 ac_header_preproc=yes
15413 echo "$as_me: failed program was
:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15416 ac_header_preproc=no
15419 rm -f conftest.err conftest.$ac_ext
15420 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
15421 echo "${ECHO_T}$ac_header_preproc" >&6; }
15423 # So? What about this header?
15424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15426 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
15427 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
15428 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: proceeding with the compiler
's result" >&5
15429 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the compiler's result
" >&2;}
15430 ac_header_preproc=yes
15433 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: present but cannot be compiled
" >&5
15434 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: present but cannot be compiled
" >&2;}
15435 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: check
for missing prerequisite headers?
" >&5
15436 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: check
for missing prerequisite headers?
" >&2;}
15437 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: see the Autoconf documentation
" >&5
15438 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: see the Autoconf documentation
" >&2;}
15439 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: section
\"Present But Cannot Be Compiled
\"" >&5
15440 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
15441 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: proceeding with the preprocessor
's result" >&5
15442 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the preprocessor's result
" >&2;}
15443 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: in the future
, the compiler will take precedence
" >&5
15444 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: in the future
, the compiler will take precedence
" >&2;}
15448 { echo "$as_me:$LINENO: checking
for libkern
/OSAtomic.h
" >&5
15449 echo $ECHO_N "checking
for libkern
/OSAtomic.h...
$ECHO_C" >&6; }
15450 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15451 echo $ECHO_N "(cached
) $ECHO_C" >&6
15453 ac_cv_header_libkern_OSAtomic_h=$ac_header_preproc
15455 { echo "$as_me:$LINENO: result
: $ac_cv_header_libkern_OSAtomic_h" >&5
15456 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
15459 if test $ac_cv_header_libkern_OSAtomic_h = yes; then
15461 cat >>confdefs.h <<_ACEOF
15462 #define HAVE_OSX_ATOMICS 1
15469 { echo "$as_me:$LINENO: checking
for int
" >&5
15470 echo $ECHO_N "checking
for int...
$ECHO_C" >&6; }
15471 if test "${ac_cv_type_int+set}" = set; then
15472 echo $ECHO_N "(cached
) $ECHO_C" >&6
15474 cat >conftest.$ac_ext <<_ACEOF
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15480 $ac_includes_default
15481 typedef int ac__type_new_;
15485 if ((ac__type_new_ *) 0)
15487 if (sizeof (ac__type_new_))
15493 rm -f conftest.$ac_objext
15494 if { (ac_try="$ac_compile"
15495 case "(($ac_try" in
15496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15497 *) ac_try_echo=$ac_try;;
15499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15500 (eval "$ac_compile") 2>conftest.er1
15502 grep -v '^ *+' conftest.er1 >conftest.err
15504 cat conftest.err >&5
15505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15506 (exit $ac_status); } && {
15507 test -z "$ac_c_werror_flag" ||
15508 test ! -s conftest.err
15509 } && test -s conftest.$ac_objext; then
15512 echo "$as_me: failed program was
:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15520 { echo "$as_me:$LINENO: result
: $ac_cv_type_int" >&5
15521 echo "${ECHO_T}$ac_cv_type_int" >&6; }
15523 # The cast to long int works around a bug in the HP C Compiler
15524 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15525 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15526 # This bug is HP SR number 8606223364.
15527 { echo "$as_me:$LINENO: checking size of int
" >&5
15528 echo $ECHO_N "checking size of int...
$ECHO_C" >&6; }
15529 if test "${ac_cv_sizeof_int+set}" = set; then
15530 echo $ECHO_N "(cached
) $ECHO_C" >&6
15532 if test "$cross_compiling" = yes; then
15533 # Depending upon the size, compute the lo and hi bounds.
15534 cat >conftest.$ac_ext <<_ACEOF
15537 cat confdefs.h >>conftest.$ac_ext
15538 cat >>conftest.$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15540 $ac_includes_default
15541 typedef int ac__type_sizeof_;
15545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
15552 rm -f conftest.$ac_objext
15553 if { (ac_try="$ac_compile"
15554 case "(($ac_try" in
15555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15556 *) ac_try_echo=$ac_try;;
15558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15559 (eval "$ac_compile") 2>conftest.er1
15561 grep -v '^ *+' conftest.er1 >conftest.err
15563 cat conftest.err >&5
15564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15565 (exit $ac_status); } && {
15566 test -z "$ac_c_werror_flag" ||
15567 test ! -s conftest.err
15568 } && test -s conftest.$ac_objext; then
15571 cat >conftest.$ac_ext <<_ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15577 $ac_includes_default
15578 typedef int ac__type_sizeof_;
15582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15589 rm -f conftest.$ac_objext
15590 if { (ac_try="$ac_compile"
15591 case "(($ac_try" in
15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_compile") 2>conftest.er1
15598 grep -v '^ *+' conftest.er1 >conftest.err
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15602 (exit $ac_status); } && {
15603 test -z "$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15605 } && test -s conftest.$ac_objext; then
15606 ac_hi=$ac_mid; break
15608 echo "$as_me: failed program was
:" >&5
15609 sed 's/^/| /' conftest.$ac_ext >&5
15611 ac_lo=`expr $ac_mid + 1`
15612 if test $ac_lo -le $ac_mid; then
15616 ac_mid=`expr 2 '*' $ac_mid + 1`
15619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 echo "$as_me: failed program was
:" >&5
15623 sed 's/^/| /' conftest.$ac_ext >&5
15625 cat >conftest.$ac_ext <<_ACEOF
15628 cat confdefs.h >>conftest.$ac_ext
15629 cat >>conftest.$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15631 $ac_includes_default
15632 typedef int ac__type_sizeof_;
15636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
15643 rm -f conftest.$ac_objext
15644 if { (ac_try="$ac_compile"
15645 case "(($ac_try" in
15646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15647 *) ac_try_echo=$ac_try;;
15649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15650 (eval "$ac_compile") 2>conftest.er1
15652 grep -v '^ *+' conftest.er1 >conftest.err
15654 cat conftest.err >&5
15655 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15656 (exit $ac_status); } && {
15657 test -z "$ac_c_werror_flag" ||
15658 test ! -s conftest.err
15659 } && test -s conftest.$ac_objext; then
15662 cat >conftest.$ac_ext <<_ACEOF
15665 cat confdefs.h >>conftest.$ac_ext
15666 cat >>conftest.$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 $ac_includes_default
15669 typedef int ac__type_sizeof_;
15673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
15680 rm -f conftest.$ac_objext
15681 if { (ac_try="$ac_compile"
15682 case "(($ac_try" in
15683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15684 *) ac_try_echo=$ac_try;;
15686 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15687 (eval "$ac_compile") 2>conftest.er1
15689 grep -v '^ *+' conftest.er1 >conftest.err
15691 cat conftest.err >&5
15692 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15693 (exit $ac_status); } && {
15694 test -z "$ac_c_werror_flag" ||
15695 test ! -s conftest.err
15696 } && test -s conftest.$ac_objext; then
15697 ac_lo=$ac_mid; break
15699 echo "$as_me: failed program was
:" >&5
15700 sed 's/^/| /' conftest.$ac_ext >&5
15702 ac_hi=`expr '(' $ac_mid ')' - 1`
15703 if test $ac_mid -le $ac_hi; then
15707 ac_mid=`expr 2 '*' $ac_mid`
15710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15713 echo "$as_me: failed program was
:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15723 # Binary search between lo and hi bounds.
15724 while test "x
$ac_lo" != "x
$ac_hi"; do
15725 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15726 cat >conftest.$ac_ext <<_ACEOF
15729 cat confdefs.h >>conftest.$ac_ext
15730 cat >>conftest.$ac_ext <<_ACEOF
15731 /* end confdefs.h. */
15732 $ac_includes_default
15733 typedef int ac__type_sizeof_;
15737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15744 rm -f conftest.$ac_objext
15745 if { (ac_try="$ac_compile"
15746 case "(($ac_try" in
15747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15748 *) ac_try_echo=$ac_try;;
15750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15751 (eval "$ac_compile") 2>conftest.er1
15753 grep -v '^ *+' conftest.er1 >conftest.err
15755 cat conftest.err >&5
15756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15757 (exit $ac_status); } && {
15758 test -z "$ac_c_werror_flag" ||
15759 test ! -s conftest.err
15760 } && test -s conftest.$ac_objext; then
15763 echo "$as_me: failed program was
:" >&5
15764 sed 's/^/| /' conftest.$ac_ext >&5
15766 ac_lo=`expr '(' $ac_mid ')' + 1`
15769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15772 ?*) ac_cv_sizeof_int=$ac_lo;;
15773 '') if test "$ac_cv_type_int" = yes; then
15774 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
15775 See \
`config.log' for more details." >&5
15776 echo "$as_me: error: cannot compute sizeof (int)
15777 See \`config.log
' for more details." >&2;}
15778 { (exit 77); exit 77; }; }
15784 cat >conftest.$ac_ext <<_ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 $ac_includes_default
15791 typedef int ac__type_sizeof_;
15792 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
15793 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
15795 #include <stdlib.h>
15800 FILE *f = fopen ("conftest.val", "w");
15803 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
15805 long int i = longval ();
15806 if (i != ((long int) (sizeof (ac__type_sizeof_))))
15808 fprintf (f, "%ld\n", i);
15812 unsigned long int i = ulongval ();
15813 if (i != ((long int) (sizeof (ac__type_sizeof_))))
15815 fprintf (f, "%lu\n", i);
15817 return ferror (f) || fclose (f) != 0;
15823 rm -f conftest$ac_exeext
15824 if { (ac_try="$ac_link"
15825 case "(($ac_try" in
15826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15827 *) ac_try_echo=$ac_try;;
15829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15830 (eval "$ac_link") 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
15834 { (case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_try") 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15843 ac_cv_sizeof_int=`cat conftest.val`
15845 echo "$as_me: program exited with status $ac_status" >&5
15846 echo "$as_me: failed program was:" >&5
15847 sed 's
/^
/|
/' conftest.$ac_ext >&5
15849 ( exit $ac_status )
15850 if test "$ac_cv_type_int" = yes; then
15851 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
15852 See \`config.log' for more details.
" >&5
15853 echo "$as_me: error
: cannot compute sizeof
(int
)
15854 See \
`config.log' for more details." >&2;}
15855 { (exit 77); exit 77; }; }
15860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15864 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15865 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
15869 cat >>confdefs.h <<_ACEOF
15870 #define SIZEOF_INT $ac_cv_sizeof_int
15875 # do the package library checks now
15878 if test "${USE_ALSA}" != "no"; then
15880 if test "x${ALSA_DIR}" != "x"; then
15881 if test -d ${ALSA_DIR}/lib; then
15882 pbxlibdir="-L${ALSA_DIR}/lib"
15884 pbxlibdir="-L${ALSA_DIR}"
15887 { echo "$as_me:$LINENO: checking for snd_spcm_init in -lasound" >&5
15888 echo $ECHO_N "checking for snd_spcm_init in -lasound... $ECHO_C" >&6; }
15889 if test "${ac_cv_lib_asound_snd_spcm_init+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 ac_check_lib_save_LIBS=$LIBS
15893 LIBS="-lasound ${pbxlibdir} -lm -ldl $LIBS"
15894 cat >conftest.$ac_ext <<_ACEOF
15897 cat confdefs.h >>conftest.$ac_ext
15898 cat >>conftest.$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15901 /* Override any GCC internal prototype to avoid an error.
15902 Use char because int might match the return type of a GCC
15903 builtin and then its argument prototype would still apply. */
15907 char snd_spcm_init ();
15911 return snd_spcm_init ();
15916 rm -f conftest.$ac_objext conftest$ac_exeext
15917 if { (ac_try="$ac_link"
15918 case "(($ac_try" in
15919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15920 *) ac_try_echo
=$ac_try;;
15922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15923 (eval "$ac_link") 2>conftest.er1
15925 grep -v '^ *+' conftest.er1
>conftest.err
15927 cat conftest.err
>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } && {
15930 test -z "$ac_c_werror_flag" ||
15931 test ! -s conftest.err
15932 } && test -s conftest
$ac_exeext &&
15933 $as_test_x conftest
$ac_exeext; then
15934 ac_cv_lib_asound_snd_spcm_init
=yes
15936 echo "$as_me: failed program was:" >&5
15937 sed 's/^/| /' conftest.
$ac_ext >&5
15939 ac_cv_lib_asound_snd_spcm_init
=no
15942 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15943 conftest
$ac_exeext conftest.
$ac_ext
15944 LIBS
=$ac_check_lib_save_LIBS
15946 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_spcm_init" >&5
15947 echo "${ECHO_T}$ac_cv_lib_asound_snd_spcm_init" >&6; }
15948 if test $ac_cv_lib_asound_snd_spcm_init = yes; then
15955 if test "${AST_ALSA_FOUND}" = "yes"; then
15956 ALSA_LIB
="-lasound -lm -ldl"
15957 ALSA_HEADER_FOUND
="1"
15958 if test "x${ALSA_DIR}" != "x"; then
15959 ALSA_LIB
="${pbxlibdir} ${ALSA_LIB}"
15960 ALSA_INCLUDE
="-I${ALSA_DIR}/include"
15961 saved_cppflags
="${CPPFLAGS}"
15962 CPPFLAGS
="${CPPFLAGS} -I${ALSA_DIR}/include"
15963 if test "xalsa/asoundlib.h" != "x" ; then
15964 as_ac_Header
=`echo "ac_cv_header_${ALSA_DIR}/include/alsa/asoundlib.h" | $as_tr_sh`
15965 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15966 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
15967 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
15968 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 ac_res
=`eval echo '${'$as_ac_Header'}'`
15972 { echo "$as_me:$LINENO: result: $ac_res" >&5
15973 echo "${ECHO_T}$ac_res" >&6; }
15975 # Is the header compilable?
15976 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h usability" >&5
15977 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h usability... $ECHO_C" >&6; }
15978 cat >conftest.
$ac_ext <<_ACEOF
15981 cat confdefs.h
>>conftest.
$ac_ext
15982 cat >>conftest.
$ac_ext <<_ACEOF
15983 /* end confdefs.h. */
15984 $ac_includes_default
15985 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
15987 rm -f conftest.
$ac_objext
15988 if { (ac_try
="$ac_compile"
15989 case "(($ac_try" in
15990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15991 *) ac_try_echo=$ac_try;;
15993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15994 (eval "$ac_compile") 2>conftest.er1
15996 grep -v '^ *+' conftest.er1 >conftest.err
15998 cat conftest.err >&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } && {
16001 test -z "$ac_c_werror_flag" ||
16002 test ! -s conftest.err
16003 } && test -s conftest.$ac_objext; then
16004 ac_header_compiler=yes
16006 echo "$as_me: failed program was:" >&5
16007 sed 's/^/| /' conftest.$ac_ext >&5
16009 ac_header_compiler=no
16012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16013 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16014 echo "${ECHO_T}$ac_header_compiler" >&6; }
16016 # Is the header present?
16017 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h presence" >&5
16018 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h presence... $ECHO_C" >&6; }
16019 cat >conftest.$ac_ext <<_ACEOF
16022 cat confdefs.h >>conftest.$ac_ext
16023 cat >>conftest.$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16025 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
16027 if { (ac_try="$ac_cpp conftest.$ac_ext"
16028 case "(($ac_try" in
16029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16030 *) ac_try_echo
=$ac_try;;
16032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16035 grep -v '^ *+' conftest.er1
>conftest.err
16037 cat conftest.err
>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } >/dev
/null
&& {
16040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16041 test ! -s conftest.err
16043 ac_header_preproc
=yes
16045 echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.
$ac_ext >&5
16048 ac_header_preproc
=no
16051 rm -f conftest.err conftest.
$ac_ext
16052 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16053 echo "${ECHO_T}$ac_header_preproc" >&6; }
16055 # So? What about this header?
16056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16058 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16059 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16060 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the compiler's result" >&5
16061 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
16062 ac_header_preproc
=yes
16065 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&5
16066 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&2;}
16067 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&5
16068 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
16069 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&5
16070 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&2;}
16071 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
16072 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16073 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
16074 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
16075 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
16076 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
16080 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
16081 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
16082 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16085 eval "$as_ac_Header=\$ac_header_preproc"
16087 ac_res
=`eval echo '${'$as_ac_Header'}'`
16088 { echo "$as_me:$LINENO: result: $ac_res" >&5
16089 echo "${ECHO_T}$ac_res" >&6; }
16092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16093 ALSA_HEADER_FOUND
=1
16095 ALSA_HEADER_FOUND
=0
16100 CPPFLAGS
="${saved_cppflags}"
16102 if test "xalsa/asoundlib.h" != "x" ; then
16103 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16104 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
16105 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
16106 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
16110 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
16112 # Is the header compilable?
16113 { echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
16114 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6; }
16115 cat >conftest.
$ac_ext <<_ACEOF
16118 cat confdefs.h
>>conftest.
$ac_ext
16119 cat >>conftest.
$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121 $ac_includes_default
16122 #include <alsa/asoundlib.h>
16124 rm -f conftest.
$ac_objext
16125 if { (ac_try
="$ac_compile"
16126 case "(($ac_try" in
16127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16128 *) ac_try_echo=$ac_try;;
16130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16131 (eval "$ac_compile") 2>conftest.er1
16133 grep -v '^ *+' conftest.er1 >conftest.err
16135 cat conftest.err >&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } && {
16138 test -z "$ac_c_werror_flag" ||
16139 test ! -s conftest.err
16140 } && test -s conftest.$ac_objext; then
16141 ac_header_compiler=yes
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.$ac_ext >&5
16146 ac_header_compiler=no
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16150 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16151 echo "${ECHO_T}$ac_header_compiler" >&6; }
16153 # Is the header present?
16154 { echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
16155 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6; }
16156 cat >conftest.$ac_ext <<_ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 #include <alsa/asoundlib.h>
16164 if { (ac_try="$ac_cpp conftest.$ac_ext"
16165 case "(($ac_try" in
16166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16167 *) ac_try_echo
=$ac_try;;
16169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16172 grep -v '^ *+' conftest.er1
>conftest.err
16174 cat conftest.err
>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } >/dev
/null
&& {
16177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16178 test ! -s conftest.err
16180 ac_header_preproc
=yes
16182 echo "$as_me: failed program was:" >&5
16183 sed 's/^/| /' conftest.
$ac_ext >&5
16185 ac_header_preproc
=no
16188 rm -f conftest.err conftest.
$ac_ext
16189 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16190 echo "${ECHO_T}$ac_header_preproc" >&6; }
16192 # So? What about this header?
16193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16195 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16196 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16197 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
16198 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
16199 ac_header_preproc
=yes
16202 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
16203 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
16204 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
16205 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
16206 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
16207 echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
16208 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
16209 echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16210 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
16211 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
16212 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
16213 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
16217 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
16218 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
16219 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16220 echo $ECHO_N "(cached) $ECHO_C" >&6
16222 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
16224 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
16225 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
16228 if test $ac_cv_header_alsa_asoundlib_h = yes; then
16229 ALSA_HEADER_FOUND
=1
16231 ALSA_HEADER_FOUND
=0
16237 if test "x${ALSA_HEADER_FOUND}" = "x0" ; then
16238 if test -n "${ALSA_MANDATORY}" ;
16240 { echo "$as_me:$LINENO: ***" >&5
16241 echo "$as_me: ***" >&6;}
16242 { echo "$as_me:$LINENO: *** It appears that you do not have the asound development package installed." >&5
16243 echo "$as_me: *** It appears that you do not have the asound development package installed." >&6;}
16244 { echo "$as_me:$LINENO: *** Please install it to include ${ALSA_DESCRIP} support, or re-run configure" >&5
16245 echo "$as_me: *** Please install it to include ${ALSA_DESCRIP} support, or re-run configure" >&6;}
16246 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
16247 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
16256 cat >>confdefs.h
<<_ACEOF
16257 #define HAVE_ALSA 1
16261 elif test -n "${ALSA_MANDATORY}";
16263 { echo "$as_me:$LINENO: ***" >&5
16264 echo "$as_me: ***" >&6;}
16265 { echo "$as_me:$LINENO: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&5
16266 echo "$as_me: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&6;}
16267 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
16268 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
16269 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
16270 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
16277 if test "${USE_CURSES}" != "no"; then
16279 if test "x${CURSES_DIR}" != "x"; then
16280 if test -d ${CURSES_DIR}/lib
; then
16281 pbxlibdir
="-L${CURSES_DIR}/lib"
16283 pbxlibdir
="-L${CURSES_DIR}"
16286 { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
16287 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
16288 if test "${ac_cv_lib_curses_initscr+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 ac_check_lib_save_LIBS
=$LIBS
16292 LIBS
="-lcurses ${pbxlibdir} $LIBS"
16293 cat >conftest.
$ac_ext <<_ACEOF
16296 cat confdefs.h
>>conftest.
$ac_ext
16297 cat >>conftest.
$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16300 /* Override any GCC internal prototype to avoid an error.
16301 Use char because int might match the return type of a GCC
16302 builtin and then its argument prototype would still apply. */
16315 rm -f conftest.
$ac_objext conftest
$ac_exeext
16316 if { (ac_try
="$ac_link"
16317 case "(($ac_try" in
16318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_link") 2>conftest.er1
16324 grep -v '^ *+' conftest.er1 >conftest.err
16326 cat conftest.err >&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } && {
16329 test -z "$ac_c_werror_flag" ||
16330 test ! -s conftest.err
16331 } && test -s conftest$ac_exeext &&
16332 $as_test_x conftest$ac_exeext; then
16333 ac_cv_lib_curses_initscr=yes
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.$ac_ext >&5
16338 ac_cv_lib_curses_initscr=no
16341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16342 conftest$ac_exeext conftest.$ac_ext
16343 LIBS=$ac_check_lib_save_LIBS
16345 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
16346 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
16347 if test $ac_cv_lib_curses_initscr = yes; then
16348 AST_CURSES_FOUND=yes
16350 AST_CURSES_FOUND=no
16354 if test "${AST_CURSES_FOUND}" = "yes"; then
16355 CURSES_LIB="-lcurses "
16356 CURSES_HEADER_FOUND="1"
16357 if test "x${CURSES_DIR}" != "x"; then
16358 CURSES_LIB="${pbxlibdir} ${CURSES_LIB}"
16359 CURSES_INCLUDE="-I${CURSES_DIR}/include"
16360 saved_cppflags="${CPPFLAGS}"
16361 CPPFLAGS="${CPPFLAGS} -I${CURSES_DIR}/include"
16362 if test "xcurses.h" != "x" ; then
16363 as_ac_Header=`echo "ac_cv_header_${CURSES_DIR}/include/curses.h" |
$as_tr_sh`
16364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16365 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
16366 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
16367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 ac_res=`eval echo '${'$as_ac_Header'}'`
16371 { echo "$as_me:$LINENO: result: $ac_res" >&5
16372 echo "${ECHO_T}$ac_res" >&6; }
16374 # Is the header compilable?
16375 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h usability" >&5
16376 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h usability... $ECHO_C" >&6; }
16377 cat >conftest.$ac_ext <<_ACEOF
16380 cat confdefs.h >>conftest.$ac_ext
16381 cat >>conftest.$ac_ext <<_ACEOF
16382 /* end confdefs.h. */
16383 $ac_includes_default
16384 #include <${CURSES_DIR}/include/curses.h>
16386 rm -f conftest.$ac_objext
16387 if { (ac_try="$ac_compile"
16388 case "(($ac_try" in
16389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16390 *) ac_try_echo
=$ac_try;;
16392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16393 (eval "$ac_compile") 2>conftest.er1
16395 grep -v '^ *+' conftest.er1
>conftest.err
16397 cat conftest.err
>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } && {
16400 test -z "$ac_c_werror_flag" ||
16401 test ! -s conftest.err
16402 } && test -s conftest.
$ac_objext; then
16403 ac_header_compiler
=yes
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.
$ac_ext >&5
16408 ac_header_compiler
=no
16411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16412 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16413 echo "${ECHO_T}$ac_header_compiler" >&6; }
16415 # Is the header present?
16416 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h presence" >&5
16417 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h presence... $ECHO_C" >&6; }
16418 cat >conftest.
$ac_ext <<_ACEOF
16421 cat confdefs.h
>>conftest.
$ac_ext
16422 cat >>conftest.
$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 #include <${CURSES_DIR}/include/curses.h>
16426 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16427 case "(($ac_try" in
16428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16429 *) ac_try_echo=$ac_try;;
16431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16434 grep -v '^ *+' conftest.er1 >conftest.err
16436 cat conftest.err >&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); } >/dev/null && {
16439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16440 test ! -s conftest.err
16442 ac_header_preproc=yes
16444 echo "$as_me: failed program was:" >&5
16445 sed 's/^/| /' conftest.$ac_ext >&5
16447 ac_header_preproc=no
16450 rm -f conftest.err conftest.$ac_ext
16451 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16452 echo "${ECHO_T}$ac_header_preproc" >&6; }
16454 # So? What about this header?
16455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16457 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
16458 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16459 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the compiler's result" >&5
16460 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the compiler's result" >&2;}
16461 ac_header_preproc=yes
16464 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&5
16465 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&2;}
16466 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&5
16467 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&2;}
16468 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&5
16469 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&2;}
16470 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&5
16471 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
16472 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the preprocessor's result" >&5
16473 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the preprocessor's result" >&2;}
16474 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&5
16475 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&2;}
16479 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
16480 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
16481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16482 echo $ECHO_N "(cached) $ECHO_C" >&6
16484 eval "$as_ac_Header=\$ac_header_preproc"
16486 ac_res=`eval echo '${'$as_ac_Header'}'`
16487 { echo "$as_me:$LINENO: result: $ac_res" >&5
16488 echo "${ECHO_T}$ac_res" >&6; }
16491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16492 CURSES_HEADER_FOUND=1
16494 CURSES_HEADER_FOUND=0
16499 CPPFLAGS="${saved_cppflags}"
16501 if test "xcurses.h" != "x" ; then
16502 if test "${ac_cv_header_curses_h+set}" = set; then
16503 { echo "$as_me:$LINENO: checking for curses.h" >&5
16504 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
16505 if test "${ac_cv_header_curses_h+set}" = set; then
16506 echo $ECHO_N "(cached) $ECHO_C" >&6
16508 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
16509 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
16511 # Is the header compilable?
16512 { echo "$as_me:$LINENO: checking curses.h usability" >&5
16513 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
16514 cat >conftest.$ac_ext <<_ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 $ac_includes_default
16521 #include <curses.h>
16523 rm -f conftest.$ac_objext
16524 if { (ac_try="$ac_compile"
16525 case "(($ac_try" in
16526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16527 *) ac_try_echo
=$ac_try;;
16529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16530 (eval "$ac_compile") 2>conftest.er1
16532 grep -v '^ *+' conftest.er1
>conftest.err
16534 cat conftest.err
>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); } && {
16537 test -z "$ac_c_werror_flag" ||
16538 test ! -s conftest.err
16539 } && test -s conftest.
$ac_objext; then
16540 ac_header_compiler
=yes
16542 echo "$as_me: failed program was:" >&5
16543 sed 's/^/| /' conftest.
$ac_ext >&5
16545 ac_header_compiler
=no
16548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16549 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16550 echo "${ECHO_T}$ac_header_compiler" >&6; }
16552 # Is the header present?
16553 { echo "$as_me:$LINENO: checking curses.h presence" >&5
16554 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
16555 cat >conftest.
$ac_ext <<_ACEOF
16558 cat confdefs.h
>>conftest.
$ac_ext
16559 cat >>conftest.
$ac_ext <<_ACEOF
16560 /* end confdefs.h. */
16561 #include <curses.h>
16563 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16564 case "(($ac_try" in
16565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16566 *) ac_try_echo=$ac_try;;
16568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16571 grep -v '^ *+' conftest.er1 >conftest.err
16573 cat conftest.err >&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } >/dev/null && {
16576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16577 test ! -s conftest.err
16579 ac_header_preproc=yes
16581 echo "$as_me: failed program was:" >&5
16582 sed 's/^/| /' conftest.$ac_ext >&5
16584 ac_header_preproc=no
16587 rm -f conftest.err conftest.$ac_ext
16588 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16589 echo "${ECHO_T}$ac_header_preproc" >&6; }
16591 # So? What about this header?
16592 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16594 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
16595 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16596 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result" >&5
16597 echo "$as_me: WARNING: curses.h: proceeding with the compiler's result" >&2;}
16598 ac_header_preproc=yes
16601 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
16602 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
16603 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
16604 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
16605 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
16606 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
16607 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
16608 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
16609 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result" >&5
16610 echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result" >&2;}
16611 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
16612 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
16616 { echo "$as_me:$LINENO: checking for curses.h" >&5
16617 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
16618 if test "${ac_cv_header_curses_h+set}" = set; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 ac_cv_header_curses_h=$ac_header_preproc
16623 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
16624 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
16627 if test $ac_cv_header_curses_h = yes; then
16628 CURSES_HEADER_FOUND=1
16630 CURSES_HEADER_FOUND=0
16636 if test "x${CURSES_HEADER_FOUND}" = "x0" ; then
16637 if test -n "${CURSES_MANDATORY}" ;
16639 { echo "$as_me:$LINENO: ***" >&5
16640 echo "$as_me: ***" >&6;}
16641 { echo "$as_me:$LINENO: *** It appears that you do not have the curses development package installed." >&5
16642 echo "$as_me: *** It appears that you do not have the curses development package installed." >&6;}
16643 { echo "$as_me:$LINENO: *** Please install it to include ${CURSES_DESCRIP} support, or re-run configure" >&5
16644 echo "$as_me: *** Please install it to include ${CURSES_DESCRIP} support, or re-run configure" >&6;}
16645 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
16646 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_CURSES 1
16660 elif test -n "${CURSES_MANDATORY}";
16662 { echo "$as_me:$LINENO: ***" >&5
16663 echo "$as_me: ***" >&6;}
16664 { echo "$as_me:$LINENO: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&5
16665 echo "$as_me: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&6;}
16666 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
16667 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
16668 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
16669 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
16678 if test "${USE_GSM}" != "no"; then
16679 if test "${GSM_DIR}" = "internal"; then
16681 elif test "${GSM_DIR}" != ""; then
16684 if test "${GSM_SYSTEM}" = "yes"; then
16686 if test "x${GSM_DIR}" != "x"; then
16687 if test -d ${GSM_DIR}/lib; then
16688 gsmlibdir="-L${GSM_DIR}/lib"
16690 gsmlibdir="-L${GSM_DIR}"
16693 { echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5
16694 echo $ECHO_N "checking for gsm_create in -lgsm... $ECHO_C" >&6; }
16695 if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then
16696 echo $ECHO_N "(cached) $ECHO_C" >&6
16698 ac_check_lib_save_LIBS=$LIBS
16699 LIBS="-lgsm ${gsmlibdir} $LIBS"
16700 cat >conftest.$ac_ext <<_ACEOF
16703 cat confdefs.h >>conftest.$ac_ext
16704 cat >>conftest.$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16707 /* Override any GCC internal prototype to avoid an error.
16708 Use char because int might match the return type of a GCC
16709 builtin and then its argument prototype would still apply. */
16713 char gsm_create ();
16717 return gsm_create ();
16722 rm -f conftest.$ac_objext conftest$ac_exeext
16723 if { (ac_try="$ac_link"
16724 case "(($ac_try" in
16725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16726 *) ac_try_echo
=$ac_try;;
16728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16729 (eval "$ac_link") 2>conftest.er1
16731 grep -v '^ *+' conftest.er1
>conftest.err
16733 cat conftest.err
>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } && {
16736 test -z "$ac_c_werror_flag" ||
16737 test ! -s conftest.err
16738 } && test -s conftest
$ac_exeext &&
16739 $as_test_x conftest
$ac_exeext; then
16740 ac_cv_lib_gsm_gsm_create
=yes
16742 echo "$as_me: failed program was:" >&5
16743 sed 's/^/| /' conftest.
$ac_ext >&5
16745 ac_cv_lib_gsm_gsm_create
=no
16748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16749 conftest
$ac_exeext conftest.
$ac_ext
16750 LIBS
=$ac_check_lib_save_LIBS
16752 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5
16753 echo "${ECHO_T}$ac_cv_lib_gsm_gsm_create" >&6; }
16754 if test $ac_cv_lib_gsm_gsm_create = yes; then
16756 cat >>confdefs.h
<<_ACEOF
16762 if test "${ac_cv_lib_gsm_gsm_create}" = "yes"; then
16763 if test "x${GSM_DIR}" != "x" ; then
16764 as_ac_Header
=`echo "ac_cv_header_${GSM_DIR}/include/gsm.h" | $as_tr_sh`
16765 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16766 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm.h" >&5
16767 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm.h... $ECHO_C" >&6; }
16768 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 ac_res
=`eval echo '${'$as_ac_Header'}'`
16772 { echo "$as_me:$LINENO: result: $ac_res" >&5
16773 echo "${ECHO_T}$ac_res" >&6; }
16775 # Is the header compilable?
16776 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm.h usability" >&5
16777 echo $ECHO_N "checking ${GSM_DIR}/include/gsm.h usability... $ECHO_C" >&6; }
16778 cat >conftest.
$ac_ext <<_ACEOF
16781 cat confdefs.h
>>conftest.
$ac_ext
16782 cat >>conftest.
$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16784 $ac_includes_default
16785 #include <${GSM_DIR}/include/gsm.h>
16787 rm -f conftest.
$ac_objext
16788 if { (ac_try
="$ac_compile"
16789 case "(($ac_try" in
16790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16791 *) ac_try_echo=$ac_try;;
16793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16794 (eval "$ac_compile") 2>conftest.er1
16796 grep -v '^ *+' conftest.er1 >conftest.err
16798 cat conftest.err >&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } && {
16801 test -z "$ac_c_werror_flag" ||
16802 test ! -s conftest.err
16803 } && test -s conftest.$ac_objext; then
16804 ac_header_compiler=yes
16806 echo "$as_me: failed program was:" >&5
16807 sed 's/^/| /' conftest.$ac_ext >&5
16809 ac_header_compiler=no
16812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16813 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16814 echo "${ECHO_T}$ac_header_compiler" >&6; }
16816 # Is the header present?
16817 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm.h presence" >&5
16818 echo $ECHO_N "checking ${GSM_DIR}/include/gsm.h presence... $ECHO_C" >&6; }
16819 cat >conftest.$ac_ext <<_ACEOF
16822 cat confdefs.h >>conftest.$ac_ext
16823 cat >>conftest.$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16825 #include <${GSM_DIR}/include/gsm.h>
16827 if { (ac_try="$ac_cpp conftest.$ac_ext"
16828 case "(($ac_try" in
16829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16830 *) ac_try_echo
=$ac_try;;
16832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16835 grep -v '^ *+' conftest.er1
>conftest.err
16837 cat conftest.err
>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); } >/dev
/null
&& {
16840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16841 test ! -s conftest.err
16843 ac_header_preproc
=yes
16845 echo "$as_me: failed program was:" >&5
16846 sed 's/^/| /' conftest.
$ac_ext >&5
16848 ac_header_preproc
=no
16851 rm -f conftest.err conftest.
$ac_ext
16852 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16853 echo "${ECHO_T}$ac_header_preproc" >&6; }
16855 # So? What about this header?
16856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16858 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
16859 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16860 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the compiler's result" >&5
16861 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the compiler's result" >&2;}
16862 ac_header_preproc
=yes
16865 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: present but cannot be compiled" >&5
16866 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: present but cannot be compiled" >&2;}
16867 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: check for missing prerequisite headers?" >&5
16868 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: check for missing prerequisite headers?" >&2;}
16869 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: see the Autoconf documentation" >&5
16870 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: see the Autoconf documentation" >&2;}
16871 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: section \"Present But Cannot Be Compiled\"" >&5
16872 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
16873 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the preprocessor's result" >&5
16874 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the preprocessor's result" >&2;}
16875 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: in the future, the compiler will take precedence" >&5
16876 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: in the future, the compiler will take precedence" >&2;}
16880 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm.h" >&5
16881 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm.h... $ECHO_C" >&6; }
16882 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 eval "$as_ac_Header=\$ac_header_preproc"
16887 ac_res
=`eval echo '${'$as_ac_Header'}'`
16888 { echo "$as_me:$LINENO: result: $ac_res" >&5
16889 echo "${ECHO_T}$ac_res" >&6; }
16892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16899 as_ac_Header
=`echo "ac_cv_header_${GSM_DIR}/include/gsm/gsm.h" | $as_tr_sh`
16900 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16901 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm/gsm.h" >&5
16902 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm/gsm.h... $ECHO_C" >&6; }
16903 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16904 echo $ECHO_N "(cached) $ECHO_C" >&6
16906 ac_res
=`eval echo '${'$as_ac_Header'}'`
16907 { echo "$as_me:$LINENO: result: $ac_res" >&5
16908 echo "${ECHO_T}$ac_res" >&6; }
16910 # Is the header compilable?
16911 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm/gsm.h usability" >&5
16912 echo $ECHO_N "checking ${GSM_DIR}/include/gsm/gsm.h usability... $ECHO_C" >&6; }
16913 cat >conftest.
$ac_ext <<_ACEOF
16916 cat confdefs.h
>>conftest.
$ac_ext
16917 cat >>conftest.
$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919 $ac_includes_default
16920 #include <${GSM_DIR}/include/gsm/gsm.h>
16922 rm -f conftest.
$ac_objext
16923 if { (ac_try
="$ac_compile"
16924 case "(($ac_try" in
16925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_compile") 2>conftest.er1
16931 grep -v '^ *+' conftest.er1 >conftest.err
16933 cat conftest.err >&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } && {
16936 test -z "$ac_c_werror_flag" ||
16937 test ! -s conftest.err
16938 } && test -s conftest.$ac_objext; then
16939 ac_header_compiler=yes
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16944 ac_header_compiler=no
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16948 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16949 echo "${ECHO_T}$ac_header_compiler" >&6; }
16951 # Is the header present?
16952 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm/gsm.h presence" >&5
16953 echo $ECHO_N "checking ${GSM_DIR}/include/gsm/gsm.h presence... $ECHO_C" >&6; }
16954 cat >conftest.$ac_ext <<_ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 #include <${GSM_DIR}/include/gsm/gsm.h>
16962 if { (ac_try="$ac_cpp conftest.$ac_ext"
16963 case "(($ac_try" in
16964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16965 *) ac_try_echo
=$ac_try;;
16967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16970 grep -v '^ *+' conftest.er1
>conftest.err
16972 cat conftest.err
>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } >/dev
/null
&& {
16975 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16976 test ! -s conftest.err
16978 ac_header_preproc
=yes
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.
$ac_ext >&5
16983 ac_header_preproc
=no
16986 rm -f conftest.err conftest.
$ac_ext
16987 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16988 echo "${ECHO_T}$ac_header_preproc" >&6; }
16990 # So? What about this header?
16991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16993 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
16994 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16995 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the compiler's result" >&5
16996 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the compiler's result" >&2;}
16997 ac_header_preproc
=yes
17000 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: present but cannot be compiled" >&5
17001 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: present but cannot be compiled" >&2;}
17002 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: check for missing prerequisite headers?" >&5
17003 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: check for missing prerequisite headers?" >&2;}
17004 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: see the Autoconf documentation" >&5
17005 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: see the Autoconf documentation" >&2;}
17006 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17007 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17008 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the preprocessor's result" >&5
17009 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the preprocessor's result" >&2;}
17010 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: in the future, the compiler will take precedence" >&5
17011 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: in the future, the compiler will take precedence" >&2;}
17015 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm/gsm.h" >&5
17016 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm/gsm.h... $ECHO_C" >&6; }
17017 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17018 echo $ECHO_N "(cached) $ECHO_C" >&6
17020 eval "$as_ac_Header=\$ac_header_preproc"
17022 ac_res
=`eval echo '${'$as_ac_Header'}'`
17023 { echo "$as_me:$LINENO: result: $ac_res" >&5
17024 echo "${ECHO_T}$ac_res" >&6; }
17027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17028 GSM_GSM_HEADER_FOUND
=1
17030 GSM_GSM_HEADER_FOUND
=0
17035 if test "${ac_cv_header_gsm_h+set}" = set; then
17036 { echo "$as_me:$LINENO: checking for gsm.h" >&5
17037 echo $ECHO_N "checking for gsm.h... $ECHO_C" >&6; }
17038 if test "${ac_cv_header_gsm_h+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_h" >&5
17042 echo "${ECHO_T}$ac_cv_header_gsm_h" >&6; }
17044 # Is the header compilable?
17045 { echo "$as_me:$LINENO: checking gsm.h usability" >&5
17046 echo $ECHO_N "checking gsm.h usability... $ECHO_C" >&6; }
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17056 rm -f conftest.
$ac_objext
17057 if { (ac_try
="$ac_compile"
17058 case "(($ac_try" in
17059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17060 *) ac_try_echo=$ac_try;;
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_compile") 2>conftest.er1
17065 grep -v '^ *+' conftest.er1 >conftest.err
17067 cat conftest.err >&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } && {
17070 test -z "$ac_c_werror_flag" ||
17071 test ! -s conftest.err
17072 } && test -s conftest.$ac_objext; then
17073 ac_header_compiler=yes
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.$ac_ext >&5
17078 ac_header_compiler=no
17081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17082 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17083 echo "${ECHO_T}$ac_header_compiler" >&6; }
17085 # Is the header present?
17086 { echo "$as_me:$LINENO: checking gsm.h presence" >&5
17087 echo $ECHO_N "checking gsm.h presence... $ECHO_C" >&6; }
17088 cat >conftest.$ac_ext <<_ACEOF
17091 cat confdefs.h >>conftest.$ac_ext
17092 cat >>conftest.$ac_ext <<_ACEOF
17093 /* end confdefs.h. */
17096 if { (ac_try="$ac_cpp conftest.$ac_ext"
17097 case "(($ac_try" in
17098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17099 *) ac_try_echo
=$ac_try;;
17101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17104 grep -v '^ *+' conftest.er1
>conftest.err
17106 cat conftest.err
>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } >/dev
/null
&& {
17109 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17110 test ! -s conftest.err
17112 ac_header_preproc
=yes
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.
$ac_ext >&5
17117 ac_header_preproc
=no
17120 rm -f conftest.err conftest.
$ac_ext
17121 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17122 echo "${ECHO_T}$ac_header_preproc" >&6; }
17124 # So? What about this header?
17125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17127 { echo "$as_me:$LINENO: WARNING: gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17128 echo "$as_me: WARNING: gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17129 { echo "$as_me:$LINENO: WARNING: gsm.h: proceeding with the compiler's result" >&5
17130 echo "$as_me: WARNING: gsm.h: proceeding with the compiler's result" >&2;}
17131 ac_header_preproc
=yes
17134 { echo "$as_me:$LINENO: WARNING: gsm.h: present but cannot be compiled" >&5
17135 echo "$as_me: WARNING: gsm.h: present but cannot be compiled" >&2;}
17136 { echo "$as_me:$LINENO: WARNING: gsm.h: check for missing prerequisite headers?" >&5
17137 echo "$as_me: WARNING: gsm.h: check for missing prerequisite headers?" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: gsm.h: see the Autoconf documentation" >&5
17139 echo "$as_me: WARNING: gsm.h: see the Autoconf documentation" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17141 echo "$as_me: WARNING: gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17142 { echo "$as_me:$LINENO: WARNING: gsm.h: proceeding with the preprocessor's result" >&5
17143 echo "$as_me: WARNING: gsm.h: proceeding with the preprocessor's result" >&2;}
17144 { echo "$as_me:$LINENO: WARNING: gsm.h: in the future, the compiler will take precedence" >&5
17145 echo "$as_me: WARNING: gsm.h: in the future, the compiler will take precedence" >&2;}
17149 { echo "$as_me:$LINENO: checking for gsm.h" >&5
17150 echo $ECHO_N "checking for gsm.h... $ECHO_C" >&6; }
17151 if test "${ac_cv_header_gsm_h+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 ac_cv_header_gsm_h
=$ac_header_preproc
17156 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_h" >&5
17157 echo "${ECHO_T}$ac_cv_header_gsm_h" >&6; }
17160 if test $ac_cv_header_gsm_h = yes; then
17167 if test "${ac_cv_header_gsm_gsm_h+set}" = set; then
17168 { echo "$as_me:$LINENO: checking for gsm/gsm.h" >&5
17169 echo $ECHO_N "checking for gsm/gsm.h... $ECHO_C" >&6; }
17170 if test "${ac_cv_header_gsm_gsm_h+set}" = set; then
17171 echo $ECHO_N "(cached) $ECHO_C" >&6
17173 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_gsm_h" >&5
17174 echo "${ECHO_T}$ac_cv_header_gsm_gsm_h" >&6; }
17176 # Is the header compilable?
17177 { echo "$as_me:$LINENO: checking gsm/gsm.h usability" >&5
17178 echo $ECHO_N "checking gsm/gsm.h usability... $ECHO_C" >&6; }
17179 cat >conftest.
$ac_ext <<_ACEOF
17182 cat confdefs.h
>>conftest.
$ac_ext
17183 cat >>conftest.
$ac_ext <<_ACEOF
17184 /* end confdefs.h. */
17185 $ac_includes_default
17186 #include <gsm/gsm.h>
17188 rm -f conftest.
$ac_objext
17189 if { (ac_try
="$ac_compile"
17190 case "(($ac_try" in
17191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;;
17194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17195 (eval "$ac_compile") 2>conftest.er1
17197 grep -v '^ *+' conftest.er1 >conftest.err
17199 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } && {
17202 test -z "$ac_c_werror_flag" ||
17203 test ! -s conftest.err
17204 } && test -s conftest.$ac_objext; then
17205 ac_header_compiler=yes
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17210 ac_header_compiler=no
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17215 echo "${ECHO_T}$ac_header_compiler" >&6; }
17217 # Is the header present?
17218 { echo "$as_me:$LINENO: checking gsm/gsm.h presence" >&5
17219 echo $ECHO_N "checking gsm/gsm.h presence... $ECHO_C" >&6; }
17220 cat >conftest.$ac_ext <<_ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226 #include <gsm/gsm.h>
17228 if { (ac_try="$ac_cpp conftest.$ac_ext"
17229 case "(($ac_try" in
17230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17231 *) ac_try_echo
=$ac_try;;
17233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17236 grep -v '^ *+' conftest.er1
>conftest.err
17238 cat conftest.err
>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } >/dev
/null
&& {
17241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17242 test ! -s conftest.err
17244 ac_header_preproc
=yes
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.
$ac_ext >&5
17249 ac_header_preproc
=no
17252 rm -f conftest.err conftest.
$ac_ext
17253 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17254 echo "${ECHO_T}$ac_header_preproc" >&6; }
17256 # So? What about this header?
17257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17259 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17260 echo "$as_me: WARNING: gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17261 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: proceeding with the compiler's result" >&5
17262 echo "$as_me: WARNING: gsm/gsm.h: proceeding with the compiler's result" >&2;}
17263 ac_header_preproc
=yes
17266 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: present but cannot be compiled" >&5
17267 echo "$as_me: WARNING: gsm/gsm.h: present but cannot be compiled" >&2;}
17268 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: check for missing prerequisite headers?" >&5
17269 echo "$as_me: WARNING: gsm/gsm.h: check for missing prerequisite headers?" >&2;}
17270 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: see the Autoconf documentation" >&5
17271 echo "$as_me: WARNING: gsm/gsm.h: see the Autoconf documentation" >&2;}
17272 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17273 echo "$as_me: WARNING: gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17274 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: proceeding with the preprocessor's result" >&5
17275 echo "$as_me: WARNING: gsm/gsm.h: proceeding with the preprocessor's result" >&2;}
17276 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&5
17277 echo "$as_me: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&2;}
17281 { echo "$as_me:$LINENO: checking for gsm/gsm.h" >&5
17282 echo $ECHO_N "checking for gsm/gsm.h... $ECHO_C" >&6; }
17283 if test "${ac_cv_header_gsm_gsm_h+set}" = set; then
17284 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 ac_cv_header_gsm_gsm_h
=$ac_header_preproc
17288 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_gsm_h" >&5
17289 echo "${ECHO_T}$ac_cv_header_gsm_gsm_h" >&6; }
17292 if test $ac_cv_header_gsm_gsm_h = yes; then
17293 GSM_GSM_HEADER_FOUND
=1
17295 GSM_GSM_HEADER_FOUND
=0
17300 if test "${GSM_HEADER_FOUND}" = "0" ; then
17301 if test "{GSM_GSM_HEADER_FOUND}" = "0" ; then
17302 if test "x${GSM_MANDATORY}" = "xyes" ; then
17303 { echo "$as_me:$LINENO: ***" >&5
17304 echo "$as_me: ***" >&6;}
17305 { echo "$as_me:$LINENO: *** It appears that you do not have the gsm development package installed." >&5
17306 echo "$as_me: *** It appears that you do not have the gsm development package installed." >&6;}
17307 { echo "$as_me:$LINENO: *** Please install it to include ${GSM_DESCRIP} support, or re-run configure" >&5
17308 echo "$as_me: *** Please install it to include ${GSM_DESCRIP} support, or re-run configure" >&6;}
17309 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GSM_OPTION}" >&5
17310 echo "$as_me: *** without explicitly specifying --with-${GSM_OPTION}" >&6;}
17316 if test "${GSM_HEADER_FOUND}" = "1" ; then
17318 cat >>confdefs.h
<<_ACEOF
17319 #define HAVE_GSM_HEADER 1
17324 if test "${GSM_GSM_HEADER_FOUND}" = "1" ; then
17326 cat >>confdefs.h
<<_ACEOF
17327 #define HAVE_GSM_GSM_HEADER 1
17333 if test "${GSM_OK}" = "1" ; then
17335 if test "x${GSM_DIR}" != "x"; then
17336 GSM_LIB
="${gsmlibdir} ${GSM_LIB}"
17337 GSM_INCLUDE
="-I${GSM_DIR}/include"
17344 if test "${GSM_INTERNAL}" = "yes"; then
17347 cat >>confdefs.h
<<_ACEOF
17348 #define HAVE_GSM_HEADER 1
17355 if test "${USE_IKSEMEL}" != "no"; then
17357 if test "x${IKSEMEL_DIR}" != "x"; then
17358 if test -d ${IKSEMEL_DIR}/lib
; then
17359 pbxlibdir
="-L${IKSEMEL_DIR}/lib"
17361 pbxlibdir
="-L${IKSEMEL_DIR}"
17364 { echo "$as_me:$LINENO: checking for iks_start_sasl in -liksemel" >&5
17365 echo $ECHO_N "checking for iks_start_sasl in -liksemel... $ECHO_C" >&6; }
17366 if test "${ac_cv_lib_iksemel_iks_start_sasl+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 ac_check_lib_save_LIBS
=$LIBS
17370 LIBS
="-liksemel ${pbxlibdir} $LIBS"
17371 cat >conftest.
$ac_ext <<_ACEOF
17374 cat confdefs.h
>>conftest.
$ac_ext
17375 cat >>conftest.
$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17378 /* Override any GCC internal prototype to avoid an error.
17379 Use char because int might match the return type of a GCC
17380 builtin and then its argument prototype would still apply. */
17384 char iks_start_sasl ();
17388 return iks_start_sasl ();
17393 rm -f conftest.
$ac_objext conftest
$ac_exeext
17394 if { (ac_try
="$ac_link"
17395 case "(($ac_try" in
17396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_link") 2>conftest.er1
17402 grep -v '^ *+' conftest.er1 >conftest.err
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_c_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest$ac_exeext &&
17410 $as_test_x conftest$ac_exeext; then
17411 ac_cv_lib_iksemel_iks_start_sasl=yes
17413 echo "$as_me: failed program was:" >&5
17414 sed 's/^/| /' conftest.$ac_ext >&5
17416 ac_cv_lib_iksemel_iks_start_sasl=no
17419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17420 conftest$ac_exeext conftest.$ac_ext
17421 LIBS=$ac_check_lib_save_LIBS
17423 { echo "$as_me:$LINENO: result: $ac_cv_lib_iksemel_iks_start_sasl" >&5
17424 echo "${ECHO_T}$ac_cv_lib_iksemel_iks_start_sasl" >&6; }
17425 if test $ac_cv_lib_iksemel_iks_start_sasl = yes; then
17426 AST_IKSEMEL_FOUND=yes
17428 AST_IKSEMEL_FOUND=no
17432 if test "${AST_IKSEMEL_FOUND}" = "yes"; then
17433 IKSEMEL_LIB="-liksemel "
17434 IKSEMEL_HEADER_FOUND="1"
17435 if test "x${IKSEMEL_DIR}" != "x"; then
17436 IKSEMEL_LIB="${pbxlibdir} ${IKSEMEL_LIB}"
17437 IKSEMEL_INCLUDE="-I${IKSEMEL_DIR}/include"
17438 saved_cppflags="${CPPFLAGS}"
17439 CPPFLAGS="${CPPFLAGS} -I${IKSEMEL_DIR}/include"
17440 if test "xiksemel.h" != "x" ; then
17441 as_ac_Header=`echo "ac_cv_header_${IKSEMEL_DIR}/include/iksemel.h" |
$as_tr_sh`
17442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17443 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
17444 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
17445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17446 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 ac_res=`eval echo '${'$as_ac_Header'}'`
17449 { echo "$as_me:$LINENO: result: $ac_res" >&5
17450 echo "${ECHO_T}$ac_res" >&6; }
17452 # Is the header compilable?
17453 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h usability" >&5
17454 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h usability... $ECHO_C" >&6; }
17455 cat >conftest.$ac_ext <<_ACEOF
17458 cat confdefs.h >>conftest.$ac_ext
17459 cat >>conftest.$ac_ext <<_ACEOF
17460 /* end confdefs.h. */
17461 $ac_includes_default
17462 #include <${IKSEMEL_DIR}/include/iksemel.h>
17464 rm -f conftest.$ac_objext
17465 if { (ac_try="$ac_compile"
17466 case "(($ac_try" in
17467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17468 *) ac_try_echo
=$ac_try;;
17470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17471 (eval "$ac_compile") 2>conftest.er1
17473 grep -v '^ *+' conftest.er1
>conftest.err
17475 cat conftest.err
>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } && {
17478 test -z "$ac_c_werror_flag" ||
17479 test ! -s conftest.err
17480 } && test -s conftest.
$ac_objext; then
17481 ac_header_compiler
=yes
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.
$ac_ext >&5
17486 ac_header_compiler
=no
17489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17491 echo "${ECHO_T}$ac_header_compiler" >&6; }
17493 # Is the header present?
17494 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h presence" >&5
17495 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h presence... $ECHO_C" >&6; }
17496 cat >conftest.
$ac_ext <<_ACEOF
17499 cat confdefs.h
>>conftest.
$ac_ext
17500 cat >>conftest.
$ac_ext <<_ACEOF
17501 /* end confdefs.h. */
17502 #include <${IKSEMEL_DIR}/include/iksemel.h>
17504 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17505 case "(($ac_try" in
17506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17507 *) ac_try_echo=$ac_try;;
17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17512 grep -v '^ *+' conftest.er1 >conftest.err
17514 cat conftest.err >&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } >/dev/null && {
17517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17518 test ! -s conftest.err
17520 ac_header_preproc=yes
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17525 ac_header_preproc=no
17528 rm -f conftest.err conftest.$ac_ext
17529 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17530 echo "${ECHO_T}$ac_header_preproc" >&6; }
17532 # So? What about this header?
17533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17535 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
17536 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17537 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the compiler's result" >&5
17538 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the compiler's result" >&2;}
17539 ac_header_preproc=yes
17542 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&5
17543 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&2;}
17544 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&5
17545 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&2;}
17546 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&5
17547 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&2;}
17548 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
17549 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
17550 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the preprocessor's result" >&5
17551 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the preprocessor's result" >&2;}
17552 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&5
17553 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&2;}
17557 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
17558 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
17559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17560 echo $ECHO_N "(cached) $ECHO_C" >&6
17562 eval "$as_ac_Header=\$ac_header_preproc"
17564 ac_res=`eval echo '${'$as_ac_Header'}'`
17565 { echo "$as_me:$LINENO: result: $ac_res" >&5
17566 echo "${ECHO_T}$ac_res" >&6; }
17569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17570 IKSEMEL_HEADER_FOUND=1
17572 IKSEMEL_HEADER_FOUND=0
17577 CPPFLAGS="${saved_cppflags}"
17579 if test "xiksemel.h" != "x" ; then
17580 if test "${ac_cv_header_iksemel_h+set}" = set; then
17581 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
17582 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
17583 if test "${ac_cv_header_iksemel_h+set}" = set; then
17584 echo $ECHO_N "(cached) $ECHO_C" >&6
17586 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
17587 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
17589 # Is the header compilable?
17590 { echo "$as_me:$LINENO: checking iksemel.h usability" >&5
17591 echo $ECHO_N "checking iksemel.h usability... $ECHO_C" >&6; }
17592 cat >conftest.$ac_ext <<_ACEOF
17595 cat confdefs.h >>conftest.$ac_ext
17596 cat >>conftest.$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17598 $ac_includes_default
17599 #include <iksemel.h>
17601 rm -f conftest.$ac_objext
17602 if { (ac_try="$ac_compile"
17603 case "(($ac_try" in
17604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17605 *) ac_try_echo
=$ac_try;;
17607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17608 (eval "$ac_compile") 2>conftest.er1
17610 grep -v '^ *+' conftest.er1
>conftest.err
17612 cat conftest.err
>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); } && {
17615 test -z "$ac_c_werror_flag" ||
17616 test ! -s conftest.err
17617 } && test -s conftest.
$ac_objext; then
17618 ac_header_compiler
=yes
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.
$ac_ext >&5
17623 ac_header_compiler
=no
17626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17627 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17628 echo "${ECHO_T}$ac_header_compiler" >&6; }
17630 # Is the header present?
17631 { echo "$as_me:$LINENO: checking iksemel.h presence" >&5
17632 echo $ECHO_N "checking iksemel.h presence... $ECHO_C" >&6; }
17633 cat >conftest.
$ac_ext <<_ACEOF
17636 cat confdefs.h
>>conftest.
$ac_ext
17637 cat >>conftest.
$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17639 #include <iksemel.h>
17641 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17642 case "(($ac_try" in
17643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17644 *) ac_try_echo=$ac_try;;
17646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17649 grep -v '^ *+' conftest.er1 >conftest.err
17651 cat conftest.err >&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } >/dev/null && {
17654 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17655 test ! -s conftest.err
17657 ac_header_preproc=yes
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.$ac_ext >&5
17662 ac_header_preproc=no
17665 rm -f conftest.err conftest.$ac_ext
17666 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17667 echo "${ECHO_T}$ac_header_preproc" >&6; }
17669 # So? What about this header?
17670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17672 { echo "$as_me:$LINENO: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
17673 echo "$as_me: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17674 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the compiler's result" >&5
17675 echo "$as_me: WARNING: iksemel.h: proceeding with the compiler's result" >&2;}
17676 ac_header_preproc=yes
17679 { echo "$as_me:$LINENO: WARNING: iksemel.h: present but cannot be compiled" >&5
17680 echo "$as_me: WARNING: iksemel.h: present but cannot be compiled" >&2;}
17681 { echo "$as_me:$LINENO: WARNING: iksemel.h: check for missing prerequisite headers?" >&5
17682 echo "$as_me: WARNING: iksemel.h: check for missing prerequisite headers?" >&2;}
17683 { echo "$as_me:$LINENO: WARNING: iksemel.h: see the Autoconf documentation" >&5
17684 echo "$as_me: WARNING: iksemel.h: see the Autoconf documentation" >&2;}
17685 { echo "$as_me:$LINENO: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
17686 echo "$as_me: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
17687 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the preprocessor's result" >&5
17688 echo "$as_me: WARNING: iksemel.h: proceeding with the preprocessor's result" >&2;}
17689 { echo "$as_me:$LINENO: WARNING: iksemel.h: in the future, the compiler will take precedence" >&5
17690 echo "$as_me: WARNING: iksemel.h: in the future, the compiler will take precedence" >&2;}
17694 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
17695 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
17696 if test "${ac_cv_header_iksemel_h+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 ac_cv_header_iksemel_h=$ac_header_preproc
17701 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
17702 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
17705 if test $ac_cv_header_iksemel_h = yes; then
17706 IKSEMEL_HEADER_FOUND=1
17708 IKSEMEL_HEADER_FOUND=0
17714 if test "x${IKSEMEL_HEADER_FOUND}" = "x0" ; then
17715 if test -n "${IKSEMEL_MANDATORY}" ;
17717 { echo "$as_me:$LINENO: ***" >&5
17718 echo "$as_me: ***" >&6;}
17719 { echo "$as_me:$LINENO: *** It appears that you do not have the iksemel development package installed." >&5
17720 echo "$as_me: *** It appears that you do not have the iksemel development package installed." >&6;}
17721 { echo "$as_me:$LINENO: *** Please install it to include ${IKSEMEL_DESCRIP} support, or re-run configure" >&5
17722 echo "$as_me: *** Please install it to include ${IKSEMEL_DESCRIP} support, or re-run configure" >&6;}
17723 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
17724 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
17733 cat >>confdefs.h <<_ACEOF
17734 #define HAVE_IKSEMEL 1
17738 elif test -n "${IKSEMEL_MANDATORY}";
17740 { echo "$as_me:$LINENO: ***" >&5
17741 echo "$as_me: ***" >&6;}
17742 { echo "$as_me:$LINENO: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&5
17743 echo "$as_me: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&6;}
17744 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
17745 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
17746 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
17747 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
17753 if test "${PBX_IKSEMEL}" = 1; then
17755 if test "${USE_GNUTLS}" != "no"; then
17757 if test "x${GNUTLS_DIR}" != "x"; then
17758 if test -d ${GNUTLS_DIR}/lib; then
17759 pbxlibdir="-L${GNUTLS_DIR}/lib"
17761 pbxlibdir="-L${GNUTLS_DIR}"
17764 { echo "$as_me:$LINENO: checking for gnutls_bye in -lgnutls" >&5
17765 echo $ECHO_N "checking for gnutls_bye in -lgnutls... $ECHO_C" >&6; }
17766 if test "${ac_cv_lib_gnutls_gnutls_bye+set}" = set; then
17767 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 ac_check_lib_save_LIBS=$LIBS
17770 LIBS="-lgnutls ${pbxlibdir} -lz -lgcrypt -lgpg-error $LIBS"
17771 cat >conftest.$ac_ext <<_ACEOF
17774 cat confdefs.h >>conftest.$ac_ext
17775 cat >>conftest.$ac_ext <<_ACEOF
17776 /* end confdefs.h. */
17778 /* Override any GCC internal prototype to avoid an error.
17779 Use char because int might match the return type of a GCC
17780 builtin and then its argument prototype would still apply. */
17784 char gnutls_bye ();
17788 return gnutls_bye ();
17793 rm -f conftest.$ac_objext conftest$ac_exeext
17794 if { (ac_try="$ac_link"
17795 case "(($ac_try" in
17796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17797 *) ac_try_echo
=$ac_try;;
17799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17800 (eval "$ac_link") 2>conftest.er1
17802 grep -v '^ *+' conftest.er1
>conftest.err
17804 cat conftest.err
>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } && {
17807 test -z "$ac_c_werror_flag" ||
17808 test ! -s conftest.err
17809 } && test -s conftest
$ac_exeext &&
17810 $as_test_x conftest
$ac_exeext; then
17811 ac_cv_lib_gnutls_gnutls_bye
=yes
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.
$ac_ext >&5
17816 ac_cv_lib_gnutls_gnutls_bye
=no
17819 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17820 conftest
$ac_exeext conftest.
$ac_ext
17821 LIBS
=$ac_check_lib_save_LIBS
17823 { echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_bye" >&5
17824 echo "${ECHO_T}$ac_cv_lib_gnutls_gnutls_bye" >&6; }
17825 if test $ac_cv_lib_gnutls_gnutls_bye = yes; then
17826 AST_GNUTLS_FOUND
=yes
17828 AST_GNUTLS_FOUND
=no
17832 if test "${AST_GNUTLS_FOUND}" = "yes"; then
17833 GNUTLS_LIB
="-lgnutls -lz -lgcrypt -lgpg-error"
17834 GNUTLS_HEADER_FOUND
="1"
17835 if test "x${GNUTLS_DIR}" != "x"; then
17836 GNUTLS_LIB
="${pbxlibdir} ${GNUTLS_LIB}"
17837 GNUTLS_INCLUDE
="-I${GNUTLS_DIR}/include"
17838 saved_cppflags
="${CPPFLAGS}"
17839 CPPFLAGS
="${CPPFLAGS} -I${GNUTLS_DIR}/include"
17840 if test "xgnutls/gnutls.h" != "x" ; then
17841 as_ac_Header
=`echo "ac_cv_header_${GNUTLS_DIR}/include/gnutls/gnutls.h" | $as_tr_sh`
17842 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17843 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h" >&5
17844 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h... $ECHO_C" >&6; }
17845 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17848 ac_res
=`eval echo '${'$as_ac_Header'}'`
17849 { echo "$as_me:$LINENO: result: $ac_res" >&5
17850 echo "${ECHO_T}$ac_res" >&6; }
17852 # Is the header compilable?
17853 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/gnutls/gnutls.h usability" >&5
17854 echo $ECHO_N "checking ${GNUTLS_DIR}/include/gnutls/gnutls.h usability... $ECHO_C" >&6; }
17855 cat >conftest.
$ac_ext <<_ACEOF
17858 cat confdefs.h
>>conftest.
$ac_ext
17859 cat >>conftest.
$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17861 $ac_includes_default
17862 #include <${GNUTLS_DIR}/include/gnutls/gnutls.h>
17864 rm -f conftest.
$ac_objext
17865 if { (ac_try
="$ac_compile"
17866 case "(($ac_try" in
17867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17868 *) ac_try_echo=$ac_try;;
17870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17871 (eval "$ac_compile") 2>conftest.er1
17873 grep -v '^ *+' conftest.er1 >conftest.err
17875 cat conftest.err >&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); } && {
17878 test -z "$ac_c_werror_flag" ||
17879 test ! -s conftest.err
17880 } && test -s conftest.$ac_objext; then
17881 ac_header_compiler=yes
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17886 ac_header_compiler=no
17889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17891 echo "${ECHO_T}$ac_header_compiler" >&6; }
17893 # Is the header present?
17894 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/gnutls/gnutls.h presence" >&5
17895 echo $ECHO_N "checking ${GNUTLS_DIR}/include/gnutls/gnutls.h presence... $ECHO_C" >&6; }
17896 cat >conftest.$ac_ext <<_ACEOF
17899 cat confdefs.h >>conftest.$ac_ext
17900 cat >>conftest.$ac_ext <<_ACEOF
17901 /* end confdefs.h. */
17902 #include <${GNUTLS_DIR}/include/gnutls/gnutls.h>
17904 if { (ac_try="$ac_cpp conftest.$ac_ext"
17905 case "(($ac_try" in
17906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17907 *) ac_try_echo
=$ac_try;;
17909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17912 grep -v '^ *+' conftest.er1
>conftest.err
17914 cat conftest.err
>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); } >/dev
/null
&& {
17917 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17918 test ! -s conftest.err
17920 ac_header_preproc
=yes
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.
$ac_ext >&5
17925 ac_header_preproc
=no
17928 rm -f conftest.err conftest.
$ac_ext
17929 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17930 echo "${ECHO_T}$ac_header_preproc" >&6; }
17932 # So? What about this header?
17933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17935 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&5
17936 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17937 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the compiler's result" >&5
17938 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the compiler's result" >&2;}
17939 ac_header_preproc
=yes
17942 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: present but cannot be compiled" >&5
17943 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: present but cannot be compiled" >&2;}
17944 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: check for missing prerequisite headers?" >&5
17945 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: check for missing prerequisite headers?" >&2;}
17946 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: see the Autoconf documentation" >&5
17947 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: see the Autoconf documentation" >&2;}
17948 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&5
17949 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&2;}
17950 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the preprocessor's result" >&5
17951 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the preprocessor's result" >&2;}
17952 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: in the future, the compiler will take precedence" >&5
17953 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;}
17957 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h" >&5
17958 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h... $ECHO_C" >&6; }
17959 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17960 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 eval "$as_ac_Header=\$ac_header_preproc"
17964 ac_res
=`eval echo '${'$as_ac_Header'}'`
17965 { echo "$as_me:$LINENO: result: $ac_res" >&5
17966 echo "${ECHO_T}$ac_res" >&6; }
17969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17970 GNUTLS_HEADER_FOUND
=1
17972 GNUTLS_HEADER_FOUND
=0
17977 CPPFLAGS
="${saved_cppflags}"
17979 if test "xgnutls/gnutls.h" != "x" ; then
17980 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
17981 { echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5
17982 echo $ECHO_N "checking for gnutls/gnutls.h... $ECHO_C" >&6; }
17983 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
17984 echo $ECHO_N "(cached) $ECHO_C" >&6
17986 { echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5
17987 echo "${ECHO_T}$ac_cv_header_gnutls_gnutls_h" >&6; }
17989 # Is the header compilable?
17990 { echo "$as_me:$LINENO: checking gnutls/gnutls.h usability" >&5
17991 echo $ECHO_N "checking gnutls/gnutls.h usability... $ECHO_C" >&6; }
17992 cat >conftest.
$ac_ext <<_ACEOF
17995 cat confdefs.h
>>conftest.
$ac_ext
17996 cat >>conftest.
$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
17999 #include <gnutls/gnutls.h>
18001 rm -f conftest.
$ac_objext
18002 if { (ac_try
="$ac_compile"
18003 case "(($ac_try" in
18004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18005 *) ac_try_echo=$ac_try;;
18007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18008 (eval "$ac_compile") 2>conftest.er1
18010 grep -v '^ *+' conftest.er1 >conftest.err
18012 cat conftest.err >&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } && {
18015 test -z "$ac_c_werror_flag" ||
18016 test ! -s conftest.err
18017 } && test -s conftest.$ac_objext; then
18018 ac_header_compiler=yes
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18023 ac_header_compiler=no
18026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18027 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18028 echo "${ECHO_T}$ac_header_compiler" >&6; }
18030 # Is the header present?
18031 { echo "$as_me:$LINENO: checking gnutls/gnutls.h presence" >&5
18032 echo $ECHO_N "checking gnutls/gnutls.h presence... $ECHO_C" >&6; }
18033 cat >conftest.$ac_ext <<_ACEOF
18036 cat confdefs.h >>conftest.$ac_ext
18037 cat >>conftest.$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 #include <gnutls/gnutls.h>
18041 if { (ac_try="$ac_cpp conftest.$ac_ext"
18042 case "(($ac_try" in
18043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18044 *) ac_try_echo
=$ac_try;;
18046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18049 grep -v '^ *+' conftest.er1
>conftest.err
18051 cat conftest.err
>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } >/dev
/null
&& {
18054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18055 test ! -s conftest.err
18057 ac_header_preproc
=yes
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.
$ac_ext >&5
18062 ac_header_preproc
=no
18065 rm -f conftest.err conftest.
$ac_ext
18066 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18067 echo "${ECHO_T}$ac_header_preproc" >&6; }
18069 # So? What about this header?
18070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18072 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&5
18073 echo "$as_me: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18074 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&5
18075 echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&2;}
18076 ac_header_preproc
=yes
18079 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&5
18080 echo "$as_me: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&2;}
18081 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&5
18082 echo "$as_me: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&2;}
18083 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&5
18084 echo "$as_me: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&2;}
18085 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&5
18086 echo "$as_me: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&2;}
18087 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&5
18088 echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&2;}
18089 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&5
18090 echo "$as_me: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;}
18094 { echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5
18095 echo $ECHO_N "checking for gnutls/gnutls.h... $ECHO_C" >&6; }
18096 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 ac_cv_header_gnutls_gnutls_h
=$ac_header_preproc
18101 { echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5
18102 echo "${ECHO_T}$ac_cv_header_gnutls_gnutls_h" >&6; }
18105 if test $ac_cv_header_gnutls_gnutls_h = yes; then
18106 GNUTLS_HEADER_FOUND
=1
18108 GNUTLS_HEADER_FOUND
=0
18114 if test "x${GNUTLS_HEADER_FOUND}" = "x0" ; then
18115 if test -n "${GNUTLS_MANDATORY}" ;
18117 { echo "$as_me:$LINENO: ***" >&5
18118 echo "$as_me: ***" >&6;}
18119 { echo "$as_me:$LINENO: *** It appears that you do not have the gnutls development package installed." >&5
18120 echo "$as_me: *** It appears that you do not have the gnutls development package installed." >&6;}
18121 { echo "$as_me:$LINENO: *** Please install it to include ${GNUTLS_DESCRIP} support, or re-run configure" >&5
18122 echo "$as_me: *** Please install it to include ${GNUTLS_DESCRIP} support, or re-run configure" >&6;}
18123 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
18124 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
18133 cat >>confdefs.h
<<_ACEOF
18134 #define HAVE_GNUTLS 1
18138 elif test -n "${GNUTLS_MANDATORY}";
18140 { echo "$as_me:$LINENO: ***" >&5
18141 echo "$as_me: ***" >&6;}
18142 { echo "$as_me:$LINENO: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&5
18143 echo "$as_me: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&6;}
18144 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
18145 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
18146 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
18147 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
18154 if test "${USE_IMAP_TK}" != "no"; then
18155 if test "${IMAP_TK_DIR}" = ""; then
18156 IMAP_TK_DIR
=`pwd`"/../imap-2004g"
18157 if test -n "${IMAP_TK_MANDATORY}"; then
18158 { echo "$as_me:$LINENO: The --with-imap option does not search your system for installed" >&5
18159 echo "$as_me: The --with-imap option does not search your system for installed" >&6;}
18160 { echo "$as_me:$LINENO: c-client library/header files. Since you did not provide a path" >&5
18161 echo "$as_me: c-client library/header files. Since you did not provide a path" >&6;}
18162 { echo "$as_me:$LINENO: the configure script will assume you have placed built the c-client" >&5
18163 echo "$as_me: the configure script will assume you have placed built the c-client" >&6;}
18164 { echo "$as_me:$LINENO: files at ${IMAP_TK_DIR}, as outlined in the doc/imapstorage.txt file." >&5
18165 echo "$as_me: files at ${IMAP_TK_DIR}, as outlined in the doc/imapstorage.txt file." >&6;}
18168 { echo "$as_me:$LINENO: checking for UW IMAP Toolkit c-client library" >&5
18169 echo $ECHO_N "checking for UW IMAP Toolkit c-client library... $ECHO_C" >&6; }
18170 saved_cppflags
="${CPPFLAGS}"
18171 saved_libs
="${LIBS}"
18172 if test -f ${IMAP_TK_DIR}/c-client
/LDFLAGS
; then
18173 imap_ldflags
=`cat ${IMAP_TK_DIR}/c-client/LDFLAGS`
18175 CPPFLAGS
="${CPPFLAGS} -I${IMAP_TK_DIR}/c-client"
18176 LIBS
="${LIBS} ${IMAP_TK_DIR}/c-client/c-client.a "`echo ${imap_ldflags}`
18177 cat >conftest.$ac_ext <<_ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 #include "c-client.h
"
18184 void mm_searched (MAILSTREAM *stream,unsigned long number)
18187 void mm_exists (MAILSTREAM *stream,unsigned long number)
18190 void mm_expunged (MAILSTREAM *stream,unsigned long number)
18193 void mm_flags (MAILSTREAM *stream,unsigned long number)
18196 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
18199 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18202 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18205 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
18208 void mm_log (char *string,long errflg)
18211 void mm_dlog (char *string)
18214 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
18217 void mm_critical (MAILSTREAM *stream)
18220 void mm_nocritical (MAILSTREAM *stream)
18223 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
18226 void mm_fatal (char *string)
18233 MAILSTREAM *foo = mail_open(NULL, "", 0);
18240 rm -f conftest.$ac_objext conftest$ac_exeext
18241 if { (ac_try="$ac_link"
18242 case "(($ac_try" in
18243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18244 *) ac_try_echo=$ac_try;;
18246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18247 (eval "$ac_link") 2>conftest.er1
18249 grep -v '^ *+' conftest.er1 >conftest.err
18251 cat conftest.err >&5
18252 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18253 (exit $ac_status); } && {
18254 test -z "$ac_c_werror_flag" ||
18255 test ! -s conftest.err
18256 } && test -s conftest$ac_exeext &&
18257 $as_test_x conftest$ac_exeext; then
18258 ac_cv_imap_tk="yes"
18260 echo "$as_me: failed program was
:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18268 conftest$ac_exeext conftest.$ac_ext
18269 if test "${ac_cv_imap_tk}" = "yes"; then
18270 cat >conftest.$ac_ext <<_ACEOF
18273 cat confdefs.h >>conftest.$ac_ext
18274 cat >>conftest.$ac_ext <<_ACEOF
18275 /* end confdefs.h. */
18276 #include "c-client.h
"
18277 void mm_searched (MAILSTREAM *stream,unsigned long number)
18280 void mm_exists (MAILSTREAM *stream,unsigned long number)
18283 void mm_expunged (MAILSTREAM *stream,unsigned long number)
18286 void mm_flags (MAILSTREAM *stream,unsigned long number)
18289 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
18292 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18295 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18298 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
18301 void mm_log (char *string,long errflg)
18304 void mm_dlog (char *string)
18307 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
18310 void mm_critical (MAILSTREAM *stream)
18313 void mm_nocritical (MAILSTREAM *stream)
18316 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
18319 void mm_fatal (char *string)
18326 long check = mail_expunge_full(NULL, "", 0);
18333 rm -f conftest.$ac_objext conftest$ac_exeext
18334 if { (ac_try="$ac_link"
18335 case "(($ac_try" in
18336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18337 *) ac_try_echo=$ac_try;;
18339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18340 (eval "$ac_link") 2>conftest.er1
18342 grep -v '^ *+' conftest.er1 >conftest.err
18344 cat conftest.err >&5
18345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18346 (exit $ac_status); } && {
18347 test -z "$ac_c_werror_flag" ||
18348 test ! -s conftest.err
18349 } && test -s conftest$ac_exeext &&
18350 $as_test_x conftest$ac_exeext; then
18351 ac_cv_imap_tk2006="yes"
18353 echo "$as_me: failed program was
:" >&5
18354 sed 's/^/| /' conftest.$ac_ext >&5
18356 ac_cv_imap_tk2006="no
"
18360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18361 conftest$ac_exeext conftest.$ac_ext
18363 CPPFLAGS="${saved_cppflags}"
18364 LIBS="${saved_libs}"
18365 if test "${ac_cv_imap_tk}" = "yes"; then
18366 { echo "$as_me:$LINENO: result
: yes" >&5
18367 echo "${ECHO_T}yes" >&6; }
18368 IMAP_TK_LIB="${IMAP_TK_DIR}/c-client
/c-client.a
"`echo ${imap_ldflags}`
18369 IMAP_TK_INCLUDE="-I${IMAP_TK_DIR}/c-client
"
18372 cat >>confdefs.h <<\_ACEOF
18373 #define HAVE_IMAP_TK 1
18376 if test "${ac_cv_imap_tk2006}" = "yes"; then
18378 cat >>confdefs.h <<\_ACEOF
18379 #define HAVE_IMAP_TK2006 1
18383 elif test -n "${IMAP_TK_MANDATORY}"; then
18384 { echo "$as_me:$LINENO: result
: no
" >&5
18385 echo "${ECHO_T}no
" >&6; }
18386 { echo "$as_me:$LINENO: ***" >&5
18387 echo "$as_me: ***" >&6;}
18388 { echo "$as_me:$LINENO: *** The UW IMAP Toolkit installation on this system appears to be broken.
" >&5
18389 echo "$as_me: *** The UW IMAP Toolkit installation on this system appears to be broken.
" >&6;}
18390 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
18391 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
18392 { echo "$as_me:$LINENO: *** including
--without-imap.
" >&5
18393 echo "$as_me: *** including
--without-imap.
" >&6;}
18396 { echo "$as_me:$LINENO: result
: no
" >&5
18397 echo "${ECHO_T}no
" >&6; }
18401 # Needed by unixodbc
18403 if test "${USE_LTDL}" != "no
"; then
18405 if test "x
${LTDL_DIR}" != "x
"; then
18406 if test -d ${LTDL_DIR}/lib; then
18407 pbxlibdir="-L${LTDL_DIR}/lib
"
18409 pbxlibdir="-L${LTDL_DIR}"
18412 { echo "$as_me:$LINENO: checking
for lt_dlinit
in -lltdl" >&5
18413 echo $ECHO_N "checking
for lt_dlinit
in -lltdl...
$ECHO_C" >&6; }
18414 if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
18415 echo $ECHO_N "(cached
) $ECHO_C" >&6
18417 ac_check_lib_save_LIBS=$LIBS
18418 LIBS="-lltdl ${pbxlibdir} $LIBS"
18419 cat >conftest.$ac_ext <<_ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18426 /* Override any GCC internal prototype to avoid an error.
18427 Use char because int might match the return type of a GCC
18428 builtin and then its argument prototype would still apply. */
18436 return lt_dlinit ();
18441 rm -f conftest.$ac_objext conftest$ac_exeext
18442 if { (ac_try="$ac_link"
18443 case "(($ac_try" in
18444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18445 *) ac_try_echo=$ac_try;;
18447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18448 (eval "$ac_link") 2>conftest.er1
18450 grep -v '^ *+' conftest.er1 >conftest.err
18452 cat conftest.err >&5
18453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18454 (exit $ac_status); } && {
18455 test -z "$ac_c_werror_flag" ||
18456 test ! -s conftest.err
18457 } && test -s conftest$ac_exeext &&
18458 $as_test_x conftest$ac_exeext; then
18459 ac_cv_lib_ltdl_lt_dlinit=yes
18461 echo "$as_me: failed program was
:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18464 ac_cv_lib_ltdl_lt_dlinit=no
18467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18468 conftest$ac_exeext conftest.$ac_ext
18469 LIBS=$ac_check_lib_save_LIBS
18471 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ltdl_lt_dlinit" >&5
18472 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6; }
18473 if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
18480 if test "${AST_LTDL_FOUND}" = "yes"; then
18482 LTDL_HEADER_FOUND="1"
18483 if test "x
${LTDL_DIR}" != "x
"; then
18484 LTDL_LIB="${pbxlibdir} ${LTDL_LIB}"
18485 LTDL_INCLUDE="-I${LTDL_DIR}/include
"
18486 saved_cppflags="${CPPFLAGS}"
18487 CPPFLAGS="${CPPFLAGS} -I${LTDL_DIR}/include
"
18488 if test "xltdl.h
" != "x
" ; then
18489 as_ac_Header=`echo "ac_cv_header_
${LTDL_DIR}/include
/ltdl.h
" | $as_tr_sh`
18490 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18491 { echo "$as_me:$LINENO: checking
for ${LTDL_DIR}/include
/ltdl.h
" >&5
18492 echo $ECHO_N "checking
for ${LTDL_DIR}/include
/ltdl.h...
$ECHO_C" >&6; }
18493 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18494 echo $ECHO_N "(cached
) $ECHO_C" >&6
18496 ac_res=`eval echo '${'$as_ac_Header'}'`
18497 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18498 echo "${ECHO_T}$ac_res" >&6; }
18500 # Is the header compilable?
18501 { echo "$as_me:$LINENO: checking
${LTDL_DIR}/include
/ltdl.h usability
" >&5
18502 echo $ECHO_N "checking
${LTDL_DIR}/include
/ltdl.h usability...
$ECHO_C" >&6; }
18503 cat >conftest.$ac_ext <<_ACEOF
18506 cat confdefs.h >>conftest.$ac_ext
18507 cat >>conftest.$ac_ext <<_ACEOF
18508 /* end confdefs.h. */
18509 $ac_includes_default
18510 #include <${LTDL_DIR}/include/ltdl.h>
18512 rm -f conftest.$ac_objext
18513 if { (ac_try="$ac_compile"
18514 case "(($ac_try" in
18515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18516 *) ac_try_echo=$ac_try;;
18518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_compile") 2>conftest.er1
18521 grep -v '^ *+' conftest.er1 >conftest.err
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18525 (exit $ac_status); } && {
18526 test -z "$ac_c_werror_flag" ||
18527 test ! -s conftest.err
18528 } && test -s conftest.$ac_objext; then
18529 ac_header_compiler=yes
18531 echo "$as_me: failed program was
:" >&5
18532 sed 's/^/| /' conftest.$ac_ext >&5
18534 ac_header_compiler=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18538 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18539 echo "${ECHO_T}$ac_header_compiler" >&6; }
18541 # Is the header present?
18542 { echo "$as_me:$LINENO: checking
${LTDL_DIR}/include
/ltdl.h presence
" >&5
18543 echo $ECHO_N "checking
${LTDL_DIR}/include
/ltdl.h presence...
$ECHO_C" >&6; }
18544 cat >conftest.$ac_ext <<_ACEOF
18547 cat confdefs.h >>conftest.$ac_ext
18548 cat >>conftest.$ac_ext <<_ACEOF
18549 /* end confdefs.h. */
18550 #include <${LTDL_DIR}/include/ltdl.h>
18552 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18553 case "(($ac_try" in
18554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18555 *) ac_try_echo=$ac_try;;
18557 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18558 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18560 grep -v '^ *+' conftest.er1 >conftest.err
18562 cat conftest.err >&5
18563 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18564 (exit $ac_status); } >/dev/null && {
18565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18566 test ! -s conftest.err
18568 ac_header_preproc=yes
18570 echo "$as_me: failed program was
:" >&5
18571 sed 's/^/| /' conftest.$ac_ext >&5
18573 ac_header_preproc=no
18576 rm -f conftest.err conftest.$ac_ext
18577 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18578 echo "${ECHO_T}$ac_header_preproc" >&6; }
18580 # So? What about this header?
18581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18583 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18584 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18585 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: proceeding with the compiler
's result" >&5
18586 echo "$as_me: WARNING: ${LTDL_DIR}/include/ltdl.h: proceeding with the compiler's result
" >&2;}
18587 ac_header_preproc=yes
18590 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: present but cannot be compiled
" >&5
18591 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: present but cannot be compiled
" >&2;}
18592 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: check
for missing prerequisite headers?
" >&5
18593 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: check
for missing prerequisite headers?
" >&2;}
18594 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: see the Autoconf documentation
" >&5
18595 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: see the Autoconf documentation
" >&2;}
18596 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18597 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18598 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: proceeding with the preprocessor
's result" >&5
18599 echo "$as_me: WARNING: ${LTDL_DIR}/include/ltdl.h: proceeding with the preprocessor's result
" >&2;}
18600 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: in the future
, the compiler will take precedence
" >&5
18601 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: in the future
, the compiler will take precedence
" >&2;}
18605 { echo "$as_me:$LINENO: checking
for ${LTDL_DIR}/include
/ltdl.h
" >&5
18606 echo $ECHO_N "checking
for ${LTDL_DIR}/include
/ltdl.h...
$ECHO_C" >&6; }
18607 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18608 echo $ECHO_N "(cached
) $ECHO_C" >&6
18610 eval "$as_ac_Header=\
$ac_header_preproc"
18612 ac_res=`eval echo '${'$as_ac_Header'}'`
18613 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18614 echo "${ECHO_T}$ac_res" >&6; }
18617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18618 LTDL_HEADER_FOUND=1
18620 LTDL_HEADER_FOUND=0
18625 CPPFLAGS="${saved_cppflags}"
18627 if test "xltdl.h
" != "x
" ; then
18628 if test "${ac_cv_header_ltdl_h+set}" = set; then
18629 { echo "$as_me:$LINENO: checking
for ltdl.h
" >&5
18630 echo $ECHO_N "checking
for ltdl.h...
$ECHO_C" >&6; }
18631 if test "${ac_cv_header_ltdl_h+set}" = set; then
18632 echo $ECHO_N "(cached
) $ECHO_C" >&6
18634 { echo "$as_me:$LINENO: result
: $ac_cv_header_ltdl_h" >&5
18635 echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
18637 # Is the header compilable?
18638 { echo "$as_me:$LINENO: checking ltdl.h usability
" >&5
18639 echo $ECHO_N "checking ltdl.h usability...
$ECHO_C" >&6; }
18640 cat >conftest.$ac_ext <<_ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 $ac_includes_default
18649 rm -f conftest.$ac_objext
18650 if { (ac_try="$ac_compile"
18651 case "(($ac_try" in
18652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18653 *) ac_try_echo=$ac_try;;
18655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18656 (eval "$ac_compile") 2>conftest.er1
18658 grep -v '^ *+' conftest.er1 >conftest.err
18660 cat conftest.err >&5
18661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18662 (exit $ac_status); } && {
18663 test -z "$ac_c_werror_flag" ||
18664 test ! -s conftest.err
18665 } && test -s conftest.$ac_objext; then
18666 ac_header_compiler=yes
18668 echo "$as_me: failed program was
:" >&5
18669 sed 's/^/| /' conftest.$ac_ext >&5
18671 ac_header_compiler=no
18674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18676 echo "${ECHO_T}$ac_header_compiler" >&6; }
18678 # Is the header present?
18679 { echo "$as_me:$LINENO: checking ltdl.h presence
" >&5
18680 echo $ECHO_N "checking ltdl.h presence...
$ECHO_C" >&6; }
18681 cat >conftest.$ac_ext <<_ACEOF
18684 cat confdefs.h >>conftest.$ac_ext
18685 cat >>conftest.$ac_ext <<_ACEOF
18686 /* end confdefs.h. */
18689 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18690 case "(($ac_try" in
18691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18692 *) ac_try_echo=$ac_try;;
18694 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18695 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18697 grep -v '^ *+' conftest.er1 >conftest.err
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18701 (exit $ac_status); } >/dev/null && {
18702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18703 test ! -s conftest.err
18705 ac_header_preproc=yes
18707 echo "$as_me: failed program was
:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18710 ac_header_preproc=no
18713 rm -f conftest.err conftest.$ac_ext
18714 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18715 echo "${ECHO_T}$ac_header_preproc" >&6; }
18717 # So? What about this header?
18718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18720 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18721 echo "$as_me: WARNING
: ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18722 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: proceeding with the compiler
's result" >&5
18723 echo "$as_me: WARNING: ltdl.h: proceeding with the compiler's result
" >&2;}
18724 ac_header_preproc=yes
18727 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: present but cannot be compiled
" >&5
18728 echo "$as_me: WARNING
: ltdl.h
: present but cannot be compiled
" >&2;}
18729 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: check
for missing prerequisite headers?
" >&5
18730 echo "$as_me: WARNING
: ltdl.h
: check
for missing prerequisite headers?
" >&2;}
18731 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: see the Autoconf documentation
" >&5
18732 echo "$as_me: WARNING
: ltdl.h
: see the Autoconf documentation
" >&2;}
18733 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18734 echo "$as_me: WARNING
: ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18735 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: proceeding with the preprocessor
's result" >&5
18736 echo "$as_me: WARNING: ltdl.h: proceeding with the preprocessor's result
" >&2;}
18737 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: in the future
, the compiler will take precedence
" >&5
18738 echo "$as_me: WARNING
: ltdl.h
: in the future
, the compiler will take precedence
" >&2;}
18742 { echo "$as_me:$LINENO: checking
for ltdl.h
" >&5
18743 echo $ECHO_N "checking
for ltdl.h...
$ECHO_C" >&6; }
18744 if test "${ac_cv_header_ltdl_h+set}" = set; then
18745 echo $ECHO_N "(cached
) $ECHO_C" >&6
18747 ac_cv_header_ltdl_h=$ac_header_preproc
18749 { echo "$as_me:$LINENO: result
: $ac_cv_header_ltdl_h" >&5
18750 echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
18753 if test $ac_cv_header_ltdl_h = yes; then
18754 LTDL_HEADER_FOUND=1
18756 LTDL_HEADER_FOUND=0
18762 if test "x
${LTDL_HEADER_FOUND}" = "x0
" ; then
18763 if test -n "${LTDL_MANDATORY}" ;
18765 { echo "$as_me:$LINENO: ***" >&5
18766 echo "$as_me: ***" >&6;}
18767 { echo "$as_me:$LINENO: *** It appears that you
do not have the ltdl development package installed.
" >&5
18768 echo "$as_me: *** It appears that you
do not have the ltdl development package installed.
" >&6;}
18769 { echo "$as_me:$LINENO: *** Please
install it to include
${LTDL_DESCRIP} support
, or re-run configure
" >&5
18770 echo "$as_me: *** Please
install it to include
${LTDL_DESCRIP} support
, or re-run configure
" >&6;}
18771 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${LTDL_OPTION}" >&5
18772 echo "$as_me: *** without explicitly specifying
--with-${LTDL_OPTION}" >&6;}
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_LTDL 1
18786 elif test -n "${LTDL_MANDATORY}";
18788 { echo "$as_me:$LINENO: ***" >&5
18789 echo "$as_me: ***" >&6;}
18790 { echo "$as_me:$LINENO: *** The
${LTDL_DESCRIP} installation on this system appears to be broken.
" >&5
18791 echo "$as_me: *** The
${LTDL_DESCRIP} installation on this system appears to be broken.
" >&6;}
18792 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
18793 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
18794 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${LTDL_OPTION}" >&5
18795 echo "$as_me: *** without explicitly specifying
--with-${LTDL_OPTION}" >&6;}
18802 ac_cpp='$CXXCPP $CPPFLAGS'
18803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18808 if test "${USE_KDE}" != "no
"; then
18809 { echo "$as_me:$LINENO: checking
for crashHandler
in -lkdecore" >&5
18810 echo $ECHO_N "checking
for crashHandler
in -lkdecore...
$ECHO_C" >&6; }
18811 saved_libs="${LIBS}"
18812 saved_cppflags="${CPPFLAGS}"
18813 CPPFLAGS="${CPPFLAGS} -I${KDE_DIR}/include
"
18814 if test -d ${KDE_DIR}/lib; then
18815 kdelibdir="${KDE_DIR}/lib
"
18817 kdelibdir="${KDE_DIR}"
18819 LIBS="${LIBS} -L${kdelibdir} -lkdecore"
18822 cat >conftest.$ac_ext <<_ACEOF
18825 cat confdefs.h >>conftest.$ac_ext
18826 cat >>conftest.$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18828 #include "kcrash.h
"
18832 KCrash::defaultCrashHandler(1);
18838 rm -f conftest.$ac_objext conftest$ac_exeext
18839 if { (ac_try="$ac_link"
18840 case "(($ac_try" in
18841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18842 *) ac_try_echo=$ac_try;;
18844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18845 (eval "$ac_link") 2>conftest.er1
18847 grep -v '^ *+' conftest.er1 >conftest.err
18849 cat conftest.err >&5
18850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18851 (exit $ac_status); } && {
18852 test -z "$ac_cxx_werror_flag" ||
18853 test ! -s conftest.err
18854 } && test -s conftest$ac_exeext &&
18855 $as_test_x conftest$ac_exeext; then
18856 ac_cv_lib_kde_crash="yes"
18858 echo "$as_me: failed program was
:" >&5
18859 sed 's/^/| /' conftest.$ac_ext >&5
18861 ac_cv_lib_kde_crash="no
"
18864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18865 conftest$ac_exeext conftest.$ac_ext
18867 LIBS="${saved_libs}"
18868 CPPFLAGS="${saved_cppflags}"
18870 if test "${ac_cv_lib_kde_crash}" = "yes"; then
18871 { echo "$as_me:$LINENO: result
: yes" >&5
18872 echo "${ECHO_T}yes" >&6; }
18873 KDE_LIB="-lkdecore -lkdeui"
18874 if test "${KDE_DIR}" != ""; then
18875 KDE_LIB="-L${kdelibdir} ${KDE_LIB}"
18876 KDE_INCLUDE="-I${KDE_DIR}/include
"
18880 cat >>confdefs.h <<\_ACEOF
18881 #define HAVE_LIBKDE 1
18884 elif test -n "${KDE_MANDATORY}"; then
18885 { echo "$as_me:$LINENO: result
: no
" >&5
18886 echo "${ECHO_T}no
" >&6; }
18887 { echo "$as_me:$LINENO: ***" >&5
18888 echo "$as_me: ***" >&6;}
18889 { echo "$as_me:$LINENO: *** The KDE installation on this system appears to be broken.
" >&5
18890 echo "$as_me: *** The KDE installation on this system appears to be broken.
" >&6;}
18891 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
18892 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
18893 { echo "$as_me:$LINENO: *** including
--without-kde.
" >&5
18894 echo "$as_me: *** including
--without-kde.
" >&6;}
18897 { echo "$as_me:$LINENO: result
: no
" >&5
18898 echo "${ECHO_T}no
" >&6; }
18901 if test "${PBX_KDE}" = 1; then
18902 if test -n "$ac_tool_prefix"; then
18903 # Extract the first word of "${ac_tool_prefix}kdeinit
", so it can be a program name with args.
18904 set dummy ${ac_tool_prefix}kdeinit; ac_word=$2
18905 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
18906 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
18907 if test "${ac_cv_path_KDEINIT+set}" = set; then
18908 echo $ECHO_N "(cached
) $ECHO_C" >&6
18912 ac_cv_path_KDEINIT="$KDEINIT" # Let the user override the test with a path.
18915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18916 for as_dir in $PATH
18919 test -z "$as_dir" && as_dir=.
18920 for ac_exec_ext in '' $ac_executable_extensions; do
18921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18922 ac_cv_path_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
18923 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
18933 KDEINIT=$ac_cv_path_KDEINIT
18934 if test -n "$KDEINIT"; then
18935 { echo "$as_me:$LINENO: result
: $KDEINIT" >&5
18936 echo "${ECHO_T}$KDEINIT" >&6; }
18938 { echo "$as_me:$LINENO: result
: no
" >&5
18939 echo "${ECHO_T}no
" >&6; }
18944 if test -z "$ac_cv_path_KDEINIT"; then
18945 ac_pt_KDEINIT=$KDEINIT
18946 # Extract the first word of "kdeinit
", so it can be a program name with args.
18947 set dummy kdeinit; ac_word=$2
18948 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
18949 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
18950 if test "${ac_cv_path_ac_pt_KDEINIT+set}" = set; then
18951 echo $ECHO_N "(cached
) $ECHO_C" >&6
18953 case $ac_pt_KDEINIT in
18955 ac_cv_path_ac_pt_KDEINIT="$ac_pt_KDEINIT" # Let the user override the test with a path.
18958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18959 for as_dir in $PATH
18962 test -z "$as_dir" && as_dir=.
18963 for ac_exec_ext in '' $ac_executable_extensions; do
18964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18965 ac_cv_path_ac_pt_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
18966 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
18976 ac_pt_KDEINIT=$ac_cv_path_ac_pt_KDEINIT
18977 if test -n "$ac_pt_KDEINIT"; then
18978 { echo "$as_me:$LINENO: result
: $ac_pt_KDEINIT" >&5
18979 echo "${ECHO_T}$ac_pt_KDEINIT" >&6; }
18981 { echo "$as_me:$LINENO: result
: no
" >&5
18982 echo "${ECHO_T}no
" >&6; }
18985 if test "x
$ac_pt_KDEINIT" = x; then
18988 case $cross_compiling:$ac_tool_warned in
18990 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
18991 whose name does not start with the
host triplet. If you think this
18992 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
18993 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
18994 whose name does not start with the
host triplet. If you think this
18995 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
18996 ac_tool_warned=yes ;;
18998 KDEINIT=$ac_pt_KDEINIT
19001 KDEINIT="$ac_cv_path_KDEINIT"
19004 if test ! x"${KDEINIT}" = xNo; then
19005 KDEDIR=$(${DIRNAME} ${KDEINIT})
19006 KDEDIR=$(${DIRNAME} ${KDEDIR})
19012 ac_cpp='$CPP $CPPFLAGS'
19013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19019 if test "${USE_MISDN}" != "no
"; then
19021 if test "x
${MISDN_DIR}" != "x
"; then
19022 if test -d ${MISDN_DIR}/lib; then
19023 pbxlibdir="-L${MISDN_DIR}/lib
"
19025 pbxlibdir="-L${MISDN_DIR}"
19028 { echo "$as_me:$LINENO: checking
for mISDN_open
in -lmISDN" >&5
19029 echo $ECHO_N "checking
for mISDN_open
in -lmISDN...
$ECHO_C" >&6; }
19030 if test "${ac_cv_lib_mISDN_mISDN_open+set}" = set; then
19031 echo $ECHO_N "(cached
) $ECHO_C" >&6
19033 ac_check_lib_save_LIBS=$LIBS
19034 LIBS="-lmISDN ${pbxlibdir} $LIBS"
19035 cat >conftest.$ac_ext <<_ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19042 /* Override any GCC internal prototype to avoid an error.
19043 Use char because int might match the return type of a GCC
19044 builtin and then its argument prototype would still apply. */
19048 char mISDN_open ();
19052 return mISDN_open ();
19057 rm -f conftest.$ac_objext conftest$ac_exeext
19058 if { (ac_try="$ac_link"
19059 case "(($ac_try" in
19060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19061 *) ac_try_echo=$ac_try;;
19063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19064 (eval "$ac_link") 2>conftest.er1
19066 grep -v '^ *+' conftest.er1 >conftest.err
19068 cat conftest.err >&5
19069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19070 (exit $ac_status); } && {
19071 test -z "$ac_c_werror_flag" ||
19072 test ! -s conftest.err
19073 } && test -s conftest$ac_exeext &&
19074 $as_test_x conftest$ac_exeext; then
19075 ac_cv_lib_mISDN_mISDN_open=yes
19077 echo "$as_me: failed program was
:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19080 ac_cv_lib_mISDN_mISDN_open=no
19083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19084 conftest$ac_exeext conftest.$ac_ext
19085 LIBS=$ac_check_lib_save_LIBS
19087 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mISDN_mISDN_open" >&5
19088 echo "${ECHO_T}$ac_cv_lib_mISDN_mISDN_open" >&6; }
19089 if test $ac_cv_lib_mISDN_mISDN_open = yes; then
19090 AST_MISDN_FOUND=yes
19096 if test "${AST_MISDN_FOUND}" = "yes"; then
19097 MISDN_LIB="-lmISDN "
19098 MISDN_HEADER_FOUND="1"
19099 if test "x
${MISDN_DIR}" != "x
"; then
19100 MISDN_LIB="${pbxlibdir} ${MISDN_LIB}"
19101 MISDN_INCLUDE="-I${MISDN_DIR}/include
"
19102 saved_cppflags="${CPPFLAGS}"
19103 CPPFLAGS="${CPPFLAGS} -I${MISDN_DIR}/include
"
19104 if test "xmISDNuser
/mISDNlib.h
" != "x
" ; then
19105 as_ac_Header=`echo "ac_cv_header_
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" | $as_tr_sh`
19106 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19107 { echo "$as_me:$LINENO: checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" >&5
19108 echo $ECHO_N "checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19109 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19110 echo $ECHO_N "(cached
) $ECHO_C" >&6
19112 ac_res=`eval echo '${'$as_ac_Header'}'`
19113 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19114 echo "${ECHO_T}$ac_res" >&6; }
19116 # Is the header compilable?
19117 { echo "$as_me:$LINENO: checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h usability
" >&5
19118 echo $ECHO_N "checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h usability...
$ECHO_C" >&6; }
19119 cat >conftest.$ac_ext <<_ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 $ac_includes_default
19126 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
19128 rm -f conftest.$ac_objext
19129 if { (ac_try="$ac_compile"
19130 case "(($ac_try" in
19131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19132 *) ac_try_echo=$ac_try;;
19134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19135 (eval "$ac_compile") 2>conftest.er1
19137 grep -v '^ *+' conftest.er1 >conftest.err
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19141 (exit $ac_status); } && {
19142 test -z "$ac_c_werror_flag" ||
19143 test ! -s conftest.err
19144 } && test -s conftest.$ac_objext; then
19145 ac_header_compiler=yes
19147 echo "$as_me: failed program was
:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19150 ac_header_compiler=no
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19154 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19155 echo "${ECHO_T}$ac_header_compiler" >&6; }
19157 # Is the header present?
19158 { echo "$as_me:$LINENO: checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h presence
" >&5
19159 echo $ECHO_N "checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h presence...
$ECHO_C" >&6; }
19160 cat >conftest.$ac_ext <<_ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
19168 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19169 case "(($ac_try" in
19170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19171 *) ac_try_echo=$ac_try;;
19173 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19174 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19176 grep -v '^ *+' conftest.er1 >conftest.err
19178 cat conftest.err >&5
19179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19180 (exit $ac_status); } >/dev/null && {
19181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19182 test ! -s conftest.err
19184 ac_header_preproc=yes
19186 echo "$as_me: failed program was
:" >&5
19187 sed 's/^/| /' conftest.$ac_ext >&5
19189 ac_header_preproc=no
19192 rm -f conftest.err conftest.$ac_ext
19193 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19194 echo "${ECHO_T}$ac_header_preproc" >&6; }
19196 # So? What about this header?
19197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19199 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19200 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19201 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&5
19202 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&2;}
19203 ac_header_preproc=yes
19206 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&5
19207 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&2;}
19208 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&5
19209 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&2;}
19210 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&5
19211 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&2;}
19212 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19213 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19214 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&5
19215 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&2;}
19216 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&5
19217 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&2;}
19221 { echo "$as_me:$LINENO: checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" >&5
19222 echo $ECHO_N "checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19223 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19224 echo $ECHO_N "(cached
) $ECHO_C" >&6
19226 eval "$as_ac_Header=\
$ac_header_preproc"
19228 ac_res=`eval echo '${'$as_ac_Header'}'`
19229 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19230 echo "${ECHO_T}$ac_res" >&6; }
19233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19234 MISDN_HEADER_FOUND=1
19236 MISDN_HEADER_FOUND=0
19241 CPPFLAGS="${saved_cppflags}"
19243 if test "xmISDNuser
/mISDNlib.h
" != "x
" ; then
19244 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
19245 { echo "$as_me:$LINENO: checking
for mISDNuser
/mISDNlib.h
" >&5
19246 echo $ECHO_N "checking
for mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19247 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
19248 echo $ECHO_N "(cached
) $ECHO_C" >&6
19250 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
19251 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
19253 # Is the header compilable?
19254 { echo "$as_me:$LINENO: checking mISDNuser
/mISDNlib.h usability
" >&5
19255 echo $ECHO_N "checking mISDNuser
/mISDNlib.h usability...
$ECHO_C" >&6; }
19256 cat >conftest.$ac_ext <<_ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 $ac_includes_default
19263 #include <mISDNuser/mISDNlib.h>
19265 rm -f conftest.$ac_objext
19266 if { (ac_try="$ac_compile"
19267 case "(($ac_try" in
19268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19269 *) ac_try_echo=$ac_try;;
19271 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19272 (eval "$ac_compile") 2>conftest.er1
19274 grep -v '^ *+' conftest.er1 >conftest.err
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19278 (exit $ac_status); } && {
19279 test -z "$ac_c_werror_flag" ||
19280 test ! -s conftest.err
19281 } && test -s conftest.$ac_objext; then
19282 ac_header_compiler=yes
19284 echo "$as_me: failed program was
:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19287 ac_header_compiler=no
19290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19292 echo "${ECHO_T}$ac_header_compiler" >&6; }
19294 # Is the header present?
19295 { echo "$as_me:$LINENO: checking mISDNuser
/mISDNlib.h presence
" >&5
19296 echo $ECHO_N "checking mISDNuser
/mISDNlib.h presence...
$ECHO_C" >&6; }
19297 cat >conftest.$ac_ext <<_ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #include <mISDNuser/mISDNlib.h>
19305 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19306 case "(($ac_try" in
19307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19313 grep -v '^ *+' conftest.er1 >conftest.err
19315 cat conftest.err >&5
19316 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19317 (exit $ac_status); } >/dev/null && {
19318 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19319 test ! -s conftest.err
19321 ac_header_preproc=yes
19323 echo "$as_me: failed program was
:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19326 ac_header_preproc=no
19329 rm -f conftest.err conftest.$ac_ext
19330 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19331 echo "${ECHO_T}$ac_header_preproc" >&6; }
19333 # So? What about this header?
19334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19336 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19337 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19338 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&5
19339 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&2;}
19340 ac_header_preproc=yes
19343 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&5
19344 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&2;}
19345 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&5
19346 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&2;}
19347 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&5
19348 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&2;}
19349 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19350 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19351 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&5
19352 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&2;}
19353 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&5
19354 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&2;}
19358 { echo "$as_me:$LINENO: checking
for mISDNuser
/mISDNlib.h
" >&5
19359 echo $ECHO_N "checking
for mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19360 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
19361 echo $ECHO_N "(cached
) $ECHO_C" >&6
19363 ac_cv_header_mISDNuser_mISDNlib_h=$ac_header_preproc
19365 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
19366 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
19369 if test $ac_cv_header_mISDNuser_mISDNlib_h = yes; then
19370 MISDN_HEADER_FOUND=1
19372 MISDN_HEADER_FOUND=0
19378 if test "x
${MISDN_HEADER_FOUND}" = "x0
" ; then
19379 if test -n "${MISDN_MANDATORY}" ;
19381 { echo "$as_me:$LINENO: ***" >&5
19382 echo "$as_me: ***" >&6;}
19383 { echo "$as_me:$LINENO: *** It appears that you
do not have the mISDN development package installed.
" >&5
19384 echo "$as_me: *** It appears that you
do not have the mISDN development package installed.
" >&6;}
19385 { echo "$as_me:$LINENO: *** Please
install it to include
${MISDN_DESCRIP} support
, or re-run configure
" >&5
19386 echo "$as_me: *** Please
install it to include
${MISDN_DESCRIP} support
, or re-run configure
" >&6;}
19387 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${MISDN_OPTION}" >&5
19388 echo "$as_me: *** without explicitly specifying
--with-${MISDN_OPTION}" >&6;}
19397 cat >>confdefs.h <<_ACEOF
19398 #define HAVE_MISDN 1
19402 elif test -n "${MISDN_MANDATORY}";
19404 { echo "$as_me:$LINENO: ***" >&5
19405 echo "$as_me: ***" >&6;}
19406 { echo "$as_me:$LINENO: *** The
${MISDN_DESCRIP} installation on this system appears to be broken.
" >&5
19407 echo "$as_me: *** The
${MISDN_DESCRIP} installation on this system appears to be broken.
" >&6;}
19408 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19409 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19410 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${MISDN_OPTION}" >&5
19411 echo "$as_me: *** without explicitly specifying
--with-${MISDN_OPTION}" >&6;}
19417 if test "${PBX_MISDN}" = 1; then
19419 if test "${USE_ISDNNET}" != "no
"; then
19421 if test "x
${ISDNNET_DIR}" != "x
"; then
19422 if test -d ${ISDNNET_DIR}/lib; then
19423 pbxlibdir="-L${ISDNNET_DIR}/lib
"
19425 pbxlibdir="-L${ISDNNET_DIR}"
19428 { echo "$as_me:$LINENO: checking
for init_manager
in -lisdnnet" >&5
19429 echo $ECHO_N "checking
for init_manager
in -lisdnnet...
$ECHO_C" >&6; }
19430 if test "${ac_cv_lib_isdnnet_init_manager+set}" = set; then
19431 echo $ECHO_N "(cached
) $ECHO_C" >&6
19433 ac_check_lib_save_LIBS=$LIBS
19434 LIBS="-lisdnnet ${pbxlibdir} -lmISDN -lpthread $LIBS"
19435 cat >conftest.$ac_ext <<_ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19442 /* Override any GCC internal prototype to avoid an error.
19443 Use char because int might match the return type of a GCC
19444 builtin and then its argument prototype would still apply. */
19448 char init_manager ();
19452 return init_manager ();
19457 rm -f conftest.$ac_objext conftest$ac_exeext
19458 if { (ac_try="$ac_link"
19459 case "(($ac_try" in
19460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19461 *) ac_try_echo=$ac_try;;
19463 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19464 (eval "$ac_link") 2>conftest.er1
19466 grep -v '^ *+' conftest.er1 >conftest.err
19468 cat conftest.err >&5
19469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19470 (exit $ac_status); } && {
19471 test -z "$ac_c_werror_flag" ||
19472 test ! -s conftest.err
19473 } && test -s conftest$ac_exeext &&
19474 $as_test_x conftest$ac_exeext; then
19475 ac_cv_lib_isdnnet_init_manager=yes
19477 echo "$as_me: failed program was
:" >&5
19478 sed 's/^/| /' conftest.$ac_ext >&5
19480 ac_cv_lib_isdnnet_init_manager=no
19483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19484 conftest$ac_exeext conftest.$ac_ext
19485 LIBS=$ac_check_lib_save_LIBS
19487 { echo "$as_me:$LINENO: result
: $ac_cv_lib_isdnnet_init_manager" >&5
19488 echo "${ECHO_T}$ac_cv_lib_isdnnet_init_manager" >&6; }
19489 if test $ac_cv_lib_isdnnet_init_manager = yes; then
19490 AST_ISDNNET_FOUND=yes
19492 AST_ISDNNET_FOUND=no
19496 if test "${AST_ISDNNET_FOUND}" = "yes"; then
19497 ISDNNET_LIB="-lisdnnet -lmISDN -lpthread"
19498 ISDNNET_HEADER_FOUND="1"
19499 if test "x
${ISDNNET_DIR}" != "x
"; then
19500 ISDNNET_LIB="${pbxlibdir} ${ISDNNET_LIB}"
19501 ISDNNET_INCLUDE="-I${ISDNNET_DIR}/include
"
19502 saved_cppflags="${CPPFLAGS}"
19503 CPPFLAGS="${CPPFLAGS} -I${ISDNNET_DIR}/include
"
19504 if test "xmISDNuser
/isdn_net.h
" != "x
" ; then
19505 as_ac_Header=`echo "ac_cv_header_
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" | $as_tr_sh`
19506 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19507 { echo "$as_me:$LINENO: checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" >&5
19508 echo $ECHO_N "checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19509 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19510 echo $ECHO_N "(cached
) $ECHO_C" >&6
19512 ac_res=`eval echo '${'$as_ac_Header'}'`
19513 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19514 echo "${ECHO_T}$ac_res" >&6; }
19516 # Is the header compilable?
19517 { echo "$as_me:$LINENO: checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h usability
" >&5
19518 echo $ECHO_N "checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h usability...
$ECHO_C" >&6; }
19519 cat >conftest.$ac_ext <<_ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 $ac_includes_default
19526 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
19528 rm -f conftest.$ac_objext
19529 if { (ac_try="$ac_compile"
19530 case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_compile") 2>conftest.er1
19537 grep -v '^ *+' conftest.er1 >conftest.err
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19541 (exit $ac_status); } && {
19542 test -z "$ac_c_werror_flag" ||
19543 test ! -s conftest.err
19544 } && test -s conftest.$ac_objext; then
19545 ac_header_compiler=yes
19547 echo "$as_me: failed program was
:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19550 ac_header_compiler=no
19553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19554 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19555 echo "${ECHO_T}$ac_header_compiler" >&6; }
19557 # Is the header present?
19558 { echo "$as_me:$LINENO: checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h presence
" >&5
19559 echo $ECHO_N "checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h presence...
$ECHO_C" >&6; }
19560 cat >conftest.$ac_ext <<_ACEOF
19563 cat confdefs.h >>conftest.$ac_ext
19564 cat >>conftest.$ac_ext <<_ACEOF
19565 /* end confdefs.h. */
19566 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
19568 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19569 case "(($ac_try" in
19570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19571 *) ac_try_echo=$ac_try;;
19573 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19574 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19576 grep -v '^ *+' conftest.er1 >conftest.err
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19580 (exit $ac_status); } >/dev/null && {
19581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19582 test ! -s conftest.err
19584 ac_header_preproc=yes
19586 echo "$as_me: failed program was
:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5
19589 ac_header_preproc=no
19592 rm -f conftest.err conftest.$ac_ext
19593 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19594 echo "${ECHO_T}$ac_header_preproc" >&6; }
19596 # So? What about this header?
19597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19599 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19600 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19601 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&5
19602 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&2;}
19603 ac_header_preproc=yes
19606 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&5
19607 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&2;}
19608 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&5
19609 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&2;}
19610 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&5
19611 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&2;}
19612 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19613 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19614 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&5
19615 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&2;}
19616 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&5
19617 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&2;}
19621 { echo "$as_me:$LINENO: checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" >&5
19622 echo $ECHO_N "checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19623 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19624 echo $ECHO_N "(cached
) $ECHO_C" >&6
19626 eval "$as_ac_Header=\
$ac_header_preproc"
19628 ac_res=`eval echo '${'$as_ac_Header'}'`
19629 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19630 echo "${ECHO_T}$ac_res" >&6; }
19633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19634 ISDNNET_HEADER_FOUND=1
19636 ISDNNET_HEADER_FOUND=0
19641 CPPFLAGS="${saved_cppflags}"
19643 if test "xmISDNuser
/isdn_net.h
" != "x
" ; then
19644 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
19645 { echo "$as_me:$LINENO: checking
for mISDNuser
/isdn_net.h
" >&5
19646 echo $ECHO_N "checking
for mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19647 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
19648 echo $ECHO_N "(cached
) $ECHO_C" >&6
19650 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_isdn_net_h" >&5
19651 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
19653 # Is the header compilable?
19654 { echo "$as_me:$LINENO: checking mISDNuser
/isdn_net.h usability
" >&5
19655 echo $ECHO_N "checking mISDNuser
/isdn_net.h usability...
$ECHO_C" >&6; }
19656 cat >conftest.$ac_ext <<_ACEOF
19659 cat confdefs.h >>conftest.$ac_ext
19660 cat >>conftest.$ac_ext <<_ACEOF
19661 /* end confdefs.h. */
19662 $ac_includes_default
19663 #include <mISDNuser/isdn_net.h>
19665 rm -f conftest.$ac_objext
19666 if { (ac_try="$ac_compile"
19667 case "(($ac_try" in
19668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19669 *) ac_try_echo=$ac_try;;
19671 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19672 (eval "$ac_compile") 2>conftest.er1
19674 grep -v '^ *+' conftest.er1 >conftest.err
19676 cat conftest.err >&5
19677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19678 (exit $ac_status); } && {
19679 test -z "$ac_c_werror_flag" ||
19680 test ! -s conftest.err
19681 } && test -s conftest.$ac_objext; then
19682 ac_header_compiler=yes
19684 echo "$as_me: failed program was
:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19687 ac_header_compiler=no
19690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19692 echo "${ECHO_T}$ac_header_compiler" >&6; }
19694 # Is the header present?
19695 { echo "$as_me:$LINENO: checking mISDNuser
/isdn_net.h presence
" >&5
19696 echo $ECHO_N "checking mISDNuser
/isdn_net.h presence...
$ECHO_C" >&6; }
19697 cat >conftest.$ac_ext <<_ACEOF
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 #include <mISDNuser/isdn_net.h>
19705 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19706 case "(($ac_try" in
19707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19708 *) ac_try_echo=$ac_try;;
19710 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19711 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19713 grep -v '^ *+' conftest.er1 >conftest.err
19715 cat conftest.err >&5
19716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19717 (exit $ac_status); } >/dev/null && {
19718 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19719 test ! -s conftest.err
19721 ac_header_preproc=yes
19723 echo "$as_me: failed program was
:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19726 ac_header_preproc=no
19729 rm -f conftest.err conftest.$ac_ext
19730 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19731 echo "${ECHO_T}$ac_header_preproc" >&6; }
19733 # So? What about this header?
19734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19736 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19737 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19738 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&5
19739 echo "$as_me: WARNING: mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&2;}
19740 ac_header_preproc=yes
19743 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&5
19744 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&2;}
19745 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&5
19746 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&2;}
19747 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&5
19748 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&2;}
19749 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19750 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19751 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&5
19752 echo "$as_me: WARNING: mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&2;}
19753 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&5
19754 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&2;}
19758 { echo "$as_me:$LINENO: checking
for mISDNuser
/isdn_net.h
" >&5
19759 echo $ECHO_N "checking
for mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19760 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
19761 echo $ECHO_N "(cached
) $ECHO_C" >&6
19763 ac_cv_header_mISDNuser_isdn_net_h=$ac_header_preproc
19765 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_isdn_net_h" >&5
19766 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
19769 if test $ac_cv_header_mISDNuser_isdn_net_h = yes; then
19770 ISDNNET_HEADER_FOUND=1
19772 ISDNNET_HEADER_FOUND=0
19778 if test "x
${ISDNNET_HEADER_FOUND}" = "x0
" ; then
19779 if test -n "${ISDNNET_MANDATORY}" ;
19781 { echo "$as_me:$LINENO: ***" >&5
19782 echo "$as_me: ***" >&6;}
19783 { echo "$as_me:$LINENO: *** It appears that you
do not have the isdnnet development package installed.
" >&5
19784 echo "$as_me: *** It appears that you
do not have the isdnnet development package installed.
" >&6;}
19785 { echo "$as_me:$LINENO: *** Please
install it to include
${ISDNNET_DESCRIP} support
, or re-run configure
" >&5
19786 echo "$as_me: *** Please
install it to include
${ISDNNET_DESCRIP} support
, or re-run configure
" >&6;}
19787 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&5
19788 echo "$as_me: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&6;}
19797 cat >>confdefs.h <<_ACEOF
19798 #define HAVE_ISDNNET 1
19802 elif test -n "${ISDNNET_MANDATORY}";
19804 { echo "$as_me:$LINENO: ***" >&5
19805 echo "$as_me: ***" >&6;}
19806 { echo "$as_me:$LINENO: *** The
${ISDNNET_DESCRIP} installation on this system appears to be broken.
" >&5
19807 echo "$as_me: *** The
${ISDNNET_DESCRIP} installation on this system appears to be broken.
" >&6;}
19808 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19809 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19810 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&5
19811 echo "$as_me: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&6;}
19817 if test "${USE_SUPPSERV}" != "no
"; then
19819 if test "x
${SUPPSERV_DIR}" != "x
"; then
19820 if test -d ${SUPPSERV_DIR}/lib; then
19821 pbxlibdir="-L${SUPPSERV_DIR}/lib
"
19823 pbxlibdir="-L${SUPPSERV_DIR}"
19826 { echo "$as_me:$LINENO: checking
for encodeFac
in -lsuppserv" >&5
19827 echo $ECHO_N "checking
for encodeFac
in -lsuppserv...
$ECHO_C" >&6; }
19828 if test "${ac_cv_lib_suppserv_encodeFac+set}" = set; then
19829 echo $ECHO_N "(cached
) $ECHO_C" >&6
19831 ac_check_lib_save_LIBS=$LIBS
19832 LIBS="-lsuppserv ${pbxlibdir} $LIBS"
19833 cat >conftest.$ac_ext <<_ACEOF
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19840 /* Override any GCC internal prototype to avoid an error.
19841 Use char because int might match the return type of a GCC
19842 builtin and then its argument prototype would still apply. */
19850 return encodeFac ();
19855 rm -f conftest.$ac_objext conftest$ac_exeext
19856 if { (ac_try="$ac_link"
19857 case "(($ac_try" in
19858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19859 *) ac_try_echo=$ac_try;;
19861 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19862 (eval "$ac_link") 2>conftest.er1
19864 grep -v '^ *+' conftest.er1 >conftest.err
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19868 (exit $ac_status); } && {
19869 test -z "$ac_c_werror_flag" ||
19870 test ! -s conftest.err
19871 } && test -s conftest$ac_exeext &&
19872 $as_test_x conftest$ac_exeext; then
19873 ac_cv_lib_suppserv_encodeFac=yes
19875 echo "$as_me: failed program was
:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19878 ac_cv_lib_suppserv_encodeFac=no
19881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19882 conftest$ac_exeext conftest.$ac_ext
19883 LIBS=$ac_check_lib_save_LIBS
19885 { echo "$as_me:$LINENO: result
: $ac_cv_lib_suppserv_encodeFac" >&5
19886 echo "${ECHO_T}$ac_cv_lib_suppserv_encodeFac" >&6; }
19887 if test $ac_cv_lib_suppserv_encodeFac = yes; then
19888 AST_SUPPSERV_FOUND=yes
19890 AST_SUPPSERV_FOUND=no
19894 if test "${AST_SUPPSERV_FOUND}" = "yes"; then
19895 SUPPSERV_LIB="-lsuppserv "
19896 SUPPSERV_HEADER_FOUND="1"
19897 if test "x
${SUPPSERV_DIR}" != "x
"; then
19898 SUPPSERV_LIB="${pbxlibdir} ${SUPPSERV_LIB}"
19899 SUPPSERV_INCLUDE="-I${SUPPSERV_DIR}/include
"
19900 saved_cppflags="${CPPFLAGS}"
19901 CPPFLAGS="${CPPFLAGS} -I${SUPPSERV_DIR}/include
"
19902 if test "xmISDNuser
/suppserv.h
" != "x
" ; then
19903 as_ac_Header=`echo "ac_cv_header_
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" | $as_tr_sh`
19904 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19905 { echo "$as_me:$LINENO: checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" >&5
19906 echo $ECHO_N "checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
19907 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19908 echo $ECHO_N "(cached
) $ECHO_C" >&6
19910 ac_res=`eval echo '${'$as_ac_Header'}'`
19911 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19912 echo "${ECHO_T}$ac_res" >&6; }
19914 # Is the header compilable?
19915 { echo "$as_me:$LINENO: checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h usability
" >&5
19916 echo $ECHO_N "checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h usability...
$ECHO_C" >&6; }
19917 cat >conftest.$ac_ext <<_ACEOF
19920 cat confdefs.h >>conftest.$ac_ext
19921 cat >>conftest.$ac_ext <<_ACEOF
19922 /* end confdefs.h. */
19923 $ac_includes_default
19924 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
19926 rm -f conftest.$ac_objext
19927 if { (ac_try="$ac_compile"
19928 case "(($ac_try" in
19929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19930 *) ac_try_echo=$ac_try;;
19932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19933 (eval "$ac_compile") 2>conftest.er1
19935 grep -v '^ *+' conftest.er1 >conftest.err
19937 cat conftest.err >&5
19938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19939 (exit $ac_status); } && {
19940 test -z "$ac_c_werror_flag" ||
19941 test ! -s conftest.err
19942 } && test -s conftest.$ac_objext; then
19943 ac_header_compiler=yes
19945 echo "$as_me: failed program was
:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19948 ac_header_compiler=no
19951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19952 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19953 echo "${ECHO_T}$ac_header_compiler" >&6; }
19955 # Is the header present?
19956 { echo "$as_me:$LINENO: checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h presence
" >&5
19957 echo $ECHO_N "checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h presence...
$ECHO_C" >&6; }
19958 cat >conftest.$ac_ext <<_ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
19966 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19967 case "(($ac_try" in
19968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19969 *) ac_try_echo=$ac_try;;
19971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19974 grep -v '^ *+' conftest.er1 >conftest.err
19976 cat conftest.err >&5
19977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19978 (exit $ac_status); } >/dev/null && {
19979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19980 test ! -s conftest.err
19982 ac_header_preproc=yes
19984 echo "$as_me: failed program was
:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19987 ac_header_preproc=no
19990 rm -f conftest.err conftest.$ac_ext
19991 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19992 echo "${ECHO_T}$ac_header_preproc" >&6; }
19994 # So? What about this header?
19995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19997 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19998 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19999 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&5
20000 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the compiler's result
" >&2;}
20001 ac_header_preproc=yes
20004 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: present but cannot be compiled
" >&5
20005 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: present but cannot be compiled
" >&2;}
20006 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&5
20007 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&2;}
20008 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&5
20009 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&2;}
20010 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20011 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20012 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&5
20013 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&2;}
20014 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&5
20015 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&2;}
20019 { echo "$as_me:$LINENO: checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" >&5
20020 echo $ECHO_N "checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20021 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20022 echo $ECHO_N "(cached
) $ECHO_C" >&6
20024 eval "$as_ac_Header=\
$ac_header_preproc"
20026 ac_res=`eval echo '${'$as_ac_Header'}'`
20027 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20028 echo "${ECHO_T}$ac_res" >&6; }
20031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20032 SUPPSERV_HEADER_FOUND=1
20034 SUPPSERV_HEADER_FOUND=0
20039 CPPFLAGS="${saved_cppflags}"
20041 if test "xmISDNuser
/suppserv.h
" != "x
" ; then
20042 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
20043 { echo "$as_me:$LINENO: checking
for mISDNuser
/suppserv.h
" >&5
20044 echo $ECHO_N "checking
for mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20045 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
20046 echo $ECHO_N "(cached
) $ECHO_C" >&6
20048 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_suppserv_h" >&5
20049 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
20051 # Is the header compilable?
20052 { echo "$as_me:$LINENO: checking mISDNuser
/suppserv.h usability
" >&5
20053 echo $ECHO_N "checking mISDNuser
/suppserv.h usability...
$ECHO_C" >&6; }
20054 cat >conftest.$ac_ext <<_ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 $ac_includes_default
20061 #include <mISDNuser/suppserv.h>
20063 rm -f conftest.$ac_objext
20064 if { (ac_try="$ac_compile"
20065 case "(($ac_try" in
20066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20067 *) ac_try_echo=$ac_try;;
20069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20070 (eval "$ac_compile") 2>conftest.er1
20072 grep -v '^ *+' conftest.er1 >conftest.err
20074 cat conftest.err >&5
20075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20076 (exit $ac_status); } && {
20077 test -z "$ac_c_werror_flag" ||
20078 test ! -s conftest.err
20079 } && test -s conftest.$ac_objext; then
20080 ac_header_compiler=yes
20082 echo "$as_me: failed program was
:" >&5
20083 sed 's/^/| /' conftest.$ac_ext >&5
20085 ac_header_compiler=no
20088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20089 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20090 echo "${ECHO_T}$ac_header_compiler" >&6; }
20092 # Is the header present?
20093 { echo "$as_me:$LINENO: checking mISDNuser
/suppserv.h presence
" >&5
20094 echo $ECHO_N "checking mISDNuser
/suppserv.h presence...
$ECHO_C" >&6; }
20095 cat >conftest.$ac_ext <<_ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101 #include <mISDNuser/suppserv.h>
20103 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20111 grep -v '^ *+' conftest.er1 >conftest.err
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20115 (exit $ac_status); } >/dev/null && {
20116 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20117 test ! -s conftest.err
20119 ac_header_preproc=yes
20121 echo "$as_me: failed program was
:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20124 ac_header_preproc=no
20127 rm -f conftest.err conftest.$ac_ext
20128 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20129 echo "${ECHO_T}$ac_header_preproc" >&6; }
20131 # So? What about this header?
20132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20134 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20135 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20136 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&5
20137 echo "$as_me: WARNING: mISDNuser/suppserv.h: proceeding with the compiler's result
" >&2;}
20138 ac_header_preproc=yes
20141 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: present but cannot be compiled
" >&5
20142 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: present but cannot be compiled
" >&2;}
20143 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&5
20144 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&2;}
20145 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&5
20146 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&2;}
20147 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20148 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20149 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&5
20150 echo "$as_me: WARNING: mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&2;}
20151 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&5
20152 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&2;}
20156 { echo "$as_me:$LINENO: checking
for mISDNuser
/suppserv.h
" >&5
20157 echo $ECHO_N "checking
for mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20158 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
20159 echo $ECHO_N "(cached
) $ECHO_C" >&6
20161 ac_cv_header_mISDNuser_suppserv_h=$ac_header_preproc
20163 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_suppserv_h" >&5
20164 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
20167 if test $ac_cv_header_mISDNuser_suppserv_h = yes; then
20168 SUPPSERV_HEADER_FOUND=1
20170 SUPPSERV_HEADER_FOUND=0
20176 if test "x
${SUPPSERV_HEADER_FOUND}" = "x0
" ; then
20177 if test -n "${SUPPSERV_MANDATORY}" ;
20179 { echo "$as_me:$LINENO: ***" >&5
20180 echo "$as_me: ***" >&6;}
20181 { echo "$as_me:$LINENO: *** It appears that you
do not have the suppserv development package installed.
" >&5
20182 echo "$as_me: *** It appears that you
do not have the suppserv development package installed.
" >&6;}
20183 { echo "$as_me:$LINENO: *** Please
install it to include
${SUPPSERV_DESCRIP} support
, or re-run configure
" >&5
20184 echo "$as_me: *** Please
install it to include
${SUPPSERV_DESCRIP} support
, or re-run configure
" >&6;}
20185 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&5
20186 echo "$as_me: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&6;}
20190 SUPPSERV_INCLUDE=""
20195 cat >>confdefs.h <<_ACEOF
20196 #define HAVE_SUPPSERV 1
20200 elif test -n "${SUPPSERV_MANDATORY}";
20202 { echo "$as_me:$LINENO: ***" >&5
20203 echo "$as_me: ***" >&6;}
20204 { echo "$as_me:$LINENO: *** The
${SUPPSERV_DESCRIP} installation on this system appears to be broken.
" >&5
20205 echo "$as_me: *** The
${SUPPSERV_DESCRIP} installation on this system appears to be broken.
" >&6;}
20206 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20207 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20208 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&5
20209 echo "$as_me: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&6;}
20214 if test "${ac_cv_header_linux_mISDNdsp_h+set}" = set; then
20215 { echo "$as_me:$LINENO: checking
for linux
/mISDNdsp.h
" >&5
20216 echo $ECHO_N "checking
for linux
/mISDNdsp.h...
$ECHO_C" >&6; }
20217 if test "${ac_cv_header_linux_mISDNdsp_h+set}" = set; then
20218 echo $ECHO_N "(cached
) $ECHO_C" >&6
20220 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_mISDNdsp_h" >&5
20221 echo "${ECHO_T}$ac_cv_header_linux_mISDNdsp_h" >&6; }
20223 # Is the header compilable?
20224 { echo "$as_me:$LINENO: checking linux
/mISDNdsp.h usability
" >&5
20225 echo $ECHO_N "checking linux
/mISDNdsp.h usability...
$ECHO_C" >&6; }
20226 cat >conftest.$ac_ext <<_ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 $ac_includes_default
20233 #include <linux/mISDNdsp.h>
20235 rm -f conftest.$ac_objext
20236 if { (ac_try="$ac_compile"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_compile") 2>conftest.er1
20244 grep -v '^ *+' conftest.er1 >conftest.err
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_c_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest.$ac_objext; then
20252 ac_header_compiler=yes
20254 echo "$as_me: failed program was
:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20257 ac_header_compiler=no
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20262 echo "${ECHO_T}$ac_header_compiler" >&6; }
20264 # Is the header present?
20265 { echo "$as_me:$LINENO: checking linux
/mISDNdsp.h presence
" >&5
20266 echo $ECHO_N "checking linux
/mISDNdsp.h presence...
$ECHO_C" >&6; }
20267 cat >conftest.$ac_ext <<_ACEOF
20270 cat confdefs.h >>conftest.$ac_ext
20271 cat >>conftest.$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20273 #include <linux/mISDNdsp.h>
20275 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20276 case "(($ac_try" in
20277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20278 *) ac_try_echo=$ac_try;;
20280 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20281 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20283 grep -v '^ *+' conftest.er1 >conftest.err
20285 cat conftest.err >&5
20286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20287 (exit $ac_status); } >/dev/null && {
20288 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20289 test ! -s conftest.err
20291 ac_header_preproc=yes
20293 echo "$as_me: failed program was
:" >&5
20294 sed 's/^/| /' conftest.$ac_ext >&5
20296 ac_header_preproc=no
20299 rm -f conftest.err conftest.$ac_ext
20300 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20301 echo "${ECHO_T}$ac_header_preproc" >&6; }
20303 # So? What about this header?
20304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20306 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20307 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20308 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: proceeding with the compiler
's result" >&5
20309 echo "$as_me: WARNING: linux/mISDNdsp.h: proceeding with the compiler's result
" >&2;}
20310 ac_header_preproc=yes
20313 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: present but cannot be compiled
" >&5
20314 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: present but cannot be compiled
" >&2;}
20315 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: check
for missing prerequisite headers?
" >&5
20316 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: check
for missing prerequisite headers?
" >&2;}
20317 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: see the Autoconf documentation
" >&5
20318 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: see the Autoconf documentation
" >&2;}
20319 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20320 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20321 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: proceeding with the preprocessor
's result" >&5
20322 echo "$as_me: WARNING: linux/mISDNdsp.h: proceeding with the preprocessor's result
" >&2;}
20323 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: in the future
, the compiler will take precedence
" >&5
20324 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: in the future
, the compiler will take precedence
" >&2;}
20328 { echo "$as_me:$LINENO: checking
for linux
/mISDNdsp.h
" >&5
20329 echo $ECHO_N "checking
for linux
/mISDNdsp.h...
$ECHO_C" >&6; }
20330 if test "${ac_cv_header_linux_mISDNdsp_h+set}" = set; then
20331 echo $ECHO_N "(cached
) $ECHO_C" >&6
20333 ac_cv_header_linux_mISDNdsp_h=$ac_header_preproc
20335 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_mISDNdsp_h" >&5
20336 echo "${ECHO_T}$ac_cv_header_linux_mISDNdsp_h" >&6; }
20339 if test $ac_cv_header_linux_mISDNdsp_h = yes; then
20341 cat >>confdefs.h <<_ACEOF
20342 #define MISDN_1_2 1
20351 if test "${USE_NBS}" != "no
"; then
20353 if test "x
${NBS_DIR}" != "x
"; then
20354 if test -d ${NBS_DIR}/lib; then
20355 pbxlibdir="-L${NBS_DIR}/lib
"
20357 pbxlibdir="-L${NBS_DIR}"
20360 { echo "$as_me:$LINENO: checking
for nbs_connect
in -lnbs" >&5
20361 echo $ECHO_N "checking
for nbs_connect
in -lnbs...
$ECHO_C" >&6; }
20362 if test "${ac_cv_lib_nbs_nbs_connect+set}" = set; then
20363 echo $ECHO_N "(cached
) $ECHO_C" >&6
20365 ac_check_lib_save_LIBS=$LIBS
20366 LIBS="-lnbs ${pbxlibdir} $LIBS"
20367 cat >conftest.$ac_ext <<_ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20374 /* Override any GCC internal prototype to avoid an error.
20375 Use char because int might match the return type of a GCC
20376 builtin and then its argument prototype would still apply. */
20380 char nbs_connect ();
20384 return nbs_connect ();
20389 rm -f conftest.$ac_objext conftest$ac_exeext
20390 if { (ac_try="$ac_link"
20391 case "(($ac_try" in
20392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20393 *) ac_try_echo=$ac_try;;
20395 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20396 (eval "$ac_link") 2>conftest.er1
20398 grep -v '^ *+' conftest.er1 >conftest.err
20400 cat conftest.err >&5
20401 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20402 (exit $ac_status); } && {
20403 test -z "$ac_c_werror_flag" ||
20404 test ! -s conftest.err
20405 } && test -s conftest$ac_exeext &&
20406 $as_test_x conftest$ac_exeext; then
20407 ac_cv_lib_nbs_nbs_connect=yes
20409 echo "$as_me: failed program was
:" >&5
20410 sed 's/^/| /' conftest.$ac_ext >&5
20412 ac_cv_lib_nbs_nbs_connect=no
20415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20416 conftest$ac_exeext conftest.$ac_ext
20417 LIBS=$ac_check_lib_save_LIBS
20419 { echo "$as_me:$LINENO: result
: $ac_cv_lib_nbs_nbs_connect" >&5
20420 echo "${ECHO_T}$ac_cv_lib_nbs_nbs_connect" >&6; }
20421 if test $ac_cv_lib_nbs_nbs_connect = yes; then
20428 if test "${AST_NBS_FOUND}" = "yes"; then
20430 NBS_HEADER_FOUND="1"
20431 if test "x
${NBS_DIR}" != "x
"; then
20432 NBS_LIB="${pbxlibdir} ${NBS_LIB}"
20433 NBS_INCLUDE="-I${NBS_DIR}/include
"
20434 saved_cppflags="${CPPFLAGS}"
20435 CPPFLAGS="${CPPFLAGS} -I${NBS_DIR}/include
"
20436 if test "xnbs.h
" != "x
" ; then
20437 as_ac_Header=`echo "ac_cv_header_
${NBS_DIR}/include
/nbs.h
" | $as_tr_sh`
20438 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20439 { echo "$as_me:$LINENO: checking
for ${NBS_DIR}/include
/nbs.h
" >&5
20440 echo $ECHO_N "checking
for ${NBS_DIR}/include
/nbs.h...
$ECHO_C" >&6; }
20441 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20442 echo $ECHO_N "(cached
) $ECHO_C" >&6
20444 ac_res=`eval echo '${'$as_ac_Header'}'`
20445 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20446 echo "${ECHO_T}$ac_res" >&6; }
20448 # Is the header compilable?
20449 { echo "$as_me:$LINENO: checking
${NBS_DIR}/include
/nbs.h usability
" >&5
20450 echo $ECHO_N "checking
${NBS_DIR}/include
/nbs.h usability...
$ECHO_C" >&6; }
20451 cat >conftest.$ac_ext <<_ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 $ac_includes_default
20458 #include <${NBS_DIR}/include/nbs.h>
20460 rm -f conftest.$ac_objext
20461 if { (ac_try="$ac_compile"
20462 case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464 *) ac_try_echo=$ac_try;;
20466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_compile") 2>conftest.er1
20469 grep -v '^ *+' conftest.er1 >conftest.err
20471 cat conftest.err >&5
20472 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20473 (exit $ac_status); } && {
20474 test -z "$ac_c_werror_flag" ||
20475 test ! -s conftest.err
20476 } && test -s conftest.$ac_objext; then
20477 ac_header_compiler=yes
20479 echo "$as_me: failed program was
:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20482 ac_header_compiler=no
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20487 echo "${ECHO_T}$ac_header_compiler" >&6; }
20489 # Is the header present?
20490 { echo "$as_me:$LINENO: checking
${NBS_DIR}/include
/nbs.h presence
" >&5
20491 echo $ECHO_N "checking
${NBS_DIR}/include
/nbs.h presence...
$ECHO_C" >&6; }
20492 cat >conftest.$ac_ext <<_ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 #include <${NBS_DIR}/include/nbs.h>
20500 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20501 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20505 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20508 grep -v '^ *+' conftest.er1 >conftest.err
20510 cat conftest.err >&5
20511 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20512 (exit $ac_status); } >/dev/null && {
20513 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20516 ac_header_preproc=yes
20518 echo "$as_me: failed program was
:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20521 ac_header_preproc=no
20524 rm -f conftest.err conftest.$ac_ext
20525 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20526 echo "${ECHO_T}$ac_header_preproc" >&6; }
20528 # So? What about this header?
20529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20531 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20532 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20533 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the compiler
's result" >&5
20534 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the compiler's result
" >&2;}
20535 ac_header_preproc=yes
20538 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: present but cannot be compiled
" >&5
20539 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: present but cannot be compiled
" >&2;}
20540 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: check
for missing prerequisite headers?
" >&5
20541 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: check
for missing prerequisite headers?
" >&2;}
20542 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: see the Autoconf documentation
" >&5
20543 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: see the Autoconf documentation
" >&2;}
20544 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20545 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20546 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the preprocessor
's result" >&5
20547 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the preprocessor's result
" >&2;}
20548 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: in the future
, the compiler will take precedence
" >&5
20549 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: in the future
, the compiler will take precedence
" >&2;}
20553 { echo "$as_me:$LINENO: checking
for ${NBS_DIR}/include
/nbs.h
" >&5
20554 echo $ECHO_N "checking
for ${NBS_DIR}/include
/nbs.h...
$ECHO_C" >&6; }
20555 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20556 echo $ECHO_N "(cached
) $ECHO_C" >&6
20558 eval "$as_ac_Header=\
$ac_header_preproc"
20560 ac_res=`eval echo '${'$as_ac_Header'}'`
20561 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20562 echo "${ECHO_T}$ac_res" >&6; }
20565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20573 CPPFLAGS="${saved_cppflags}"
20575 if test "xnbs.h
" != "x
" ; then
20576 if test "${ac_cv_header_nbs_h+set}" = set; then
20577 { echo "$as_me:$LINENO: checking
for nbs.h
" >&5
20578 echo $ECHO_N "checking
for nbs.h...
$ECHO_C" >&6; }
20579 if test "${ac_cv_header_nbs_h+set}" = set; then
20580 echo $ECHO_N "(cached
) $ECHO_C" >&6
20582 { echo "$as_me:$LINENO: result
: $ac_cv_header_nbs_h" >&5
20583 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
20585 # Is the header compilable?
20586 { echo "$as_me:$LINENO: checking nbs.h usability
" >&5
20587 echo $ECHO_N "checking nbs.h usability...
$ECHO_C" >&6; }
20588 cat >conftest.$ac_ext <<_ACEOF
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 $ac_includes_default
20597 rm -f conftest.$ac_objext
20598 if { (ac_try="$ac_compile"
20599 case "(($ac_try" in
20600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20601 *) ac_try_echo=$ac_try;;
20603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_compile") 2>conftest.er1
20606 grep -v '^ *+' conftest.er1 >conftest.err
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20610 (exit $ac_status); } && {
20611 test -z "$ac_c_werror_flag" ||
20612 test ! -s conftest.err
20613 } && test -s conftest.$ac_objext; then
20614 ac_header_compiler=yes
20616 echo "$as_me: failed program was
:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20619 ac_header_compiler=no
20622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20623 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20624 echo "${ECHO_T}$ac_header_compiler" >&6; }
20626 # Is the header present?
20627 { echo "$as_me:$LINENO: checking nbs.h presence
" >&5
20628 echo $ECHO_N "checking nbs.h presence...
$ECHO_C" >&6; }
20629 cat >conftest.$ac_ext <<_ACEOF
20632 cat confdefs.h >>conftest.$ac_ext
20633 cat >>conftest.$ac_ext <<_ACEOF
20634 /* end confdefs.h. */
20637 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20638 case "(($ac_try" in
20639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20640 *) ac_try_echo=$ac_try;;
20642 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20643 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20645 grep -v '^ *+' conftest.er1 >conftest.err
20647 cat conftest.err >&5
20648 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20649 (exit $ac_status); } >/dev/null && {
20650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20651 test ! -s conftest.err
20653 ac_header_preproc=yes
20655 echo "$as_me: failed program was
:" >&5
20656 sed 's/^/| /' conftest.$ac_ext >&5
20658 ac_header_preproc=no
20661 rm -f conftest.err conftest.$ac_ext
20662 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20663 echo "${ECHO_T}$ac_header_preproc" >&6; }
20665 # So? What about this header?
20666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20668 { echo "$as_me:$LINENO: WARNING
: nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20669 echo "$as_me: WARNING
: nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20670 { echo "$as_me:$LINENO: WARNING
: nbs.h
: proceeding with the compiler
's result" >&5
20671 echo "$as_me: WARNING: nbs.h: proceeding with the compiler's result
" >&2;}
20672 ac_header_preproc=yes
20675 { echo "$as_me:$LINENO: WARNING
: nbs.h
: present but cannot be compiled
" >&5
20676 echo "$as_me: WARNING
: nbs.h
: present but cannot be compiled
" >&2;}
20677 { echo "$as_me:$LINENO: WARNING
: nbs.h
: check
for missing prerequisite headers?
" >&5
20678 echo "$as_me: WARNING
: nbs.h
: check
for missing prerequisite headers?
" >&2;}
20679 { echo "$as_me:$LINENO: WARNING
: nbs.h
: see the Autoconf documentation
" >&5
20680 echo "$as_me: WARNING
: nbs.h
: see the Autoconf documentation
" >&2;}
20681 { echo "$as_me:$LINENO: WARNING
: nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20682 echo "$as_me: WARNING
: nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20683 { echo "$as_me:$LINENO: WARNING
: nbs.h
: proceeding with the preprocessor
's result" >&5
20684 echo "$as_me: WARNING: nbs.h: proceeding with the preprocessor's result
" >&2;}
20685 { echo "$as_me:$LINENO: WARNING
: nbs.h
: in the future
, the compiler will take precedence
" >&5
20686 echo "$as_me: WARNING
: nbs.h
: in the future
, the compiler will take precedence
" >&2;}
20690 { echo "$as_me:$LINENO: checking
for nbs.h
" >&5
20691 echo $ECHO_N "checking
for nbs.h...
$ECHO_C" >&6; }
20692 if test "${ac_cv_header_nbs_h+set}" = set; then
20693 echo $ECHO_N "(cached
) $ECHO_C" >&6
20695 ac_cv_header_nbs_h=$ac_header_preproc
20697 { echo "$as_me:$LINENO: result
: $ac_cv_header_nbs_h" >&5
20698 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
20701 if test $ac_cv_header_nbs_h = yes; then
20710 if test "x
${NBS_HEADER_FOUND}" = "x0
" ; then
20711 if test -n "${NBS_MANDATORY}" ;
20713 { echo "$as_me:$LINENO: ***" >&5
20714 echo "$as_me: ***" >&6;}
20715 { echo "$as_me:$LINENO: *** It appears that you
do not have the nbs development package installed.
" >&5
20716 echo "$as_me: *** It appears that you
do not have the nbs development package installed.
" >&6;}
20717 { echo "$as_me:$LINENO: *** Please
install it to include
${NBS_DESCRIP} support
, or re-run configure
" >&5
20718 echo "$as_me: *** Please
install it to include
${NBS_DESCRIP} support
, or re-run configure
" >&6;}
20719 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NBS_OPTION}" >&5
20720 echo "$as_me: *** without explicitly specifying
--with-${NBS_OPTION}" >&6;}
20729 cat >>confdefs.h <<_ACEOF
20734 elif test -n "${NBS_MANDATORY}";
20736 { echo "$as_me:$LINENO: ***" >&5
20737 echo "$as_me: ***" >&6;}
20738 { echo "$as_me:$LINENO: *** The
${NBS_DESCRIP} installation on this system appears to be broken.
" >&5
20739 echo "$as_me: *** The
${NBS_DESCRIP} installation on this system appears to be broken.
" >&6;}
20740 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20741 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20742 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NBS_OPTION}" >&5
20743 echo "$as_me: *** without explicitly specifying
--with-${NBS_OPTION}" >&6;}
20750 if test "${USE_NCURSES}" != "no
"; then
20752 if test "x
${NCURSES_DIR}" != "x
"; then
20753 if test -d ${NCURSES_DIR}/lib; then
20754 pbxlibdir="-L${NCURSES_DIR}/lib
"
20756 pbxlibdir="-L${NCURSES_DIR}"
20759 { echo "$as_me:$LINENO: checking
for initscr
in -lncurses" >&5
20760 echo $ECHO_N "checking
for initscr
in -lncurses...
$ECHO_C" >&6; }
20761 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
20762 echo $ECHO_N "(cached
) $ECHO_C" >&6
20764 ac_check_lib_save_LIBS=$LIBS
20765 LIBS="-lncurses ${pbxlibdir} $LIBS"
20766 cat >conftest.$ac_ext <<_ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20773 /* Override any GCC internal prototype to avoid an error.
20774 Use char because int might match the return type of a GCC
20775 builtin and then its argument prototype would still apply. */
20788 rm -f conftest.$ac_objext conftest$ac_exeext
20789 if { (ac_try="$ac_link"
20790 case "(($ac_try" in
20791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20792 *) ac_try_echo=$ac_try;;
20794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20795 (eval "$ac_link") 2>conftest.er1
20797 grep -v '^ *+' conftest.er1 >conftest.err
20799 cat conftest.err >&5
20800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20801 (exit $ac_status); } && {
20802 test -z "$ac_c_werror_flag" ||
20803 test ! -s conftest.err
20804 } && test -s conftest$ac_exeext &&
20805 $as_test_x conftest$ac_exeext; then
20806 ac_cv_lib_ncurses_initscr=yes
20808 echo "$as_me: failed program was
:" >&5
20809 sed 's/^/| /' conftest.$ac_ext >&5
20811 ac_cv_lib_ncurses_initscr=no
20814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20815 conftest$ac_exeext conftest.$ac_ext
20816 LIBS=$ac_check_lib_save_LIBS
20818 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ncurses_initscr" >&5
20819 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
20820 if test $ac_cv_lib_ncurses_initscr = yes; then
20821 AST_NCURSES_FOUND=yes
20823 AST_NCURSES_FOUND=no
20827 if test "${AST_NCURSES_FOUND}" = "yes"; then
20828 NCURSES_LIB="-lncurses "
20829 NCURSES_HEADER_FOUND="1"
20830 if test "x
${NCURSES_DIR}" != "x
"; then
20831 NCURSES_LIB="${pbxlibdir} ${NCURSES_LIB}"
20832 NCURSES_INCLUDE="-I${NCURSES_DIR}/include
"
20833 saved_cppflags="${CPPFLAGS}"
20834 CPPFLAGS="${CPPFLAGS} -I${NCURSES_DIR}/include
"
20835 if test "xcurses.h
" != "x
" ; then
20836 as_ac_Header=`echo "ac_cv_header_
${NCURSES_DIR}/include
/curses.h
" | $as_tr_sh`
20837 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20838 { echo "$as_me:$LINENO: checking
for ${NCURSES_DIR}/include
/curses.h
" >&5
20839 echo $ECHO_N "checking
for ${NCURSES_DIR}/include
/curses.h...
$ECHO_C" >&6; }
20840 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20841 echo $ECHO_N "(cached
) $ECHO_C" >&6
20843 ac_res=`eval echo '${'$as_ac_Header'}'`
20844 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20845 echo "${ECHO_T}$ac_res" >&6; }
20847 # Is the header compilable?
20848 { echo "$as_me:$LINENO: checking
${NCURSES_DIR}/include
/curses.h usability
" >&5
20849 echo $ECHO_N "checking
${NCURSES_DIR}/include
/curses.h usability...
$ECHO_C" >&6; }
20850 cat >conftest.$ac_ext <<_ACEOF
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 $ac_includes_default
20857 #include <${NCURSES_DIR}/include/curses.h>
20859 rm -f conftest.$ac_objext
20860 if { (ac_try="$ac_compile"
20861 case "(($ac_try" in
20862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20863 *) ac_try_echo=$ac_try;;
20865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20866 (eval "$ac_compile") 2>conftest.er1
20868 grep -v '^ *+' conftest.er1 >conftest.err
20870 cat conftest.err >&5
20871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20872 (exit $ac_status); } && {
20873 test -z "$ac_c_werror_flag" ||
20874 test ! -s conftest.err
20875 } && test -s conftest.$ac_objext; then
20876 ac_header_compiler=yes
20878 echo "$as_me: failed program was
:" >&5
20879 sed 's/^/| /' conftest.$ac_ext >&5
20881 ac_header_compiler=no
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20886 echo "${ECHO_T}$ac_header_compiler" >&6; }
20888 # Is the header present?
20889 { echo "$as_me:$LINENO: checking
${NCURSES_DIR}/include
/curses.h presence
" >&5
20890 echo $ECHO_N "checking
${NCURSES_DIR}/include
/curses.h presence...
$ECHO_C" >&6; }
20891 cat >conftest.$ac_ext <<_ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 #include <${NCURSES_DIR}/include/curses.h>
20899 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20900 case "(($ac_try" in
20901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20902 *) ac_try_echo=$ac_try;;
20904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20905 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20907 grep -v '^ *+' conftest.er1 >conftest.err
20909 cat conftest.err >&5
20910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20911 (exit $ac_status); } >/dev/null && {
20912 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20913 test ! -s conftest.err
20915 ac_header_preproc=yes
20917 echo "$as_me: failed program was
:" >&5
20918 sed 's/^/| /' conftest.$ac_ext >&5
20920 ac_header_preproc=no
20923 rm -f conftest.err conftest.$ac_ext
20924 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20925 echo "${ECHO_T}$ac_header_preproc" >&6; }
20927 # So? What about this header?
20928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20930 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20931 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20932 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the compiler
's result" >&5
20933 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the compiler's result
" >&2;}
20934 ac_header_preproc=yes
20937 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: present but cannot be compiled
" >&5
20938 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: present but cannot be compiled
" >&2;}
20939 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: check
for missing prerequisite headers?
" >&5
20940 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: check
for missing prerequisite headers?
" >&2;}
20941 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: see the Autoconf documentation
" >&5
20942 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: see the Autoconf documentation
" >&2;}
20943 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20944 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20945 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the preprocessor
's result" >&5
20946 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the preprocessor's result
" >&2;}
20947 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: in the future
, the compiler will take precedence
" >&5
20948 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: in the future
, the compiler will take precedence
" >&2;}
20952 { echo "$as_me:$LINENO: checking
for ${NCURSES_DIR}/include
/curses.h
" >&5
20953 echo $ECHO_N "checking
for ${NCURSES_DIR}/include
/curses.h...
$ECHO_C" >&6; }
20954 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20955 echo $ECHO_N "(cached
) $ECHO_C" >&6
20957 eval "$as_ac_Header=\
$ac_header_preproc"
20959 ac_res=`eval echo '${'$as_ac_Header'}'`
20960 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20961 echo "${ECHO_T}$ac_res" >&6; }
20964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20965 NCURSES_HEADER_FOUND=1
20967 NCURSES_HEADER_FOUND=0
20972 CPPFLAGS="${saved_cppflags}"
20974 if test "xcurses.h
" != "x
" ; then
20975 if test "${ac_cv_header_curses_h+set}" = set; then
20976 { echo "$as_me:$LINENO: checking
for curses.h
" >&5
20977 echo $ECHO_N "checking
for curses.h...
$ECHO_C" >&6; }
20978 if test "${ac_cv_header_curses_h+set}" = set; then
20979 echo $ECHO_N "(cached
) $ECHO_C" >&6
20981 { echo "$as_me:$LINENO: result
: $ac_cv_header_curses_h" >&5
20982 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
20984 # Is the header compilable?
20985 { echo "$as_me:$LINENO: checking curses.h usability
" >&5
20986 echo $ECHO_N "checking curses.h usability...
$ECHO_C" >&6; }
20987 cat >conftest.$ac_ext <<_ACEOF
20990 cat confdefs.h >>conftest.$ac_ext
20991 cat >>conftest.$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20993 $ac_includes_default
20994 #include <curses.h>
20996 rm -f conftest.$ac_objext
20997 if { (ac_try="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21002 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21005 grep -v '^ *+' conftest.er1 >conftest.err
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.$ac_objext; then
21013 ac_header_compiler=yes
21015 echo "$as_me: failed program was
:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21018 ac_header_compiler=no
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21022 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21023 echo "${ECHO_T}$ac_header_compiler" >&6; }
21025 # Is the header present?
21026 { echo "$as_me:$LINENO: checking curses.h presence
" >&5
21027 echo $ECHO_N "checking curses.h presence...
$ECHO_C" >&6; }
21028 cat >conftest.$ac_ext <<_ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034 #include <curses.h>
21036 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21037 case "(($ac_try" in
21038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21039 *) ac_try_echo=$ac_try;;
21041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21042 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21044 grep -v '^ *+' conftest.er1 >conftest.err
21046 cat conftest.err >&5
21047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21048 (exit $ac_status); } >/dev/null && {
21049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21050 test ! -s conftest.err
21052 ac_header_preproc=yes
21054 echo "$as_me: failed program was
:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5
21057 ac_header_preproc=no
21060 rm -f conftest.err conftest.$ac_ext
21061 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21062 echo "${ECHO_T}$ac_header_preproc" >&6; }
21064 # So? What about this header?
21065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21067 { echo "$as_me:$LINENO: WARNING
: curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21068 echo "$as_me: WARNING
: curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21069 { echo "$as_me:$LINENO: WARNING
: curses.h
: proceeding with the compiler
's result" >&5
21070 echo "$as_me: WARNING: curses.h: proceeding with the compiler's result
" >&2;}
21071 ac_header_preproc=yes
21074 { echo "$as_me:$LINENO: WARNING
: curses.h
: present but cannot be compiled
" >&5
21075 echo "$as_me: WARNING
: curses.h
: present but cannot be compiled
" >&2;}
21076 { echo "$as_me:$LINENO: WARNING
: curses.h
: check
for missing prerequisite headers?
" >&5
21077 echo "$as_me: WARNING
: curses.h
: check
for missing prerequisite headers?
" >&2;}
21078 { echo "$as_me:$LINENO: WARNING
: curses.h
: see the Autoconf documentation
" >&5
21079 echo "$as_me: WARNING
: curses.h
: see the Autoconf documentation
" >&2;}
21080 { echo "$as_me:$LINENO: WARNING
: curses.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21081 echo "$as_me: WARNING
: curses.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21082 { echo "$as_me:$LINENO: WARNING
: curses.h
: proceeding with the preprocessor
's result" >&5
21083 echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result
" >&2;}
21084 { echo "$as_me:$LINENO: WARNING
: curses.h
: in the future
, the compiler will take precedence
" >&5
21085 echo "$as_me: WARNING
: curses.h
: in the future
, the compiler will take precedence
" >&2;}
21089 { echo "$as_me:$LINENO: checking
for curses.h
" >&5
21090 echo $ECHO_N "checking
for curses.h...
$ECHO_C" >&6; }
21091 if test "${ac_cv_header_curses_h+set}" = set; then
21092 echo $ECHO_N "(cached
) $ECHO_C" >&6
21094 ac_cv_header_curses_h=$ac_header_preproc
21096 { echo "$as_me:$LINENO: result
: $ac_cv_header_curses_h" >&5
21097 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
21100 if test $ac_cv_header_curses_h = yes; then
21101 NCURSES_HEADER_FOUND=1
21103 NCURSES_HEADER_FOUND=0
21109 if test "x
${NCURSES_HEADER_FOUND}" = "x0
" ; then
21110 if test -n "${NCURSES_MANDATORY}" ;
21112 { echo "$as_me:$LINENO: ***" >&5
21113 echo "$as_me: ***" >&6;}
21114 { echo "$as_me:$LINENO: *** It appears that you
do not have the ncurses development package installed.
" >&5
21115 echo "$as_me: *** It appears that you
do not have the ncurses development package installed.
" >&6;}
21116 { echo "$as_me:$LINENO: *** Please
install it to include
${NCURSES_DESCRIP} support
, or re-run configure
" >&5
21117 echo "$as_me: *** Please
install it to include
${NCURSES_DESCRIP} support
, or re-run configure
" >&6;}
21118 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&5
21119 echo "$as_me: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&6;}
21128 cat >>confdefs.h <<_ACEOF
21129 #define HAVE_NCURSES 1
21133 elif test -n "${NCURSES_MANDATORY}";
21135 { echo "$as_me:$LINENO: ***" >&5
21136 echo "$as_me: ***" >&6;}
21137 { echo "$as_me:$LINENO: *** The
${NCURSES_DESCRIP} installation on this system appears to be broken.
" >&5
21138 echo "$as_me: *** The
${NCURSES_DESCRIP} installation on this system appears to be broken.
" >&6;}
21139 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21140 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21141 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&5
21142 echo "$as_me: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&6;}
21149 if test "${USE_NETSNMP}" != "no
"; then
21150 if test "x
${NETSNMP_DIR}" != "x
"; then
21151 if test -n "$ac_tool_prefix"; then
21152 # Extract the first word of "${ac_tool_prefix}net-snmp-config
", so it can be a program name with args.
21153 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
21154 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21155 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21156 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
21157 echo $ECHO_N "(cached
) $ECHO_C" >&6
21159 case $NETSNMP_CONFIG in
21161 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
21164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21165 for as_dir in ${NETSNMP_DIR}/bin
21168 test -z "$as_dir" && as_dir=.
21169 for ac_exec_ext in '' $ac_executable_extensions; do
21170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21171 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21172 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21182 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
21183 if test -n "$NETSNMP_CONFIG"; then
21184 { echo "$as_me:$LINENO: result
: $NETSNMP_CONFIG" >&5
21185 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
21187 { echo "$as_me:$LINENO: result
: no
" >&5
21188 echo "${ECHO_T}no
" >&6; }
21193 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
21194 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
21195 # Extract the first word of "net-snmp-config
", so it can be a program name with args.
21196 set dummy net-snmp-config; ac_word=$2
21197 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21198 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21199 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
21200 echo $ECHO_N "(cached
) $ECHO_C" >&6
21202 case $ac_pt_NETSNMP_CONFIG in
21204 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
21207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21208 for as_dir in ${NETSNMP_DIR}/bin
21211 test -z "$as_dir" && as_dir=.
21212 for ac_exec_ext in '' $ac_executable_extensions; do
21213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21214 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21215 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21225 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
21226 if test -n "$ac_pt_NETSNMP_CONFIG"; then
21227 { echo "$as_me:$LINENO: result
: $ac_pt_NETSNMP_CONFIG" >&5
21228 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
21230 { echo "$as_me:$LINENO: result
: no
" >&5
21231 echo "${ECHO_T}no
" >&6; }
21234 if test "x
$ac_pt_NETSNMP_CONFIG" = x; then
21235 NETSNMP_CONFIG="No
"
21237 case $cross_compiling:$ac_tool_warned in
21239 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
21240 whose name does not start with the
host triplet. If you think this
21241 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
21242 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
21243 whose name does not start with the
host triplet. If you think this
21244 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
21245 ac_tool_warned=yes ;;
21247 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
21250 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
21253 if test x"${NETSNMP_CONFIG}" = xNo; then
21254 { echo "$as_me:$LINENO: ***" >&5
21255 echo "$as_me: ***" >&6;}
21256 { echo "$as_me:$LINENO: *** net-snmp-config was not found
in the path you specified
:" >&5
21257 echo "$as_me: *** net-snmp-config was not found
in the path you specified
:" >&6;}
21258 { echo "$as_me:$LINENO: *** ${NETSNMP_DIR}/bin
" >&5
21259 echo "$as_me: *** ${NETSNMP_DIR}/bin
" >&6;}
21260 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21261 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21262 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
21263 echo "$as_me: *** including
--without-netsnmp" >&6;}
21267 if test -n "$ac_tool_prefix"; then
21268 # Extract the first word of "${ac_tool_prefix}net-snmp-config
", so it can be a program name with args.
21269 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
21270 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21271 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21272 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
21273 echo $ECHO_N "(cached
) $ECHO_C" >&6
21275 case $NETSNMP_CONFIG in
21277 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
21280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21281 for as_dir in $PATH
21284 test -z "$as_dir" && as_dir=.
21285 for ac_exec_ext in '' $ac_executable_extensions; do
21286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21287 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21288 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21298 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
21299 if test -n "$NETSNMP_CONFIG"; then
21300 { echo "$as_me:$LINENO: result
: $NETSNMP_CONFIG" >&5
21301 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
21303 { echo "$as_me:$LINENO: result
: no
" >&5
21304 echo "${ECHO_T}no
" >&6; }
21309 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
21310 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
21311 # Extract the first word of "net-snmp-config
", so it can be a program name with args.
21312 set dummy net-snmp-config; ac_word=$2
21313 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21314 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21315 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
21316 echo $ECHO_N "(cached
) $ECHO_C" >&6
21318 case $ac_pt_NETSNMP_CONFIG in
21320 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
21323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21324 for as_dir in $PATH
21327 test -z "$as_dir" && as_dir=.
21328 for ac_exec_ext in '' $ac_executable_extensions; do
21329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21330 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21331 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21341 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
21342 if test -n "$ac_pt_NETSNMP_CONFIG"; then
21343 { echo "$as_me:$LINENO: result
: $ac_pt_NETSNMP_CONFIG" >&5
21344 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
21346 { echo "$as_me:$LINENO: result
: no
" >&5
21347 echo "${ECHO_T}no
" >&6; }
21350 if test "x
$ac_pt_NETSNMP_CONFIG" = x; then
21351 NETSNMP_CONFIG="No
"
21353 case $cross_compiling:$ac_tool_warned in
21355 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
21356 whose name does not start with the
host triplet. If you think this
21357 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
21358 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
21359 whose name does not start with the
host triplet. If you think this
21360 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
21361 ac_tool_warned=yes ;;
21363 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
21366 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
21371 if test x"${NETSNMP_CONFIG}" != xNo; then
21372 NETSNMP_libs=`${NETSNMP_CONFIG} --agent-libs`
21374 { echo "$as_me:$LINENO: checking
for snmp_register_callback
in -lnetsnmp" >&5
21375 echo $ECHO_N "checking
for snmp_register_callback
in -lnetsnmp...
$ECHO_C" >&6; }
21376 if test "${ac_cv_lib_netsnmp_snmp_register_callback+set}" = set; then
21377 echo $ECHO_N "(cached
) $ECHO_C" >&6
21379 ac_check_lib_save_LIBS=$LIBS
21380 LIBS="-lnetsnmp ${NETSNMP_libs} $LIBS"
21381 cat >conftest.$ac_ext <<_ACEOF
21384 cat confdefs.h >>conftest.$ac_ext
21385 cat >>conftest.$ac_ext <<_ACEOF
21386 /* end confdefs.h. */
21388 /* Override any GCC internal prototype to avoid an error.
21389 Use char because int might match the return type of a GCC
21390 builtin and then its argument prototype would still apply. */
21394 char snmp_register_callback ();
21398 return snmp_register_callback ();
21403 rm -f conftest.$ac_objext conftest$ac_exeext
21404 if { (ac_try="$ac_link"
21405 case "(($ac_try" in
21406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21407 *) ac_try_echo=$ac_try;;
21409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21410 (eval "$ac_link") 2>conftest.er1
21412 grep -v '^ *+' conftest.er1 >conftest.err
21414 cat conftest.err >&5
21415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21416 (exit $ac_status); } && {
21417 test -z "$ac_c_werror_flag" ||
21418 test ! -s conftest.err
21419 } && test -s conftest$ac_exeext &&
21420 $as_test_x conftest$ac_exeext; then
21421 ac_cv_lib_netsnmp_snmp_register_callback=yes
21423 echo "$as_me: failed program was
:" >&5
21424 sed 's/^/| /' conftest.$ac_ext >&5
21426 ac_cv_lib_netsnmp_snmp_register_callback=no
21429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21430 conftest$ac_exeext conftest.$ac_ext
21431 LIBS=$ac_check_lib_save_LIBS
21433 { echo "$as_me:$LINENO: result
: $ac_cv_lib_netsnmp_snmp_register_callback" >&5
21434 echo "${ECHO_T}$ac_cv_lib_netsnmp_snmp_register_callback" >&6; }
21435 if test $ac_cv_lib_netsnmp_snmp_register_callback = yes; then
21437 cat >>confdefs.h <<_ACEOF
21438 #define HAVE_NETSNMP 1
21444 if test "${ac_cv_lib_netsnmp_snmp_register_callback}" = "yes"; then
21445 NETSNMP_LIB="${NETSNMP_libs}"
21447 elif test -n "${NETSNMP_MANDATORY}";
21449 { echo "$as_me:$LINENO: ***" >&5
21450 echo "$as_me: ***" >&6;}
21451 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken.
" >&5
21452 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken.
" >&6;}
21453 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21454 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21455 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
21456 echo "$as_me: *** including
--without-netsnmp" >&6;}
21459 elif test -n "${NETSNMP_MANDATORY}";
21461 { echo "$as_me:$LINENO: ***" >&5
21462 echo "$as_me: ***" >&6;}
21463 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken.
" >&5
21464 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken.
" >&6;}
21465 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21466 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21467 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
21468 echo "$as_me: *** including
--without-netsnmp" >&6;}
21473 if test "${USE_NEWT}" != "no
"; then
21475 if test "x
${NEWT_DIR}" != "x
"; then
21476 if test -d ${NEWT_DIR}/lib; then
21477 pbxlibdir="-L${NEWT_DIR}/lib
"
21479 pbxlibdir="-L${NEWT_DIR}"
21482 { echo "$as_me:$LINENO: checking
for newtBell
in -lnewt" >&5
21483 echo $ECHO_N "checking
for newtBell
in -lnewt...
$ECHO_C" >&6; }
21484 if test "${ac_cv_lib_newt_newtBell+set}" = set; then
21485 echo $ECHO_N "(cached
) $ECHO_C" >&6
21487 ac_check_lib_save_LIBS=$LIBS
21488 LIBS="-lnewt ${pbxlibdir} $LIBS"
21489 cat >conftest.$ac_ext <<_ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21496 /* Override any GCC internal prototype to avoid an error.
21497 Use char because int might match the return type of a GCC
21498 builtin and then its argument prototype would still apply. */
21506 return newtBell ();
21511 rm -f conftest.$ac_objext conftest$ac_exeext
21512 if { (ac_try="$ac_link"
21513 case "(($ac_try" in
21514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21515 *) ac_try_echo=$ac_try;;
21517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21518 (eval "$ac_link") 2>conftest.er1
21520 grep -v '^ *+' conftest.er1 >conftest.err
21522 cat conftest.err >&5
21523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21524 (exit $ac_status); } && {
21525 test -z "$ac_c_werror_flag" ||
21526 test ! -s conftest.err
21527 } && test -s conftest$ac_exeext &&
21528 $as_test_x conftest$ac_exeext; then
21529 ac_cv_lib_newt_newtBell=yes
21531 echo "$as_me: failed program was
:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21534 ac_cv_lib_newt_newtBell=no
21537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21538 conftest$ac_exeext conftest.$ac_ext
21539 LIBS=$ac_check_lib_save_LIBS
21541 { echo "$as_me:$LINENO: result
: $ac_cv_lib_newt_newtBell" >&5
21542 echo "${ECHO_T}$ac_cv_lib_newt_newtBell" >&6; }
21543 if test $ac_cv_lib_newt_newtBell = yes; then
21550 if test "${AST_NEWT_FOUND}" = "yes"; then
21552 NEWT_HEADER_FOUND="1"
21553 if test "x
${NEWT_DIR}" != "x
"; then
21554 NEWT_LIB="${pbxlibdir} ${NEWT_LIB}"
21555 NEWT_INCLUDE="-I${NEWT_DIR}/include
"
21556 saved_cppflags="${CPPFLAGS}"
21557 CPPFLAGS="${CPPFLAGS} -I${NEWT_DIR}/include
"
21558 if test "xnewt.h
" != "x
" ; then
21559 as_ac_Header=`echo "ac_cv_header_
${NEWT_DIR}/include
/newt.h
" | $as_tr_sh`
21560 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21561 { echo "$as_me:$LINENO: checking
for ${NEWT_DIR}/include
/newt.h
" >&5
21562 echo $ECHO_N "checking
for ${NEWT_DIR}/include
/newt.h...
$ECHO_C" >&6; }
21563 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21564 echo $ECHO_N "(cached
) $ECHO_C" >&6
21566 ac_res=`eval echo '${'$as_ac_Header'}'`
21567 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21568 echo "${ECHO_T}$ac_res" >&6; }
21570 # Is the header compilable?
21571 { echo "$as_me:$LINENO: checking
${NEWT_DIR}/include
/newt.h usability
" >&5
21572 echo $ECHO_N "checking
${NEWT_DIR}/include
/newt.h usability...
$ECHO_C" >&6; }
21573 cat >conftest.$ac_ext <<_ACEOF
21576 cat confdefs.h >>conftest.$ac_ext
21577 cat >>conftest.$ac_ext <<_ACEOF
21578 /* end confdefs.h. */
21579 $ac_includes_default
21580 #include <${NEWT_DIR}/include/newt.h>
21582 rm -f conftest.$ac_objext
21583 if { (ac_try="$ac_compile"
21584 case "(($ac_try" in
21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_compile") 2>conftest.er1
21591 grep -v '^ *+' conftest.er1 >conftest.err
21593 cat conftest.err >&5
21594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21595 (exit $ac_status); } && {
21596 test -z "$ac_c_werror_flag" ||
21597 test ! -s conftest.err
21598 } && test -s conftest.$ac_objext; then
21599 ac_header_compiler=yes
21601 echo "$as_me: failed program was
:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21604 ac_header_compiler=no
21607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21608 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21609 echo "${ECHO_T}$ac_header_compiler" >&6; }
21611 # Is the header present?
21612 { echo "$as_me:$LINENO: checking
${NEWT_DIR}/include
/newt.h presence
" >&5
21613 echo $ECHO_N "checking
${NEWT_DIR}/include
/newt.h presence...
$ECHO_C" >&6; }
21614 cat >conftest.$ac_ext <<_ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 #include <${NEWT_DIR}/include/newt.h>
21622 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21623 case "(($ac_try" in
21624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21625 *) ac_try_echo=$ac_try;;
21627 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21628 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21630 grep -v '^ *+' conftest.er1 >conftest.err
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21634 (exit $ac_status); } >/dev/null && {
21635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21636 test ! -s conftest.err
21638 ac_header_preproc=yes
21640 echo "$as_me: failed program was
:" >&5
21641 sed 's/^/| /' conftest.$ac_ext >&5
21643 ac_header_preproc=no
21646 rm -f conftest.err conftest.$ac_ext
21647 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21648 echo "${ECHO_T}$ac_header_preproc" >&6; }
21650 # So? What about this header?
21651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21653 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21654 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21655 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the compiler
's result" >&5
21656 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the compiler's result
" >&2;}
21657 ac_header_preproc=yes
21660 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: present but cannot be compiled
" >&5
21661 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: present but cannot be compiled
" >&2;}
21662 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: check
for missing prerequisite headers?
" >&5
21663 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: check
for missing prerequisite headers?
" >&2;}
21664 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: see the Autoconf documentation
" >&5
21665 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: see the Autoconf documentation
" >&2;}
21666 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21667 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21668 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the preprocessor
's result" >&5
21669 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the preprocessor's result
" >&2;}
21670 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: in the future
, the compiler will take precedence
" >&5
21671 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: in the future
, the compiler will take precedence
" >&2;}
21675 { echo "$as_me:$LINENO: checking
for ${NEWT_DIR}/include
/newt.h
" >&5
21676 echo $ECHO_N "checking
for ${NEWT_DIR}/include
/newt.h...
$ECHO_C" >&6; }
21677 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21678 echo $ECHO_N "(cached
) $ECHO_C" >&6
21680 eval "$as_ac_Header=\
$ac_header_preproc"
21682 ac_res=`eval echo '${'$as_ac_Header'}'`
21683 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21684 echo "${ECHO_T}$ac_res" >&6; }
21687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21688 NEWT_HEADER_FOUND=1
21690 NEWT_HEADER_FOUND=0
21695 CPPFLAGS="${saved_cppflags}"
21697 if test "xnewt.h
" != "x
" ; then
21698 if test "${ac_cv_header_newt_h+set}" = set; then
21699 { echo "$as_me:$LINENO: checking
for newt.h
" >&5
21700 echo $ECHO_N "checking
for newt.h...
$ECHO_C" >&6; }
21701 if test "${ac_cv_header_newt_h+set}" = set; then
21702 echo $ECHO_N "(cached
) $ECHO_C" >&6
21704 { echo "$as_me:$LINENO: result
: $ac_cv_header_newt_h" >&5
21705 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
21707 # Is the header compilable?
21708 { echo "$as_me:$LINENO: checking newt.h usability
" >&5
21709 echo $ECHO_N "checking newt.h usability...
$ECHO_C" >&6; }
21710 cat >conftest.$ac_ext <<_ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 $ac_includes_default
21719 rm -f conftest.$ac_objext
21720 if { (ac_try="$ac_compile"
21721 case "(($ac_try" in
21722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21723 *) ac_try_echo=$ac_try;;
21725 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21726 (eval "$ac_compile") 2>conftest.er1
21728 grep -v '^ *+' conftest.er1 >conftest.err
21730 cat conftest.err >&5
21731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21732 (exit $ac_status); } && {
21733 test -z "$ac_c_werror_flag" ||
21734 test ! -s conftest.err
21735 } && test -s conftest.$ac_objext; then
21736 ac_header_compiler=yes
21738 echo "$as_me: failed program was
:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21741 ac_header_compiler=no
21744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21745 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21746 echo "${ECHO_T}$ac_header_compiler" >&6; }
21748 # Is the header present?
21749 { echo "$as_me:$LINENO: checking newt.h presence
" >&5
21750 echo $ECHO_N "checking newt.h presence...
$ECHO_C" >&6; }
21751 cat >conftest.$ac_ext <<_ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21759 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21760 case "(($ac_try" in
21761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21762 *) ac_try_echo=$ac_try;;
21764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21765 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21767 grep -v '^ *+' conftest.er1 >conftest.err
21769 cat conftest.err >&5
21770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21771 (exit $ac_status); } >/dev/null && {
21772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21773 test ! -s conftest.err
21775 ac_header_preproc=yes
21777 echo "$as_me: failed program was
:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21780 ac_header_preproc=no
21783 rm -f conftest.err conftest.$ac_ext
21784 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21785 echo "${ECHO_T}$ac_header_preproc" >&6; }
21787 # So? What about this header?
21788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21790 { echo "$as_me:$LINENO: WARNING
: newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21791 echo "$as_me: WARNING
: newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21792 { echo "$as_me:$LINENO: WARNING
: newt.h
: proceeding with the compiler
's result" >&5
21793 echo "$as_me: WARNING: newt.h: proceeding with the compiler's result
" >&2;}
21794 ac_header_preproc=yes
21797 { echo "$as_me:$LINENO: WARNING
: newt.h
: present but cannot be compiled
" >&5
21798 echo "$as_me: WARNING
: newt.h
: present but cannot be compiled
" >&2;}
21799 { echo "$as_me:$LINENO: WARNING
: newt.h
: check
for missing prerequisite headers?
" >&5
21800 echo "$as_me: WARNING
: newt.h
: check
for missing prerequisite headers?
" >&2;}
21801 { echo "$as_me:$LINENO: WARNING
: newt.h
: see the Autoconf documentation
" >&5
21802 echo "$as_me: WARNING
: newt.h
: see the Autoconf documentation
" >&2;}
21803 { echo "$as_me:$LINENO: WARNING
: newt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21804 echo "$as_me: WARNING
: newt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21805 { echo "$as_me:$LINENO: WARNING
: newt.h
: proceeding with the preprocessor
's result" >&5
21806 echo "$as_me: WARNING: newt.h: proceeding with the preprocessor's result
" >&2;}
21807 { echo "$as_me:$LINENO: WARNING
: newt.h
: in the future
, the compiler will take precedence
" >&5
21808 echo "$as_me: WARNING
: newt.h
: in the future
, the compiler will take precedence
" >&2;}
21812 { echo "$as_me:$LINENO: checking
for newt.h
" >&5
21813 echo $ECHO_N "checking
for newt.h...
$ECHO_C" >&6; }
21814 if test "${ac_cv_header_newt_h+set}" = set; then
21815 echo $ECHO_N "(cached
) $ECHO_C" >&6
21817 ac_cv_header_newt_h=$ac_header_preproc
21819 { echo "$as_me:$LINENO: result
: $ac_cv_header_newt_h" >&5
21820 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
21823 if test $ac_cv_header_newt_h = yes; then
21824 NEWT_HEADER_FOUND=1
21826 NEWT_HEADER_FOUND=0
21832 if test "x
${NEWT_HEADER_FOUND}" = "x0
" ; then
21833 if test -n "${NEWT_MANDATORY}" ;
21835 { echo "$as_me:$LINENO: ***" >&5
21836 echo "$as_me: ***" >&6;}
21837 { echo "$as_me:$LINENO: *** It appears that you
do not have the newt development package installed.
" >&5
21838 echo "$as_me: *** It appears that you
do not have the newt development package installed.
" >&6;}
21839 { echo "$as_me:$LINENO: *** Please
install it to include
${NEWT_DESCRIP} support
, or re-run configure
" >&5
21840 echo "$as_me: *** Please
install it to include
${NEWT_DESCRIP} support
, or re-run configure
" >&6;}
21841 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NEWT_OPTION}" >&5
21842 echo "$as_me: *** without explicitly specifying
--with-${NEWT_OPTION}" >&6;}
21851 cat >>confdefs.h <<_ACEOF
21852 #define HAVE_NEWT 1
21856 elif test -n "${NEWT_MANDATORY}";
21858 { echo "$as_me:$LINENO: ***" >&5
21859 echo "$as_me: ***" >&6;}
21860 { echo "$as_me:$LINENO: *** The
${NEWT_DESCRIP} installation on this system appears to be broken.
" >&5
21861 echo "$as_me: *** The
${NEWT_DESCRIP} installation on this system appears to be broken.
" >&6;}
21862 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21863 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21864 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NEWT_OPTION}" >&5
21865 echo "$as_me: *** without explicitly specifying
--with-${NEWT_OPTION}" >&6;}
21872 if test "${USE_UNIXODBC}" != "no
"; then
21874 if test "x
${UNIXODBC_DIR}" != "x
"; then
21875 if test -d ${UNIXODBC_DIR}/lib; then
21876 pbxlibdir="-L${UNIXODBC_DIR}/lib
"
21878 pbxlibdir="-L${UNIXODBC_DIR}"
21881 { echo "$as_me:$LINENO: checking
for SQLConnect
in -lodbc" >&5
21882 echo $ECHO_N "checking
for SQLConnect
in -lodbc...
$ECHO_C" >&6; }
21883 if test "${ac_cv_lib_odbc_SQLConnect+set}" = set; then
21884 echo $ECHO_N "(cached
) $ECHO_C" >&6
21886 ac_check_lib_save_LIBS=$LIBS
21887 LIBS="-lodbc ${pbxlibdir} $LIBS"
21888 cat >conftest.$ac_ext <<_ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21895 /* Override any GCC internal prototype to avoid an error.
21896 Use char because int might match the return type of a GCC
21897 builtin and then its argument prototype would still apply. */
21901 char SQLConnect ();
21905 return SQLConnect ();
21910 rm -f conftest.$ac_objext conftest$ac_exeext
21911 if { (ac_try="$ac_link"
21912 case "(($ac_try" in
21913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21914 *) ac_try_echo=$ac_try;;
21916 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21917 (eval "$ac_link") 2>conftest.er1
21919 grep -v '^ *+' conftest.er1 >conftest.err
21921 cat conftest.err >&5
21922 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21923 (exit $ac_status); } && {
21924 test -z "$ac_c_werror_flag" ||
21925 test ! -s conftest.err
21926 } && test -s conftest$ac_exeext &&
21927 $as_test_x conftest$ac_exeext; then
21928 ac_cv_lib_odbc_SQLConnect=yes
21930 echo "$as_me: failed program was
:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21933 ac_cv_lib_odbc_SQLConnect=no
21936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21937 conftest$ac_exeext conftest.$ac_ext
21938 LIBS=$ac_check_lib_save_LIBS
21940 { echo "$as_me:$LINENO: result
: $ac_cv_lib_odbc_SQLConnect" >&5
21941 echo "${ECHO_T}$ac_cv_lib_odbc_SQLConnect" >&6; }
21942 if test $ac_cv_lib_odbc_SQLConnect = yes; then
21943 AST_UNIXODBC_FOUND=yes
21945 AST_UNIXODBC_FOUND=no
21949 if test "${AST_UNIXODBC_FOUND}" = "yes"; then
21950 UNIXODBC_LIB="-lodbc "
21951 UNIXODBC_HEADER_FOUND="1"
21952 if test "x
${UNIXODBC_DIR}" != "x
"; then
21953 UNIXODBC_LIB="${pbxlibdir} ${UNIXODBC_LIB}"
21954 UNIXODBC_INCLUDE="-I${UNIXODBC_DIR}/include
"
21955 saved_cppflags="${CPPFLAGS}"
21956 CPPFLAGS="${CPPFLAGS} -I${UNIXODBC_DIR}/include
"
21957 if test "xsql.h
" != "x
" ; then
21958 as_ac_Header=`echo "ac_cv_header_
${UNIXODBC_DIR}/include
/sql.h
" | $as_tr_sh`
21959 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21960 { echo "$as_me:$LINENO: checking
for ${UNIXODBC_DIR}/include
/sql.h
" >&5
21961 echo $ECHO_N "checking
for ${UNIXODBC_DIR}/include
/sql.h...
$ECHO_C" >&6; }
21962 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21963 echo $ECHO_N "(cached
) $ECHO_C" >&6
21965 ac_res=`eval echo '${'$as_ac_Header'}'`
21966 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21967 echo "${ECHO_T}$ac_res" >&6; }
21969 # Is the header compilable?
21970 { echo "$as_me:$LINENO: checking
${UNIXODBC_DIR}/include
/sql.h usability
" >&5
21971 echo $ECHO_N "checking
${UNIXODBC_DIR}/include
/sql.h usability...
$ECHO_C" >&6; }
21972 cat >conftest.$ac_ext <<_ACEOF
21975 cat confdefs.h >>conftest.$ac_ext
21976 cat >>conftest.$ac_ext <<_ACEOF
21977 /* end confdefs.h. */
21978 $ac_includes_default
21979 #include <${UNIXODBC_DIR}/include/sql.h>
21981 rm -f conftest.$ac_objext
21982 if { (ac_try="$ac_compile"
21983 case "(($ac_try" in
21984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21985 *) ac_try_echo=$ac_try;;
21987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21988 (eval "$ac_compile") 2>conftest.er1
21990 grep -v '^ *+' conftest.er1 >conftest.err
21992 cat conftest.err >&5
21993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21994 (exit $ac_status); } && {
21995 test -z "$ac_c_werror_flag" ||
21996 test ! -s conftest.err
21997 } && test -s conftest.$ac_objext; then
21998 ac_header_compiler=yes
22000 echo "$as_me: failed program was
:" >&5
22001 sed 's/^/| /' conftest.$ac_ext >&5
22003 ac_header_compiler=no
22006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22007 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22008 echo "${ECHO_T}$ac_header_compiler" >&6; }
22010 # Is the header present?
22011 { echo "$as_me:$LINENO: checking
${UNIXODBC_DIR}/include
/sql.h presence
" >&5
22012 echo $ECHO_N "checking
${UNIXODBC_DIR}/include
/sql.h presence...
$ECHO_C" >&6; }
22013 cat >conftest.$ac_ext <<_ACEOF
22016 cat confdefs.h >>conftest.$ac_ext
22017 cat >>conftest.$ac_ext <<_ACEOF
22018 /* end confdefs.h. */
22019 #include <${UNIXODBC_DIR}/include/sql.h>
22021 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22022 case "(($ac_try" in
22023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22024 *) ac_try_echo=$ac_try;;
22026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22027 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22029 grep -v '^ *+' conftest.er1 >conftest.err
22031 cat conftest.err >&5
22032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22033 (exit $ac_status); } >/dev/null && {
22034 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22035 test ! -s conftest.err
22037 ac_header_preproc=yes
22039 echo "$as_me: failed program was
:" >&5
22040 sed 's/^/| /' conftest.$ac_ext >&5
22042 ac_header_preproc=no
22045 rm -f conftest.err conftest.$ac_ext
22046 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22047 echo "${ECHO_T}$ac_header_preproc" >&6; }
22049 # So? What about this header?
22050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22052 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22053 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22054 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the compiler
's result" >&5
22055 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the compiler's result
" >&2;}
22056 ac_header_preproc=yes
22059 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: present but cannot be compiled
" >&5
22060 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: present but cannot be compiled
" >&2;}
22061 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: check
for missing prerequisite headers?
" >&5
22062 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: check
for missing prerequisite headers?
" >&2;}
22063 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: see the Autoconf documentation
" >&5
22064 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: see the Autoconf documentation
" >&2;}
22065 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22066 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22067 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the preprocessor
's result" >&5
22068 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the preprocessor's result
" >&2;}
22069 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: in the future
, the compiler will take precedence
" >&5
22070 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: in the future
, the compiler will take precedence
" >&2;}
22074 { echo "$as_me:$LINENO: checking
for ${UNIXODBC_DIR}/include
/sql.h
" >&5
22075 echo $ECHO_N "checking
for ${UNIXODBC_DIR}/include
/sql.h...
$ECHO_C" >&6; }
22076 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22077 echo $ECHO_N "(cached
) $ECHO_C" >&6
22079 eval "$as_ac_Header=\
$ac_header_preproc"
22081 ac_res=`eval echo '${'$as_ac_Header'}'`
22082 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22083 echo "${ECHO_T}$ac_res" >&6; }
22086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22087 UNIXODBC_HEADER_FOUND=1
22089 UNIXODBC_HEADER_FOUND=0
22094 CPPFLAGS="${saved_cppflags}"
22096 if test "xsql.h
" != "x
" ; then
22097 if test "${ac_cv_header_sql_h+set}" = set; then
22098 { echo "$as_me:$LINENO: checking
for sql.h
" >&5
22099 echo $ECHO_N "checking
for sql.h...
$ECHO_C" >&6; }
22100 if test "${ac_cv_header_sql_h+set}" = set; then
22101 echo $ECHO_N "(cached
) $ECHO_C" >&6
22103 { echo "$as_me:$LINENO: result
: $ac_cv_header_sql_h" >&5
22104 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
22106 # Is the header compilable?
22107 { echo "$as_me:$LINENO: checking sql.h usability
" >&5
22108 echo $ECHO_N "checking sql.h usability...
$ECHO_C" >&6; }
22109 cat >conftest.$ac_ext <<_ACEOF
22112 cat confdefs.h >>conftest.$ac_ext
22113 cat >>conftest.$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22118 rm -f conftest.$ac_objext
22119 if { (ac_try="$ac_compile"
22120 case "(($ac_try" in
22121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22122 *) ac_try_echo=$ac_try;;
22124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22125 (eval "$ac_compile") 2>conftest.er1
22127 grep -v '^ *+' conftest.er1 >conftest.err
22129 cat conftest.err >&5
22130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22131 (exit $ac_status); } && {
22132 test -z "$ac_c_werror_flag" ||
22133 test ! -s conftest.err
22134 } && test -s conftest.$ac_objext; then
22135 ac_header_compiler=yes
22137 echo "$as_me: failed program was
:" >&5
22138 sed 's/^/| /' conftest.$ac_ext >&5
22140 ac_header_compiler=no
22143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22144 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22145 echo "${ECHO_T}$ac_header_compiler" >&6; }
22147 # Is the header present?
22148 { echo "$as_me:$LINENO: checking sql.h presence
" >&5
22149 echo $ECHO_N "checking sql.h presence...
$ECHO_C" >&6; }
22150 cat >conftest.$ac_ext <<_ACEOF
22153 cat confdefs.h >>conftest.$ac_ext
22154 cat >>conftest.$ac_ext <<_ACEOF
22155 /* end confdefs.h. */
22158 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22159 case "(($ac_try" in
22160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22161 *) ac_try_echo=$ac_try;;
22163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22164 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22166 grep -v '^ *+' conftest.er1 >conftest.err
22168 cat conftest.err >&5
22169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22170 (exit $ac_status); } >/dev/null && {
22171 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22172 test ! -s conftest.err
22174 ac_header_preproc=yes
22176 echo "$as_me: failed program was
:" >&5
22177 sed 's/^/| /' conftest.$ac_ext >&5
22179 ac_header_preproc=no
22182 rm -f conftest.err conftest.$ac_ext
22183 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22184 echo "${ECHO_T}$ac_header_preproc" >&6; }
22186 # So? What about this header?
22187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22189 { echo "$as_me:$LINENO: WARNING
: sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22190 echo "$as_me: WARNING
: sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22191 { echo "$as_me:$LINENO: WARNING
: sql.h
: proceeding with the compiler
's result" >&5
22192 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result
" >&2;}
22193 ac_header_preproc=yes
22196 { echo "$as_me:$LINENO: WARNING
: sql.h
: present but cannot be compiled
" >&5
22197 echo "$as_me: WARNING
: sql.h
: present but cannot be compiled
" >&2;}
22198 { echo "$as_me:$LINENO: WARNING
: sql.h
: check
for missing prerequisite headers?
" >&5
22199 echo "$as_me: WARNING
: sql.h
: check
for missing prerequisite headers?
" >&2;}
22200 { echo "$as_me:$LINENO: WARNING
: sql.h
: see the Autoconf documentation
" >&5
22201 echo "$as_me: WARNING
: sql.h
: see the Autoconf documentation
" >&2;}
22202 { echo "$as_me:$LINENO: WARNING
: sql.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22203 echo "$as_me: WARNING
: sql.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22204 { echo "$as_me:$LINENO: WARNING
: sql.h
: proceeding with the preprocessor
's result" >&5
22205 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result
" >&2;}
22206 { echo "$as_me:$LINENO: WARNING
: sql.h
: in the future
, the compiler will take precedence
" >&5
22207 echo "$as_me: WARNING
: sql.h
: in the future
, the compiler will take precedence
" >&2;}
22211 { echo "$as_me:$LINENO: checking
for sql.h
" >&5
22212 echo $ECHO_N "checking
for sql.h...
$ECHO_C" >&6; }
22213 if test "${ac_cv_header_sql_h+set}" = set; then
22214 echo $ECHO_N "(cached
) $ECHO_C" >&6
22216 ac_cv_header_sql_h=$ac_header_preproc
22218 { echo "$as_me:$LINENO: result
: $ac_cv_header_sql_h" >&5
22219 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
22222 if test $ac_cv_header_sql_h = yes; then
22223 UNIXODBC_HEADER_FOUND=1
22225 UNIXODBC_HEADER_FOUND=0
22231 if test "x
${UNIXODBC_HEADER_FOUND}" = "x0
" ; then
22232 if test -n "${UNIXODBC_MANDATORY}" ;
22234 { echo "$as_me:$LINENO: ***" >&5
22235 echo "$as_me: ***" >&6;}
22236 { echo "$as_me:$LINENO: *** It appears that you
do not have the odbc development package installed.
" >&5
22237 echo "$as_me: *** It appears that you
do not have the odbc development package installed.
" >&6;}
22238 { echo "$as_me:$LINENO: *** Please
install it to include
${UNIXODBC_DESCRIP} support
, or re-run configure
" >&5
22239 echo "$as_me: *** Please
install it to include
${UNIXODBC_DESCRIP} support
, or re-run configure
" >&6;}
22240 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&5
22241 echo "$as_me: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&6;}
22245 UNIXODBC_INCLUDE=""
22250 cat >>confdefs.h <<_ACEOF
22251 #define HAVE_UNIXODBC 1
22255 elif test -n "${UNIXODBC_MANDATORY}";
22257 { echo "$as_me:$LINENO: ***" >&5
22258 echo "$as_me: ***" >&6;}
22259 { echo "$as_me:$LINENO: *** The
${UNIXODBC_DESCRIP} installation on this system appears to be broken.
" >&5
22260 echo "$as_me: *** The
${UNIXODBC_DESCRIP} installation on this system appears to be broken.
" >&6;}
22261 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22262 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22263 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&5
22264 echo "$as_me: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&6;}
22271 if test "${USE_OGG}" != "no
"; then
22273 if test "x
${OGG_DIR}" != "x
"; then
22274 if test -d ${OGG_DIR}/lib; then
22275 pbxlibdir="-L${OGG_DIR}/lib
"
22277 pbxlibdir="-L${OGG_DIR}"
22280 { echo "$as_me:$LINENO: checking
for ogg_sync_init
in -logg" >&5
22281 echo $ECHO_N "checking
for ogg_sync_init
in -logg...
$ECHO_C" >&6; }
22282 if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
22283 echo $ECHO_N "(cached
) $ECHO_C" >&6
22285 ac_check_lib_save_LIBS=$LIBS
22286 LIBS="-logg ${pbxlibdir} $LIBS"
22287 cat >conftest.$ac_ext <<_ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22294 /* Override any GCC internal prototype to avoid an error.
22295 Use char because int might match the return type of a GCC
22296 builtin and then its argument prototype would still apply. */
22300 char ogg_sync_init ();
22304 return ogg_sync_init ();
22309 rm -f conftest.$ac_objext conftest$ac_exeext
22310 if { (ac_try="$ac_link"
22311 case "(($ac_try" in
22312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22313 *) ac_try_echo=$ac_try;;
22315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22316 (eval "$ac_link") 2>conftest.er1
22318 grep -v '^ *+' conftest.er1 >conftest.err
22320 cat conftest.err >&5
22321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22322 (exit $ac_status); } && {
22323 test -z "$ac_c_werror_flag" ||
22324 test ! -s conftest.err
22325 } && test -s conftest$ac_exeext &&
22326 $as_test_x conftest$ac_exeext; then
22327 ac_cv_lib_ogg_ogg_sync_init=yes
22329 echo "$as_me: failed program was
:" >&5
22330 sed 's/^/| /' conftest.$ac_ext >&5
22332 ac_cv_lib_ogg_ogg_sync_init=no
22335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22336 conftest$ac_exeext conftest.$ac_ext
22337 LIBS=$ac_check_lib_save_LIBS
22339 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ogg_ogg_sync_init" >&5
22340 echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
22341 if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
22348 if test "${AST_OGG_FOUND}" = "yes"; then
22350 OGG_HEADER_FOUND="1"
22351 if test "x
${OGG_DIR}" != "x
"; then
22352 OGG_LIB="${pbxlibdir} ${OGG_LIB}"
22353 OGG_INCLUDE="-I${OGG_DIR}/include
"
22354 saved_cppflags="${CPPFLAGS}"
22355 CPPFLAGS="${CPPFLAGS} -I${OGG_DIR}/include
"
22356 if test "x
" != "x
" ; then
22357 as_ac_Header=`echo "ac_cv_header_
${OGG_DIR}/include
/" | $as_tr_sh`
22358 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22359 { echo "$as_me:$LINENO: checking
for ${OGG_DIR}/include
/" >&5
22360 echo $ECHO_N "checking
for ${OGG_DIR}/include
/...
$ECHO_C" >&6; }
22361 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22362 echo $ECHO_N "(cached
) $ECHO_C" >&6
22364 ac_res=`eval echo '${'$as_ac_Header'}'`
22365 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22366 echo "${ECHO_T}$ac_res" >&6; }
22368 # Is the header compilable?
22369 { echo "$as_me:$LINENO: checking
${OGG_DIR}/include
/ usability
" >&5
22370 echo $ECHO_N "checking
${OGG_DIR}/include
/ usability...
$ECHO_C" >&6; }
22371 cat >conftest.$ac_ext <<_ACEOF
22374 cat confdefs.h >>conftest.$ac_ext
22375 cat >>conftest.$ac_ext <<_ACEOF
22376 /* end confdefs.h. */
22377 $ac_includes_default
22378 #include <${OGG_DIR}/include/>
22380 rm -f conftest.$ac_objext
22381 if { (ac_try="$ac_compile"
22382 case "(($ac_try" in
22383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22384 *) ac_try_echo=$ac_try;;
22386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22387 (eval "$ac_compile") 2>conftest.er1
22389 grep -v '^ *+' conftest.er1 >conftest.err
22391 cat conftest.err >&5
22392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22393 (exit $ac_status); } && {
22394 test -z "$ac_c_werror_flag" ||
22395 test ! -s conftest.err
22396 } && test -s conftest.$ac_objext; then
22397 ac_header_compiler=yes
22399 echo "$as_me: failed program was
:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22402 ac_header_compiler=no
22405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22406 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22407 echo "${ECHO_T}$ac_header_compiler" >&6; }
22409 # Is the header present?
22410 { echo "$as_me:$LINENO: checking
${OGG_DIR}/include
/ presence
" >&5
22411 echo $ECHO_N "checking
${OGG_DIR}/include
/ presence...
$ECHO_C" >&6; }
22412 cat >conftest.$ac_ext <<_ACEOF
22415 cat confdefs.h >>conftest.$ac_ext
22416 cat >>conftest.$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22418 #include <${OGG_DIR}/include/>
22420 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22421 case "(($ac_try" in
22422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22423 *) ac_try_echo=$ac_try;;
22425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22426 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22428 grep -v '^ *+' conftest.er1 >conftest.err
22430 cat conftest.err >&5
22431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22432 (exit $ac_status); } >/dev/null && {
22433 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22434 test ! -s conftest.err
22436 ac_header_preproc=yes
22438 echo "$as_me: failed program was
:" >&5
22439 sed 's/^/| /' conftest.$ac_ext >&5
22441 ac_header_preproc=no
22444 rm -f conftest.err conftest.$ac_ext
22445 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22446 echo "${ECHO_T}$ac_header_preproc" >&6; }
22448 # So? What about this header?
22449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22451 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: accepted by the compiler
, rejected by the preprocessor
!" >&5
22452 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22453 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: proceeding with the compiler
's result" >&5
22454 echo "$as_me: WARNING: ${OGG_DIR}/include/: proceeding with the compiler's result
" >&2;}
22455 ac_header_preproc=yes
22458 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: present but cannot be compiled
" >&5
22459 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: present but cannot be compiled
" >&2;}
22460 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: check
for missing prerequisite headers?
" >&5
22461 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: check
for missing prerequisite headers?
" >&2;}
22462 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: see the Autoconf documentation
" >&5
22463 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: see the Autoconf documentation
" >&2;}
22464 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: section
\"Present But Cannot Be Compiled
\"" >&5
22465 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: section
\"Present But Cannot Be Compiled
\"" >&2;}
22466 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: proceeding with the preprocessor
's result" >&5
22467 echo "$as_me: WARNING: ${OGG_DIR}/include/: proceeding with the preprocessor's result
" >&2;}
22468 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: in the future
, the compiler will take precedence
" >&5
22469 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: in the future
, the compiler will take precedence
" >&2;}
22473 { echo "$as_me:$LINENO: checking
for ${OGG_DIR}/include
/" >&5
22474 echo $ECHO_N "checking
for ${OGG_DIR}/include
/...
$ECHO_C" >&6; }
22475 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22476 echo $ECHO_N "(cached
) $ECHO_C" >&6
22478 eval "$as_ac_Header=\
$ac_header_preproc"
22480 ac_res=`eval echo '${'$as_ac_Header'}'`
22481 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22482 echo "${ECHO_T}$ac_res" >&6; }
22485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22493 CPPFLAGS="${saved_cppflags}"
22495 if test "x
" != "x
" ; then
22496 if test "${ac_cv_header_+set}" = set; then
22497 { echo "$as_me:$LINENO: checking
for " >&5
22498 echo $ECHO_N "checking
for ...
$ECHO_C" >&6; }
22499 if test "${ac_cv_header_+set}" = set; then
22500 echo $ECHO_N "(cached
) $ECHO_C" >&6
22502 { echo "$as_me:$LINENO: result
: $ac_cv_header_" >&5
22503 echo "${ECHO_T}$ac_cv_header_" >&6; }
22505 # Is the header compilable?
22506 { echo "$as_me:$LINENO: checking usability
" >&5
22507 echo $ECHO_N "checking usability...
$ECHO_C" >&6; }
22508 cat >conftest.$ac_ext <<_ACEOF
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22514 $ac_includes_default
22517 rm -f conftest.$ac_objext
22518 if { (ac_try="$ac_compile"
22519 case "(($ac_try" in
22520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22521 *) ac_try_echo=$ac_try;;
22523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22524 (eval "$ac_compile") 2>conftest.er1
22526 grep -v '^ *+' conftest.er1 >conftest.err
22528 cat conftest.err >&5
22529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22530 (exit $ac_status); } && {
22531 test -z "$ac_c_werror_flag" ||
22532 test ! -s conftest.err
22533 } && test -s conftest.$ac_objext; then
22534 ac_header_compiler=yes
22536 echo "$as_me: failed program was
:" >&5
22537 sed 's/^/| /' conftest.$ac_ext >&5
22539 ac_header_compiler=no
22542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22543 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22544 echo "${ECHO_T}$ac_header_compiler" >&6; }
22546 # Is the header present?
22547 { echo "$as_me:$LINENO: checking presence
" >&5
22548 echo $ECHO_N "checking presence...
$ECHO_C" >&6; }
22549 cat >conftest.$ac_ext <<_ACEOF
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22557 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22558 case "(($ac_try" in
22559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22560 *) ac_try_echo=$ac_try;;
22562 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22563 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22565 grep -v '^ *+' conftest.er1 >conftest.err
22567 cat conftest.err >&5
22568 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22569 (exit $ac_status); } >/dev/null && {
22570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22571 test ! -s conftest.err
22573 ac_header_preproc=yes
22575 echo "$as_me: failed program was
:" >&5
22576 sed 's/^/| /' conftest.$ac_ext >&5
22578 ac_header_preproc=no
22581 rm -f conftest.err conftest.$ac_ext
22582 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22583 echo "${ECHO_T}$ac_header_preproc" >&6; }
22585 # So? What about this header?
22586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22588 { echo "$as_me:$LINENO: WARNING
: : accepted by the compiler
, rejected by the preprocessor
!" >&5
22589 echo "$as_me: WARNING
: : accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22590 { echo "$as_me:$LINENO: WARNING
: : proceeding with the compiler
's result" >&5
22591 echo "$as_me: WARNING: : proceeding with the compiler's result
" >&2;}
22592 ac_header_preproc=yes
22595 { echo "$as_me:$LINENO: WARNING
: : present but cannot be compiled
" >&5
22596 echo "$as_me: WARNING
: : present but cannot be compiled
" >&2;}
22597 { echo "$as_me:$LINENO: WARNING
: : check
for missing prerequisite headers?
" >&5
22598 echo "$as_me: WARNING
: : check
for missing prerequisite headers?
" >&2;}
22599 { echo "$as_me:$LINENO: WARNING
: : see the Autoconf documentation
" >&5
22600 echo "$as_me: WARNING
: : see the Autoconf documentation
" >&2;}
22601 { echo "$as_me:$LINENO: WARNING
: : section
\"Present But Cannot Be Compiled
\"" >&5
22602 echo "$as_me: WARNING
: : section
\"Present But Cannot Be Compiled
\"" >&2;}
22603 { echo "$as_me:$LINENO: WARNING
: : proceeding with the preprocessor
's result" >&5
22604 echo "$as_me: WARNING: : proceeding with the preprocessor's result
" >&2;}
22605 { echo "$as_me:$LINENO: WARNING
: : in the future
, the compiler will take precedence
" >&5
22606 echo "$as_me: WARNING
: : in the future
, the compiler will take precedence
" >&2;}
22610 { echo "$as_me:$LINENO: checking
for " >&5
22611 echo $ECHO_N "checking
for ...
$ECHO_C" >&6; }
22612 if test "${ac_cv_header_+set}" = set; then
22613 echo $ECHO_N "(cached
) $ECHO_C" >&6
22615 ac_cv_header_=$ac_header_preproc
22617 { echo "$as_me:$LINENO: result
: $ac_cv_header_" >&5
22618 echo "${ECHO_T}$ac_cv_header_" >&6; }
22621 if test $ac_cv_header_ = yes; then
22630 if test "x
${OGG_HEADER_FOUND}" = "x0
" ; then
22631 if test -n "${OGG_MANDATORY}" ;
22633 { echo "$as_me:$LINENO: ***" >&5
22634 echo "$as_me: ***" >&6;}
22635 { echo "$as_me:$LINENO: *** It appears that you
do not have the ogg development package installed.
" >&5
22636 echo "$as_me: *** It appears that you
do not have the ogg development package installed.
" >&6;}
22637 { echo "$as_me:$LINENO: *** Please
install it to include
${OGG_DESCRIP} support
, or re-run configure
" >&5
22638 echo "$as_me: *** Please
install it to include
${OGG_DESCRIP} support
, or re-run configure
" >&6;}
22639 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OGG_OPTION}" >&5
22640 echo "$as_me: *** without explicitly specifying
--with-${OGG_OPTION}" >&6;}
22649 cat >>confdefs.h <<_ACEOF
22654 elif test -n "${OGG_MANDATORY}";
22656 { echo "$as_me:$LINENO: ***" >&5
22657 echo "$as_me: ***" >&6;}
22658 { echo "$as_me:$LINENO: *** The
${OGG_DESCRIP} installation on this system appears to be broken.
" >&5
22659 echo "$as_me: *** The
${OGG_DESCRIP} installation on this system appears to be broken.
" >&6;}
22660 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22661 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22662 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OGG_OPTION}" >&5
22663 echo "$as_me: *** without explicitly specifying
--with-${OGG_OPTION}" >&6;}
22669 if test "${USE_OSS}" != "no
"; then
22671 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22672 { echo "$as_me:$LINENO: checking
for linux
/soundcard.h
" >&5
22673 echo $ECHO_N "checking
for linux
/soundcard.h...
$ECHO_C" >&6; }
22674 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22675 echo $ECHO_N "(cached
) $ECHO_C" >&6
22677 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_soundcard_h" >&5
22678 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
22680 # Is the header compilable?
22681 { echo "$as_me:$LINENO: checking linux
/soundcard.h usability
" >&5
22682 echo $ECHO_N "checking linux
/soundcard.h usability...
$ECHO_C" >&6; }
22683 cat >conftest.$ac_ext <<_ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 $ac_includes_default
22690 #include <linux/soundcard.h>
22692 rm -f conftest.$ac_objext
22693 if { (ac_try="$ac_compile"
22694 case "(($ac_try" in
22695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22696 *) ac_try_echo=$ac_try;;
22698 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22699 (eval "$ac_compile") 2>conftest.er1
22701 grep -v '^ *+' conftest.er1 >conftest.err
22703 cat conftest.err >&5
22704 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22705 (exit $ac_status); } && {
22706 test -z "$ac_c_werror_flag" ||
22707 test ! -s conftest.err
22708 } && test -s conftest.$ac_objext; then
22709 ac_header_compiler=yes
22711 echo "$as_me: failed program was
:" >&5
22712 sed 's/^/| /' conftest.$ac_ext >&5
22714 ac_header_compiler=no
22717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22718 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22719 echo "${ECHO_T}$ac_header_compiler" >&6; }
22721 # Is the header present?
22722 { echo "$as_me:$LINENO: checking linux
/soundcard.h presence
" >&5
22723 echo $ECHO_N "checking linux
/soundcard.h presence...
$ECHO_C" >&6; }
22724 cat >conftest.$ac_ext <<_ACEOF
22727 cat confdefs.h >>conftest.$ac_ext
22728 cat >>conftest.$ac_ext <<_ACEOF
22729 /* end confdefs.h. */
22730 #include <linux/soundcard.h>
22732 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22733 case "(($ac_try" in
22734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22737 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22740 grep -v '^ *+' conftest.er1 >conftest.err
22742 cat conftest.err >&5
22743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22744 (exit $ac_status); } >/dev/null && {
22745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22746 test ! -s conftest.err
22748 ac_header_preproc=yes
22750 echo "$as_me: failed program was
:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22753 ac_header_preproc=no
22756 rm -f conftest.err conftest.$ac_ext
22757 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22758 echo "${ECHO_T}$ac_header_preproc" >&6; }
22760 # So? What about this header?
22761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22763 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22764 echo "$as_me: WARNING
: linux
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22765 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: proceeding with the compiler
's result" >&5
22766 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result
" >&2;}
22767 ac_header_preproc=yes
22770 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: present but cannot be compiled
" >&5
22771 echo "$as_me: WARNING
: linux
/soundcard.h
: present but cannot be compiled
" >&2;}
22772 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: check
for missing prerequisite headers?
" >&5
22773 echo "$as_me: WARNING
: linux
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
22774 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: see the Autoconf documentation
" >&5
22775 echo "$as_me: WARNING
: linux
/soundcard.h
: see the Autoconf documentation
" >&2;}
22776 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22777 echo "$as_me: WARNING
: linux
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22778 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: proceeding with the preprocessor
's result" >&5
22779 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result
" >&2;}
22780 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
22781 echo "$as_me: WARNING
: linux
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
22785 { echo "$as_me:$LINENO: checking
for linux
/soundcard.h
" >&5
22786 echo $ECHO_N "checking
for linux
/soundcard.h...
$ECHO_C" >&6; }
22787 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22788 echo $ECHO_N "(cached
) $ECHO_C" >&6
22790 ac_cv_header_linux_soundcard_h=$ac_header_preproc
22792 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_soundcard_h" >&5
22793 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
22796 if test $ac_cv_header_linux_soundcard_h = yes; then
22800 cat >>confdefs.h <<_ACEOF
22808 if test "$PBX_OSS" = "0"; then
22809 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22810 { echo "$as_me:$LINENO: checking
for sys
/soundcard.h
" >&5
22811 echo $ECHO_N "checking
for sys
/soundcard.h...
$ECHO_C" >&6; }
22812 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22813 echo $ECHO_N "(cached
) $ECHO_C" >&6
22815 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_soundcard_h" >&5
22816 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
22818 # Is the header compilable?
22819 { echo "$as_me:$LINENO: checking sys
/soundcard.h usability
" >&5
22820 echo $ECHO_N "checking sys
/soundcard.h usability...
$ECHO_C" >&6; }
22821 cat >conftest.$ac_ext <<_ACEOF
22824 cat confdefs.h >>conftest.$ac_ext
22825 cat >>conftest.$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 #include <sys/soundcard.h>
22830 rm -f conftest.$ac_objext
22831 if { (ac_try="$ac_compile"
22832 case "(($ac_try" in
22833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22834 *) ac_try_echo=$ac_try;;
22836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22837 (eval "$ac_compile") 2>conftest.er1
22839 grep -v '^ *+' conftest.er1 >conftest.err
22841 cat conftest.err >&5
22842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22843 (exit $ac_status); } && {
22844 test -z "$ac_c_werror_flag" ||
22845 test ! -s conftest.err
22846 } && test -s conftest.$ac_objext; then
22847 ac_header_compiler=yes
22849 echo "$as_me: failed program was
:" >&5
22850 sed 's/^/| /' conftest.$ac_ext >&5
22852 ac_header_compiler=no
22855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22856 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22857 echo "${ECHO_T}$ac_header_compiler" >&6; }
22859 # Is the header present?
22860 { echo "$as_me:$LINENO: checking sys
/soundcard.h presence
" >&5
22861 echo $ECHO_N "checking sys
/soundcard.h presence...
$ECHO_C" >&6; }
22862 cat >conftest.$ac_ext <<_ACEOF
22865 cat confdefs.h >>conftest.$ac_ext
22866 cat >>conftest.$ac_ext <<_ACEOF
22867 /* end confdefs.h. */
22868 #include <sys/soundcard.h>
22870 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22871 case "(($ac_try" in
22872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22873 *) ac_try_echo=$ac_try;;
22875 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22876 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22878 grep -v '^ *+' conftest.er1 >conftest.err
22880 cat conftest.err >&5
22881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22882 (exit $ac_status); } >/dev/null && {
22883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22884 test ! -s conftest.err
22886 ac_header_preproc=yes
22888 echo "$as_me: failed program was
:" >&5
22889 sed 's/^/| /' conftest.$ac_ext >&5
22891 ac_header_preproc=no
22894 rm -f conftest.err conftest.$ac_ext
22895 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22896 echo "${ECHO_T}$ac_header_preproc" >&6; }
22898 # So? What about this header?
22899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22901 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22902 echo "$as_me: WARNING
: sys
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22903 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: proceeding with the compiler
's result" >&5
22904 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result
" >&2;}
22905 ac_header_preproc=yes
22908 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: present but cannot be compiled
" >&5
22909 echo "$as_me: WARNING
: sys
/soundcard.h
: present but cannot be compiled
" >&2;}
22910 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: check
for missing prerequisite headers?
" >&5
22911 echo "$as_me: WARNING
: sys
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
22912 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: see the Autoconf documentation
" >&5
22913 echo "$as_me: WARNING
: sys
/soundcard.h
: see the Autoconf documentation
" >&2;}
22914 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22915 echo "$as_me: WARNING
: sys
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22916 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: proceeding with the preprocessor
's result" >&5
22917 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result
" >&2;}
22918 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
22919 echo "$as_me: WARNING
: sys
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
22923 { echo "$as_me:$LINENO: checking
for sys
/soundcard.h
" >&5
22924 echo $ECHO_N "checking
for sys
/soundcard.h...
$ECHO_C" >&6; }
22925 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22926 echo $ECHO_N "(cached
) $ECHO_C" >&6
22928 ac_cv_header_sys_soundcard_h=$ac_header_preproc
22930 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_soundcard_h" >&5
22931 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
22934 if test $ac_cv_header_sys_soundcard_h = yes; then
22938 cat >>confdefs.h <<_ACEOF
22947 if test "$PBX_OSS" = "0"; then
22949 if test "${USE_OSS}" != "no
"; then
22951 if test "x
${OSS_DIR}" != "x
"; then
22952 if test -d ${OSS_DIR}/lib; then
22953 pbxlibdir="-L${OSS_DIR}/lib
"
22955 pbxlibdir="-L${OSS_DIR}"
22958 { echo "$as_me:$LINENO: checking
for oss_ioctl_mixer
in -lossaudio" >&5
22959 echo $ECHO_N "checking
for oss_ioctl_mixer
in -lossaudio...
$ECHO_C" >&6; }
22960 if test "${ac_cv_lib_ossaudio_oss_ioctl_mixer+set}" = set; then
22961 echo $ECHO_N "(cached
) $ECHO_C" >&6
22963 ac_check_lib_save_LIBS=$LIBS
22964 LIBS="-lossaudio ${pbxlibdir} $LIBS"
22965 cat >conftest.$ac_ext <<_ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22972 /* Override any GCC internal prototype to avoid an error.
22973 Use char because int might match the return type of a GCC
22974 builtin and then its argument prototype would still apply. */
22978 char oss_ioctl_mixer ();
22982 return oss_ioctl_mixer ();
22987 rm -f conftest.$ac_objext conftest$ac_exeext
22988 if { (ac_try="$ac_link"
22989 case "(($ac_try" in
22990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22991 *) ac_try_echo=$ac_try;;
22993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22994 (eval "$ac_link") 2>conftest.er1
22996 grep -v '^ *+' conftest.er1 >conftest.err
22998 cat conftest.err >&5
22999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23000 (exit $ac_status); } && {
23001 test -z "$ac_c_werror_flag" ||
23002 test ! -s conftest.err
23003 } && test -s conftest$ac_exeext &&
23004 $as_test_x conftest$ac_exeext; then
23005 ac_cv_lib_ossaudio_oss_ioctl_mixer=yes
23007 echo "$as_me: failed program was
:" >&5
23008 sed 's/^/| /' conftest.$ac_ext >&5
23010 ac_cv_lib_ossaudio_oss_ioctl_mixer=no
23013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23014 conftest$ac_exeext conftest.$ac_ext
23015 LIBS=$ac_check_lib_save_LIBS
23017 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ossaudio_oss_ioctl_mixer" >&5
23018 echo "${ECHO_T}$ac_cv_lib_ossaudio_oss_ioctl_mixer" >&6; }
23019 if test $ac_cv_lib_ossaudio_oss_ioctl_mixer = yes; then
23026 if test "${AST_OSS_FOUND}" = "yes"; then
23027 OSS_LIB="-lossaudio "
23028 OSS_HEADER_FOUND="1"
23029 if test "x
${OSS_DIR}" != "x
"; then
23030 OSS_LIB="${pbxlibdir} ${OSS_LIB}"
23031 OSS_INCLUDE="-I${OSS_DIR}/include
"
23032 saved_cppflags="${CPPFLAGS}"
23033 CPPFLAGS="${CPPFLAGS} -I${OSS_DIR}/include
"
23034 if test "xsoundcard.h
" != "x
" ; then
23035 as_ac_Header=`echo "ac_cv_header_
${OSS_DIR}/include
/soundcard.h
" | $as_tr_sh`
23036 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23037 { echo "$as_me:$LINENO: checking
for ${OSS_DIR}/include
/soundcard.h
" >&5
23038 echo $ECHO_N "checking
for ${OSS_DIR}/include
/soundcard.h...
$ECHO_C" >&6; }
23039 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23040 echo $ECHO_N "(cached
) $ECHO_C" >&6
23042 ac_res=`eval echo '${'$as_ac_Header'}'`
23043 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23044 echo "${ECHO_T}$ac_res" >&6; }
23046 # Is the header compilable?
23047 { echo "$as_me:$LINENO: checking
${OSS_DIR}/include
/soundcard.h usability
" >&5
23048 echo $ECHO_N "checking
${OSS_DIR}/include
/soundcard.h usability...
$ECHO_C" >&6; }
23049 cat >conftest.$ac_ext <<_ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055 $ac_includes_default
23056 #include <${OSS_DIR}/include/soundcard.h>
23058 rm -f conftest.$ac_objext
23059 if { (ac_try="$ac_compile"
23060 case "(($ac_try" in
23061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23062 *) ac_try_echo=$ac_try;;
23064 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23065 (eval "$ac_compile") 2>conftest.er1
23067 grep -v '^ *+' conftest.er1 >conftest.err
23069 cat conftest.err >&5
23070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23071 (exit $ac_status); } && {
23072 test -z "$ac_c_werror_flag" ||
23073 test ! -s conftest.err
23074 } && test -s conftest.$ac_objext; then
23075 ac_header_compiler=yes
23077 echo "$as_me: failed program was
:" >&5
23078 sed 's/^/| /' conftest.$ac_ext >&5
23080 ac_header_compiler=no
23083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23084 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23085 echo "${ECHO_T}$ac_header_compiler" >&6; }
23087 # Is the header present?
23088 { echo "$as_me:$LINENO: checking
${OSS_DIR}/include
/soundcard.h presence
" >&5
23089 echo $ECHO_N "checking
${OSS_DIR}/include
/soundcard.h presence...
$ECHO_C" >&6; }
23090 cat >conftest.$ac_ext <<_ACEOF
23093 cat confdefs.h >>conftest.$ac_ext
23094 cat >>conftest.$ac_ext <<_ACEOF
23095 /* end confdefs.h. */
23096 #include <${OSS_DIR}/include/soundcard.h>
23098 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23099 case "(($ac_try" in
23100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23101 *) ac_try_echo=$ac_try;;
23103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23104 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23106 grep -v '^ *+' conftest.er1 >conftest.err
23108 cat conftest.err >&5
23109 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23110 (exit $ac_status); } >/dev/null && {
23111 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23112 test ! -s conftest.err
23114 ac_header_preproc=yes
23116 echo "$as_me: failed program was
:" >&5
23117 sed 's/^/| /' conftest.$ac_ext >&5
23119 ac_header_preproc=no
23122 rm -f conftest.err conftest.$ac_ext
23123 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23124 echo "${ECHO_T}$ac_header_preproc" >&6; }
23126 # So? What about this header?
23127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23129 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23130 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23131 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the compiler
's result" >&5
23132 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the compiler's result
" >&2;}
23133 ac_header_preproc=yes
23136 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: present but cannot be compiled
" >&5
23137 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: present but cannot be compiled
" >&2;}
23138 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: check
for missing prerequisite headers?
" >&5
23139 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
23140 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: see the Autoconf documentation
" >&5
23141 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: see the Autoconf documentation
" >&2;}
23142 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23143 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23144 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the preprocessor
's result" >&5
23145 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the preprocessor's result
" >&2;}
23146 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
23147 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
23151 { echo "$as_me:$LINENO: checking
for ${OSS_DIR}/include
/soundcard.h
" >&5
23152 echo $ECHO_N "checking
for ${OSS_DIR}/include
/soundcard.h...
$ECHO_C" >&6; }
23153 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23154 echo $ECHO_N "(cached
) $ECHO_C" >&6
23156 eval "$as_ac_Header=\
$ac_header_preproc"
23158 ac_res=`eval echo '${'$as_ac_Header'}'`
23159 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23160 echo "${ECHO_T}$ac_res" >&6; }
23163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23171 CPPFLAGS="${saved_cppflags}"
23173 if test "xsoundcard.h
" != "x
" ; then
23174 if test "${ac_cv_header_soundcard_h+set}" = set; then
23175 { echo "$as_me:$LINENO: checking
for soundcard.h
" >&5
23176 echo $ECHO_N "checking
for soundcard.h...
$ECHO_C" >&6; }
23177 if test "${ac_cv_header_soundcard_h+set}" = set; then
23178 echo $ECHO_N "(cached
) $ECHO_C" >&6
23180 { echo "$as_me:$LINENO: result
: $ac_cv_header_soundcard_h" >&5
23181 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
23183 # Is the header compilable?
23184 { echo "$as_me:$LINENO: checking soundcard.h usability
" >&5
23185 echo $ECHO_N "checking soundcard.h usability...
$ECHO_C" >&6; }
23186 cat >conftest.$ac_ext <<_ACEOF
23189 cat confdefs.h >>conftest.$ac_ext
23190 cat >>conftest.$ac_ext <<_ACEOF
23191 /* end confdefs.h. */
23192 $ac_includes_default
23193 #include <soundcard.h>
23195 rm -f conftest.$ac_objext
23196 if { (ac_try="$ac_compile"
23197 case "(($ac_try" in
23198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23199 *) ac_try_echo=$ac_try;;
23201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23202 (eval "$ac_compile") 2>conftest.er1
23204 grep -v '^ *+' conftest.er1 >conftest.err
23206 cat conftest.err >&5
23207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23208 (exit $ac_status); } && {
23209 test -z "$ac_c_werror_flag" ||
23210 test ! -s conftest.err
23211 } && test -s conftest.$ac_objext; then
23212 ac_header_compiler=yes
23214 echo "$as_me: failed program was
:" >&5
23215 sed 's/^/| /' conftest.$ac_ext >&5
23217 ac_header_compiler=no
23220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23221 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23222 echo "${ECHO_T}$ac_header_compiler" >&6; }
23224 # Is the header present?
23225 { echo "$as_me:$LINENO: checking soundcard.h presence
" >&5
23226 echo $ECHO_N "checking soundcard.h presence...
$ECHO_C" >&6; }
23227 cat >conftest.$ac_ext <<_ACEOF
23230 cat confdefs.h >>conftest.$ac_ext
23231 cat >>conftest.$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23233 #include <soundcard.h>
23235 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23236 case "(($ac_try" in
23237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23238 *) ac_try_echo=$ac_try;;
23240 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23241 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23243 grep -v '^ *+' conftest.er1 >conftest.err
23245 cat conftest.err >&5
23246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23247 (exit $ac_status); } >/dev/null && {
23248 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23249 test ! -s conftest.err
23251 ac_header_preproc=yes
23253 echo "$as_me: failed program was
:" >&5
23254 sed 's/^/| /' conftest.$ac_ext >&5
23256 ac_header_preproc=no
23259 rm -f conftest.err conftest.$ac_ext
23260 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23261 echo "${ECHO_T}$ac_header_preproc" >&6; }
23263 # So? What about this header?
23264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23266 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23267 echo "$as_me: WARNING
: soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23268 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: proceeding with the compiler
's result" >&5
23269 echo "$as_me: WARNING: soundcard.h: proceeding with the compiler's result
" >&2;}
23270 ac_header_preproc=yes
23273 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: present but cannot be compiled
" >&5
23274 echo "$as_me: WARNING
: soundcard.h
: present but cannot be compiled
" >&2;}
23275 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: check
for missing prerequisite headers?
" >&5
23276 echo "$as_me: WARNING
: soundcard.h
: check
for missing prerequisite headers?
" >&2;}
23277 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: see the Autoconf documentation
" >&5
23278 echo "$as_me: WARNING
: soundcard.h
: see the Autoconf documentation
" >&2;}
23279 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23280 echo "$as_me: WARNING
: soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23281 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: proceeding with the preprocessor
's result" >&5
23282 echo "$as_me: WARNING: soundcard.h: proceeding with the preprocessor's result
" >&2;}
23283 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: in the future
, the compiler will take precedence
" >&5
23284 echo "$as_me: WARNING
: soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
23288 { echo "$as_me:$LINENO: checking
for soundcard.h
" >&5
23289 echo $ECHO_N "checking
for soundcard.h...
$ECHO_C" >&6; }
23290 if test "${ac_cv_header_soundcard_h+set}" = set; then
23291 echo $ECHO_N "(cached
) $ECHO_C" >&6
23293 ac_cv_header_soundcard_h=$ac_header_preproc
23295 { echo "$as_me:$LINENO: result
: $ac_cv_header_soundcard_h" >&5
23296 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
23299 if test $ac_cv_header_soundcard_h = yes; then
23308 if test "x
${OSS_HEADER_FOUND}" = "x0
" ; then
23309 if test -n "${OSS_MANDATORY}" ;
23311 { echo "$as_me:$LINENO: ***" >&5
23312 echo "$as_me: ***" >&6;}
23313 { echo "$as_me:$LINENO: *** It appears that you
do not have the ossaudio development package installed.
" >&5
23314 echo "$as_me: *** It appears that you
do not have the ossaudio development package installed.
" >&6;}
23315 { echo "$as_me:$LINENO: *** Please
install it to include
${OSS_DESCRIP} support
, or re-run configure
" >&5
23316 echo "$as_me: *** Please
install it to include
${OSS_DESCRIP} support
, or re-run configure
" >&6;}
23317 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSS_OPTION}" >&5
23318 echo "$as_me: *** without explicitly specifying
--with-${OSS_OPTION}" >&6;}
23327 cat >>confdefs.h <<_ACEOF
23332 elif test -n "${OSS_MANDATORY}";
23334 { echo "$as_me:$LINENO: ***" >&5
23335 echo "$as_me: ***" >&6;}
23336 { echo "$as_me:$LINENO: *** The
${OSS_DESCRIP} installation on this system appears to be broken.
" >&5
23337 echo "$as_me: *** The
${OSS_DESCRIP} installation on this system appears to be broken.
" >&6;}
23338 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23339 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23340 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSS_OPTION}" >&5
23341 echo "$as_me: *** without explicitly specifying
--with-${OSS_OPTION}" >&6;}
23350 if test "${USE_PGSQL}" != "no
"; then
23351 if test "x
${PGSQL_DIR}" != "x
"; then
23352 if test -n "$ac_tool_prefix"; then
23353 # Extract the first word of "${ac_tool_prefix}pg_config
", so it can be a program name with args.
23354 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
23355 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23356 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23357 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
23358 echo $ECHO_N "(cached
) $ECHO_C" >&6
23362 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
23365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23366 for as_dir in ${PGSQL_DIR}/bin
23369 test -z "$as_dir" && as_dir=.
23370 for ac_exec_ext in '' $ac_executable_extensions; do
23371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23372 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23373 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23383 PG_CONFIG=$ac_cv_path_PG_CONFIG
23384 if test -n "$PG_CONFIG"; then
23385 { echo "$as_me:$LINENO: result
: $PG_CONFIG" >&5
23386 echo "${ECHO_T}$PG_CONFIG" >&6; }
23388 { echo "$as_me:$LINENO: result
: no
" >&5
23389 echo "${ECHO_T}no
" >&6; }
23394 if test -z "$ac_cv_path_PG_CONFIG"; then
23395 ac_pt_PG_CONFIG=$PG_CONFIG
23396 # Extract the first word of "pg_config
", so it can be a program name with args.
23397 set dummy pg_config; ac_word=$2
23398 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23399 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23400 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
23401 echo $ECHO_N "(cached
) $ECHO_C" >&6
23403 case $ac_pt_PG_CONFIG in
23405 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
23408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23409 for as_dir in ${PGSQL_DIR}/bin
23412 test -z "$as_dir" && as_dir=.
23413 for ac_exec_ext in '' $ac_executable_extensions; do
23414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23415 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23416 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23426 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
23427 if test -n "$ac_pt_PG_CONFIG"; then
23428 { echo "$as_me:$LINENO: result
: $ac_pt_PG_CONFIG" >&5
23429 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
23431 { echo "$as_me:$LINENO: result
: no
" >&5
23432 echo "${ECHO_T}no
" >&6; }
23435 if test "x
$ac_pt_PG_CONFIG" = x; then
23438 case $cross_compiling:$ac_tool_warned in
23440 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
23441 whose name does not start with the
host triplet. If you think this
23442 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
23443 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
23444 whose name does not start with the
host triplet. If you think this
23445 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
23446 ac_tool_warned=yes ;;
23448 PG_CONFIG=$ac_pt_PG_CONFIG
23451 PG_CONFIG="$ac_cv_path_PG_CONFIG"
23454 if test x"${PG_CONFIG}" = xNo; then
23455 { echo "$as_me:$LINENO: ***" >&5
23456 echo "$as_me: ***" >&6;}
23457 { echo "$as_me:$LINENO: *** pg_config was not found
in the path you specified
:" >&5
23458 echo "$as_me: *** pg_config was not found
in the path you specified
:" >&6;}
23459 { echo "$as_me:$LINENO: *** ${PGSQL_DIR}/bin
" >&5
23460 echo "$as_me: *** ${PGSQL_DIR}/bin
" >&6;}
23461 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23462 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23463 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23464 echo "$as_me: *** including
--without-postgres" >&6;}
23468 if test -n "$ac_tool_prefix"; then
23469 # Extract the first word of "${ac_tool_prefix}pg_config
", so it can be a program name with args.
23470 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
23471 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23472 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23473 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
23474 echo $ECHO_N "(cached
) $ECHO_C" >&6
23478 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
23481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23482 for as_dir in $PATH
23485 test -z "$as_dir" && as_dir=.
23486 for ac_exec_ext in '' $ac_executable_extensions; do
23487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23488 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23489 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23499 PG_CONFIG=$ac_cv_path_PG_CONFIG
23500 if test -n "$PG_CONFIG"; then
23501 { echo "$as_me:$LINENO: result
: $PG_CONFIG" >&5
23502 echo "${ECHO_T}$PG_CONFIG" >&6; }
23504 { echo "$as_me:$LINENO: result
: no
" >&5
23505 echo "${ECHO_T}no
" >&6; }
23510 if test -z "$ac_cv_path_PG_CONFIG"; then
23511 ac_pt_PG_CONFIG=$PG_CONFIG
23512 # Extract the first word of "pg_config
", so it can be a program name with args.
23513 set dummy pg_config; ac_word=$2
23514 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23515 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23516 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
23517 echo $ECHO_N "(cached
) $ECHO_C" >&6
23519 case $ac_pt_PG_CONFIG in
23521 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
23524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23525 for as_dir in $PATH
23528 test -z "$as_dir" && as_dir=.
23529 for ac_exec_ext in '' $ac_executable_extensions; do
23530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23531 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23532 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23542 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
23543 if test -n "$ac_pt_PG_CONFIG"; then
23544 { echo "$as_me:$LINENO: result
: $ac_pt_PG_CONFIG" >&5
23545 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
23547 { echo "$as_me:$LINENO: result
: no
" >&5
23548 echo "${ECHO_T}no
" >&6; }
23551 if test "x
$ac_pt_PG_CONFIG" = x; then
23554 case $cross_compiling:$ac_tool_warned in
23556 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
23557 whose name does not start with the
host triplet. If you think this
23558 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
23559 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
23560 whose name does not start with the
host triplet. If you think this
23561 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
23562 ac_tool_warned=yes ;;
23564 PG_CONFIG=$ac_pt_PG_CONFIG
23567 PG_CONFIG="$ac_cv_path_PG_CONFIG"
23572 if test "${PG_CONFIG}" != No; then
23573 PGSQL_libdir=`${PG_CONFIG} --libdir`
23574 PGSQL_includedir=`${PG_CONFIG} --includedir`
23576 if test "x$?
" != "x0
" ; then
23577 if test -n "${PGSQL_MANDATORY}" ; then
23578 { echo "$as_me:$LINENO: ***" >&5
23579 echo "$as_me: ***" >&6;}
23580 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
23581 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
23582 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23583 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23584 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23585 echo "$as_me: *** including
--without-postgres" >&6;}
23589 { echo "$as_me:$LINENO: checking
for PQexec
in -lpq" >&5
23590 echo $ECHO_N "checking
for PQexec
in -lpq...
$ECHO_C" >&6; }
23591 if test "${ac_cv_lib_pq_PQexec+set}" = set; then
23592 echo $ECHO_N "(cached
) $ECHO_C" >&6
23594 ac_check_lib_save_LIBS=$LIBS
23595 LIBS="-lpq -L${PGSQL_libdir} -lz $LIBS"
23596 cat >conftest.$ac_ext <<_ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23603 /* Override any GCC internal prototype to avoid an error.
23604 Use char because int might match the return type of a GCC
23605 builtin and then its argument prototype would still apply. */
23618 rm -f conftest.$ac_objext conftest$ac_exeext
23619 if { (ac_try="$ac_link"
23620 case "(($ac_try" in
23621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23622 *) ac_try_echo=$ac_try;;
23624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23625 (eval "$ac_link") 2>conftest.er1
23627 grep -v '^ *+' conftest.er1 >conftest.err
23629 cat conftest.err >&5
23630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23631 (exit $ac_status); } && {
23632 test -z "$ac_c_werror_flag" ||
23633 test ! -s conftest.err
23634 } && test -s conftest$ac_exeext &&
23635 $as_test_x conftest$ac_exeext; then
23636 ac_cv_lib_pq_PQexec=yes
23638 echo "$as_me: failed program was
:" >&5
23639 sed 's/^/| /' conftest.$ac_ext >&5
23641 ac_cv_lib_pq_PQexec=no
23644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23645 conftest$ac_exeext conftest.$ac_ext
23646 LIBS=$ac_check_lib_save_LIBS
23648 { echo "$as_me:$LINENO: result
: $ac_cv_lib_pq_PQexec" >&5
23649 echo "${ECHO_T}$ac_cv_lib_pq_PQexec" >&6; }
23650 if test $ac_cv_lib_pq_PQexec = yes; then
23652 cat >>confdefs.h <<_ACEOF
23653 #define HAVE_PGSQL 1
23659 if test "${ac_cv_lib_pq_PQexec}" = "yes"; then
23660 PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz"
23661 PGSQL_INCLUDE="-I${PGSQL_includedir}"
23663 elif test -n "${PGSQL_MANDATORY}";
23665 { echo "$as_me:$LINENO: ***" >&5
23666 echo "$as_me: ***" >&6;}
23667 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
23668 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
23669 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23670 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23671 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23672 echo "$as_me: *** including
--without-postgres" >&6;}
23676 elif test -n "${PGSQL_MANDATORY}";
23678 { echo "$as_me:$LINENO: ***" >&5
23679 echo "$as_me: ***" >&6;}
23680 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
23681 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
23682 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23683 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23684 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23685 echo "$as_me: *** including
--without-postgres" >&6;}
23690 if test "${USE_POPT}" != "no
"; then
23692 if test "x
${POPT_DIR}" != "x
"; then
23693 if test -d ${POPT_DIR}/lib; then
23694 pbxlibdir="-L${POPT_DIR}/lib
"
23696 pbxlibdir="-L${POPT_DIR}"
23699 { echo "$as_me:$LINENO: checking
for poptStrerror
in -lpopt" >&5
23700 echo $ECHO_N "checking
for poptStrerror
in -lpopt...
$ECHO_C" >&6; }
23701 if test "${ac_cv_lib_popt_poptStrerror+set}" = set; then
23702 echo $ECHO_N "(cached
) $ECHO_C" >&6
23704 ac_check_lib_save_LIBS=$LIBS
23705 LIBS="-lpopt ${pbxlibdir} $LIBS"
23706 cat >conftest.$ac_ext <<_ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23713 /* Override any GCC internal prototype to avoid an error.
23714 Use char because int might match the return type of a GCC
23715 builtin and then its argument prototype would still apply. */
23719 char poptStrerror ();
23723 return poptStrerror ();
23728 rm -f conftest.$ac_objext conftest$ac_exeext
23729 if { (ac_try="$ac_link"
23730 case "(($ac_try" in
23731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23732 *) ac_try_echo=$ac_try;;
23734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23735 (eval "$ac_link") 2>conftest.er1
23737 grep -v '^ *+' conftest.er1 >conftest.err
23739 cat conftest.err >&5
23740 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23741 (exit $ac_status); } && {
23742 test -z "$ac_c_werror_flag" ||
23743 test ! -s conftest.err
23744 } && test -s conftest$ac_exeext &&
23745 $as_test_x conftest$ac_exeext; then
23746 ac_cv_lib_popt_poptStrerror=yes
23748 echo "$as_me: failed program was
:" >&5
23749 sed 's/^/| /' conftest.$ac_ext >&5
23751 ac_cv_lib_popt_poptStrerror=no
23754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23755 conftest$ac_exeext conftest.$ac_ext
23756 LIBS=$ac_check_lib_save_LIBS
23758 { echo "$as_me:$LINENO: result
: $ac_cv_lib_popt_poptStrerror" >&5
23759 echo "${ECHO_T}$ac_cv_lib_popt_poptStrerror" >&6; }
23760 if test $ac_cv_lib_popt_poptStrerror = yes; then
23767 if test "${AST_POPT_FOUND}" = "yes"; then
23769 POPT_HEADER_FOUND="1"
23770 if test "x
${POPT_DIR}" != "x
"; then
23771 POPT_LIB="${pbxlibdir} ${POPT_LIB}"
23772 POPT_INCLUDE="-I${POPT_DIR}/include
"
23773 saved_cppflags="${CPPFLAGS}"
23774 CPPFLAGS="${CPPFLAGS} -I${POPT_DIR}/include
"
23775 if test "xpopt.h
" != "x
" ; then
23776 as_ac_Header=`echo "ac_cv_header_
${POPT_DIR}/include
/popt.h
" | $as_tr_sh`
23777 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23778 { echo "$as_me:$LINENO: checking
for ${POPT_DIR}/include
/popt.h
" >&5
23779 echo $ECHO_N "checking
for ${POPT_DIR}/include
/popt.h...
$ECHO_C" >&6; }
23780 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23781 echo $ECHO_N "(cached
) $ECHO_C" >&6
23783 ac_res=`eval echo '${'$as_ac_Header'}'`
23784 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23785 echo "${ECHO_T}$ac_res" >&6; }
23787 # Is the header compilable?
23788 { echo "$as_me:$LINENO: checking
${POPT_DIR}/include
/popt.h usability
" >&5
23789 echo $ECHO_N "checking
${POPT_DIR}/include
/popt.h usability...
$ECHO_C" >&6; }
23790 cat >conftest.$ac_ext <<_ACEOF
23793 cat confdefs.h >>conftest.$ac_ext
23794 cat >>conftest.$ac_ext <<_ACEOF
23795 /* end confdefs.h. */
23796 $ac_includes_default
23797 #include <${POPT_DIR}/include/popt.h>
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23805 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23808 grep -v '^ *+' conftest.er1 >conftest.err
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_c_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23816 ac_header_compiler=yes
23818 echo "$as_me: failed program was
:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23821 ac_header_compiler=no
23824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23825 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23826 echo "${ECHO_T}$ac_header_compiler" >&6; }
23828 # Is the header present?
23829 { echo "$as_me:$LINENO: checking
${POPT_DIR}/include
/popt.h presence
" >&5
23830 echo $ECHO_N "checking
${POPT_DIR}/include
/popt.h presence...
$ECHO_C" >&6; }
23831 cat >conftest.$ac_ext <<_ACEOF
23834 cat confdefs.h >>conftest.$ac_ext
23835 cat >>conftest.$ac_ext <<_ACEOF
23836 /* end confdefs.h. */
23837 #include <${POPT_DIR}/include/popt.h>
23839 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23840 case "(($ac_try" in
23841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842 *) ac_try_echo=$ac_try;;
23844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23845 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23847 grep -v '^ *+' conftest.er1 >conftest.err
23849 cat conftest.err >&5
23850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23851 (exit $ac_status); } >/dev/null && {
23852 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23853 test ! -s conftest.err
23855 ac_header_preproc=yes
23857 echo "$as_me: failed program was
:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23860 ac_header_preproc=no
23863 rm -f conftest.err conftest.$ac_ext
23864 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23865 echo "${ECHO_T}$ac_header_preproc" >&6; }
23867 # So? What about this header?
23868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23870 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23871 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23872 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the compiler
's result" >&5
23873 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the compiler's result
" >&2;}
23874 ac_header_preproc=yes
23877 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: present but cannot be compiled
" >&5
23878 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: present but cannot be compiled
" >&2;}
23879 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: check
for missing prerequisite headers?
" >&5
23880 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: check
for missing prerequisite headers?
" >&2;}
23881 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: see the Autoconf documentation
" >&5
23882 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: see the Autoconf documentation
" >&2;}
23883 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23884 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23885 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the preprocessor
's result" >&5
23886 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the preprocessor's result
" >&2;}
23887 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: in the future
, the compiler will take precedence
" >&5
23888 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: in the future
, the compiler will take precedence
" >&2;}
23892 { echo "$as_me:$LINENO: checking
for ${POPT_DIR}/include
/popt.h
" >&5
23893 echo $ECHO_N "checking
for ${POPT_DIR}/include
/popt.h...
$ECHO_C" >&6; }
23894 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23895 echo $ECHO_N "(cached
) $ECHO_C" >&6
23897 eval "$as_ac_Header=\
$ac_header_preproc"
23899 ac_res=`eval echo '${'$as_ac_Header'}'`
23900 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23901 echo "${ECHO_T}$ac_res" >&6; }
23904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23905 POPT_HEADER_FOUND=1
23907 POPT_HEADER_FOUND=0
23912 CPPFLAGS="${saved_cppflags}"
23914 if test "xpopt.h
" != "x
" ; then
23915 if test "${ac_cv_header_popt_h+set}" = set; then
23916 { echo "$as_me:$LINENO: checking
for popt.h
" >&5
23917 echo $ECHO_N "checking
for popt.h...
$ECHO_C" >&6; }
23918 if test "${ac_cv_header_popt_h+set}" = set; then
23919 echo $ECHO_N "(cached
) $ECHO_C" >&6
23921 { echo "$as_me:$LINENO: result
: $ac_cv_header_popt_h" >&5
23922 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
23924 # Is the header compilable?
23925 { echo "$as_me:$LINENO: checking popt.h usability
" >&5
23926 echo $ECHO_N "checking popt.h usability...
$ECHO_C" >&6; }
23927 cat >conftest.$ac_ext <<_ACEOF
23930 cat confdefs.h >>conftest.$ac_ext
23931 cat >>conftest.$ac_ext <<_ACEOF
23932 /* end confdefs.h. */
23933 $ac_includes_default
23936 rm -f conftest.$ac_objext
23937 if { (ac_try="$ac_compile"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_compile") 2>conftest.er1
23945 grep -v '^ *+' conftest.er1 >conftest.err
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23949 (exit $ac_status); } && {
23950 test -z "$ac_c_werror_flag" ||
23951 test ! -s conftest.err
23952 } && test -s conftest.$ac_objext; then
23953 ac_header_compiler=yes
23955 echo "$as_me: failed program was
:" >&5
23956 sed 's/^/| /' conftest.$ac_ext >&5
23958 ac_header_compiler=no
23961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23962 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23963 echo "${ECHO_T}$ac_header_compiler" >&6; }
23965 # Is the header present?
23966 { echo "$as_me:$LINENO: checking popt.h presence
" >&5
23967 echo $ECHO_N "checking popt.h presence...
$ECHO_C" >&6; }
23968 cat >conftest.$ac_ext <<_ACEOF
23971 cat confdefs.h >>conftest.$ac_ext
23972 cat >>conftest.$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23976 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23977 case "(($ac_try" in
23978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23979 *) ac_try_echo=$ac_try;;
23981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23982 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23984 grep -v '^ *+' conftest.er1 >conftest.err
23986 cat conftest.err >&5
23987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23988 (exit $ac_status); } >/dev/null && {
23989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23990 test ! -s conftest.err
23992 ac_header_preproc=yes
23994 echo "$as_me: failed program was
:" >&5
23995 sed 's/^/| /' conftest.$ac_ext >&5
23997 ac_header_preproc=no
24000 rm -f conftest.err conftest.$ac_ext
24001 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24002 echo "${ECHO_T}$ac_header_preproc" >&6; }
24004 # So? What about this header?
24005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24007 { echo "$as_me:$LINENO: WARNING
: popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24008 echo "$as_me: WARNING
: popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24009 { echo "$as_me:$LINENO: WARNING
: popt.h
: proceeding with the compiler
's result" >&5
24010 echo "$as_me: WARNING: popt.h: proceeding with the compiler's result
" >&2;}
24011 ac_header_preproc=yes
24014 { echo "$as_me:$LINENO: WARNING
: popt.h
: present but cannot be compiled
" >&5
24015 echo "$as_me: WARNING
: popt.h
: present but cannot be compiled
" >&2;}
24016 { echo "$as_me:$LINENO: WARNING
: popt.h
: check
for missing prerequisite headers?
" >&5
24017 echo "$as_me: WARNING
: popt.h
: check
for missing prerequisite headers?
" >&2;}
24018 { echo "$as_me:$LINENO: WARNING
: popt.h
: see the Autoconf documentation
" >&5
24019 echo "$as_me: WARNING
: popt.h
: see the Autoconf documentation
" >&2;}
24020 { echo "$as_me:$LINENO: WARNING
: popt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24021 echo "$as_me: WARNING
: popt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24022 { echo "$as_me:$LINENO: WARNING
: popt.h
: proceeding with the preprocessor
's result" >&5
24023 echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result
" >&2;}
24024 { echo "$as_me:$LINENO: WARNING
: popt.h
: in the future
, the compiler will take precedence
" >&5
24025 echo "$as_me: WARNING
: popt.h
: in the future
, the compiler will take precedence
" >&2;}
24029 { echo "$as_me:$LINENO: checking
for popt.h
" >&5
24030 echo $ECHO_N "checking
for popt.h...
$ECHO_C" >&6; }
24031 if test "${ac_cv_header_popt_h+set}" = set; then
24032 echo $ECHO_N "(cached
) $ECHO_C" >&6
24034 ac_cv_header_popt_h=$ac_header_preproc
24036 { echo "$as_me:$LINENO: result
: $ac_cv_header_popt_h" >&5
24037 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
24040 if test $ac_cv_header_popt_h = yes; then
24041 POPT_HEADER_FOUND=1
24043 POPT_HEADER_FOUND=0
24049 if test "x
${POPT_HEADER_FOUND}" = "x0
" ; then
24050 if test -n "${POPT_MANDATORY}" ;
24052 { echo "$as_me:$LINENO: ***" >&5
24053 echo "$as_me: ***" >&6;}
24054 { echo "$as_me:$LINENO: *** It appears that you
do not have the popt development package installed.
" >&5
24055 echo "$as_me: *** It appears that you
do not have the popt development package installed.
" >&6;}
24056 { echo "$as_me:$LINENO: *** Please
install it to include
${POPT_DESCRIP} support
, or re-run configure
" >&5
24057 echo "$as_me: *** Please
install it to include
${POPT_DESCRIP} support
, or re-run configure
" >&6;}
24058 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${POPT_OPTION}" >&5
24059 echo "$as_me: *** without explicitly specifying
--with-${POPT_OPTION}" >&6;}
24068 cat >>confdefs.h <<_ACEOF
24069 #define HAVE_POPT 1
24073 elif test -n "${POPT_MANDATORY}";
24075 { echo "$as_me:$LINENO: ***" >&5
24076 echo "$as_me: ***" >&6;}
24077 { echo "$as_me:$LINENO: *** The
${POPT_DESCRIP} installation on this system appears to be broken.
" >&5
24078 echo "$as_me: *** The
${POPT_DESCRIP} installation on this system appears to be broken.
" >&6;}
24079 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
24080 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
24081 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${POPT_OPTION}" >&5
24082 echo "$as_me: *** without explicitly specifying
--with-${POPT_OPTION}" >&6;}
24089 if test "${USE_PRI}" != "no
"; then
24091 if test "x
${PRI_DIR}" != "x
"; then
24092 if test -d ${PRI_DIR}/lib; then
24093 pbxlibdir="-L${PRI_DIR}/lib
"
24095 pbxlibdir="-L${PRI_DIR}"
24098 { echo "$as_me:$LINENO: checking
for pri_call
in -lpri" >&5
24099 echo $ECHO_N "checking
for pri_call
in -lpri...
$ECHO_C" >&6; }
24100 if test "${ac_cv_lib_pri_pri_call+set}" = set; then
24101 echo $ECHO_N "(cached
) $ECHO_C" >&6
24103 ac_check_lib_save_LIBS=$LIBS
24104 LIBS="-lpri ${pbxlibdir} $LIBS"
24105 cat >conftest.$ac_ext <<_ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24112 /* Override any GCC internal prototype to avoid an error.
24113 Use char because int might match the return type of a GCC
24114 builtin and then its argument prototype would still apply. */
24122 return pri_call ();
24127 rm -f conftest.$ac_objext conftest$ac_exeext
24128 if { (ac_try="$ac_link"
24129 case "(($ac_try" in
24130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24131 *) ac_try_echo=$ac_try;;
24133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24134 (eval "$ac_link") 2>conftest.er1
24136 grep -v '^ *+' conftest.er1 >conftest.err
24138 cat conftest.err >&5
24139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24140 (exit $ac_status); } && {
24141 test -z "$ac_c_werror_flag" ||
24142 test ! -s conftest.err
24143 } && test -s conftest$ac_exeext &&
24144 $as_test_x conftest$ac_exeext; then
24145 ac_cv_lib_pri_pri_call=yes
24147 echo "$as_me: failed program was
:" >&5
24148 sed 's/^/| /' conftest.$ac_ext >&5
24150 ac_cv_lib_pri_pri_call=no
24153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24154 conftest$ac_exeext conftest.$ac_ext
24155 LIBS=$ac_check_lib_save_LIBS
24157 { echo "$as_me:$LINENO: result
: $ac_cv_lib_pri_pri_call" >&5
24158 echo "${ECHO_T}$ac_cv_lib_pri_pri_call" >&6; }
24159 if test $ac_cv_lib_pri_pri_call = yes; then
24166 if test "${AST_PRI_FOUND}" = "yes"; then
24168 PRI_HEADER_FOUND="1"
24169 if test "x
${PRI_DIR}" != "x
"; then
24170 PRI_LIB="${pbxlibdir} ${PRI_LIB}"
24171 PRI_INCLUDE="-I${PRI_DIR}/include
"
24172 saved_cppflags="${CPPFLAGS}"
24173 CPPFLAGS="${CPPFLAGS} -I${PRI_DIR}/include
"
24174 if test "xlibpri.h
" != "x
" ; then
24175 as_ac_Header=`echo "ac_cv_header_
${PRI_DIR}/include
/libpri.h
" | $as_tr_sh`
24176 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24177 { echo "$as_me:$LINENO: checking
for ${PRI_DIR}/include
/libpri.h
" >&5
24178 echo $ECHO_N "checking
for ${PRI_DIR}/include
/libpri.h...
$ECHO_C" >&6; }
24179 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24180 echo $ECHO_N "(cached
) $ECHO_C" >&6
24182 ac_res=`eval echo '${'$as_ac_Header'}'`
24183 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24184 echo "${ECHO_T}$ac_res" >&6; }
24186 # Is the header compilable?
24187 { echo "$as_me:$LINENO: checking
${PRI_DIR}/include
/libpri.h usability
" >&5
24188 echo $ECHO_N "checking
${PRI_DIR}/include
/libpri.h usability...
$ECHO_C" >&6; }
24189 cat >conftest.$ac_ext <<_ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24195 $ac_includes_default
24196 #include <${PRI_DIR}/include/libpri.h>
24198 rm -f conftest.$ac_objext
24199 if { (ac_try="$ac_compile"
24200 case "(($ac_try" in
24201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24202 *) ac_try_echo=$ac_try;;
24204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24205 (eval "$ac_compile") 2>conftest.er1
24207 grep -v '^ *+' conftest.er1 >conftest.err
24209 cat conftest.err >&5
24210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24211 (exit $ac_status); } && {
24212 test -z "$ac_c_werror_flag" ||
24213 test ! -s conftest.err
24214 } && test -s conftest.$ac_objext; then
24215 ac_header_compiler=yes
24217 echo "$as_me: failed program was
:" >&5
24218 sed 's/^/| /' conftest.$ac_ext >&5
24220 ac_header_compiler=no
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24225 echo "${ECHO_T}$ac_header_compiler" >&6; }
24227 # Is the header present?
24228 { echo "$as_me:$LINENO: checking
${PRI_DIR}/include
/libpri.h presence
" >&5
24229 echo $ECHO_N "checking
${PRI_DIR}/include
/libpri.h presence...
$ECHO_C" >&6; }
24230 cat >conftest.$ac_ext <<_ACEOF
24233 cat confdefs.h >>conftest.$ac_ext
24234 cat >>conftest.$ac_ext <<_ACEOF
24235 /* end confdefs.h. */
24236 #include <${PRI_DIR}/include/libpri.h>
24238 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24239 case "(($ac_try" in
24240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24241 *) ac_try_echo=$ac_try;;
24243 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24244 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24246 grep -v '^ *+' conftest.er1 >conftest.err
24248 cat conftest.err >&5
24249 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24250 (exit $ac_status); } >/dev/null && {
24251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24252 test ! -s conftest.err
24254 ac_header_preproc=yes
24256 echo "$as_me: failed program was
:" >&5
24257 sed 's/^/| /' conftest.$ac_ext >&5
24259 ac_header_preproc=no
24262 rm -f conftest.err conftest.$ac_ext
24263 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24264 echo "${ECHO_T}$ac_header_preproc" >&6; }
24266 # So? What about this header?
24267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24269 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24270 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24271 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the compiler
's result" >&5
24272 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the compiler's result
" >&2;}
24273 ac_header_preproc=yes
24276 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: present but cannot be compiled
" >&5
24277 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: present but cannot be compiled
" >&2;}
24278 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: check
for missing prerequisite headers?
" >&5
24279 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: check
for missing prerequisite headers?
" >&2;}
24280 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: see the Autoconf documentation
" >&5
24281 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: see the Autoconf documentation
" >&2;}
24282 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24283 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24284 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the preprocessor
's result" >&5
24285 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the preprocessor's result
" >&2;}
24286 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: in the future
, the compiler will take precedence
" >&5
24287 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: in the future
, the compiler will take precedence
" >&2;}
24291 { echo "$as_me:$LINENO: checking
for ${PRI_DIR}/include
/libpri.h
" >&5
24292 echo $ECHO_N "checking
for ${PRI_DIR}/include
/libpri.h...
$ECHO_C" >&6; }
24293 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24294 echo $ECHO_N "(cached
) $ECHO_C" >&6
24296 eval "$as_ac_Header=\
$ac_header_preproc"
24298 ac_res=`eval echo '${'$as_ac_Header'}'`
24299 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24300 echo "${ECHO_T}$ac_res" >&6; }
24303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24311 CPPFLAGS="${saved_cppflags}"
24313 if test "xlibpri.h
" != "x
" ; then
24314 if test "${ac_cv_header_libpri_h+set}" = set; then
24315 { echo "$as_me:$LINENO: checking
for libpri.h
" >&5
24316 echo $ECHO_N "checking
for libpri.h...
$ECHO_C" >&6; }
24317 if test "${ac_cv_header_libpri_h+set}" = set; then
24318 echo $ECHO_N "(cached
) $ECHO_C" >&6
24320 { echo "$as_me:$LINENO: result
: $ac_cv_header_libpri_h" >&5
24321 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
24323 # Is the header compilable?
24324 { echo "$as_me:$LINENO: checking libpri.h usability
" >&5
24325 echo $ECHO_N "checking libpri.h usability...
$ECHO_C" >&6; }
24326 cat >conftest.$ac_ext <<_ACEOF
24329 cat confdefs.h >>conftest.$ac_ext
24330 cat >>conftest.$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24332 $ac_includes_default
24333 #include <libpri.h>
24335 rm -f conftest.$ac_objext
24336 if { (ac_try="$ac_compile"
24337 case "(($ac_try" in
24338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24339 *) ac_try_echo=$ac_try;;
24341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24342 (eval "$ac_compile") 2>conftest.er1
24344 grep -v '^ *+' conftest.er1 >conftest.err
24346 cat conftest.err >&5
24347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24348 (exit $ac_status); } && {
24349 test -z "$ac_c_werror_flag" ||
24350 test ! -s conftest.err
24351 } && test -s conftest.$ac_objext; then
24352 ac_header_compiler=yes
24354 echo "$as_me: failed program was
:" >&5
24355 sed 's/^/| /' conftest.$ac_ext >&5
24357 ac_header_compiler=no
24360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24361 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24362 echo "${ECHO_T}$ac_header_compiler" >&6; }
24364 # Is the header present?
24365 { echo "$as_me:$LINENO: checking libpri.h presence
" >&5
24366 echo $ECHO_N "checking libpri.h presence...
$ECHO_C" >&6; }
24367 cat >conftest.$ac_ext <<_ACEOF
24370 cat confdefs.h >>conftest.$ac_ext
24371 cat >>conftest.$ac_ext <<_ACEOF
24372 /* end confdefs.h. */
24373 #include <libpri.h>
24375 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24376 case "(($ac_try" in
24377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24378 *) ac_try_echo=$ac_try;;
24380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24381 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24383 grep -v '^ *+' conftest.er1 >conftest.err
24385 cat conftest.err >&5
24386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24387 (exit $ac_status); } >/dev/null && {
24388 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24389 test ! -s conftest.err
24391 ac_header_preproc=yes
24393 echo "$as_me: failed program was
:" >&5
24394 sed 's/^/| /' conftest.$ac_ext >&5
24396 ac_header_preproc=no
24399 rm -f conftest.err conftest.$ac_ext
24400 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24401 echo "${ECHO_T}$ac_header_preproc" >&6; }
24403 # So? What about this header?
24404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24406 { echo "$as_me:$LINENO: WARNING
: libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24407 echo "$as_me: WARNING
: libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24408 { echo "$as_me:$LINENO: WARNING
: libpri.h
: proceeding with the compiler
's result" >&5
24409 echo "$as_me: WARNING: libpri.h: proceeding with the compiler's result
" >&2;}
24410 ac_header_preproc=yes
24413 { echo "$as_me:$LINENO: WARNING
: libpri.h
: present but cannot be compiled
" >&5
24414 echo "$as_me: WARNING
: libpri.h
: present but cannot be compiled
" >&2;}
24415 { echo "$as_me:$LINENO: WARNING
: libpri.h
: check
for missing prerequisite headers?
" >&5
24416 echo "$as_me: WARNING
: libpri.h
: check
for missing prerequisite headers?
" >&2;}
24417 { echo "$as_me:$LINENO: WARNING
: libpri.h
: see the Autoconf documentation
" >&5
24418 echo "$as_me: WARNING
: libpri.h
: see the Autoconf documentation
" >&2;}
24419 { echo "$as_me:$LINENO: WARNING
: libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24420 echo "$as_me: WARNING
: libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24421 { echo "$as_me:$LINENO: WARNING
: libpri.h
: proceeding with the preprocessor
's result" >&5
24422 echo "$as_me: WARNING: libpri.h: proceeding with the preprocessor's result
" >&2;}
24423 { echo "$as_me:$LINENO: WARNING
: libpri.h
: in the future
, the compiler will take precedence
" >&5
24424 echo "$as_me: WARNING
: libpri.h
: in the future
, the compiler will take precedence
" >&2;}
24428 { echo "$as_me:$LINENO: checking
for libpri.h
" >&5
24429 echo $ECHO_N "checking
for libpri.h...
$ECHO_C" >&6; }
24430 if test "${ac_cv_header_libpri_h+set}" = set; then
24431 echo $ECHO_N "(cached
) $ECHO_C" >&6
24433 ac_cv_header_libpri_h=$ac_header_preproc
24435 { echo "$as_me:$LINENO: result
: $ac_cv_header_libpri_h" >&5
24436 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
24439 if test $ac_cv_header_libpri_h = yes; then
24448 if test "x
${PRI_HEADER_FOUND}" = "x0
" ; then
24449 if test -n "${PRI_MANDATORY}" ;
24451 { echo "$as_me:$LINENO: ***" >&5
24452 echo "$as_me: ***" >&6;}
24453 { echo "$as_me:$LINENO: *** It appears that you
do not have the pri development package installed.
" >&5
24454 echo "$as_me: *** It appears that you
do not have the pri development package installed.
" >&6;}
24455 { echo "$as_me:$LINENO: *** Please
install it to include
${PRI_DESCRIP} support
, or re-run configure
" >&5
24456 echo "$as_me: *** Please
install it to include
${PRI_DESCRIP} support
, or re-run configure
" >&6;}
24457 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${PRI_OPTION}" >&5
24458 echo "$as_me: *** without explicitly specifying
--with-${PRI_OPTION}" >&6;}
24467 cat >>confdefs.h <<_ACEOF
24472 elif test -n "${PRI_MANDATORY}";
24474 { echo "$as_me:$LINENO: ***" >&5
24475 echo "$as_me: ***" >&6;}
24476 { echo "$as_me:$LINENO: *** The
${PRI_DESCRIP} installation on this system appears to be broken.
" >&5
24477 echo "$as_me: *** The
${PRI_DESCRIP} installation on this system appears to be broken.
" >&6;}
24478 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
24479 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
24480 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${PRI_OPTION}" >&5
24481 echo "$as_me: *** without explicitly specifying
--with-${PRI_OPTION}" >&6;}
24487 if test "${USE_PWLIB}" != "no
"; then
24488 if test -n "${PWLIB_DIR}"; then
24489 PWLIBDIR="${PWLIB_DIR}"
24494 if test "${PWLIBDIR:-unset}" != "unset" ; then
24495 as_ac_File=`echo "ac_cv_file_
${PWLIBDIR}/version.h
" | $as_tr_sh`
24496 { echo "$as_me:$LINENO: checking
for ${PWLIBDIR}/version.h
" >&5
24497 echo $ECHO_N "checking
for ${PWLIBDIR}/version.h...
$ECHO_C" >&6; }
24498 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
24499 echo $ECHO_N "(cached
) $ECHO_C" >&6
24501 test "$cross_compiling" = yes &&
24502 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24503 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24504 { (exit 1); exit 1; }; }
24505 if test -r "${PWLIBDIR}/version.h
"; then
24506 eval "$as_ac_File=yes"
24508 eval "$as_ac_File=no
"
24511 ac_res=`eval echo '${'$as_ac_File'}'`
24512 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24513 echo "${ECHO_T}$ac_res" >&6; }
24514 if test `eval echo '${'$as_ac_File'}'` = yes; then
24519 if test "${HAS_PWLIB:-unset}" = "unset" ; then
24520 if test "${OPENH323DIR:-unset}" != "unset"; then
24521 as_ac_File=`echo "ac_cv_file_
${OPENH323DIR}/..
/pwlib
/version.h
" | $as_tr_sh`
24522 { echo "$as_me:$LINENO: checking
for ${OPENH323DIR}/..
/pwlib
/version.h
" >&5
24523 echo $ECHO_N "checking
for ${OPENH323DIR}/..
/pwlib
/version.h...
$ECHO_C" >&6; }
24524 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
24525 echo $ECHO_N "(cached
) $ECHO_C" >&6
24527 test "$cross_compiling" = yes &&
24528 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24529 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24530 { (exit 1); exit 1; }; }
24531 if test -r "${OPENH323DIR}/..
/pwlib
/version.h
"; then
24532 eval "$as_ac_File=yes"
24534 eval "$as_ac_File=no
"
24537 ac_res=`eval echo '${'$as_ac_File'}'`
24538 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24539 echo "${ECHO_T}$ac_res" >&6; }
24540 if test `eval echo '${'$as_ac_File'}'` = yes; then
24545 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24546 PWLIBDIR="${OPENH323DIR}/..
/pwlib
"
24548 as_ac_File=`echo "ac_cv_file_
${HOME}/pwlib
/include
/ptlib.h
" | $as_tr_sh`
24549 { echo "$as_me:$LINENO: checking
for ${HOME}/pwlib
/include
/ptlib.h
" >&5
24550 echo $ECHO_N "checking
for ${HOME}/pwlib
/include
/ptlib.h...
$ECHO_C" >&6; }
24551 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
24552 echo $ECHO_N "(cached
) $ECHO_C" >&6
24554 test "$cross_compiling" = yes &&
24555 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24556 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24557 { (exit 1); exit 1; }; }
24558 if test -r "${HOME}/pwlib
/include
/ptlib.h
"; then
24559 eval "$as_ac_File=yes"
24561 eval "$as_ac_File=no
"
24564 ac_res=`eval echo '${'$as_ac_File'}'`
24565 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24566 echo "${ECHO_T}$ac_res" >&6; }
24567 if test `eval echo '${'$as_ac_File'}'` = yes; then
24571 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24572 PWLIBDIR="${HOME}/pwlib
"
24574 { echo "$as_me:$LINENO: checking
for /usr
/local
/include
/ptlib.h
" >&5
24575 echo $ECHO_N "checking
for /usr
/local
/include
/ptlib.h...
$ECHO_C" >&6; }
24576 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
24577 echo $ECHO_N "(cached
) $ECHO_C" >&6
24579 test "$cross_compiling" = yes &&
24580 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24581 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24582 { (exit 1); exit 1; }; }
24583 if test -r "/usr
/local
/include
/ptlib.h
"; then
24584 ac_cv_file__usr_local_include_ptlib_h=yes
24586 ac_cv_file__usr_local_include_ptlib_h=no
24589 { echo "$as_me:$LINENO: result
: $ac_cv_file__usr_local_include_ptlib_h" >&5
24590 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6; }
24591 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
24595 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24596 # Extract the first word of "ptlib-config
", so it can be a program name with args.
24597 set dummy ptlib-config; ac_word=$2
24598 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
24599 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
24600 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
24601 echo $ECHO_N "(cached
) $ECHO_C" >&6
24603 case $PTLIB_CONFIG in
24605 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
24608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24609 for as_dir in /usr/local/bin
24612 test -z "$as_dir" && as_dir=.
24613 for ac_exec_ext in '' $ac_executable_extensions; do
24614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24615 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24616 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
24626 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
24627 if test -n "$PTLIB_CONFIG"; then
24628 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
24629 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
24631 { echo "$as_me:$LINENO: result
: no
" >&5
24632 echo "${ECHO_T}no
" >&6; }
24636 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
24637 # Extract the first word of "ptlib-config
", so it can be a program name with args.
24638 set dummy ptlib-config; ac_word=$2
24639 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
24640 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
24641 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
24642 echo $ECHO_N "(cached
) $ECHO_C" >&6
24644 case $PTLIB_CONFIG in
24646 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
24649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24650 for as_dir in /usr/local/share/pwlib/make
24653 test -z "$as_dir" && as_dir=.
24654 for ac_exec_ext in '' $ac_executable_extensions; do
24655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24656 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24657 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
24667 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
24668 if test -n "$PTLIB_CONFIG"; then
24669 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
24670 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
24672 { echo "$as_me:$LINENO: result
: no
" >&5
24673 echo "${ECHO_T}no
" >&6; }
24678 PWLIB_INCDIR="/usr
/local
/include
"
24679 PWLIB_LIBDIR=`${PTLIB_CONFIG} --pwlibdir`
24680 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
24681 if test "x
$LIB64" != "x
"; then
24682 PWLIB_LIBDIR="/usr
/local
/lib64
"
24684 PWLIB_LIBDIR="/usr
/local
/lib
"
24687 PWLIB_LIB=`${PTLIB_CONFIG} --ldflags --libs`
24688 PWLIB_LIB="-L${PWLIB_LIBDIR} `echo ${PWLIB_LIB}`"
24690 { echo "$as_me:$LINENO: checking
for /usr
/include
/ptlib.h
" >&5
24691 echo $ECHO_N "checking
for /usr
/include
/ptlib.h...
$ECHO_C" >&6; }
24692 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
24693 echo $ECHO_N "(cached
) $ECHO_C" >&6
24695 test "$cross_compiling" = yes &&
24696 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24697 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24698 { (exit 1); exit 1; }; }
24699 if test -r "/usr
/include
/ptlib.h
"; then
24700 ac_cv_file__usr_include_ptlib_h=yes
24702 ac_cv_file__usr_include_ptlib_h=no
24705 { echo "$as_me:$LINENO: result
: $ac_cv_file__usr_include_ptlib_h" >&5
24706 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6; }
24707 if test $ac_cv_file__usr_include_ptlib_h = yes; then
24711 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24712 # Extract the first word of "ptlib-config
", so it can be a program name with args.
24713 set dummy ptlib-config; ac_word=$2
24714 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
24715 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
24716 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
24717 echo $ECHO_N "(cached
) $ECHO_C" >&6
24719 case $PTLIB_CONFIG in
24721 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
24724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24725 for as_dir in /usr/share/pwlib/make
24728 test -z "$as_dir" && as_dir=.
24729 for ac_exec_ext in '' $ac_executable_extensions; do
24730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24731 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24732 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
24742 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
24743 if test -n "$PTLIB_CONFIG"; then
24744 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
24745 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
24747 { echo "$as_me:$LINENO: result
: no
" >&5
24748 echo "${ECHO_T}no
" >&6; }
24752 PWLIB_INCDIR="/usr
/include
"
24753 PWLIB_LIBDIR=`${PTLIB_CONFIG} --pwlibdir`
24754 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
24755 if test "x
$LIB64" != "x
"; then
24756 PWLIB_LIBDIR="/usr
/lib64
"
24758 PWLIB_LIBDIR="/usr
/lib
"
24761 PWLIB_LIB=`${PTLIB_CONFIG} --ldflags --libs`
24762 PWLIB_LIB="-L${PWLIB_LIBDIR} `echo ${PWLIB_LIB}`"
24769 #if test "${HAS_PWLIB:-unset}" = "unset" ; then
24770 # echo "Cannot
find pwlib
- please
install or
set PWLIBDIR and try again
"
24774 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24775 if test "${PWLIBDIR:-unset}" = "unset" ; then
24776 if test "${PTLIB_CONFIG:-unset}" != "unset" ; then
24777 PWLIBDIR=`$PTLIB_CONFIG --prefix`
24779 echo "Cannot
find ptlib-config
- please
install and try again
"
24784 if test "x
$PWLIBDIR" = "x
/usr
" -o "x
$PWLIBDIR" = "x
/usr
/"; then
24785 PWLIBDIR="/usr
/share
/pwlib
"
24786 PWLIB_INCDIR="/usr
/include
"
24787 if test "x
$LIB64" != "x
"; then
24788 PWLIB_LIBDIR="/usr
/lib64
"
24790 PWLIB_LIBDIR="/usr
/lib
"
24793 if test "x
$PWLIBDIR" = "x
/usr
/local" -o "x
$PWLIBDIR" = "x
/usr
/"; then
24794 PWLIBDIR="/usr
/local
/share
/pwlib
"
24795 PWLIB_INCDIR="/usr
/local
/include
"
24796 if test "x
$LIB64" != "x
"; then
24797 PWLIB_LIBDIR="/usr
/local
/lib64
"
24799 PWLIB_LIBDIR="/usr
/local
/lib
"
24803 if test "${PWLIB_INCDIR:-unset}" = "unset"; then
24804 PWLIB_INCDIR="${PWLIBDIR}/include
"
24806 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
24807 PWLIB_LIBDIR="${PWLIBDIR}/lib
"
24816 if test "${HAS_PWLIB:-unset}" != "unset"; then
24817 PWLIB_VERSION=`grep "PWLIB_VERSION
" ${PWLIB_INCDIR}/ptbuildopts.h | cut -f2 -d ' ' | sed -e 's/"//g
'`
24818 PWLIB_MAJOR_VERSION=`echo ${PWLIB_VERSION} | cut -f1 -d.`
24819 PWLIB_MINOR_VERSION=`echo ${PWLIB_VERSION} | cut -f2 -d.`
24820 PWLIB_BUILD_NUMBER=`echo ${PWLIB_VERSION} | cut -f3 -d.`
24821 let PWLIB_VER=${PWLIB_MAJOR_VERSION}*10000+${PWLIB_MINOR_VERSION}*100+${PWLIB_BUILD_NUMBER}
24822 let PWLIB_REQ=1*10000+9*100+2
24824 { echo "$as_me:$LINENO: checking if PWLib version ${PWLIB_VERSION} is compatible with chan_h323" >&5
24825 echo $ECHO_N "checking if PWLib version ${PWLIB_VERSION} is compatible with chan_h323... $ECHO_C" >&6; }
24826 if test ${PWLIB_VER} -lt ${PWLIB_REQ}; then
24827 { echo "$as_me:$LINENO: result: no" >&5
24828 echo "${ECHO_T}no" >&6; }
24831 { echo "$as_me:$LINENO: result: yes" >&5
24832 echo "${ECHO_T}yes" >&6; }
24837 if test "${HAS_PWLIB:-unset}" != "unset"; then
24841 linux*) PWLIB_OSTYPE=linux ;
24843 freebsd* ) PWLIB_OSTYPE=FreeBSD ;
24845 openbsd* ) PWLIB_OSTYPE=OpenBSD ;
24846 ENDLDLIBS="-lossaudio" ;
24848 netbsd* ) PWLIB_OSTYPE=NetBSD ;
24849 ENDLDLIBS="-lossaudio" ;
24851 solaris* | sunos* ) PWLIB_OSTYPE=solaris ;
24853 darwin* ) PWLIB_OSTYPE=Darwin ;
24855 beos*) PWLIB_OSTYPE=beos ;
24856 STDCCFLAGS="$STDCCFLAGS -D__BEOS__"
24858 cygwin*) PWLIB_OSTYPE=cygwin ;
24860 mingw*) PWLIB_OSTYPE=mingw ;
24861 STDCCFLAGS="$STDCCFLAGS -mms-bitfields" ;
24862 ENDLDLIBS="-lwinmm -lwsock32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32" ;
24864 * ) PWLIB_OSTYPE="$host_os" ;
24865 { echo "$as_me:$LINENO: WARNING: \"OS $PWLIB_OSTYPE not recognized - proceed with caution!\"" >&5
24866 echo "$as_me: WARNING: \"OS $PWLIB_OSTYPE not recognized - proceed with caution!\"" >&2;} ;
24871 case "$host_cpu" in
24872 x86 | i686 | i586 | i486 | i386 ) PWLIB_MACHTYPE=x86
24875 x86_64) PWLIB_MACHTYPE=x86_64 ;
24880 alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7) PWLIB_MACHTYPE=alpha ;
24884 sparc ) PWLIB_MACHTYPE=sparc ;
24887 powerpc ) PWLIB_MACHTYPE=ppc ;
24890 ppc ) PWLIB_MACHTYPE=ppc ;
24893 powerpc64 ) PWLIB_MACHTYPE=ppc64 ;
24898 ppc64 ) PWLIB_MACHTYPE=ppc64 ;
24903 ia64) PWLIB_MACHTYPE=ia64 ;
24907 s390x) PWLIB_MACHTYPE=s390x ;
24912 s390) PWLIB_MACHTYPE=s390 ;
24915 * ) PWLIB_MACHTYPE="$host_cpu";
24916 { echo "$as_me:$LINENO: WARNING: \"CPU $PWLIB_MACHTYPE not recognized - proceed with caution!\"" >&5
24917 echo "$as_me: WARNING: \"CPU $PWLIB_MACHTYPE not recognized - proceed with caution!\"" >&2;} ;;
24920 PWLIB_PLATFORM="${PWLIB_OSTYPE}_${PWLIB_MACHTYPE}"
24925 PLATFORM_PWLIB="pt_${PWLIB_PLATFORM}_r"
24928 if test "${HAS_PWLIB:-unset}" != "unset"; then
24929 { echo "$as_me:$LINENO: checking PWLib installation validity" >&5
24930 echo $ECHO_N "checking PWLib installation validity... $ECHO_C" >&6; }
24932 saved_cppflags="${CPPFLAGS}"
24933 saved_libs="${LIBS}"
24934 if test "${PWLIB_LIB:-unset}" != "unset"; then
24935 LIBS="${LIBS} ${PWLIB_LIB} "
24937 LIBS="${LIBS} -L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB} "
24939 CPPFLAGS="${CPPFLAGS} -I${PWLIB_INCDIR} "
24942 ac_cpp='$CXXCPP $CPPFLAGS'
24943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24944 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24948 cat >conftest.$ac_ext <<_ACEOF
24951 cat confdefs.h >>conftest.$ac_ext
24952 cat >>conftest.$ac_ext <<_ACEOF
24953 /* end confdefs.h. */
24958 BOOL q = PTime::IsDaylightSavings();
24963 rm -f conftest.$ac_objext conftest$ac_exeext
24964 if { (ac_try="$ac_link"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_link") 2>conftest.er1
24972 grep -v '^
*+' conftest.er1 >conftest.err
24974 cat conftest.err >&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_cxx_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest$ac_exeext &&
24980 $as_test_x conftest$ac_exeext; then
24981 { echo "$as_me:$LINENO: result: yes" >&5
24982 echo "${ECHO_T}yes" >&6; }
24983 ac_cv_lib_PWLIB="yes"
24986 echo "$as_me: failed program was:" >&5
24987 sed 's
/^
/|
/' conftest.$ac_ext >&5
24989 { echo "$as_me:$LINENO: result: no" >&5
24990 echo "${ECHO_T}no" >&6; }
24991 ac_cv_lib_PWLIB="no"
24996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24997 conftest$ac_exeext conftest.$ac_ext
25000 ac_cpp='$CPP $CPPFLAGS'
25001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25002 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25006 LIBS="${saved_libs}"
25007 CPPFLAGS="${saved_cppflags}"
25009 if test "${ac_cv_lib_PWLIB}" = "yes"; then
25010 if test "${PWLIB_LIB:-undef}" = "undef"; then
25011 if test "${PWLIB_LIBDIR}" != "" -a "${PWLIB_LIBDIR}" != "/usr/lib"; then
25012 PWLIB_LIB="-L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB}"
25014 PWLIB_LIB="-l${PLATFORM_PWLIB}"
25017 if test "${PWLIB_INCDIR}" != "" -a "${PWLIB_INCDIR}" != "/usr/include"; then
25018 PWLIB_INCLUDE="-I${PWLIB_INCDIR}"
25022 cat >>confdefs.h <<\_ACEOF
25023 #define HAVE_PWLIB 1
25032 if test "${USE_PWLIB}" != "no" -a "x${ac_cv_lib_PWLIB}" != "xyes" -a -n "${PWLIB_MANDATORY}"; then
25033 { echo "$as_me:$LINENO: ***" >&5
25034 echo "$as_me: ***" >&6;}
25035 { echo "$as_me:$LINENO: *** The PWLIB installation on this system appears to be broken." >&5
25036 echo "$as_me: *** The PWLIB installation on this system appears to be broken." >&6;}
25037 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
25038 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
25039 { echo "$as_me:$LINENO: *** including --without-pwlib" >&5
25040 echo "$as_me: *** including --without-pwlib" >&6;}
25044 if test "${PBX_PWLIB}" = "1" -a "${USE_OPENH323}" != "no" ; then
25045 if test -n "${OPENH323_DIR}"; then
25046 OPENH323DIR="${OPENH323_DIR}"
25051 if test "${OPENH323DIR:-unset}" != "unset" ; then
25052 as_ac_File=`echo "ac_cv_file_${OPENH323DIR}/version.h" | $as_tr_sh`
25053 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/version.h" >&5
25054 echo $ECHO_N "checking for ${OPENH323DIR}/version.h... $ECHO_C" >&6; }
25055 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
25056 echo $ECHO_N "(cached) $ECHO_C" >&6
25058 test "$cross_compiling" = yes &&
25059 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25060 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25061 { (exit 1); exit 1; }; }
25062 if test -r "${OPENH323DIR}/version.h"; then
25063 eval "$as_ac_File=yes"
25065 eval "$as_ac_File=no"
25068 ac_res=`eval echo '${'$as_ac_File'}'`
25069 { echo "$as_me:$LINENO: result: $ac_res" >&5
25070 echo "${ECHO_T}$ac_res" >&6; }
25071 if test `eval echo '${'$as_ac_File'}'` = yes; then
25076 if test "${HAS_OPENH323:-unset}" = "unset" ; then
25077 as_ac_File=`echo "ac_cv_file_${PWLIBDIR}/../openh323/version.h" | $as_tr_sh`
25078 { echo "$as_me:$LINENO: checking for ${PWLIBDIR}/../openh323/version.h" >&5
25079 echo $ECHO_N "checking for ${PWLIBDIR}/../openh323/version.h... $ECHO_C" >&6; }
25080 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
25081 echo $ECHO_N "(cached) $ECHO_C" >&6
25083 test "$cross_compiling" = yes &&
25084 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25085 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25086 { (exit 1); exit 1; }; }
25087 if test -r "${PWLIBDIR}/../openh323/version.h"; then
25088 eval "$as_ac_File=yes"
25090 eval "$as_ac_File=no"
25093 ac_res=`eval echo '${'$as_ac_File'}'`
25094 { echo "$as_me:$LINENO: result: $ac_res" >&5
25095 echo "${ECHO_T}$ac_res" >&6; }
25096 if test `eval echo '${'$as_ac_File'}'` = yes; then
25097 OPENH323DIR="${PWLIBDIR}/../openh323"; HAS_OPENH323=1
25100 if test "${HAS_OPENH323:-unset}" != "unset" ; then
25101 OPENH323DIR="${PWLIBDIR}/../openh323"
25102 as_ac_File=`echo "ac_cv_file_${OPENH323DIR}/include/h323.h" | $as_tr_sh`
25103 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/include/h323.h" >&5
25104 echo $ECHO_N "checking for ${OPENH323DIR}/include/h323.h... $ECHO_C" >&6; }
25105 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
25106 echo $ECHO_N "(cached) $ECHO_C" >&6
25108 test "$cross_compiling" = yes &&
25109 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25110 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25111 { (exit 1); exit 1; }; }
25112 if test -r "${OPENH323DIR}/include/h323.h"; then
25113 eval "$as_ac_File=yes"
25115 eval "$as_ac_File=no"
25118 ac_res=`eval echo '${'$as_ac_File'}'`
25119 { echo "$as_me:$LINENO: result: $ac_res" >&5
25120 echo "${ECHO_T}$ac_res" >&6; }
25121 if test `eval echo '${'$as_ac_File'}'` = yes; then
25124 OPENH323_INCDIR="${PWLIB_INCDIR}/openh323"; OPENH323_LIBDIR="${PWLIB_LIBDIR}"
25128 as_ac_File=`echo "ac_cv_file_${HOME}/openh323/include/h323.h" | $as_tr_sh`
25129 { echo "$as_me:$LINENO: checking for ${HOME}/openh323/include/h323.h" >&5
25130 echo $ECHO_N "checking for ${HOME}/openh323/include/h323.h... $ECHO_C" >&6; }
25131 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
25132 echo $ECHO_N "(cached) $ECHO_C" >&6
25134 test "$cross_compiling" = yes &&
25135 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25136 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25137 { (exit 1); exit 1; }; }
25138 if test -r "${HOME}/openh323/include/h323.h"; then
25139 eval "$as_ac_File=yes"
25141 eval "$as_ac_File=no"
25144 ac_res=`eval echo '${'$as_ac_File'}'`
25145 { echo "$as_me:$LINENO: result: $ac_res" >&5
25146 echo "${ECHO_T}$ac_res" >&6; }
25147 if test `eval echo '${'$as_ac_File'}'` = yes; then
25151 if test "${HAS_OPENH323:-unset}" != "unset" ; then
25152 OPENH323DIR="${HOME}/openh323"
25154 { echo "$as_me:$LINENO: checking for /usr/local/include/openh323/h323.h" >&5
25155 echo $ECHO_N "checking for /usr/local/include/openh323/h323.h... $ECHO_C" >&6; }
25156 if test "${ac_cv_file__usr_local_include_openh323_h323_h+set}" = set; then
25157 echo $ECHO_N "(cached) $ECHO_C" >&6
25159 test "$cross_compiling" = yes &&
25160 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25161 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25162 { (exit 1); exit 1; }; }
25163 if test -r "/usr/local/include/openh323/h323.h"; then
25164 ac_cv_file__usr_local_include_openh323_h323_h=yes
25166 ac_cv_file__usr_local_include_openh323_h323_h=no
25169 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_openh323_h323_h" >&5
25170 echo "${ECHO_T}$ac_cv_file__usr_local_include_openh323_h323_h" >&6; }
25171 if test $ac_cv_file__usr_local_include_openh323_h323_h = yes; then
25175 if test "${HAS_OPENH323:-unset}" != "unset" ; then
25176 OPENH323DIR="/usr/local/share/openh323"
25177 OPENH323_INCDIR="/usr/local/include/openh323"
25178 if test "x$LIB64" != "x"; then
25179 OPENH323_LIBDIR="/usr/local/lib64"
25181 OPENH323_LIBDIR="/usr/local/lib"
25184 { echo "$as_me:$LINENO: checking for /usr/include/openh323/h323.h" >&5
25185 echo $ECHO_N "checking for /usr/include/openh323/h323.h... $ECHO_C" >&6; }
25186 if test "${ac_cv_file__usr_include_openh323_h323_h+set}" = set; then
25187 echo $ECHO_N "(cached) $ECHO_C" >&6
25189 test "$cross_compiling" = yes &&
25190 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25191 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25192 { (exit 1); exit 1; }; }
25193 if test -r "/usr/include/openh323/h323.h"; then
25194 ac_cv_file__usr_include_openh323_h323_h=yes
25196 ac_cv_file__usr_include_openh323_h323_h=no
25199 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_openh323_h323_h" >&5
25200 echo "${ECHO_T}$ac_cv_file__usr_include_openh323_h323_h" >&6; }
25201 if test $ac_cv_file__usr_include_openh323_h323_h = yes; then
25205 if test "${HAS_OPENH323:-unset}" != "unset" ; then
25206 OPENH323DIR="/usr/share/openh323"
25207 OPENH323_INCDIR="/usr/include/openh323"
25208 if test "x$LIB64" != "x"; then
25209 OPENH323_LIBDIR="/usr/lib64"
25211 OPENH323_LIBDIR="/usr/lib"
25219 if test "${HAS_OPENH323:-unset}" != "unset" ; then
25220 if test "${OPENH323_INCDIR:-unset}" = "unset"; then
25221 OPENH323_INCDIR="${OPENH323DIR}/include"
25223 if test "${OPENH323_LIBDIR:-unset}" = "unset"; then
25224 OPENH323_LIBDIR="${OPENH323DIR}/lib"
25227 OPENH323_LIBDIR="`cd ${OPENH323_LIBDIR}; pwd`"
25228 OPENH323_INCDIR="`cd ${OPENH323_INCDIR}; pwd`"
25229 OPENH323DIR="`cd ${OPENH323DIR}; pwd`"
25237 if test "${HAS_OPENH323:-unset}" != "unset"; then
25238 OPENH323_VERSION=`grep "OPENH323_VERSION" ${OPENH323_INCDIR}/openh323buildopts.h | cut -f2 -d ' ' | sed -e 's
/"//g'`
25239 OPENH323_MAJOR_VERSION=`echo ${OPENH323_VERSION} | cut -f1 -d.`
25240 OPENH323_MINOR_VERSION=`echo ${OPENH323_VERSION} | cut -f2 -d.`
25241 OPENH323_BUILD_NUMBER=`echo ${OPENH323_VERSION} | cut -f3 -d.`
25242 let OPENH323_VER=${OPENH323_MAJOR_VERSION}*10000+${OPENH323_MINOR_VERSION}*100+${OPENH323_BUILD_NUMBER}
25243 let OPENH323_REQ=1*10000+17*100+3
25245 { echo "$as_me:$LINENO: checking
if OpenH323 version
${OPENH323_VERSION} is compatible with chan_h323
" >&5
25246 echo $ECHO_N "checking
if OpenH323 version
${OPENH323_VERSION} is compatible with chan_h323...
$ECHO_C" >&6; }
25247 if test ${OPENH323_VER} -lt ${OPENH323_REQ}; then
25248 { echo "$as_me:$LINENO: result
: no
" >&5
25249 echo "${ECHO_T}no
" >&6; }
25252 { echo "$as_me:$LINENO: result
: yes" >&5
25253 echo "${ECHO_T}yes" >&6; }
25258 if test "${HAS_OPENH323:-unset}" != "unset"; then
25259 { echo "$as_me:$LINENO: checking OpenH323 build option
" >&5
25260 echo $ECHO_N "checking OpenH323 build option...
$ECHO_C" >&6; }
25262 prefixes="h323_
${PWLIB_PLATFORM}_ h323_ openh323
"
25263 for pfx in $prefixes; do
25264 files=`ls -l ${OPENH323_LIBDIR}/lib${pfx}*.so* 2>/dev/null`
25266 if test -n "$files"; then
25267 for f in $files; do
25268 if test -f $f -a ! -L $f; then
25269 libfile=`basename $f`
25274 if test -n "$libfile"; then
25275 OPENH323_PREFIX=$pfx
25279 if test "${libfile:-unset}" != "unset"; then
25280 OPENH323_SUFFIX=`eval "echo ${libfile} |
sed -e 's/lib${OPENH323_PREFIX}\([^.]*\)\..*/\1/'"`
25282 case "${OPENH323_SUFFIX}" in
25284 OPENH323_BUILD="notrace
";;
25286 OPENH323_BUILD="opt
";;
25288 OPENH323_BUILD="debug
";;
25290 if test "${OPENH323_PREFIX:-undef}" = "openh323
"; then
25291 notrace=`eval "grep NOTRACE
${OPENH323DIR}/openh323u.mak |
grep = |
sed -e 's/[A-Z0-9_]*[ ]*=[ ]*//'"`
25292 if test "x
$notrace" = "x
"; then
25295 if test "$notrace" -ne 0; then
25296 OPENH323_BUILD="notrace
"
25298 OPENH323_BUILD="opt
"
25300 OPENH323_LIB="-l${OPENH323_PREFIX}"
25302 OPENH323_BUILD="notrace
"
25306 { echo "$as_me:$LINENO: result
: ${OPENH323_BUILD}" >&5
25307 echo "${ECHO_T}${OPENH323_BUILD}" >&6; }
25313 PLATFORM_OPENH323
="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
25315 if test "${HAS_OPENH323:-unset}" != "unset"; then
25316 { echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5
25317 echo $ECHO_N "checking OpenH323 installation validity... $ECHO_C" >&6; }
25319 saved_cppflags
="${CPPFLAGS}"
25320 saved_libs
="${LIBS}"
25321 if test "${OPENH323_LIB:-unset}" != "unset"; then
25322 LIBS
="${LIBS} ${OPENH323_LIB} ${PWLIB_LIB}"
25324 LIBS
="${LIBS} -L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323} ${PWLIB_LIB}"
25326 CPPFLAGS
="${CPPFLAGS} -I${OPENH323_INCDIR} ${PWLIB_INCLUDE}"
25329 ac_cpp
='$CXXCPP $CPPFLAGS'
25330 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25331 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25332 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25335 cat >conftest.
$ac_ext <<_ACEOF
25338 cat confdefs.h
>>conftest.
$ac_ext
25339 cat >>conftest.
$ac_ext <<_ACEOF
25340 /* end confdefs.h. */
25343 #include "h323ep.h"
25347 H323EndPoint ep = H323EndPoint();
25352 rm -f conftest.
$ac_objext conftest
$ac_exeext
25353 if { (ac_try
="$ac_link"
25354 case "(($ac_try" in
25355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25356 *) ac_try_echo=$ac_try;;
25358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25359 (eval "$ac_link") 2>conftest.er1
25361 grep -v '^ *+' conftest.er1 >conftest.err
25363 cat conftest.err >&5
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); } && {
25366 test -z "$ac_cxx_werror_flag" ||
25367 test ! -s conftest.err
25368 } && test -s conftest$ac_exeext &&
25369 $as_test_x conftest$ac_exeext; then
25370 { echo "$as_me:$LINENO: result: yes" >&5
25371 echo "${ECHO_T}yes" >&6; }
25372 ac_cv_lib_OPENH323="yes"
25375 echo "$as_me: failed program was:" >&5
25376 sed 's/^/| /' conftest.$ac_ext >&5
25378 { echo "$as_me:$LINENO: result: no" >&5
25379 echo "${ECHO_T}no" >&6; }
25380 ac_cv_lib_OPENH323="no"
25385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25386 conftest$ac_exeext conftest.$ac_ext
25389 ac_cpp='$CPP $CPPFLAGS'
25390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25395 LIBS="${saved_libs}"
25396 CPPFLAGS="${saved_cppflags}"
25398 if test "${ac_cv_lib_OPENH323}" = "yes"; then
25399 if test "${OPENH323_LIB:-undef}" = "undef"; then
25400 if test "${OPENH323_LIBDIR}" != "" -a "${OPENH323_LIBDIR}" != "/usr/lib"; then
25401 OPENH323_LIB="-L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323}"
25403 OPENH323_LIB="-l${PLATFORM_OPENH323}"
25406 if test "${OPENH323_INCDIR}" != "" -a "${OPENH323_INCDIR}" != "/usr/include"; then
25407 OPENH323_INCLUDE="-I${OPENH323_INCDIR}"
25411 cat >>confdefs.h <<\_ACEOF
25412 #define HAVE_OPENH323 1
25419 if test "${USE_OPENH323}" != "no" -a "x${ac_cv_lib_OPENH323}" != "xyes" -a -n "${OPENH323_MANDATORY}"; then
25420 { echo "$as_me:$LINENO: ***" >&5
25421 echo "$as_me: ***" >&6;}
25422 { echo "$as_me:$LINENO: *** The OPENH323 installation on this system appears to be broken." >&5
25423 echo "$as_me: *** The OPENH323 installation on this system appears to be broken." >&6;}
25424 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
25425 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
25426 { echo "$as_me:$LINENO: *** including --without-h323" >&5
25427 echo "$as_me: *** including --without-h323" >&6;}
25433 ac_cpp='$CXXCPP $CPPFLAGS'
25434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25439 if test "${USE_QT}" != "no"; then
25440 { echo "$as_me:$LINENO: checking for QDate in -lqt" >&5
25441 echo $ECHO_N "checking for QDate in -lqt... $ECHO_C" >&6; }
25442 saved_libs="${LIBS}"
25443 saved_cppflags="${CPPFLAGS}"
25444 if test "x${QT_DIR}" != "x"; then
25445 LIBS="${LIBS} -L${QT_DIR}/lib"
25446 CPPFLAGS="${CPPFLAGS} -I${QT_DIR}/include"
25448 LIBS="${LIBS} -lqt"
25450 cat >conftest.$ac_ext <<_ACEOF
25454 cat confdefs.h >>conftest.$ac_ext
25455 cat >>conftest.$ac_ext <<_ACEOF
25456 /* end confdefs.h. */
25457 #include <qt3/qdatetime.h>
25467 rm -f conftest.$ac_objext conftest$ac_exeext
25468 if { (ac_try="$ac_link"
25469 case "(($ac_try" in
25470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25471 *) ac_try_echo
=$ac_try;;
25473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25474 (eval "$ac_link") 2>conftest.er1
25476 grep -v '^ *+' conftest.er1
>conftest.err
25478 cat conftest.err
>&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } && {
25481 test -z "$ac_cxx_werror_flag" ||
25482 test ! -s conftest.err
25483 } && test -s conftest
$ac_exeext &&
25484 $as_test_x conftest
$ac_exeext; then
25485 ac_cv_lib_qt_qt_date
="yes"
25487 echo "$as_me: failed program was:" >&5
25488 sed 's/^/| /' conftest.
$ac_ext >&5
25490 ac_cv_lib_qt_qt_date
="no"
25493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25494 conftest
$ac_exeext conftest.
$ac_ext
25495 LIBS
="${saved_libs}"
25496 CPPFLAGS
="${saved_cppflags}"
25498 if test "${ac_cv_lib_qt_qt_date}" = "no"; then
25499 saved_libs
="${LIBS}"
25500 saved_cppflags
="${CPPFLAGS}"
25501 if test "x${QT_DIR}" != "x"; then
25502 LIBS
="${LIBS} -L${QT_DIR}/lib"
25503 CPPFLAGS
="${CPPFLAGS} -I${QT_DIR}/include"
25505 LIBS
="${LIBS} -lqt-mt"
25507 cat >conftest.
$ac_ext <<_ACEOF
25511 cat confdefs.h
>>conftest.
$ac_ext
25512 cat >>conftest.
$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25514 #include <qt3/qdatetime.h>
25524 rm -f conftest.
$ac_objext conftest
$ac_exeext
25525 if { (ac_try
="$ac_link"
25526 case "(($ac_try" in
25527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25528 *) ac_try_echo=$ac_try;;
25530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25531 (eval "$ac_link") 2>conftest.er1
25533 grep -v '^ *+' conftest.er1 >conftest.err
25535 cat conftest.err >&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); } && {
25538 test -z "$ac_cxx_werror_flag" ||
25539 test ! -s conftest.err
25540 } && test -s conftest$ac_exeext &&
25541 $as_test_x conftest$ac_exeext; then
25542 ac_cv_lib_qt_qt_date="yes"
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.$ac_ext >&5
25547 ac_cv_lib_qt_qt_date="no"
25550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25551 conftest$ac_exeext conftest.$ac_ext
25552 LIBS="${saved_libs}"
25553 CPPFLAGS="${saved_cppflags}"
25556 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
25557 { echo "$as_me:$LINENO: result: yes" >&5
25558 echo "${ECHO_T}yes" >&6; }
25560 { echo "$as_me:$LINENO: result: no" >&5
25561 echo "${ECHO_T}no" >&6; }
25564 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
25565 QT_LIB="-l${qtlib}"
25566 if test "${QT_DIR}" != ""; then
25567 QT_LIB="-L${QT_DIR}/lib ${QT_LIB}"
25568 QT_INCLUDE="-I${QT_DIR}/include"
25572 cat >>confdefs.h <<\_ACEOF
25576 if test -n "$ac_tool_prefix"; then
25577 # Extract the first word of "${ac_tool_prefix}moc", so it can be a program name with args.
25578 set dummy ${ac_tool_prefix}moc; ac_word=$2
25579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25581 if test "${ac_cv_path_QTMOC+set}" = set; then
25582 echo $ECHO_N "(cached) $ECHO_C" >&6
25586 ac_cv_path_QTMOC="$QTMOC" # Let the user override the test with a path.
25589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25590 for as_dir in $PATH
25593 test -z "$as_dir" && as_dir=.
25594 for ac_exec_ext in '' $ac_executable_extensions; do
25595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25596 ac_cv_path_QTMOC="$as_dir/$ac_word$ac_exec_ext"
25597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25607 QTMOC=$ac_cv_path_QTMOC
25608 if test -n "$QTMOC"; then
25609 { echo "$as_me:$LINENO: result: $QTMOC" >&5
25610 echo "${ECHO_T}$QTMOC" >&6; }
25612 { echo "$as_me:$LINENO: result: no" >&5
25613 echo "${ECHO_T}no" >&6; }
25618 if test -z "$ac_cv_path_QTMOC"; then
25620 # Extract the first word of "moc", so it can be a program name with args.
25621 set dummy moc; ac_word=$2
25622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25624 if test "${ac_cv_path_ac_pt_QTMOC+set}" = set; then
25625 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 case $ac_pt_QTMOC in
25629 ac_cv_path_ac_pt_QTMOC="$ac_pt_QTMOC" # Let the user override the test with a path.
25632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25633 for as_dir in $PATH
25636 test -z "$as_dir" && as_dir=.
25637 for ac_exec_ext in '' $ac_executable_extensions; do
25638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25639 ac_cv_path_ac_pt_QTMOC="$as_dir/$ac_word$ac_exec_ext"
25640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25650 ac_pt_QTMOC=$ac_cv_path_ac_pt_QTMOC
25651 if test -n "$ac_pt_QTMOC"; then
25652 { echo "$as_me:$LINENO: result: $ac_pt_QTMOC" >&5
25653 echo "${ECHO_T}$ac_pt_QTMOC" >&6; }
25655 { echo "$as_me:$LINENO: result: no" >&5
25656 echo "${ECHO_T}no" >&6; }
25659 if test "x$ac_pt_QTMOC" = x; then
25662 case $cross_compiling:$ac_tool_warned in
25664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25665 whose name does not start with the host triplet. If you think this
25666 configuration is useful to you, please write to autoconf@gnu.org." >&5
25667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25668 whose name does not start with the host triplet. If you think this
25669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25670 ac_tool_warned=yes ;;
25675 QTMOC="$ac_cv_path_QTMOC"
25678 elif test -n "${QT_MANDATORY}";
25680 { echo "$as_me:$LINENO: ***" >&5
25681 echo "$as_me: ***" >&6;}
25682 { echo "$as_me:$LINENO: *** The Qt installation on this system appears to be broken." >&5
25683 echo "$as_me: *** The Qt installation on this system appears to be broken." >&6;}
25684 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
25685 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
25686 { echo "$as_me:$LINENO: *** including --without-qt." >&5
25687 echo "$as_me: *** including --without-qt." >&6;}
25693 ac_cpp='$CPP $CPPFLAGS'
25694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25700 if test "${USE_RADIUS}" != "no"; then
25702 if test "x${RADIUS_DIR}" != "x"; then
25703 if test -d ${RADIUS_DIR}/lib; then
25704 pbxlibdir="-L${RADIUS_DIR}/lib"
25706 pbxlibdir="-L${RADIUS_DIR}"
25709 { echo "$as_me:$LINENO: checking for rc_read_config in -lradiusclient-ng" >&5
25710 echo $ECHO_N "checking for rc_read_config in -lradiusclient-ng... $ECHO_C" >&6; }
25711 if test "${ac_cv_lib_radiusclient_ng_rc_read_config+set}" = set; then
25712 echo $ECHO_N "(cached) $ECHO_C" >&6
25714 ac_check_lib_save_LIBS=$LIBS
25715 LIBS="-lradiusclient-ng ${pbxlibdir} $LIBS"
25716 cat >conftest.$ac_ext <<_ACEOF
25719 cat confdefs.h >>conftest.$ac_ext
25720 cat >>conftest.$ac_ext <<_ACEOF
25721 /* end confdefs.h. */
25723 /* Override any GCC internal prototype to avoid an error.
25724 Use char because int might match the return type of a GCC
25725 builtin and then its argument prototype would still apply. */
25729 char rc_read_config ();
25733 return rc_read_config ();
25738 rm -f conftest.$ac_objext conftest$ac_exeext
25739 if { (ac_try="$ac_link"
25740 case "(($ac_try" in
25741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25742 *) ac_try_echo
=$ac_try;;
25744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25745 (eval "$ac_link") 2>conftest.er1
25747 grep -v '^ *+' conftest.er1
>conftest.err
25749 cat conftest.err
>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } && {
25752 test -z "$ac_c_werror_flag" ||
25753 test ! -s conftest.err
25754 } && test -s conftest
$ac_exeext &&
25755 $as_test_x conftest
$ac_exeext; then
25756 ac_cv_lib_radiusclient_ng_rc_read_config
=yes
25758 echo "$as_me: failed program was:" >&5
25759 sed 's/^/| /' conftest.
$ac_ext >&5
25761 ac_cv_lib_radiusclient_ng_rc_read_config
=no
25764 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25765 conftest
$ac_exeext conftest.
$ac_ext
25766 LIBS
=$ac_check_lib_save_LIBS
25768 { echo "$as_me:$LINENO: result: $ac_cv_lib_radiusclient_ng_rc_read_config" >&5
25769 echo "${ECHO_T}$ac_cv_lib_radiusclient_ng_rc_read_config" >&6; }
25770 if test $ac_cv_lib_radiusclient_ng_rc_read_config = yes; then
25771 AST_RADIUS_FOUND
=yes
25773 AST_RADIUS_FOUND
=no
25777 if test "${AST_RADIUS_FOUND}" = "yes"; then
25778 RADIUS_LIB
="-lradiusclient-ng "
25779 RADIUS_HEADER_FOUND
="1"
25780 if test "x${RADIUS_DIR}" != "x"; then
25781 RADIUS_LIB
="${pbxlibdir} ${RADIUS_LIB}"
25782 RADIUS_INCLUDE
="-I${RADIUS_DIR}/include"
25783 saved_cppflags
="${CPPFLAGS}"
25784 CPPFLAGS
="${CPPFLAGS} -I${RADIUS_DIR}/include"
25785 if test "xradiusclient-ng.h" != "x" ; then
25786 as_ac_Header
=`echo "ac_cv_header_${RADIUS_DIR}/include/radiusclient-ng.h" | $as_tr_sh`
25787 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25788 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
25789 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
25790 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25791 echo $ECHO_N "(cached) $ECHO_C" >&6
25793 ac_res
=`eval echo '${'$as_ac_Header'}'`
25794 { echo "$as_me:$LINENO: result: $ac_res" >&5
25795 echo "${ECHO_T}$ac_res" >&6; }
25797 # Is the header compilable?
25798 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h usability" >&5
25799 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h usability... $ECHO_C" >&6; }
25800 cat >conftest.
$ac_ext <<_ACEOF
25803 cat confdefs.h
>>conftest.
$ac_ext
25804 cat >>conftest.
$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25806 $ac_includes_default
25807 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
25809 rm -f conftest.
$ac_objext
25810 if { (ac_try
="$ac_compile"
25811 case "(($ac_try" in
25812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25813 *) ac_try_echo=$ac_try;;
25815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25816 (eval "$ac_compile") 2>conftest.er1
25818 grep -v '^ *+' conftest.er1 >conftest.err
25820 cat conftest.err >&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); } && {
25823 test -z "$ac_c_werror_flag" ||
25824 test ! -s conftest.err
25825 } && test -s conftest.$ac_objext; then
25826 ac_header_compiler=yes
25828 echo "$as_me: failed program was:" >&5
25829 sed 's/^/| /' conftest.$ac_ext >&5
25831 ac_header_compiler=no
25834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25835 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25836 echo "${ECHO_T}$ac_header_compiler" >&6; }
25838 # Is the header present?
25839 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h presence" >&5
25840 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h presence... $ECHO_C" >&6; }
25841 cat >conftest.$ac_ext <<_ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25847 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
25849 if { (ac_try="$ac_cpp conftest.$ac_ext"
25850 case "(($ac_try" in
25851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25852 *) ac_try_echo
=$ac_try;;
25854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25857 grep -v '^ *+' conftest.er1
>conftest.err
25859 cat conftest.err
>&5
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); } >/dev
/null
&& {
25862 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25863 test ! -s conftest.err
25865 ac_header_preproc
=yes
25867 echo "$as_me: failed program was:" >&5
25868 sed 's/^/| /' conftest.
$ac_ext >&5
25870 ac_header_preproc
=no
25873 rm -f conftest.err conftest.
$ac_ext
25874 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25875 echo "${ECHO_T}$ac_header_preproc" >&6; }
25877 # So? What about this header?
25878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25880 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
25881 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25882 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the compiler's result" >&5
25883 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the compiler's result" >&2;}
25884 ac_header_preproc
=yes
25887 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&5
25888 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&2;}
25889 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&5
25890 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
25891 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&5
25892 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&2;}
25893 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
25894 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
25895 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the preprocessor's result" >&5
25896 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the preprocessor's result" >&2;}
25897 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&5
25898 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
25902 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
25903 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
25904 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25905 echo $ECHO_N "(cached) $ECHO_C" >&6
25907 eval "$as_ac_Header=\$ac_header_preproc"
25909 ac_res
=`eval echo '${'$as_ac_Header'}'`
25910 { echo "$as_me:$LINENO: result: $ac_res" >&5
25911 echo "${ECHO_T}$ac_res" >&6; }
25914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25915 RADIUS_HEADER_FOUND
=1
25917 RADIUS_HEADER_FOUND
=0
25922 CPPFLAGS
="${saved_cppflags}"
25924 if test "xradiusclient-ng.h" != "x" ; then
25925 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
25926 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
25927 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
25928 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
25929 echo $ECHO_N "(cached) $ECHO_C" >&6
25931 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
25932 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
25934 # Is the header compilable?
25935 { echo "$as_me:$LINENO: checking radiusclient-ng.h usability" >&5
25936 echo $ECHO_N "checking radiusclient-ng.h usability... $ECHO_C" >&6; }
25937 cat >conftest.
$ac_ext <<_ACEOF
25940 cat confdefs.h
>>conftest.
$ac_ext
25941 cat >>conftest.
$ac_ext <<_ACEOF
25942 /* end confdefs.h. */
25943 $ac_includes_default
25944 #include <radiusclient-ng.h>
25946 rm -f conftest.
$ac_objext
25947 if { (ac_try
="$ac_compile"
25948 case "(($ac_try" in
25949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25950 *) ac_try_echo=$ac_try;;
25952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25953 (eval "$ac_compile") 2>conftest.er1
25955 grep -v '^ *+' conftest.er1 >conftest.err
25957 cat conftest.err >&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); } && {
25960 test -z "$ac_c_werror_flag" ||
25961 test ! -s conftest.err
25962 } && test -s conftest.$ac_objext; then
25963 ac_header_compiler=yes
25965 echo "$as_me: failed program was:" >&5
25966 sed 's/^/| /' conftest.$ac_ext >&5
25968 ac_header_compiler=no
25971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25972 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25973 echo "${ECHO_T}$ac_header_compiler" >&6; }
25975 # Is the header present?
25976 { echo "$as_me:$LINENO: checking radiusclient-ng.h presence" >&5
25977 echo $ECHO_N "checking radiusclient-ng.h presence... $ECHO_C" >&6; }
25978 cat >conftest.$ac_ext <<_ACEOF
25981 cat confdefs.h >>conftest.$ac_ext
25982 cat >>conftest.$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25984 #include <radiusclient-ng.h>
25986 if { (ac_try="$ac_cpp conftest.$ac_ext"
25987 case "(($ac_try" in
25988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25989 *) ac_try_echo
=$ac_try;;
25991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25994 grep -v '^ *+' conftest.er1
>conftest.err
25996 cat conftest.err
>&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } >/dev
/null
&& {
25999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26000 test ! -s conftest.err
26002 ac_header_preproc
=yes
26004 echo "$as_me: failed program was:" >&5
26005 sed 's/^/| /' conftest.
$ac_ext >&5
26007 ac_header_preproc
=no
26010 rm -f conftest.err conftest.
$ac_ext
26011 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26012 echo "${ECHO_T}$ac_header_preproc" >&6; }
26014 # So? What about this header?
26015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26017 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
26018 echo "$as_me: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26019 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the compiler's result" >&5
26020 echo "$as_me: WARNING: radiusclient-ng.h: proceeding with the compiler's result" >&2;}
26021 ac_header_preproc
=yes
26024 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: present but cannot be compiled" >&5
26025 echo "$as_me: WARNING: radiusclient-ng.h: present but cannot be compiled" >&2;}
26026 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&5
26027 echo "$as_me: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
26028 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&5
26029 echo "$as_me: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&2;}
26030 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
26031 echo "$as_me: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
26032 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the preprocessor's result" >&5
26033 echo "$as_me: WARNING: radiusclient-ng.h: proceeding with the preprocessor's result" >&2;}
26034 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&5
26035 echo "$as_me: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
26039 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
26040 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
26041 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
26042 echo $ECHO_N "(cached) $ECHO_C" >&6
26044 ac_cv_header_radiusclient_ng_h
=$ac_header_preproc
26046 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
26047 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
26050 if test $ac_cv_header_radiusclient_ng_h = yes; then
26051 RADIUS_HEADER_FOUND
=1
26053 RADIUS_HEADER_FOUND
=0
26059 if test "x${RADIUS_HEADER_FOUND}" = "x0" ; then
26060 if test -n "${RADIUS_MANDATORY}" ;
26062 { echo "$as_me:$LINENO: ***" >&5
26063 echo "$as_me: ***" >&6;}
26064 { echo "$as_me:$LINENO: *** It appears that you do not have the radiusclient-ng development package installed." >&5
26065 echo "$as_me: *** It appears that you do not have the radiusclient-ng development package installed." >&6;}
26066 { echo "$as_me:$LINENO: *** Please install it to include ${RADIUS_DESCRIP} support, or re-run configure" >&5
26067 echo "$as_me: *** Please install it to include ${RADIUS_DESCRIP} support, or re-run configure" >&6;}
26068 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
26069 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
26078 cat >>confdefs.h
<<_ACEOF
26079 #define HAVE_RADIUS 1
26083 elif test -n "${RADIUS_MANDATORY}";
26085 { echo "$as_me:$LINENO: ***" >&5
26086 echo "$as_me: ***" >&6;}
26087 { echo "$as_me:$LINENO: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&5
26088 echo "$as_me: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&6;}
26089 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
26090 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
26091 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
26092 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
26099 if test "${USE_SPEEX}" != "no"; then
26101 if test "x${SPEEX_DIR}" != "x"; then
26102 if test -d ${SPEEX_DIR}/lib
; then
26103 pbxlibdir
="-L${SPEEX_DIR}/lib"
26105 pbxlibdir
="-L${SPEEX_DIR}"
26108 { echo "$as_me:$LINENO: checking for speex_encode in -lspeex" >&5
26109 echo $ECHO_N "checking for speex_encode in -lspeex... $ECHO_C" >&6; }
26110 if test "${ac_cv_lib_speex_speex_encode+set}" = set; then
26111 echo $ECHO_N "(cached) $ECHO_C" >&6
26113 ac_check_lib_save_LIBS
=$LIBS
26114 LIBS
="-lspeex ${pbxlibdir} -lm $LIBS"
26115 cat >conftest.
$ac_ext <<_ACEOF
26118 cat confdefs.h
>>conftest.
$ac_ext
26119 cat >>conftest.
$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26122 /* Override any GCC internal prototype to avoid an error.
26123 Use char because int might match the return type of a GCC
26124 builtin and then its argument prototype would still apply. */
26128 char speex_encode ();
26132 return speex_encode ();
26137 rm -f conftest.
$ac_objext conftest
$ac_exeext
26138 if { (ac_try
="$ac_link"
26139 case "(($ac_try" in
26140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26141 *) ac_try_echo=$ac_try;;
26143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26144 (eval "$ac_link") 2>conftest.er1
26146 grep -v '^ *+' conftest.er1 >conftest.err
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } && {
26151 test -z "$ac_c_werror_flag" ||
26152 test ! -s conftest.err
26153 } && test -s conftest$ac_exeext &&
26154 $as_test_x conftest$ac_exeext; then
26155 ac_cv_lib_speex_speex_encode=yes
26157 echo "$as_me: failed program was:" >&5
26158 sed 's/^/| /' conftest.$ac_ext >&5
26160 ac_cv_lib_speex_speex_encode=no
26163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26164 conftest$ac_exeext conftest.$ac_ext
26165 LIBS=$ac_check_lib_save_LIBS
26167 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode" >&5
26168 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode" >&6; }
26169 if test $ac_cv_lib_speex_speex_encode = yes; then
26170 AST_SPEEX_FOUND=yes
26176 if test "${AST_SPEEX_FOUND}" = "yes"; then
26177 SPEEX_LIB="-lspeex -lm"
26178 SPEEX_HEADER_FOUND="1"
26179 if test "x${SPEEX_DIR}" != "x"; then
26180 SPEEX_LIB="${pbxlibdir} ${SPEEX_LIB}"
26181 SPEEX_INCLUDE="-I${SPEEX_DIR}/include"
26182 saved_cppflags="${CPPFLAGS}"
26183 CPPFLAGS="${CPPFLAGS} -I${SPEEX_DIR}/include"
26184 if test "xspeex/speex.h" != "x" ; then
26185 as_ac_Header=`echo "ac_cv_header_${SPEEX_DIR}/include/speex/speex.h" |
$as_tr_sh`
26186 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26187 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
26188 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
26189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26192 ac_res=`eval echo '${'$as_ac_Header'}'`
26193 { echo "$as_me:$LINENO: result: $ac_res" >&5
26194 echo "${ECHO_T}$ac_res" >&6; }
26196 # Is the header compilable?
26197 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h usability" >&5
26198 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h usability... $ECHO_C" >&6; }
26199 cat >conftest.$ac_ext <<_ACEOF
26202 cat confdefs.h >>conftest.$ac_ext
26203 cat >>conftest.$ac_ext <<_ACEOF
26204 /* end confdefs.h. */
26205 $ac_includes_default
26206 #include <${SPEEX_DIR}/include/speex/speex.h>
26208 rm -f conftest.$ac_objext
26209 if { (ac_try="$ac_compile"
26210 case "(($ac_try" in
26211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26212 *) ac_try_echo
=$ac_try;;
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_compile") 2>conftest.er1
26217 grep -v '^ *+' conftest.er1
>conftest.err
26219 cat conftest.err
>&5
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); } && {
26222 test -z "$ac_c_werror_flag" ||
26223 test ! -s conftest.err
26224 } && test -s conftest.
$ac_objext; then
26225 ac_header_compiler
=yes
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.
$ac_ext >&5
26230 ac_header_compiler
=no
26233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26234 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26235 echo "${ECHO_T}$ac_header_compiler" >&6; }
26237 # Is the header present?
26238 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h presence" >&5
26239 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h presence... $ECHO_C" >&6; }
26240 cat >conftest.
$ac_ext <<_ACEOF
26243 cat confdefs.h
>>conftest.
$ac_ext
26244 cat >>conftest.
$ac_ext <<_ACEOF
26245 /* end confdefs.h. */
26246 #include <${SPEEX_DIR}/include/speex/speex.h>
26248 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26249 case "(($ac_try" in
26250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26251 *) ac_try_echo=$ac_try;;
26253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26256 grep -v '^ *+' conftest.er1 >conftest.err
26258 cat conftest.err >&5
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); } >/dev/null && {
26261 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26262 test ! -s conftest.err
26264 ac_header_preproc=yes
26266 echo "$as_me: failed program was:" >&5
26267 sed 's/^/| /' conftest.$ac_ext >&5
26269 ac_header_preproc=no
26272 rm -f conftest.err conftest.$ac_ext
26273 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26274 echo "${ECHO_T}$ac_header_preproc" >&6; }
26276 # So? What about this header?
26277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26279 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
26280 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26281 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the compiler's result" >&5
26282 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the compiler's result" >&2;}
26283 ac_header_preproc=yes
26286 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&5
26287 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&2;}
26288 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&5
26289 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&2;}
26290 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&5
26291 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&2;}
26292 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
26293 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
26294 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the preprocessor's result" >&5
26295 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the preprocessor's result" >&2;}
26296 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&5
26297 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&2;}
26301 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
26302 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
26303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26304 echo $ECHO_N "(cached) $ECHO_C" >&6
26306 eval "$as_ac_Header=\$ac_header_preproc"
26308 ac_res=`eval echo '${'$as_ac_Header'}'`
26309 { echo "$as_me:$LINENO: result: $ac_res" >&5
26310 echo "${ECHO_T}$ac_res" >&6; }
26313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26314 SPEEX_HEADER_FOUND=1
26316 SPEEX_HEADER_FOUND=0
26321 CPPFLAGS="${saved_cppflags}"
26323 if test "xspeex/speex.h" != "x" ; then
26324 if test "${ac_cv_header_speex_speex_h+set}" = set; then
26325 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
26326 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
26327 if test "${ac_cv_header_speex_speex_h+set}" = set; then
26328 echo $ECHO_N "(cached) $ECHO_C" >&6
26330 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
26331 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
26333 # Is the header compilable?
26334 { echo "$as_me:$LINENO: checking speex/speex.h usability" >&5
26335 echo $ECHO_N "checking speex/speex.h usability... $ECHO_C" >&6; }
26336 cat >conftest.$ac_ext <<_ACEOF
26339 cat confdefs.h >>conftest.$ac_ext
26340 cat >>conftest.$ac_ext <<_ACEOF
26341 /* end confdefs.h. */
26342 $ac_includes_default
26343 #include <speex/speex.h>
26345 rm -f conftest.$ac_objext
26346 if { (ac_try="$ac_compile"
26347 case "(($ac_try" in
26348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26349 *) ac_try_echo
=$ac_try;;
26351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26352 (eval "$ac_compile") 2>conftest.er1
26354 grep -v '^ *+' conftest.er1
>conftest.err
26356 cat conftest.err
>&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); } && {
26359 test -z "$ac_c_werror_flag" ||
26360 test ! -s conftest.err
26361 } && test -s conftest.
$ac_objext; then
26362 ac_header_compiler
=yes
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.
$ac_ext >&5
26367 ac_header_compiler
=no
26370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26371 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26372 echo "${ECHO_T}$ac_header_compiler" >&6; }
26374 # Is the header present?
26375 { echo "$as_me:$LINENO: checking speex/speex.h presence" >&5
26376 echo $ECHO_N "checking speex/speex.h presence... $ECHO_C" >&6; }
26377 cat >conftest.
$ac_ext <<_ACEOF
26380 cat confdefs.h
>>conftest.
$ac_ext
26381 cat >>conftest.
$ac_ext <<_ACEOF
26382 /* end confdefs.h. */
26383 #include <speex/speex.h>
26385 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26386 case "(($ac_try" in
26387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26388 *) ac_try_echo=$ac_try;;
26390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26393 grep -v '^ *+' conftest.er1 >conftest.err
26395 cat conftest.err >&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } >/dev/null && {
26398 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26399 test ! -s conftest.err
26401 ac_header_preproc=yes
26403 echo "$as_me: failed program was:" >&5
26404 sed 's/^/| /' conftest.$ac_ext >&5
26406 ac_header_preproc=no
26409 rm -f conftest.err conftest.$ac_ext
26410 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26411 echo "${ECHO_T}$ac_header_preproc" >&6; }
26413 # So? What about this header?
26414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26416 { echo "$as_me:$LINENO: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
26417 echo "$as_me: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26418 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the compiler's result" >&5
26419 echo "$as_me: WARNING: speex/speex.h: proceeding with the compiler's result" >&2;}
26420 ac_header_preproc=yes
26423 { echo "$as_me:$LINENO: WARNING: speex/speex.h: present but cannot be compiled" >&5
26424 echo "$as_me: WARNING: speex/speex.h: present but cannot be compiled" >&2;}
26425 { echo "$as_me:$LINENO: WARNING: speex/speex.h: check for missing prerequisite headers?" >&5
26426 echo "$as_me: WARNING: speex/speex.h: check for missing prerequisite headers?" >&2;}
26427 { echo "$as_me:$LINENO: WARNING: speex/speex.h: see the Autoconf documentation" >&5
26428 echo "$as_me: WARNING: speex/speex.h: see the Autoconf documentation" >&2;}
26429 { echo "$as_me:$LINENO: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
26430 echo "$as_me: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
26431 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&5
26432 echo "$as_me: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&2;}
26433 { echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5
26434 echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;}
26438 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
26439 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
26440 if test "${ac_cv_header_speex_speex_h+set}" = set; then
26441 echo $ECHO_N "(cached) $ECHO_C" >&6
26443 ac_cv_header_speex_speex_h=$ac_header_preproc
26445 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
26446 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
26449 if test $ac_cv_header_speex_speex_h = yes; then
26450 SPEEX_HEADER_FOUND=1
26452 SPEEX_HEADER_FOUND=0
26458 if test "x${SPEEX_HEADER_FOUND}" = "x0" ; then
26459 if test -n "${SPEEX_MANDATORY}" ;
26461 { echo "$as_me:$LINENO: ***" >&5
26462 echo "$as_me: ***" >&6;}
26463 { echo "$as_me:$LINENO: *** It appears that you do not have the speex development package installed." >&5
26464 echo "$as_me: *** It appears that you do not have the speex development package installed." >&6;}
26465 { echo "$as_me:$LINENO: *** Please install it to include ${SPEEX_DESCRIP} support, or re-run configure" >&5
26466 echo "$as_me: *** Please install it to include ${SPEEX_DESCRIP} support, or re-run configure" >&6;}
26467 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
26468 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
26477 cat >>confdefs.h <<_ACEOF
26478 #define HAVE_SPEEX 1
26482 elif test -n "${SPEEX_MANDATORY}";
26484 { echo "$as_me:$LINENO: ***" >&5
26485 echo "$as_me: ***" >&6;}
26486 { echo "$as_me:$LINENO: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&5
26487 echo "$as_me: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&6;}
26488 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
26489 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
26490 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
26491 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
26498 if test "${USE_SQLITE}" != "no"; then
26500 if test "x${SQLITE_DIR}" != "x"; then
26501 if test -d ${SQLITE_DIR}/lib; then
26502 pbxlibdir="-L${SQLITE_DIR}/lib"
26504 pbxlibdir="-L${SQLITE_DIR}"
26507 { echo "$as_me:$LINENO: checking for sqlite_exec in -lsqlite" >&5
26508 echo $ECHO_N "checking for sqlite_exec in -lsqlite... $ECHO_C" >&6; }
26509 if test "${ac_cv_lib_sqlite_sqlite_exec+set}" = set; then
26510 echo $ECHO_N "(cached) $ECHO_C" >&6
26512 ac_check_lib_save_LIBS=$LIBS
26513 LIBS="-lsqlite ${pbxlibdir} $LIBS"
26514 cat >conftest.$ac_ext <<_ACEOF
26517 cat confdefs.h >>conftest.$ac_ext
26518 cat >>conftest.$ac_ext <<_ACEOF
26519 /* end confdefs.h. */
26521 /* Override any GCC internal prototype to avoid an error.
26522 Use char because int might match the return type of a GCC
26523 builtin and then its argument prototype would still apply. */
26527 char sqlite_exec ();
26531 return sqlite_exec ();
26536 rm -f conftest.$ac_objext conftest$ac_exeext
26537 if { (ac_try="$ac_link"
26538 case "(($ac_try" in
26539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26540 *) ac_try_echo
=$ac_try;;
26542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26543 (eval "$ac_link") 2>conftest.er1
26545 grep -v '^ *+' conftest.er1
>conftest.err
26547 cat conftest.err
>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } && {
26550 test -z "$ac_c_werror_flag" ||
26551 test ! -s conftest.err
26552 } && test -s conftest
$ac_exeext &&
26553 $as_test_x conftest
$ac_exeext; then
26554 ac_cv_lib_sqlite_sqlite_exec
=yes
26556 echo "$as_me: failed program was:" >&5
26557 sed 's/^/| /' conftest.
$ac_ext >&5
26559 ac_cv_lib_sqlite_sqlite_exec
=no
26562 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26563 conftest
$ac_exeext conftest.
$ac_ext
26564 LIBS
=$ac_check_lib_save_LIBS
26566 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite_sqlite_exec" >&5
26567 echo "${ECHO_T}$ac_cv_lib_sqlite_sqlite_exec" >&6; }
26568 if test $ac_cv_lib_sqlite_sqlite_exec = yes; then
26569 AST_SQLITE_FOUND
=yes
26571 AST_SQLITE_FOUND
=no
26575 if test "${AST_SQLITE_FOUND}" = "yes"; then
26576 SQLITE_LIB
="-lsqlite "
26577 SQLITE_HEADER_FOUND
="1"
26578 if test "x${SQLITE_DIR}" != "x"; then
26579 SQLITE_LIB
="${pbxlibdir} ${SQLITE_LIB}"
26580 SQLITE_INCLUDE
="-I${SQLITE_DIR}/include"
26581 saved_cppflags
="${CPPFLAGS}"
26582 CPPFLAGS
="${CPPFLAGS} -I${SQLITE_DIR}/include"
26583 if test "xsqlite.h" != "x" ; then
26584 as_ac_Header
=`echo "ac_cv_header_${SQLITE_DIR}/include/sqlite.h" | $as_tr_sh`
26585 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26586 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
26587 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
26588 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 ac_res
=`eval echo '${'$as_ac_Header'}'`
26592 { echo "$as_me:$LINENO: result: $ac_res" >&5
26593 echo "${ECHO_T}$ac_res" >&6; }
26595 # Is the header compilable?
26596 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h usability" >&5
26597 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h usability... $ECHO_C" >&6; }
26598 cat >conftest.
$ac_ext <<_ACEOF
26601 cat confdefs.h
>>conftest.
$ac_ext
26602 cat >>conftest.
$ac_ext <<_ACEOF
26603 /* end confdefs.h. */
26604 $ac_includes_default
26605 #include <${SQLITE_DIR}/include/sqlite.h>
26607 rm -f conftest.
$ac_objext
26608 if { (ac_try
="$ac_compile"
26609 case "(($ac_try" in
26610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26611 *) ac_try_echo=$ac_try;;
26613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26614 (eval "$ac_compile") 2>conftest.er1
26616 grep -v '^ *+' conftest.er1 >conftest.err
26618 cat conftest.err >&5
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); } && {
26621 test -z "$ac_c_werror_flag" ||
26622 test ! -s conftest.err
26623 } && test -s conftest.$ac_objext; then
26624 ac_header_compiler=yes
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26629 ac_header_compiler=no
26632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26633 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26634 echo "${ECHO_T}$ac_header_compiler" >&6; }
26636 # Is the header present?
26637 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h presence" >&5
26638 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h presence... $ECHO_C" >&6; }
26639 cat >conftest.$ac_ext <<_ACEOF
26642 cat confdefs.h >>conftest.$ac_ext
26643 cat >>conftest.$ac_ext <<_ACEOF
26644 /* end confdefs.h. */
26645 #include <${SQLITE_DIR}/include/sqlite.h>
26647 if { (ac_try="$ac_cpp conftest.$ac_ext"
26648 case "(($ac_try" in
26649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26650 *) ac_try_echo
=$ac_try;;
26652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26655 grep -v '^ *+' conftest.er1
>conftest.err
26657 cat conftest.err
>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } >/dev
/null
&& {
26660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26661 test ! -s conftest.err
26663 ac_header_preproc
=yes
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.
$ac_ext >&5
26668 ac_header_preproc
=no
26671 rm -f conftest.err conftest.
$ac_ext
26672 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26673 echo "${ECHO_T}$ac_header_preproc" >&6; }
26675 # So? What about this header?
26676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26678 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
26679 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26680 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the compiler's result" >&5
26681 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the compiler's result" >&2;}
26682 ac_header_preproc
=yes
26685 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&5
26686 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&2;}
26687 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&5
26688 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&2;}
26689 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&5
26690 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&2;}
26691 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
26692 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
26693 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the preprocessor's result" >&5
26694 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the preprocessor's result" >&2;}
26695 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&5
26696 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&2;}
26700 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
26701 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
26702 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26703 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 eval "$as_ac_Header=\$ac_header_preproc"
26707 ac_res
=`eval echo '${'$as_ac_Header'}'`
26708 { echo "$as_me:$LINENO: result: $ac_res" >&5
26709 echo "${ECHO_T}$ac_res" >&6; }
26712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26713 SQLITE_HEADER_FOUND
=1
26715 SQLITE_HEADER_FOUND
=0
26720 CPPFLAGS
="${saved_cppflags}"
26722 if test "xsqlite.h" != "x" ; then
26723 if test "${ac_cv_header_sqlite_h+set}" = set; then
26724 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
26725 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
26726 if test "${ac_cv_header_sqlite_h+set}" = set; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26729 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
26730 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
26732 # Is the header compilable?
26733 { echo "$as_me:$LINENO: checking sqlite.h usability" >&5
26734 echo $ECHO_N "checking sqlite.h usability... $ECHO_C" >&6; }
26735 cat >conftest.
$ac_ext <<_ACEOF
26738 cat confdefs.h
>>conftest.
$ac_ext
26739 cat >>conftest.
$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26741 $ac_includes_default
26742 #include <sqlite.h>
26744 rm -f conftest.
$ac_objext
26745 if { (ac_try
="$ac_compile"
26746 case "(($ac_try" in
26747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26748 *) ac_try_echo=$ac_try;;
26750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26751 (eval "$ac_compile") 2>conftest.er1
26753 grep -v '^ *+' conftest.er1 >conftest.err
26755 cat conftest.err >&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); } && {
26758 test -z "$ac_c_werror_flag" ||
26759 test ! -s conftest.err
26760 } && test -s conftest.$ac_objext; then
26761 ac_header_compiler=yes
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.$ac_ext >&5
26766 ac_header_compiler=no
26769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26770 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26771 echo "${ECHO_T}$ac_header_compiler" >&6; }
26773 # Is the header present?
26774 { echo "$as_me:$LINENO: checking sqlite.h presence" >&5
26775 echo $ECHO_N "checking sqlite.h presence... $ECHO_C" >&6; }
26776 cat >conftest.$ac_ext <<_ACEOF
26779 cat confdefs.h >>conftest.$ac_ext
26780 cat >>conftest.$ac_ext <<_ACEOF
26781 /* end confdefs.h. */
26782 #include <sqlite.h>
26784 if { (ac_try="$ac_cpp conftest.$ac_ext"
26785 case "(($ac_try" in
26786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26787 *) ac_try_echo
=$ac_try;;
26789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26792 grep -v '^ *+' conftest.er1
>conftest.err
26794 cat conftest.err
>&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } >/dev
/null
&& {
26797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26798 test ! -s conftest.err
26800 ac_header_preproc
=yes
26802 echo "$as_me: failed program was:" >&5
26803 sed 's/^/| /' conftest.
$ac_ext >&5
26805 ac_header_preproc
=no
26808 rm -f conftest.err conftest.
$ac_ext
26809 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26810 echo "${ECHO_T}$ac_header_preproc" >&6; }
26812 # So? What about this header?
26813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26815 { echo "$as_me:$LINENO: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
26816 echo "$as_me: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26817 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the compiler's result" >&5
26818 echo "$as_me: WARNING: sqlite.h: proceeding with the compiler's result" >&2;}
26819 ac_header_preproc
=yes
26822 { echo "$as_me:$LINENO: WARNING: sqlite.h: present but cannot be compiled" >&5
26823 echo "$as_me: WARNING: sqlite.h: present but cannot be compiled" >&2;}
26824 { echo "$as_me:$LINENO: WARNING: sqlite.h: check for missing prerequisite headers?" >&5
26825 echo "$as_me: WARNING: sqlite.h: check for missing prerequisite headers?" >&2;}
26826 { echo "$as_me:$LINENO: WARNING: sqlite.h: see the Autoconf documentation" >&5
26827 echo "$as_me: WARNING: sqlite.h: see the Autoconf documentation" >&2;}
26828 { echo "$as_me:$LINENO: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
26829 echo "$as_me: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
26830 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the preprocessor's result" >&5
26831 echo "$as_me: WARNING: sqlite.h: proceeding with the preprocessor's result" >&2;}
26832 { echo "$as_me:$LINENO: WARNING: sqlite.h: in the future, the compiler will take precedence" >&5
26833 echo "$as_me: WARNING: sqlite.h: in the future, the compiler will take precedence" >&2;}
26837 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
26838 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
26839 if test "${ac_cv_header_sqlite_h+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 ac_cv_header_sqlite_h
=$ac_header_preproc
26844 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
26845 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
26848 if test $ac_cv_header_sqlite_h = yes; then
26849 SQLITE_HEADER_FOUND
=1
26851 SQLITE_HEADER_FOUND
=0
26857 if test "x${SQLITE_HEADER_FOUND}" = "x0" ; then
26858 if test -n "${SQLITE_MANDATORY}" ;
26860 { echo "$as_me:$LINENO: ***" >&5
26861 echo "$as_me: ***" >&6;}
26862 { echo "$as_me:$LINENO: *** It appears that you do not have the sqlite development package installed." >&5
26863 echo "$as_me: *** It appears that you do not have the sqlite development package installed." >&6;}
26864 { echo "$as_me:$LINENO: *** Please install it to include ${SQLITE_DESCRIP} support, or re-run configure" >&5
26865 echo "$as_me: *** Please install it to include ${SQLITE_DESCRIP} support, or re-run configure" >&6;}
26866 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
26867 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
26876 cat >>confdefs.h
<<_ACEOF
26877 #define HAVE_SQLITE 1
26881 elif test -n "${SQLITE_MANDATORY}";
26883 { echo "$as_me:$LINENO: ***" >&5
26884 echo "$as_me: ***" >&6;}
26885 { echo "$as_me:$LINENO: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&5
26886 echo "$as_me: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&6;}
26887 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
26888 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
26889 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
26890 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
26897 if test "${USE_OPENSSL}" != "no"; then
26899 if test "x${OPENSSL_DIR}" != "x"; then
26900 if test -d ${OPENSSL_DIR}/lib
; then
26901 pbxlibdir
="-L${OPENSSL_DIR}/lib"
26903 pbxlibdir
="-L${OPENSSL_DIR}"
26906 { echo "$as_me:$LINENO: checking for ssl2_connect in -lssl" >&5
26907 echo $ECHO_N "checking for ssl2_connect in -lssl... $ECHO_C" >&6; }
26908 if test "${ac_cv_lib_ssl_ssl2_connect+set}" = set; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6
26911 ac_check_lib_save_LIBS
=$LIBS
26912 LIBS
="-lssl ${pbxlibdir} -lcrypto $LIBS"
26913 cat >conftest.
$ac_ext <<_ACEOF
26916 cat confdefs.h
>>conftest.
$ac_ext
26917 cat >>conftest.
$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26920 /* Override any GCC internal prototype to avoid an error.
26921 Use char because int might match the return type of a GCC
26922 builtin and then its argument prototype would still apply. */
26926 char ssl2_connect ();
26930 return ssl2_connect ();
26935 rm -f conftest.
$ac_objext conftest
$ac_exeext
26936 if { (ac_try
="$ac_link"
26937 case "(($ac_try" in
26938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26939 *) ac_try_echo=$ac_try;;
26941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26942 (eval "$ac_link") 2>conftest.er1
26944 grep -v '^ *+' conftest.er1 >conftest.err
26946 cat conftest.err >&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); } && {
26949 test -z "$ac_c_werror_flag" ||
26950 test ! -s conftest.err
26951 } && test -s conftest$ac_exeext &&
26952 $as_test_x conftest$ac_exeext; then
26953 ac_cv_lib_ssl_ssl2_connect=yes
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.$ac_ext >&5
26958 ac_cv_lib_ssl_ssl2_connect=no
26961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26962 conftest$ac_exeext conftest.$ac_ext
26963 LIBS=$ac_check_lib_save_LIBS
26965 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ssl2_connect" >&5
26966 echo "${ECHO_T}$ac_cv_lib_ssl_ssl2_connect" >&6; }
26967 if test $ac_cv_lib_ssl_ssl2_connect = yes; then
26968 AST_OPENSSL_FOUND=yes
26970 AST_OPENSSL_FOUND=no
26974 if test "${AST_OPENSSL_FOUND}" = "yes"; then
26975 OPENSSL_LIB="-lssl -lcrypto"
26976 OPENSSL_HEADER_FOUND="1"
26977 if test "x${OPENSSL_DIR}" != "x"; then
26978 OPENSSL_LIB="${pbxlibdir} ${OPENSSL_LIB}"
26979 OPENSSL_INCLUDE="-I${OPENSSL_DIR}/include"
26980 saved_cppflags="${CPPFLAGS}"
26981 CPPFLAGS="${CPPFLAGS} -I${OPENSSL_DIR}/include"
26982 if test "xopenssl/ssl.h" != "x" ; then
26983 as_ac_Header=`echo "ac_cv_header_${OPENSSL_DIR}/include/openssl/ssl.h" |
$as_tr_sh`
26984 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26985 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
26986 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
26987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26988 echo $ECHO_N "(cached) $ECHO_C" >&6
26990 ac_res=`eval echo '${'$as_ac_Header'}'`
26991 { echo "$as_me:$LINENO: result: $ac_res" >&5
26992 echo "${ECHO_T}$ac_res" >&6; }
26994 # Is the header compilable?
26995 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h usability" >&5
26996 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h usability... $ECHO_C" >&6; }
26997 cat >conftest.$ac_ext <<_ACEOF
27000 cat confdefs.h >>conftest.$ac_ext
27001 cat >>conftest.$ac_ext <<_ACEOF
27002 /* end confdefs.h. */
27003 $ac_includes_default
27004 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
27006 rm -f conftest.$ac_objext
27007 if { (ac_try="$ac_compile"
27008 case "(($ac_try" in
27009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27010 *) ac_try_echo
=$ac_try;;
27012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27013 (eval "$ac_compile") 2>conftest.er1
27015 grep -v '^ *+' conftest.er1
>conftest.err
27017 cat conftest.err
>&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); } && {
27020 test -z "$ac_c_werror_flag" ||
27021 test ! -s conftest.err
27022 } && test -s conftest.
$ac_objext; then
27023 ac_header_compiler
=yes
27025 echo "$as_me: failed program was:" >&5
27026 sed 's/^/| /' conftest.
$ac_ext >&5
27028 ac_header_compiler
=no
27031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27032 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27033 echo "${ECHO_T}$ac_header_compiler" >&6; }
27035 # Is the header present?
27036 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h presence" >&5
27037 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h presence... $ECHO_C" >&6; }
27038 cat >conftest.
$ac_ext <<_ACEOF
27041 cat confdefs.h
>>conftest.
$ac_ext
27042 cat >>conftest.
$ac_ext <<_ACEOF
27043 /* end confdefs.h. */
27044 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
27046 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27047 case "(($ac_try" in
27048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27049 *) ac_try_echo=$ac_try;;
27051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27054 grep -v '^ *+' conftest.er1 >conftest.err
27056 cat conftest.err >&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); } >/dev/null && {
27059 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27060 test ! -s conftest.err
27062 ac_header_preproc=yes
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27067 ac_header_preproc=no
27070 rm -f conftest.err conftest.$ac_ext
27071 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27072 echo "${ECHO_T}$ac_header_preproc" >&6; }
27074 # So? What about this header?
27075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27077 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27078 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27079 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the compiler's result" >&5
27080 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the compiler's result" >&2;}
27081 ac_header_preproc=yes
27084 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&5
27085 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&2;}
27086 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&5
27087 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&2;}
27088 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&5
27089 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&2;}
27090 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
27091 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27092 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the preprocessor's result" >&5
27093 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
27094 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&5
27095 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
27099 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
27100 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
27101 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27102 echo $ECHO_N "(cached) $ECHO_C" >&6
27104 eval "$as_ac_Header=\$ac_header_preproc"
27106 ac_res=`eval echo '${'$as_ac_Header'}'`
27107 { echo "$as_me:$LINENO: result: $ac_res" >&5
27108 echo "${ECHO_T}$ac_res" >&6; }
27111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27112 OPENSSL_HEADER_FOUND=1
27114 OPENSSL_HEADER_FOUND=0
27119 CPPFLAGS="${saved_cppflags}"
27121 if test "xopenssl/ssl.h" != "x" ; then
27122 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
27123 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
27124 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
27125 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27128 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
27129 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
27131 # Is the header compilable?
27132 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
27133 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; }
27134 cat >conftest.$ac_ext <<_ACEOF
27137 cat confdefs.h >>conftest.$ac_ext
27138 cat >>conftest.$ac_ext <<_ACEOF
27139 /* end confdefs.h. */
27140 $ac_includes_default
27141 #include <openssl/ssl.h>
27143 rm -f conftest.$ac_objext
27144 if { (ac_try="$ac_compile"
27145 case "(($ac_try" in
27146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27147 *) ac_try_echo
=$ac_try;;
27149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27150 (eval "$ac_compile") 2>conftest.er1
27152 grep -v '^ *+' conftest.er1
>conftest.err
27154 cat conftest.err
>&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } && {
27157 test -z "$ac_c_werror_flag" ||
27158 test ! -s conftest.err
27159 } && test -s conftest.
$ac_objext; then
27160 ac_header_compiler
=yes
27162 echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.
$ac_ext >&5
27165 ac_header_compiler
=no
27168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27169 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27170 echo "${ECHO_T}$ac_header_compiler" >&6; }
27172 # Is the header present?
27173 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
27174 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; }
27175 cat >conftest.
$ac_ext <<_ACEOF
27178 cat confdefs.h
>>conftest.
$ac_ext
27179 cat >>conftest.
$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27181 #include <openssl/ssl.h>
27183 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27184 case "(($ac_try" in
27185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27186 *) ac_try_echo=$ac_try;;
27188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27189 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27191 grep -v '^ *+' conftest.er1 >conftest.err
27193 cat conftest.err >&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); } >/dev/null && {
27196 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27197 test ! -s conftest.err
27199 ac_header_preproc=yes
27201 echo "$as_me: failed program was:" >&5
27202 sed 's/^/| /' conftest.$ac_ext >&5
27204 ac_header_preproc=no
27207 rm -f conftest.err conftest.$ac_ext
27208 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27209 echo "${ECHO_T}$ac_header_preproc" >&6; }
27211 # So? What about this header?
27212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27214 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27215 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27216 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
27217 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
27218 ac_header_preproc=yes
27221 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
27222 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
27223 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5
27224 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;}
27225 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
27226 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
27227 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
27228 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27229 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
27230 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
27231 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
27232 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
27236 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
27237 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
27238 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
27239 echo $ECHO_N "(cached) $ECHO_C" >&6
27241 ac_cv_header_openssl_ssl_h=$ac_header_preproc
27243 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
27244 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
27247 if test $ac_cv_header_openssl_ssl_h = yes; then
27248 OPENSSL_HEADER_FOUND=1
27250 OPENSSL_HEADER_FOUND=0
27256 if test "x${OPENSSL_HEADER_FOUND}" = "x0" ; then
27257 if test -n "${OPENSSL_MANDATORY}" ;
27259 { echo "$as_me:$LINENO: ***" >&5
27260 echo "$as_me: ***" >&6;}
27261 { echo "$as_me:$LINENO: *** It appears that you do not have the ssl development package installed." >&5
27262 echo "$as_me: *** It appears that you do not have the ssl development package installed." >&6;}
27263 { echo "$as_me:$LINENO: *** Please install it to include ${OPENSSL_DESCRIP} support, or re-run configure" >&5
27264 echo "$as_me: *** Please install it to include ${OPENSSL_DESCRIP} support, or re-run configure" >&6;}
27265 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
27266 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
27275 cat >>confdefs.h <<_ACEOF
27276 #define HAVE_OPENSSL 1
27280 elif test -n "${OPENSSL_MANDATORY}";
27282 { echo "$as_me:$LINENO: ***" >&5
27283 echo "$as_me: ***" >&6;}
27284 { echo "$as_me:$LINENO: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&5
27285 echo "$as_me: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&6;}
27286 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
27287 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
27288 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
27289 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
27294 if test "$PBX_OPENSSL" = "1";
27297 if test "${USE_OSPTK}" != "no"; then
27299 if test "x${OSPTK_DIR}" != "x"; then
27300 if test -d ${OSPTK_DIR}/lib; then
27301 pbxlibdir="-L${OSPTK_DIR}/lib"
27303 pbxlibdir="-L${OSPTK_DIR}"
27306 { echo "$as_me:$LINENO: checking for OSPPCryptoDecrypt in -losptk" >&5
27307 echo $ECHO_N "checking for OSPPCryptoDecrypt in -losptk... $ECHO_C" >&6; }
27308 if test "${ac_cv_lib_osptk_OSPPCryptoDecrypt+set}" = set; then
27309 echo $ECHO_N "(cached) $ECHO_C" >&6
27311 ac_check_lib_save_LIBS=$LIBS
27312 LIBS="-losptk ${pbxlibdir} -lcrypto -lssl $LIBS"
27313 cat >conftest.$ac_ext <<_ACEOF
27316 cat confdefs.h >>conftest.$ac_ext
27317 cat >>conftest.$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27320 /* Override any GCC internal prototype to avoid an error.
27321 Use char because int might match the return type of a GCC
27322 builtin and then its argument prototype would still apply. */
27326 char OSPPCryptoDecrypt ();
27330 return OSPPCryptoDecrypt ();
27335 rm -f conftest.$ac_objext conftest$ac_exeext
27336 if { (ac_try="$ac_link"
27337 case "(($ac_try" in
27338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27339 *) ac_try_echo
=$ac_try;;
27341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342 (eval "$ac_link") 2>conftest.er1
27344 grep -v '^ *+' conftest.er1
>conftest.err
27346 cat conftest.err
>&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } && {
27349 test -z "$ac_c_werror_flag" ||
27350 test ! -s conftest.err
27351 } && test -s conftest
$ac_exeext &&
27352 $as_test_x conftest
$ac_exeext; then
27353 ac_cv_lib_osptk_OSPPCryptoDecrypt
=yes
27355 echo "$as_me: failed program was:" >&5
27356 sed 's/^/| /' conftest.
$ac_ext >&5
27358 ac_cv_lib_osptk_OSPPCryptoDecrypt
=no
27361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27362 conftest
$ac_exeext conftest.
$ac_ext
27363 LIBS
=$ac_check_lib_save_LIBS
27365 { echo "$as_me:$LINENO: result: $ac_cv_lib_osptk_OSPPCryptoDecrypt" >&5
27366 echo "${ECHO_T}$ac_cv_lib_osptk_OSPPCryptoDecrypt" >&6; }
27367 if test $ac_cv_lib_osptk_OSPPCryptoDecrypt = yes; then
27368 AST_OSPTK_FOUND
=yes
27374 if test "${AST_OSPTK_FOUND}" = "yes"; then
27375 OSPTK_LIB
="-losptk -lcrypto -lssl"
27376 OSPTK_HEADER_FOUND
="1"
27377 if test "x${OSPTK_DIR}" != "x"; then
27378 OSPTK_LIB
="${pbxlibdir} ${OSPTK_LIB}"
27379 OSPTK_INCLUDE
="-I${OSPTK_DIR}/include"
27380 saved_cppflags
="${CPPFLAGS}"
27381 CPPFLAGS
="${CPPFLAGS} -I${OSPTK_DIR}/include"
27382 if test "xosp/osp.h" != "x" ; then
27383 as_ac_Header
=`echo "ac_cv_header_${OSPTK_DIR}/include/osp/osp.h" | $as_tr_sh`
27384 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27385 { echo "$as_me:$LINENO: checking for ${OSPTK_DIR}/include/osp/osp.h" >&5
27386 echo $ECHO_N "checking for ${OSPTK_DIR}/include/osp/osp.h... $ECHO_C" >&6; }
27387 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27390 ac_res
=`eval echo '${'$as_ac_Header'}'`
27391 { echo "$as_me:$LINENO: result: $ac_res" >&5
27392 echo "${ECHO_T}$ac_res" >&6; }
27394 # Is the header compilable?
27395 { echo "$as_me:$LINENO: checking ${OSPTK_DIR}/include/osp/osp.h usability" >&5
27396 echo $ECHO_N "checking ${OSPTK_DIR}/include/osp/osp.h usability... $ECHO_C" >&6; }
27397 cat >conftest.
$ac_ext <<_ACEOF
27400 cat confdefs.h
>>conftest.
$ac_ext
27401 cat >>conftest.
$ac_ext <<_ACEOF
27402 /* end confdefs.h. */
27403 $ac_includes_default
27404 #include <${OSPTK_DIR}/include/osp/osp.h>
27406 rm -f conftest.
$ac_objext
27407 if { (ac_try
="$ac_compile"
27408 case "(($ac_try" in
27409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27410 *) ac_try_echo=$ac_try;;
27412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27413 (eval "$ac_compile") 2>conftest.er1
27415 grep -v '^ *+' conftest.er1 >conftest.err
27417 cat conftest.err >&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); } && {
27420 test -z "$ac_c_werror_flag" ||
27421 test ! -s conftest.err
27422 } && test -s conftest.$ac_objext; then
27423 ac_header_compiler=yes
27425 echo "$as_me: failed program was:" >&5
27426 sed 's/^/| /' conftest.$ac_ext >&5
27428 ac_header_compiler=no
27431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27432 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27433 echo "${ECHO_T}$ac_header_compiler" >&6; }
27435 # Is the header present?
27436 { echo "$as_me:$LINENO: checking ${OSPTK_DIR}/include/osp/osp.h presence" >&5
27437 echo $ECHO_N "checking ${OSPTK_DIR}/include/osp/osp.h presence... $ECHO_C" >&6; }
27438 cat >conftest.$ac_ext <<_ACEOF
27441 cat confdefs.h >>conftest.$ac_ext
27442 cat >>conftest.$ac_ext <<_ACEOF
27443 /* end confdefs.h. */
27444 #include <${OSPTK_DIR}/include/osp/osp.h>
27446 if { (ac_try="$ac_cpp conftest.$ac_ext"
27447 case "(($ac_try" in
27448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27449 *) ac_try_echo
=$ac_try;;
27451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27454 grep -v '^ *+' conftest.er1
>conftest.err
27456 cat conftest.err
>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } >/dev
/null
&& {
27459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27460 test ! -s conftest.err
27462 ac_header_preproc
=yes
27464 echo "$as_me: failed program was:" >&5
27465 sed 's/^/| /' conftest.
$ac_ext >&5
27467 ac_header_preproc
=no
27470 rm -f conftest.err conftest.
$ac_ext
27471 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27472 echo "${ECHO_T}$ac_header_preproc" >&6; }
27474 # So? What about this header?
27475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27477 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&5
27478 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27479 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the compiler's result" >&5
27480 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the compiler's result" >&2;}
27481 ac_header_preproc
=yes
27484 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: present but cannot be compiled" >&5
27485 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: present but cannot be compiled" >&2;}
27486 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: check for missing prerequisite headers?" >&5
27487 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: check for missing prerequisite headers?" >&2;}
27488 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: see the Autoconf documentation" >&5
27489 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: see the Autoconf documentation" >&2;}
27490 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: section \"Present But Cannot Be Compiled\"" >&5
27491 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: section \"Present But Cannot Be Compiled\"" >&2;}
27492 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the preprocessor's result" >&5
27493 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the preprocessor's result" >&2;}
27494 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: in the future, the compiler will take precedence" >&5
27495 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: in the future, the compiler will take precedence" >&2;}
27499 { echo "$as_me:$LINENO: checking for ${OSPTK_DIR}/include/osp/osp.h" >&5
27500 echo $ECHO_N "checking for ${OSPTK_DIR}/include/osp/osp.h... $ECHO_C" >&6; }
27501 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27502 echo $ECHO_N "(cached) $ECHO_C" >&6
27504 eval "$as_ac_Header=\$ac_header_preproc"
27506 ac_res
=`eval echo '${'$as_ac_Header'}'`
27507 { echo "$as_me:$LINENO: result: $ac_res" >&5
27508 echo "${ECHO_T}$ac_res" >&6; }
27511 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27512 OSPTK_HEADER_FOUND
=1
27514 OSPTK_HEADER_FOUND
=0
27519 CPPFLAGS
="${saved_cppflags}"
27521 if test "xosp/osp.h" != "x" ; then
27522 if test "${ac_cv_header_osp_osp_h+set}" = set; then
27523 { echo "$as_me:$LINENO: checking for osp/osp.h" >&5
27524 echo $ECHO_N "checking for osp/osp.h... $ECHO_C" >&6; }
27525 if test "${ac_cv_header_osp_osp_h+set}" = set; then
27526 echo $ECHO_N "(cached) $ECHO_C" >&6
27528 { echo "$as_me:$LINENO: result: $ac_cv_header_osp_osp_h" >&5
27529 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
27531 # Is the header compilable?
27532 { echo "$as_me:$LINENO: checking osp/osp.h usability" >&5
27533 echo $ECHO_N "checking osp/osp.h usability... $ECHO_C" >&6; }
27534 cat >conftest.
$ac_ext <<_ACEOF
27537 cat confdefs.h
>>conftest.
$ac_ext
27538 cat >>conftest.
$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27540 $ac_includes_default
27541 #include <osp/osp.h>
27543 rm -f conftest.
$ac_objext
27544 if { (ac_try
="$ac_compile"
27545 case "(($ac_try" in
27546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27547 *) ac_try_echo=$ac_try;;
27549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27550 (eval "$ac_compile") 2>conftest.er1
27552 grep -v '^ *+' conftest.er1 >conftest.err
27554 cat conftest.err >&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } && {
27557 test -z "$ac_c_werror_flag" ||
27558 test ! -s conftest.err
27559 } && test -s conftest.$ac_objext; then
27560 ac_header_compiler=yes
27562 echo "$as_me: failed program was:" >&5
27563 sed 's/^/| /' conftest.$ac_ext >&5
27565 ac_header_compiler=no
27568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27569 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27570 echo "${ECHO_T}$ac_header_compiler" >&6; }
27572 # Is the header present?
27573 { echo "$as_me:$LINENO: checking osp/osp.h presence" >&5
27574 echo $ECHO_N "checking osp/osp.h presence... $ECHO_C" >&6; }
27575 cat >conftest.$ac_ext <<_ACEOF
27578 cat confdefs.h >>conftest.$ac_ext
27579 cat >>conftest.$ac_ext <<_ACEOF
27580 /* end confdefs.h. */
27581 #include <osp/osp.h>
27583 if { (ac_try="$ac_cpp conftest.$ac_ext"
27584 case "(($ac_try" in
27585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27586 *) ac_try_echo
=$ac_try;;
27588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27589 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27591 grep -v '^ *+' conftest.er1
>conftest.err
27593 cat conftest.err
>&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); } >/dev
/null
&& {
27596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27597 test ! -s conftest.err
27599 ac_header_preproc
=yes
27601 echo "$as_me: failed program was:" >&5
27602 sed 's/^/| /' conftest.
$ac_ext >&5
27604 ac_header_preproc
=no
27607 rm -f conftest.err conftest.
$ac_ext
27608 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27609 echo "${ECHO_T}$ac_header_preproc" >&6; }
27611 # So? What about this header?
27612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27614 { echo "$as_me:$LINENO: WARNING: osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&5
27615 echo "$as_me: WARNING: osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27616 { echo "$as_me:$LINENO: WARNING: osp/osp.h: proceeding with the compiler's result" >&5
27617 echo "$as_me: WARNING: osp/osp.h: proceeding with the compiler's result" >&2;}
27618 ac_header_preproc
=yes
27621 { echo "$as_me:$LINENO: WARNING: osp/osp.h: present but cannot be compiled" >&5
27622 echo "$as_me: WARNING: osp/osp.h: present but cannot be compiled" >&2;}
27623 { echo "$as_me:$LINENO: WARNING: osp/osp.h: check for missing prerequisite headers?" >&5
27624 echo "$as_me: WARNING: osp/osp.h: check for missing prerequisite headers?" >&2;}
27625 { echo "$as_me:$LINENO: WARNING: osp/osp.h: see the Autoconf documentation" >&5
27626 echo "$as_me: WARNING: osp/osp.h: see the Autoconf documentation" >&2;}
27627 { echo "$as_me:$LINENO: WARNING: osp/osp.h: section \"Present But Cannot Be Compiled\"" >&5
27628 echo "$as_me: WARNING: osp/osp.h: section \"Present But Cannot Be Compiled\"" >&2;}
27629 { echo "$as_me:$LINENO: WARNING: osp/osp.h: proceeding with the preprocessor's result" >&5
27630 echo "$as_me: WARNING: osp/osp.h: proceeding with the preprocessor's result" >&2;}
27631 { echo "$as_me:$LINENO: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&5
27632 echo "$as_me: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&2;}
27636 { echo "$as_me:$LINENO: checking for osp/osp.h" >&5
27637 echo $ECHO_N "checking for osp/osp.h... $ECHO_C" >&6; }
27638 if test "${ac_cv_header_osp_osp_h+set}" = set; then
27639 echo $ECHO_N "(cached) $ECHO_C" >&6
27641 ac_cv_header_osp_osp_h
=$ac_header_preproc
27643 { echo "$as_me:$LINENO: result: $ac_cv_header_osp_osp_h" >&5
27644 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
27647 if test $ac_cv_header_osp_osp_h = yes; then
27648 OSPTK_HEADER_FOUND
=1
27650 OSPTK_HEADER_FOUND
=0
27656 if test "x${OSPTK_HEADER_FOUND}" = "x0" ; then
27657 if test -n "${OSPTK_MANDATORY}" ;
27659 { echo "$as_me:$LINENO: ***" >&5
27660 echo "$as_me: ***" >&6;}
27661 { echo "$as_me:$LINENO: *** It appears that you do not have the osptk development package installed." >&5
27662 echo "$as_me: *** It appears that you do not have the osptk development package installed." >&6;}
27663 { echo "$as_me:$LINENO: *** Please install it to include ${OSPTK_DESCRIP} support, or re-run configure" >&5
27664 echo "$as_me: *** Please install it to include ${OSPTK_DESCRIP} support, or re-run configure" >&6;}
27665 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSPTK_OPTION}" >&5
27666 echo "$as_me: *** without explicitly specifying --with-${OSPTK_OPTION}" >&6;}
27675 cat >>confdefs.h
<<_ACEOF
27676 #define HAVE_OSPTK 1
27680 elif test -n "${OSPTK_MANDATORY}";
27682 { echo "$as_me:$LINENO: ***" >&5
27683 echo "$as_me: ***" >&6;}
27684 { echo "$as_me:$LINENO: *** The ${OSPTK_DESCRIP} installation on this system appears to be broken." >&5
27685 echo "$as_me: *** The ${OSPTK_DESCRIP} installation on this system appears to be broken." >&6;}
27686 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
27687 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
27688 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSPTK_OPTION}" >&5
27689 echo "$as_me: *** without explicitly specifying --with-${OSPTK_OPTION}" >&6;}
27697 if test "${USE_FREETDS}" != "no"; then
27699 if test "x${FREETDS_DIR}" != "x"; then
27700 if test -d ${FREETDS_DIR}/lib
; then
27701 pbxlibdir
="-L${FREETDS_DIR}/lib"
27703 pbxlibdir
="-L${FREETDS_DIR}"
27706 { echo "$as_me:$LINENO: checking for tds_version in -ltds" >&5
27707 echo $ECHO_N "checking for tds_version in -ltds... $ECHO_C" >&6; }
27708 if test "${ac_cv_lib_tds_tds_version+set}" = set; then
27709 echo $ECHO_N "(cached) $ECHO_C" >&6
27711 ac_check_lib_save_LIBS
=$LIBS
27712 LIBS
="-ltds ${pbxlibdir} $LIBS"
27713 cat >conftest.
$ac_ext <<_ACEOF
27716 cat confdefs.h
>>conftest.
$ac_ext
27717 cat >>conftest.
$ac_ext <<_ACEOF
27718 /* end confdefs.h. */
27720 /* Override any GCC internal prototype to avoid an error.
27721 Use char because int might match the return type of a GCC
27722 builtin and then its argument prototype would still apply. */
27726 char tds_version ();
27730 return tds_version ();
27735 rm -f conftest.
$ac_objext conftest
$ac_exeext
27736 if { (ac_try
="$ac_link"
27737 case "(($ac_try" in
27738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27739 *) ac_try_echo=$ac_try;;
27741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27742 (eval "$ac_link") 2>conftest.er1
27744 grep -v '^ *+' conftest.er1 >conftest.err
27746 cat conftest.err >&5
27747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748 (exit $ac_status); } && {
27749 test -z "$ac_c_werror_flag" ||
27750 test ! -s conftest.err
27751 } && test -s conftest$ac_exeext &&
27752 $as_test_x conftest$ac_exeext; then
27753 ac_cv_lib_tds_tds_version=yes
27755 echo "$as_me: failed program was:" >&5
27756 sed 's/^/| /' conftest.$ac_ext >&5
27758 ac_cv_lib_tds_tds_version=no
27761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27762 conftest$ac_exeext conftest.$ac_ext
27763 LIBS=$ac_check_lib_save_LIBS
27765 { echo "$as_me:$LINENO: result: $ac_cv_lib_tds_tds_version" >&5
27766 echo "${ECHO_T}$ac_cv_lib_tds_tds_version" >&6; }
27767 if test $ac_cv_lib_tds_tds_version = yes; then
27768 AST_FREETDS_FOUND=yes
27770 AST_FREETDS_FOUND=no
27774 if test "${AST_FREETDS_FOUND}" = "yes"; then
27775 FREETDS_LIB="-ltds "
27776 FREETDS_HEADER_FOUND="1"
27777 if test "x${FREETDS_DIR}" != "x"; then
27778 FREETDS_LIB="${pbxlibdir} ${FREETDS_LIB}"
27779 FREETDS_INCLUDE="-I${FREETDS_DIR}/include"
27780 saved_cppflags="${CPPFLAGS}"
27781 CPPFLAGS="${CPPFLAGS} -I${FREETDS_DIR}/include"
27782 if test "xtds.h" != "x" ; then
27783 as_ac_Header=`echo "ac_cv_header_${FREETDS_DIR}/include/tds.h" |
$as_tr_sh`
27784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27785 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
27786 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
27787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27788 echo $ECHO_N "(cached) $ECHO_C" >&6
27790 ac_res=`eval echo '${'$as_ac_Header'}'`
27791 { echo "$as_me:$LINENO: result: $ac_res" >&5
27792 echo "${ECHO_T}$ac_res" >&6; }
27794 # Is the header compilable?
27795 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h usability" >&5
27796 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h usability... $ECHO_C" >&6; }
27797 cat >conftest.$ac_ext <<_ACEOF
27800 cat confdefs.h >>conftest.$ac_ext
27801 cat >>conftest.$ac_ext <<_ACEOF
27802 /* end confdefs.h. */
27803 $ac_includes_default
27804 #include <${FREETDS_DIR}/include/tds.h>
27806 rm -f conftest.$ac_objext
27807 if { (ac_try="$ac_compile"
27808 case "(($ac_try" in
27809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27810 *) ac_try_echo
=$ac_try;;
27812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27813 (eval "$ac_compile") 2>conftest.er1
27815 grep -v '^ *+' conftest.er1
>conftest.err
27817 cat conftest.err
>&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); } && {
27820 test -z "$ac_c_werror_flag" ||
27821 test ! -s conftest.err
27822 } && test -s conftest.
$ac_objext; then
27823 ac_header_compiler
=yes
27825 echo "$as_me: failed program was:" >&5
27826 sed 's/^/| /' conftest.
$ac_ext >&5
27828 ac_header_compiler
=no
27831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27832 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27833 echo "${ECHO_T}$ac_header_compiler" >&6; }
27835 # Is the header present?
27836 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h presence" >&5
27837 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h presence... $ECHO_C" >&6; }
27838 cat >conftest.
$ac_ext <<_ACEOF
27841 cat confdefs.h
>>conftest.
$ac_ext
27842 cat >>conftest.
$ac_ext <<_ACEOF
27843 /* end confdefs.h. */
27844 #include <${FREETDS_DIR}/include/tds.h>
27846 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27847 case "(($ac_try" in
27848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27849 *) ac_try_echo=$ac_try;;
27851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27854 grep -v '^ *+' conftest.er1 >conftest.err
27856 cat conftest.err >&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } >/dev/null && {
27859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27860 test ! -s conftest.err
27862 ac_header_preproc=yes
27864 echo "$as_me: failed program was:" >&5
27865 sed 's/^/| /' conftest.$ac_ext >&5
27867 ac_header_preproc=no
27870 rm -f conftest.err conftest.$ac_ext
27871 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27872 echo "${ECHO_T}$ac_header_preproc" >&6; }
27874 # So? What about this header?
27875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27877 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
27878 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27879 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the compiler's result" >&5
27880 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the compiler's result" >&2;}
27881 ac_header_preproc=yes
27884 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&5
27885 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&2;}
27886 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&5
27887 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&2;}
27888 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&5
27889 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&2;}
27890 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&5
27891 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
27892 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the preprocessor's result" >&5
27893 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the preprocessor's result" >&2;}
27894 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&5
27895 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&2;}
27899 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
27900 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
27901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27902 echo $ECHO_N "(cached) $ECHO_C" >&6
27904 eval "$as_ac_Header=\$ac_header_preproc"
27906 ac_res=`eval echo '${'$as_ac_Header'}'`
27907 { echo "$as_me:$LINENO: result: $ac_res" >&5
27908 echo "${ECHO_T}$ac_res" >&6; }
27911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27912 FREETDS_HEADER_FOUND=1
27914 FREETDS_HEADER_FOUND=0
27919 CPPFLAGS="${saved_cppflags}"
27921 if test "xtds.h" != "x" ; then
27922 if test "${ac_cv_header_tds_h+set}" = set; then
27923 { echo "$as_me:$LINENO: checking for tds.h" >&5
27924 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
27925 if test "${ac_cv_header_tds_h+set}" = set; then
27926 echo $ECHO_N "(cached) $ECHO_C" >&6
27928 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
27929 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
27931 # Is the header compilable?
27932 { echo "$as_me:$LINENO: checking tds.h usability" >&5
27933 echo $ECHO_N "checking tds.h usability... $ECHO_C" >&6; }
27934 cat >conftest.$ac_ext <<_ACEOF
27937 cat confdefs.h >>conftest.$ac_ext
27938 cat >>conftest.$ac_ext <<_ACEOF
27939 /* end confdefs.h. */
27940 $ac_includes_default
27943 rm -f conftest.$ac_objext
27944 if { (ac_try="$ac_compile"
27945 case "(($ac_try" in
27946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27947 *) ac_try_echo
=$ac_try;;
27949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27950 (eval "$ac_compile") 2>conftest.er1
27952 grep -v '^ *+' conftest.er1
>conftest.err
27954 cat conftest.err
>&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } && {
27957 test -z "$ac_c_werror_flag" ||
27958 test ! -s conftest.err
27959 } && test -s conftest.
$ac_objext; then
27960 ac_header_compiler
=yes
27962 echo "$as_me: failed program was:" >&5
27963 sed 's/^/| /' conftest.
$ac_ext >&5
27965 ac_header_compiler
=no
27968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27969 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27970 echo "${ECHO_T}$ac_header_compiler" >&6; }
27972 # Is the header present?
27973 { echo "$as_me:$LINENO: checking tds.h presence" >&5
27974 echo $ECHO_N "checking tds.h presence... $ECHO_C" >&6; }
27975 cat >conftest.
$ac_ext <<_ACEOF
27978 cat confdefs.h
>>conftest.
$ac_ext
27979 cat >>conftest.
$ac_ext <<_ACEOF
27980 /* end confdefs.h. */
27983 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27984 case "(($ac_try" in
27985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27986 *) ac_try_echo=$ac_try;;
27988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27991 grep -v '^ *+' conftest.er1 >conftest.err
27993 cat conftest.err >&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } >/dev/null && {
27996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27997 test ! -s conftest.err
27999 ac_header_preproc=yes
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28004 ac_header_preproc=no
28007 rm -f conftest.err conftest.$ac_ext
28008 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28009 echo "${ECHO_T}$ac_header_preproc" >&6; }
28011 # So? What about this header?
28012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28014 { echo "$as_me:$LINENO: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
28015 echo "$as_me: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28016 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the compiler's result" >&5
28017 echo "$as_me: WARNING: tds.h: proceeding with the compiler's result" >&2;}
28018 ac_header_preproc=yes
28021 { echo "$as_me:$LINENO: WARNING: tds.h: present but cannot be compiled" >&5
28022 echo "$as_me: WARNING: tds.h: present but cannot be compiled" >&2;}
28023 { echo "$as_me:$LINENO: WARNING: tds.h: check for missing prerequisite headers?" >&5
28024 echo "$as_me: WARNING: tds.h: check for missing prerequisite headers?" >&2;}
28025 { echo "$as_me:$LINENO: WARNING: tds.h: see the Autoconf documentation" >&5
28026 echo "$as_me: WARNING: tds.h: see the Autoconf documentation" >&2;}
28027 { echo "$as_me:$LINENO: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&5
28028 echo "$as_me: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
28029 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the preprocessor's result" >&5
28030 echo "$as_me: WARNING: tds.h: proceeding with the preprocessor's result" >&2;}
28031 { echo "$as_me:$LINENO: WARNING: tds.h: in the future, the compiler will take precedence" >&5
28032 echo "$as_me: WARNING: tds.h: in the future, the compiler will take precedence" >&2;}
28036 { echo "$as_me:$LINENO: checking for tds.h" >&5
28037 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
28038 if test "${ac_cv_header_tds_h+set}" = set; then
28039 echo $ECHO_N "(cached) $ECHO_C" >&6
28041 ac_cv_header_tds_h=$ac_header_preproc
28043 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
28044 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
28047 if test $ac_cv_header_tds_h = yes; then
28048 FREETDS_HEADER_FOUND=1
28050 FREETDS_HEADER_FOUND=0
28056 if test "x${FREETDS_HEADER_FOUND}" = "x0" ; then
28057 if test -n "${FREETDS_MANDATORY}" ;
28059 { echo "$as_me:$LINENO: ***" >&5
28060 echo "$as_me: ***" >&6;}
28061 { echo "$as_me:$LINENO: *** It appears that you do not have the tds development package installed." >&5
28062 echo "$as_me: *** It appears that you do not have the tds development package installed." >&6;}
28063 { echo "$as_me:$LINENO: *** Please install it to include ${FREETDS_DESCRIP} support, or re-run configure" >&5
28064 echo "$as_me: *** Please install it to include ${FREETDS_DESCRIP} support, or re-run configure" >&6;}
28065 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
28066 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
28075 cat >>confdefs.h <<_ACEOF
28076 #define HAVE_FREETDS 1
28080 elif test -n "${FREETDS_MANDATORY}";
28082 { echo "$as_me:$LINENO: ***" >&5
28083 echo "$as_me: ***" >&6;}
28084 { echo "$as_me:$LINENO: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&5
28085 echo "$as_me: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&6;}
28086 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28087 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28088 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
28089 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
28094 if test "${PBX_FREETDS}" != "0";
28096 case `grep TDS_VERSION_NO
${FREETDS_DIR:-/usr}/include
/tdsver.h
` in
28098 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_64"
28101 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_63"
28104 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_62"
28107 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_PRE_0_62"
28113 if test "${USE_TERMCAP}" != "no"; then
28115 if test "x${TERMCAP_DIR}" != "x"; then
28116 if test -d ${TERMCAP_DIR}/lib; then
28117 pbxlibdir="-L${TERMCAP_DIR}/lib"
28119 pbxlibdir="-L${TERMCAP_DIR}"
28122 { echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
28123 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
28124 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
28125 echo $ECHO_N "(cached) $ECHO_C" >&6
28127 ac_check_lib_save_LIBS=$LIBS
28128 LIBS="-ltermcap ${pbxlibdir} $LIBS"
28129 cat >conftest.$ac_ext <<_ACEOF
28132 cat confdefs.h >>conftest.$ac_ext
28133 cat >>conftest.$ac_ext <<_ACEOF
28134 /* end confdefs.h. */
28136 /* Override any GCC internal prototype to avoid an error.
28137 Use char because int might match the return type of a GCC
28138 builtin and then its argument prototype would still apply. */
28151 rm -f conftest.$ac_objext conftest$ac_exeext
28152 if { (ac_try="$ac_link"
28153 case "(($ac_try" in
28154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28155 *) ac_try_echo
=$ac_try;;
28157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28158 (eval "$ac_link") 2>conftest.er1
28160 grep -v '^ *+' conftest.er1
>conftest.err
28162 cat conftest.err
>&5
28163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164 (exit $ac_status); } && {
28165 test -z "$ac_c_werror_flag" ||
28166 test ! -s conftest.err
28167 } && test -s conftest
$ac_exeext &&
28168 $as_test_x conftest
$ac_exeext; then
28169 ac_cv_lib_termcap_tgetent
=yes
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.
$ac_ext >&5
28174 ac_cv_lib_termcap_tgetent
=no
28177 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28178 conftest
$ac_exeext conftest.
$ac_ext
28179 LIBS
=$ac_check_lib_save_LIBS
28181 { echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
28182 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
28183 if test $ac_cv_lib_termcap_tgetent = yes; then
28184 AST_TERMCAP_FOUND
=yes
28186 AST_TERMCAP_FOUND
=no
28190 if test "${AST_TERMCAP_FOUND}" = "yes"; then
28191 TERMCAP_LIB
="-ltermcap "
28192 TERMCAP_HEADER_FOUND
="1"
28193 if test "x${TERMCAP_DIR}" != "x"; then
28194 TERMCAP_LIB
="${pbxlibdir} ${TERMCAP_LIB}"
28195 TERMCAP_INCLUDE
="-I${TERMCAP_DIR}/include"
28196 saved_cppflags
="${CPPFLAGS}"
28197 CPPFLAGS
="${CPPFLAGS} -I${TERMCAP_DIR}/include"
28198 if test "x" != "x" ; then
28199 as_ac_Header
=`echo "ac_cv_header_${TERMCAP_DIR}/include/" | $as_tr_sh`
28200 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28201 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
28202 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
28203 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28204 echo $ECHO_N "(cached) $ECHO_C" >&6
28206 ac_res
=`eval echo '${'$as_ac_Header'}'`
28207 { echo "$as_me:$LINENO: result: $ac_res" >&5
28208 echo "${ECHO_T}$ac_res" >&6; }
28210 # Is the header compilable?
28211 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ usability" >&5
28212 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ usability... $ECHO_C" >&6; }
28213 cat >conftest.
$ac_ext <<_ACEOF
28216 cat confdefs.h
>>conftest.
$ac_ext
28217 cat >>conftest.
$ac_ext <<_ACEOF
28218 /* end confdefs.h. */
28219 $ac_includes_default
28220 #include <${TERMCAP_DIR}/include/>
28222 rm -f conftest.
$ac_objext
28223 if { (ac_try
="$ac_compile"
28224 case "(($ac_try" in
28225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28226 *) ac_try_echo=$ac_try;;
28228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28229 (eval "$ac_compile") 2>conftest.er1
28231 grep -v '^ *+' conftest.er1 >conftest.err
28233 cat conftest.err >&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } && {
28236 test -z "$ac_c_werror_flag" ||
28237 test ! -s conftest.err
28238 } && test -s conftest.$ac_objext; then
28239 ac_header_compiler=yes
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28244 ac_header_compiler=no
28247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28248 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28249 echo "${ECHO_T}$ac_header_compiler" >&6; }
28251 # Is the header present?
28252 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ presence" >&5
28253 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ presence... $ECHO_C" >&6; }
28254 cat >conftest.$ac_ext <<_ACEOF
28257 cat confdefs.h >>conftest.$ac_ext
28258 cat >>conftest.$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28260 #include <${TERMCAP_DIR}/include/>
28262 if { (ac_try="$ac_cpp conftest.$ac_ext"
28263 case "(($ac_try" in
28264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28265 *) ac_try_echo
=$ac_try;;
28267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28270 grep -v '^ *+' conftest.er1
>conftest.err
28272 cat conftest.err
>&5
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); } >/dev
/null
&& {
28275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28276 test ! -s conftest.err
28278 ac_header_preproc
=yes
28280 echo "$as_me: failed program was:" >&5
28281 sed 's/^/| /' conftest.
$ac_ext >&5
28283 ac_header_preproc
=no
28286 rm -f conftest.err conftest.
$ac_ext
28287 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28288 echo "${ECHO_T}$ac_header_preproc" >&6; }
28290 # So? What about this header?
28291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28293 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
28294 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
28295 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the compiler's result" >&5
28296 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: proceeding with the compiler's result" >&2;}
28297 ac_header_preproc
=yes
28300 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&5
28301 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&2;}
28302 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&5
28303 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&2;}
28304 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&5
28305 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&2;}
28306 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
28307 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
28308 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the preprocessor's result" >&5
28309 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: proceeding with the preprocessor's result" >&2;}
28310 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&5
28311 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&2;}
28315 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
28316 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
28317 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28318 echo $ECHO_N "(cached) $ECHO_C" >&6
28320 eval "$as_ac_Header=\$ac_header_preproc"
28322 ac_res
=`eval echo '${'$as_ac_Header'}'`
28323 { echo "$as_me:$LINENO: result: $ac_res" >&5
28324 echo "${ECHO_T}$ac_res" >&6; }
28327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28328 TERMCAP_HEADER_FOUND
=1
28330 TERMCAP_HEADER_FOUND
=0
28335 CPPFLAGS
="${saved_cppflags}"
28337 if test "x" != "x" ; then
28338 if test "${ac_cv_header_+set}" = set; then
28339 { echo "$as_me:$LINENO: checking for " >&5
28340 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
28341 if test "${ac_cv_header_+set}" = set; then
28342 echo $ECHO_N "(cached) $ECHO_C" >&6
28344 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
28345 echo "${ECHO_T}$ac_cv_header_" >&6; }
28347 # Is the header compilable?
28348 { echo "$as_me:$LINENO: checking usability" >&5
28349 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
28350 cat >conftest.
$ac_ext <<_ACEOF
28353 cat confdefs.h
>>conftest.
$ac_ext
28354 cat >>conftest.
$ac_ext <<_ACEOF
28355 /* end confdefs.h. */
28356 $ac_includes_default
28359 rm -f conftest.
$ac_objext
28360 if { (ac_try
="$ac_compile"
28361 case "(($ac_try" in
28362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28363 *) ac_try_echo=$ac_try;;
28365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28366 (eval "$ac_compile") 2>conftest.er1
28368 grep -v '^ *+' conftest.er1 >conftest.err
28370 cat conftest.err >&5
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); } && {
28373 test -z "$ac_c_werror_flag" ||
28374 test ! -s conftest.err
28375 } && test -s conftest.$ac_objext; then
28376 ac_header_compiler=yes
28378 echo "$as_me: failed program was:" >&5
28379 sed 's/^/| /' conftest.$ac_ext >&5
28381 ac_header_compiler=no
28384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28385 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28386 echo "${ECHO_T}$ac_header_compiler" >&6; }
28388 # Is the header present?
28389 { echo "$as_me:$LINENO: checking presence" >&5
28390 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
28391 cat >conftest.$ac_ext <<_ACEOF
28394 cat confdefs.h >>conftest.$ac_ext
28395 cat >>conftest.$ac_ext <<_ACEOF
28396 /* end confdefs.h. */
28399 if { (ac_try="$ac_cpp conftest.$ac_ext"
28400 case "(($ac_try" in
28401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28402 *) ac_try_echo
=$ac_try;;
28404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28407 grep -v '^ *+' conftest.er1
>conftest.err
28409 cat conftest.err
>&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } >/dev
/null
&& {
28412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28413 test ! -s conftest.err
28415 ac_header_preproc
=yes
28417 echo "$as_me: failed program was:" >&5
28418 sed 's/^/| /' conftest.
$ac_ext >&5
28420 ac_header_preproc
=no
28423 rm -f conftest.err conftest.
$ac_ext
28424 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28425 echo "${ECHO_T}$ac_header_preproc" >&6; }
28427 # So? What about this header?
28428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28430 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
28431 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
28432 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
28433 echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
28434 ac_header_preproc
=yes
28437 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
28438 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
28439 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
28440 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
28441 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
28442 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
28443 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
28444 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
28445 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
28446 echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
28447 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
28448 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
28452 { echo "$as_me:$LINENO: checking for " >&5
28453 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
28454 if test "${ac_cv_header_+set}" = set; then
28455 echo $ECHO_N "(cached) $ECHO_C" >&6
28457 ac_cv_header_
=$ac_header_preproc
28459 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
28460 echo "${ECHO_T}$ac_cv_header_" >&6; }
28463 if test $ac_cv_header_ = yes; then
28464 TERMCAP_HEADER_FOUND
=1
28466 TERMCAP_HEADER_FOUND
=0
28472 if test "x${TERMCAP_HEADER_FOUND}" = "x0" ; then
28473 if test -n "${TERMCAP_MANDATORY}" ;
28475 { echo "$as_me:$LINENO: ***" >&5
28476 echo "$as_me: ***" >&6;}
28477 { echo "$as_me:$LINENO: *** It appears that you do not have the termcap development package installed." >&5
28478 echo "$as_me: *** It appears that you do not have the termcap development package installed." >&6;}
28479 { echo "$as_me:$LINENO: *** Please install it to include ${TERMCAP_DESCRIP} support, or re-run configure" >&5
28480 echo "$as_me: *** Please install it to include ${TERMCAP_DESCRIP} support, or re-run configure" >&6;}
28481 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
28482 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
28491 cat >>confdefs.h
<<_ACEOF
28492 #define HAVE_TERMCAP 1
28496 elif test -n "${TERMCAP_MANDATORY}";
28498 { echo "$as_me:$LINENO: ***" >&5
28499 echo "$as_me: ***" >&6;}
28500 { echo "$as_me:$LINENO: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&5
28501 echo "$as_me: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&6;}
28502 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28503 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28504 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
28505 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
28512 if test "${USE_TINFO}" != "no"; then
28514 if test "x${TINFO_DIR}" != "x"; then
28515 if test -d ${TINFO_DIR}/lib
; then
28516 pbxlibdir
="-L${TINFO_DIR}/lib"
28518 pbxlibdir
="-L${TINFO_DIR}"
28521 { echo "$as_me:$LINENO: checking for tgetent in -ltinfo" >&5
28522 echo $ECHO_N "checking for tgetent in -ltinfo... $ECHO_C" >&6; }
28523 if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then
28524 echo $ECHO_N "(cached) $ECHO_C" >&6
28526 ac_check_lib_save_LIBS
=$LIBS
28527 LIBS
="-ltinfo ${pbxlibdir} $LIBS"
28528 cat >conftest.
$ac_ext <<_ACEOF
28531 cat confdefs.h
>>conftest.
$ac_ext
28532 cat >>conftest.
$ac_ext <<_ACEOF
28533 /* end confdefs.h. */
28535 /* Override any GCC internal prototype to avoid an error.
28536 Use char because int might match the return type of a GCC
28537 builtin and then its argument prototype would still apply. */
28550 rm -f conftest.
$ac_objext conftest
$ac_exeext
28551 if { (ac_try
="$ac_link"
28552 case "(($ac_try" in
28553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28554 *) ac_try_echo=$ac_try;;
28556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28557 (eval "$ac_link") 2>conftest.er1
28559 grep -v '^ *+' conftest.er1 >conftest.err
28561 cat conftest.err >&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); } && {
28564 test -z "$ac_c_werror_flag" ||
28565 test ! -s conftest.err
28566 } && test -s conftest$ac_exeext &&
28567 $as_test_x conftest$ac_exeext; then
28568 ac_cv_lib_tinfo_tgetent=yes
28570 echo "$as_me: failed program was:" >&5
28571 sed 's/^/| /' conftest.$ac_ext >&5
28573 ac_cv_lib_tinfo_tgetent=no
28576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28577 conftest$ac_exeext conftest.$ac_ext
28578 LIBS=$ac_check_lib_save_LIBS
28580 { echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tgetent" >&5
28581 echo "${ECHO_T}$ac_cv_lib_tinfo_tgetent" >&6; }
28582 if test $ac_cv_lib_tinfo_tgetent = yes; then
28583 AST_TINFO_FOUND=yes
28589 if test "${AST_TINFO_FOUND}" = "yes"; then
28590 TINFO_LIB="-ltinfo "
28591 TINFO_HEADER_FOUND="1"
28592 if test "x${TINFO_DIR}" != "x"; then
28593 TINFO_LIB="${pbxlibdir} ${TINFO_LIB}"
28594 TINFO_INCLUDE="-I${TINFO_DIR}/include"
28595 saved_cppflags="${CPPFLAGS}"
28596 CPPFLAGS="${CPPFLAGS} -I${TINFO_DIR}/include"
28597 if test "x" != "x" ; then
28598 as_ac_Header=`echo "ac_cv_header_${TINFO_DIR}/include/" |
$as_tr_sh`
28599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28600 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
28601 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
28602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28603 echo $ECHO_N "(cached) $ECHO_C" >&6
28605 ac_res=`eval echo '${'$as_ac_Header'}'`
28606 { echo "$as_me:$LINENO: result: $ac_res" >&5
28607 echo "${ECHO_T}$ac_res" >&6; }
28609 # Is the header compilable?
28610 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ usability" >&5
28611 echo $ECHO_N "checking ${TINFO_DIR}/include/ usability... $ECHO_C" >&6; }
28612 cat >conftest.$ac_ext <<_ACEOF
28615 cat confdefs.h >>conftest.$ac_ext
28616 cat >>conftest.$ac_ext <<_ACEOF
28617 /* end confdefs.h. */
28618 $ac_includes_default
28619 #include <${TINFO_DIR}/include/>
28621 rm -f conftest.$ac_objext
28622 if { (ac_try="$ac_compile"
28623 case "(($ac_try" in
28624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28625 *) ac_try_echo
=$ac_try;;
28627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28628 (eval "$ac_compile") 2>conftest.er1
28630 grep -v '^ *+' conftest.er1
>conftest.err
28632 cat conftest.err
>&5
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); } && {
28635 test -z "$ac_c_werror_flag" ||
28636 test ! -s conftest.err
28637 } && test -s conftest.
$ac_objext; then
28638 ac_header_compiler
=yes
28640 echo "$as_me: failed program was:" >&5
28641 sed 's/^/| /' conftest.
$ac_ext >&5
28643 ac_header_compiler
=no
28646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28647 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28648 echo "${ECHO_T}$ac_header_compiler" >&6; }
28650 # Is the header present?
28651 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ presence" >&5
28652 echo $ECHO_N "checking ${TINFO_DIR}/include/ presence... $ECHO_C" >&6; }
28653 cat >conftest.
$ac_ext <<_ACEOF
28656 cat confdefs.h
>>conftest.
$ac_ext
28657 cat >>conftest.
$ac_ext <<_ACEOF
28658 /* end confdefs.h. */
28659 #include <${TINFO_DIR}/include/>
28661 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28662 case "(($ac_try" in
28663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28664 *) ac_try_echo=$ac_try;;
28666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28667 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28669 grep -v '^ *+' conftest.er1 >conftest.err
28671 cat conftest.err >&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); } >/dev/null && {
28674 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28675 test ! -s conftest.err
28677 ac_header_preproc=yes
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28682 ac_header_preproc=no
28685 rm -f conftest.err conftest.$ac_ext
28686 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28687 echo "${ECHO_T}$ac_header_preproc" >&6; }
28689 # So? What about this header?
28690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28692 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
28693 echo "$as_me: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
28694 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the compiler's result" >&5
28695 echo "$as_me: WARNING: ${TINFO_DIR}/include/: proceeding with the compiler's result" >&2;}
28696 ac_header_preproc=yes
28699 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&5
28700 echo "$as_me: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&2;}
28701 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&5
28702 echo "$as_me: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&2;}
28703 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&5
28704 echo "$as_me: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&2;}
28705 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
28706 echo "$as_me: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
28707 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the preprocessor's result" >&5
28708 echo "$as_me: WARNING: ${TINFO_DIR}/include/: proceeding with the preprocessor's result" >&2;}
28709 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&5
28710 echo "$as_me: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&2;}
28714 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
28715 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
28716 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28717 echo $ECHO_N "(cached) $ECHO_C" >&6
28719 eval "$as_ac_Header=\$ac_header_preproc"
28721 ac_res=`eval echo '${'$as_ac_Header'}'`
28722 { echo "$as_me:$LINENO: result: $ac_res" >&5
28723 echo "${ECHO_T}$ac_res" >&6; }
28726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28727 TINFO_HEADER_FOUND=1
28729 TINFO_HEADER_FOUND=0
28734 CPPFLAGS="${saved_cppflags}"
28736 if test "x" != "x" ; then
28737 if test "${ac_cv_header_+set}" = set; then
28738 { echo "$as_me:$LINENO: checking for " >&5
28739 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
28740 if test "${ac_cv_header_+set}" = set; then
28741 echo $ECHO_N "(cached) $ECHO_C" >&6
28743 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
28744 echo "${ECHO_T}$ac_cv_header_" >&6; }
28746 # Is the header compilable?
28747 { echo "$as_me:$LINENO: checking usability" >&5
28748 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
28749 cat >conftest.$ac_ext <<_ACEOF
28752 cat confdefs.h >>conftest.$ac_ext
28753 cat >>conftest.$ac_ext <<_ACEOF
28754 /* end confdefs.h. */
28755 $ac_includes_default
28758 rm -f conftest.$ac_objext
28759 if { (ac_try="$ac_compile"
28760 case "(($ac_try" in
28761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28762 *) ac_try_echo
=$ac_try;;
28764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28765 (eval "$ac_compile") 2>conftest.er1
28767 grep -v '^ *+' conftest.er1
>conftest.err
28769 cat conftest.err
>&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); } && {
28772 test -z "$ac_c_werror_flag" ||
28773 test ! -s conftest.err
28774 } && test -s conftest.
$ac_objext; then
28775 ac_header_compiler
=yes
28777 echo "$as_me: failed program was:" >&5
28778 sed 's/^/| /' conftest.
$ac_ext >&5
28780 ac_header_compiler
=no
28783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28784 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28785 echo "${ECHO_T}$ac_header_compiler" >&6; }
28787 # Is the header present?
28788 { echo "$as_me:$LINENO: checking presence" >&5
28789 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
28790 cat >conftest.
$ac_ext <<_ACEOF
28793 cat confdefs.h
>>conftest.
$ac_ext
28794 cat >>conftest.
$ac_ext <<_ACEOF
28795 /* end confdefs.h. */
28798 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28799 case "(($ac_try" in
28800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28801 *) ac_try_echo=$ac_try;;
28803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28806 grep -v '^ *+' conftest.er1 >conftest.err
28808 cat conftest.err >&5
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); } >/dev/null && {
28811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28812 test ! -s conftest.err
28814 ac_header_preproc=yes
28816 echo "$as_me: failed program was:" >&5
28817 sed 's/^/| /' conftest.$ac_ext >&5
28819 ac_header_preproc=no
28822 rm -f conftest.err conftest.$ac_ext
28823 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28824 echo "${ECHO_T}$ac_header_preproc" >&6; }
28826 # So? What about this header?
28827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28829 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
28830 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
28831 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
28832 echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
28833 ac_header_preproc=yes
28836 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
28837 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
28838 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
28839 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
28840 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
28841 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
28842 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
28843 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
28844 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
28845 echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
28846 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
28847 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
28851 { echo "$as_me:$LINENO: checking for " >&5
28852 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
28853 if test "${ac_cv_header_+set}" = set; then
28854 echo $ECHO_N "(cached) $ECHO_C" >&6
28856 ac_cv_header_=$ac_header_preproc
28858 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
28859 echo "${ECHO_T}$ac_cv_header_" >&6; }
28862 if test $ac_cv_header_ = yes; then
28863 TINFO_HEADER_FOUND=1
28865 TINFO_HEADER_FOUND=0
28871 if test "x${TINFO_HEADER_FOUND}" = "x0" ; then
28872 if test -n "${TINFO_MANDATORY}" ;
28874 { echo "$as_me:$LINENO: ***" >&5
28875 echo "$as_me: ***" >&6;}
28876 { echo "$as_me:$LINENO: *** It appears that you do not have the tinfo development package installed." >&5
28877 echo "$as_me: *** It appears that you do not have the tinfo development package installed." >&6;}
28878 { echo "$as_me:$LINENO: *** Please install it to include ${TINFO_DESCRIP} support, or re-run configure" >&5
28879 echo "$as_me: *** Please install it to include ${TINFO_DESCRIP} support, or re-run configure" >&6;}
28880 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
28881 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
28890 cat >>confdefs.h <<_ACEOF
28891 #define HAVE_TINFO 1
28895 elif test -n "${TINFO_MANDATORY}";
28897 { echo "$as_me:$LINENO: ***" >&5
28898 echo "$as_me: ***" >&6;}
28899 { echo "$as_me:$LINENO: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&5
28900 echo "$as_me: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&6;}
28901 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28902 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28903 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
28904 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
28910 if test "${host_os}" != "linux-gnu" ; then
28911 tonezone_extra="-lm"
28915 if test "${USE_TONEZONE}" != "no"; then
28917 if test "x${TONEZONE_DIR}" != "x"; then
28918 if test -d ${TONEZONE_DIR}/lib; then
28919 pbxlibdir="-L${TONEZONE_DIR}/lib"
28921 pbxlibdir="-L${TONEZONE_DIR}"
28924 { echo "$as_me:$LINENO: checking for tone_zone_find in -ltonezone" >&5
28925 echo $ECHO_N "checking for tone_zone_find in -ltonezone... $ECHO_C" >&6; }
28926 if test "${ac_cv_lib_tonezone_tone_zone_find+set}" = set; then
28927 echo $ECHO_N "(cached) $ECHO_C" >&6
28929 ac_check_lib_save_LIBS=$LIBS
28930 LIBS="-ltonezone ${pbxlibdir} ${tonezone_extra} $LIBS"
28931 cat >conftest.$ac_ext <<_ACEOF
28934 cat confdefs.h >>conftest.$ac_ext
28935 cat >>conftest.$ac_ext <<_ACEOF
28936 /* end confdefs.h. */
28938 /* Override any GCC internal prototype to avoid an error.
28939 Use char because int might match the return type of a GCC
28940 builtin and then its argument prototype would still apply. */
28944 char tone_zone_find ();
28948 return tone_zone_find ();
28953 rm -f conftest.$ac_objext conftest$ac_exeext
28954 if { (ac_try="$ac_link"
28955 case "(($ac_try" in
28956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28957 *) ac_try_echo
=$ac_try;;
28959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28960 (eval "$ac_link") 2>conftest.er1
28962 grep -v '^ *+' conftest.er1
>conftest.err
28964 cat conftest.err
>&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } && {
28967 test -z "$ac_c_werror_flag" ||
28968 test ! -s conftest.err
28969 } && test -s conftest
$ac_exeext &&
28970 $as_test_x conftest
$ac_exeext; then
28971 ac_cv_lib_tonezone_tone_zone_find
=yes
28973 echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.
$ac_ext >&5
28976 ac_cv_lib_tonezone_tone_zone_find
=no
28979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28980 conftest
$ac_exeext conftest.
$ac_ext
28981 LIBS
=$ac_check_lib_save_LIBS
28983 { echo "$as_me:$LINENO: result: $ac_cv_lib_tonezone_tone_zone_find" >&5
28984 echo "${ECHO_T}$ac_cv_lib_tonezone_tone_zone_find" >&6; }
28985 if test $ac_cv_lib_tonezone_tone_zone_find = yes; then
28986 AST_TONEZONE_FOUND
=yes
28988 AST_TONEZONE_FOUND
=no
28992 if test "${AST_TONEZONE_FOUND}" = "yes"; then
28993 TONEZONE_LIB
="-ltonezone ${tonezone_extra}"
28994 TONEZONE_HEADER_FOUND
="1"
28995 if test "x${TONEZONE_DIR}" != "x"; then
28996 TONEZONE_LIB
="${pbxlibdir} ${TONEZONE_LIB}"
28997 TONEZONE_INCLUDE
="-I${TONEZONE_DIR}/include"
28998 saved_cppflags
="${CPPFLAGS}"
28999 CPPFLAGS
="${CPPFLAGS} -I${TONEZONE_DIR}/include"
29000 if test "xzaptel/tonezone.h" != "x" ; then
29001 as_ac_Header
=`echo "ac_cv_header_${TONEZONE_DIR}/include/zaptel/tonezone.h" | $as_tr_sh`
29002 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29003 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
29004 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
29005 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29006 echo $ECHO_N "(cached) $ECHO_C" >&6
29008 ac_res
=`eval echo '${'$as_ac_Header'}'`
29009 { echo "$as_me:$LINENO: result: $ac_res" >&5
29010 echo "${ECHO_T}$ac_res" >&6; }
29012 # Is the header compilable?
29013 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability" >&5
29014 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability... $ECHO_C" >&6; }
29015 cat >conftest.
$ac_ext <<_ACEOF
29018 cat confdefs.h
>>conftest.
$ac_ext
29019 cat >>conftest.
$ac_ext <<_ACEOF
29020 /* end confdefs.h. */
29021 $ac_includes_default
29022 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
29024 rm -f conftest.
$ac_objext
29025 if { (ac_try
="$ac_compile"
29026 case "(($ac_try" in
29027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_compile") 2>conftest.er1
29033 grep -v '^ *+' conftest.er1 >conftest.err
29035 cat conftest.err >&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && {
29038 test -z "$ac_c_werror_flag" ||
29039 test ! -s conftest.err
29040 } && test -s conftest.$ac_objext; then
29041 ac_header_compiler=yes
29043 echo "$as_me: failed program was:" >&5
29044 sed 's/^/| /' conftest.$ac_ext >&5
29046 ac_header_compiler=no
29049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29050 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29051 echo "${ECHO_T}$ac_header_compiler" >&6; }
29053 # Is the header present?
29054 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence" >&5
29055 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence... $ECHO_C" >&6; }
29056 cat >conftest.$ac_ext <<_ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29062 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
29064 if { (ac_try="$ac_cpp conftest.$ac_ext"
29065 case "(($ac_try" in
29066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29067 *) ac_try_echo
=$ac_try;;
29069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29072 grep -v '^ *+' conftest.er1
>conftest.err
29074 cat conftest.err
>&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } >/dev
/null
&& {
29077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29078 test ! -s conftest.err
29080 ac_header_preproc
=yes
29082 echo "$as_me: failed program was:" >&5
29083 sed 's/^/| /' conftest.
$ac_ext >&5
29085 ac_header_preproc
=no
29088 rm -f conftest.err conftest.
$ac_ext
29089 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29090 echo "${ECHO_T}$ac_header_preproc" >&6; }
29092 # So? What about this header?
29093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29095 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
29096 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29097 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the compiler's result" >&5
29098 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the compiler's result" >&2;}
29099 ac_header_preproc
=yes
29102 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&5
29103 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&2;}
29104 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&5
29105 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
29106 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&5
29107 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&2;}
29108 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
29109 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
29110 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the preprocessor's result" >&5
29111 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the preprocessor's result" >&2;}
29112 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
29113 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
29117 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
29118 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
29119 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29120 echo $ECHO_N "(cached) $ECHO_C" >&6
29122 eval "$as_ac_Header=\$ac_header_preproc"
29124 ac_res
=`eval echo '${'$as_ac_Header'}'`
29125 { echo "$as_me:$LINENO: result: $ac_res" >&5
29126 echo "${ECHO_T}$ac_res" >&6; }
29129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29130 TONEZONE_HEADER_FOUND
=1
29132 TONEZONE_HEADER_FOUND
=0
29137 CPPFLAGS
="${saved_cppflags}"
29139 if test "xzaptel/tonezone.h" != "x" ; then
29140 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
29141 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
29142 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
29143 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
29144 echo $ECHO_N "(cached) $ECHO_C" >&6
29146 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
29147 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
29149 # Is the header compilable?
29150 { echo "$as_me:$LINENO: checking zaptel/tonezone.h usability" >&5
29151 echo $ECHO_N "checking zaptel/tonezone.h usability... $ECHO_C" >&6; }
29152 cat >conftest.
$ac_ext <<_ACEOF
29155 cat confdefs.h
>>conftest.
$ac_ext
29156 cat >>conftest.
$ac_ext <<_ACEOF
29157 /* end confdefs.h. */
29158 $ac_includes_default
29159 #include <zaptel/tonezone.h>
29161 rm -f conftest.
$ac_objext
29162 if { (ac_try
="$ac_compile"
29163 case "(($ac_try" in
29164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29165 *) ac_try_echo=$ac_try;;
29167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29168 (eval "$ac_compile") 2>conftest.er1
29170 grep -v '^ *+' conftest.er1 >conftest.err
29172 cat conftest.err >&5
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); } && {
29175 test -z "$ac_c_werror_flag" ||
29176 test ! -s conftest.err
29177 } && test -s conftest.$ac_objext; then
29178 ac_header_compiler=yes
29180 echo "$as_me: failed program was:" >&5
29181 sed 's/^/| /' conftest.$ac_ext >&5
29183 ac_header_compiler=no
29186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29187 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29188 echo "${ECHO_T}$ac_header_compiler" >&6; }
29190 # Is the header present?
29191 { echo "$as_me:$LINENO: checking zaptel/tonezone.h presence" >&5
29192 echo $ECHO_N "checking zaptel/tonezone.h presence... $ECHO_C" >&6; }
29193 cat >conftest.$ac_ext <<_ACEOF
29196 cat confdefs.h >>conftest.$ac_ext
29197 cat >>conftest.$ac_ext <<_ACEOF
29198 /* end confdefs.h. */
29199 #include <zaptel/tonezone.h>
29201 if { (ac_try="$ac_cpp conftest.$ac_ext"
29202 case "(($ac_try" in
29203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29204 *) ac_try_echo
=$ac_try;;
29206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29209 grep -v '^ *+' conftest.er1
>conftest.err
29211 cat conftest.err
>&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } >/dev
/null
&& {
29214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29215 test ! -s conftest.err
29217 ac_header_preproc
=yes
29219 echo "$as_me: failed program was:" >&5
29220 sed 's/^/| /' conftest.
$ac_ext >&5
29222 ac_header_preproc
=no
29225 rm -f conftest.err conftest.
$ac_ext
29226 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29227 echo "${ECHO_T}$ac_header_preproc" >&6; }
29229 # So? What about this header?
29230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29232 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
29233 echo "$as_me: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29234 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the compiler's result" >&5
29235 echo "$as_me: WARNING: zaptel/tonezone.h: proceeding with the compiler's result" >&2;}
29236 ac_header_preproc
=yes
29239 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&5
29240 echo "$as_me: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&2;}
29241 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&5
29242 echo "$as_me: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
29243 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&5
29244 echo "$as_me: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&2;}
29245 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
29246 echo "$as_me: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
29247 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the preprocessor's result" >&5
29248 echo "$as_me: WARNING: zaptel/tonezone.h: proceeding with the preprocessor's result" >&2;}
29249 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
29250 echo "$as_me: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
29254 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
29255 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
29256 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
29257 echo $ECHO_N "(cached) $ECHO_C" >&6
29259 ac_cv_header_zaptel_tonezone_h
=$ac_header_preproc
29261 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
29262 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
29265 if test $ac_cv_header_zaptel_tonezone_h = yes; then
29266 TONEZONE_HEADER_FOUND
=1
29268 TONEZONE_HEADER_FOUND
=0
29274 if test "x${TONEZONE_HEADER_FOUND}" = "x0" ; then
29275 if test -n "${TONEZONE_MANDATORY}" ;
29277 { echo "$as_me:$LINENO: ***" >&5
29278 echo "$as_me: ***" >&6;}
29279 { echo "$as_me:$LINENO: *** It appears that you do not have the tonezone development package installed." >&5
29280 echo "$as_me: *** It appears that you do not have the tonezone development package installed." >&6;}
29281 { echo "$as_me:$LINENO: *** Please install it to include ${TONEZONE_DESCRIP} support, or re-run configure" >&5
29282 echo "$as_me: *** Please install it to include ${TONEZONE_DESCRIP} support, or re-run configure" >&6;}
29283 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
29284 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
29288 TONEZONE_INCLUDE
=""
29293 cat >>confdefs.h
<<_ACEOF
29294 #define HAVE_TONEZONE 1
29298 elif test -n "${TONEZONE_MANDATORY}";
29300 { echo "$as_me:$LINENO: ***" >&5
29301 echo "$as_me: ***" >&6;}
29302 { echo "$as_me:$LINENO: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&5
29303 echo "$as_me: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&6;}
29304 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
29305 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
29306 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
29307 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
29314 if test "${USE_VORBIS}" != "no"; then
29316 if test "x${VORBIS_DIR}" != "x"; then
29317 if test -d ${VORBIS_DIR}/lib
; then
29318 pbxlibdir
="-L${VORBIS_DIR}/lib"
29320 pbxlibdir
="-L${VORBIS_DIR}"
29323 { echo "$as_me:$LINENO: checking for vorbis_info_init in -lvorbis" >&5
29324 echo $ECHO_N "checking for vorbis_info_init in -lvorbis... $ECHO_C" >&6; }
29325 if test "${ac_cv_lib_vorbis_vorbis_info_init+set}" = set; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29328 ac_check_lib_save_LIBS
=$LIBS
29329 LIBS
="-lvorbis ${pbxlibdir} -lm -lvorbisenc $LIBS"
29330 cat >conftest.
$ac_ext <<_ACEOF
29333 cat confdefs.h
>>conftest.
$ac_ext
29334 cat >>conftest.
$ac_ext <<_ACEOF
29335 /* end confdefs.h. */
29337 /* Override any GCC internal prototype to avoid an error.
29338 Use char because int might match the return type of a GCC
29339 builtin and then its argument prototype would still apply. */
29343 char vorbis_info_init ();
29347 return vorbis_info_init ();
29352 rm -f conftest.
$ac_objext conftest
$ac_exeext
29353 if { (ac_try
="$ac_link"
29354 case "(($ac_try" in
29355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29356 *) ac_try_echo=$ac_try;;
29358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29359 (eval "$ac_link") 2>conftest.er1
29361 grep -v '^ *+' conftest.er1 >conftest.err
29363 cat conftest.err >&5
29364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365 (exit $ac_status); } && {
29366 test -z "$ac_c_werror_flag" ||
29367 test ! -s conftest.err
29368 } && test -s conftest$ac_exeext &&
29369 $as_test_x conftest$ac_exeext; then
29370 ac_cv_lib_vorbis_vorbis_info_init=yes
29372 echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.$ac_ext >&5
29375 ac_cv_lib_vorbis_vorbis_info_init=no
29378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29379 conftest$ac_exeext conftest.$ac_ext
29380 LIBS=$ac_check_lib_save_LIBS
29382 { echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
29383 echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
29384 if test $ac_cv_lib_vorbis_vorbis_info_init = yes; then
29385 AST_VORBIS_FOUND=yes
29387 AST_VORBIS_FOUND=no
29391 if test "${AST_VORBIS_FOUND}" = "yes"; then
29392 VORBIS_LIB="-lvorbis -lm -lvorbisenc"
29393 VORBIS_HEADER_FOUND="1"
29394 if test "x${VORBIS_DIR}" != "x"; then
29395 VORBIS_LIB="${pbxlibdir} ${VORBIS_LIB}"
29396 VORBIS_INCLUDE="-I${VORBIS_DIR}/include"
29397 saved_cppflags="${CPPFLAGS}"
29398 CPPFLAGS="${CPPFLAGS} -I${VORBIS_DIR}/include"
29399 if test "xvorbis/codec.h" != "x" ; then
29400 as_ac_Header=`echo "ac_cv_header_${VORBIS_DIR}/include/vorbis/codec.h" |
$as_tr_sh`
29401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29402 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
29403 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
29404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29405 echo $ECHO_N "(cached) $ECHO_C" >&6
29407 ac_res=`eval echo '${'$as_ac_Header'}'`
29408 { echo "$as_me:$LINENO: result: $ac_res" >&5
29409 echo "${ECHO_T}$ac_res" >&6; }
29411 # Is the header compilable?
29412 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h usability" >&5
29413 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h usability... $ECHO_C" >&6; }
29414 cat >conftest.$ac_ext <<_ACEOF
29417 cat confdefs.h >>conftest.$ac_ext
29418 cat >>conftest.$ac_ext <<_ACEOF
29419 /* end confdefs.h. */
29420 $ac_includes_default
29421 #include <${VORBIS_DIR}/include/vorbis/codec.h>
29423 rm -f conftest.$ac_objext
29424 if { (ac_try="$ac_compile"
29425 case "(($ac_try" in
29426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29427 *) ac_try_echo
=$ac_try;;
29429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29430 (eval "$ac_compile") 2>conftest.er1
29432 grep -v '^ *+' conftest.er1
>conftest.err
29434 cat conftest.err
>&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); } && {
29437 test -z "$ac_c_werror_flag" ||
29438 test ! -s conftest.err
29439 } && test -s conftest.
$ac_objext; then
29440 ac_header_compiler
=yes
29442 echo "$as_me: failed program was:" >&5
29443 sed 's/^/| /' conftest.
$ac_ext >&5
29445 ac_header_compiler
=no
29448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29449 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29450 echo "${ECHO_T}$ac_header_compiler" >&6; }
29452 # Is the header present?
29453 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h presence" >&5
29454 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h presence... $ECHO_C" >&6; }
29455 cat >conftest.
$ac_ext <<_ACEOF
29458 cat confdefs.h
>>conftest.
$ac_ext
29459 cat >>conftest.
$ac_ext <<_ACEOF
29460 /* end confdefs.h. */
29461 #include <${VORBIS_DIR}/include/vorbis/codec.h>
29463 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29464 case "(($ac_try" in
29465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29466 *) ac_try_echo=$ac_try;;
29468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29471 grep -v '^ *+' conftest.er1 >conftest.err
29473 cat conftest.err >&5
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); } >/dev/null && {
29476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29477 test ! -s conftest.err
29479 ac_header_preproc=yes
29481 echo "$as_me: failed program was:" >&5
29482 sed 's/^/| /' conftest.$ac_ext >&5
29484 ac_header_preproc=no
29487 rm -f conftest.err conftest.$ac_ext
29488 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29489 echo "${ECHO_T}$ac_header_preproc" >&6; }
29491 # So? What about this header?
29492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29494 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
29495 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29496 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the compiler's result" >&5
29497 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the compiler's result" >&2;}
29498 ac_header_preproc=yes
29501 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&5
29502 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&2;}
29503 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&5
29504 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&2;}
29505 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&5
29506 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&2;}
29507 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
29508 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
29509 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the preprocessor's result" >&5
29510 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
29511 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&5
29512 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
29516 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
29517 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
29518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29519 echo $ECHO_N "(cached) $ECHO_C" >&6
29521 eval "$as_ac_Header=\$ac_header_preproc"
29523 ac_res=`eval echo '${'$as_ac_Header'}'`
29524 { echo "$as_me:$LINENO: result: $ac_res" >&5
29525 echo "${ECHO_T}$ac_res" >&6; }
29528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29529 VORBIS_HEADER_FOUND=1
29531 VORBIS_HEADER_FOUND=0
29536 CPPFLAGS="${saved_cppflags}"
29538 if test "xvorbis/codec.h" != "x" ; then
29539 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
29540 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
29541 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
29542 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
29543 echo $ECHO_N "(cached) $ECHO_C" >&6
29545 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
29546 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
29548 # Is the header compilable?
29549 { echo "$as_me:$LINENO: checking vorbis/codec.h usability" >&5
29550 echo $ECHO_N "checking vorbis/codec.h usability... $ECHO_C" >&6; }
29551 cat >conftest.$ac_ext <<_ACEOF
29554 cat confdefs.h >>conftest.$ac_ext
29555 cat >>conftest.$ac_ext <<_ACEOF
29556 /* end confdefs.h. */
29557 $ac_includes_default
29558 #include <vorbis/codec.h>
29560 rm -f conftest.$ac_objext
29561 if { (ac_try="$ac_compile"
29562 case "(($ac_try" in
29563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29564 *) ac_try_echo
=$ac_try;;
29566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29567 (eval "$ac_compile") 2>conftest.er1
29569 grep -v '^ *+' conftest.er1
>conftest.err
29571 cat conftest.err
>&5
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); } && {
29574 test -z "$ac_c_werror_flag" ||
29575 test ! -s conftest.err
29576 } && test -s conftest.
$ac_objext; then
29577 ac_header_compiler
=yes
29579 echo "$as_me: failed program was:" >&5
29580 sed 's/^/| /' conftest.
$ac_ext >&5
29582 ac_header_compiler
=no
29585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29586 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29587 echo "${ECHO_T}$ac_header_compiler" >&6; }
29589 # Is the header present?
29590 { echo "$as_me:$LINENO: checking vorbis/codec.h presence" >&5
29591 echo $ECHO_N "checking vorbis/codec.h presence... $ECHO_C" >&6; }
29592 cat >conftest.
$ac_ext <<_ACEOF
29595 cat confdefs.h
>>conftest.
$ac_ext
29596 cat >>conftest.
$ac_ext <<_ACEOF
29597 /* end confdefs.h. */
29598 #include <vorbis/codec.h>
29600 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29601 case "(($ac_try" in
29602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29603 *) ac_try_echo=$ac_try;;
29605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29608 grep -v '^ *+' conftest.er1 >conftest.err
29610 cat conftest.err >&5
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); } >/dev/null && {
29613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29614 test ! -s conftest.err
29616 ac_header_preproc=yes
29618 echo "$as_me: failed program was:" >&5
29619 sed 's/^/| /' conftest.$ac_ext >&5
29621 ac_header_preproc=no
29624 rm -f conftest.err conftest.$ac_ext
29625 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29626 echo "${ECHO_T}$ac_header_preproc" >&6; }
29628 # So? What about this header?
29629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29631 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
29632 echo "$as_me: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29633 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&5
29634 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&2;}
29635 ac_header_preproc=yes
29638 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: present but cannot be compiled" >&5
29639 echo "$as_me: WARNING: vorbis/codec.h: present but cannot be compiled" >&2;}
29640 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&5
29641 echo "$as_me: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&2;}
29642 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: see the Autoconf documentation" >&5
29643 echo "$as_me: WARNING: vorbis/codec.h: see the Autoconf documentation" >&2;}
29644 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
29645 echo "$as_me: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
29646 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&5
29647 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
29648 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&5
29649 echo "$as_me: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
29653 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
29654 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
29655 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
29656 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 ac_cv_header_vorbis_codec_h=$ac_header_preproc
29660 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
29661 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
29664 if test $ac_cv_header_vorbis_codec_h = yes; then
29665 VORBIS_HEADER_FOUND=1
29667 VORBIS_HEADER_FOUND=0
29673 if test "x${VORBIS_HEADER_FOUND}" = "x0" ; then
29674 if test -n "${VORBIS_MANDATORY}" ;
29676 { echo "$as_me:$LINENO: ***" >&5
29677 echo "$as_me: ***" >&6;}
29678 { echo "$as_me:$LINENO: *** It appears that you do not have the vorbis development package installed." >&5
29679 echo "$as_me: *** It appears that you do not have the vorbis development package installed." >&6;}
29680 { echo "$as_me:$LINENO: *** Please install it to include ${VORBIS_DESCRIP} support, or re-run configure" >&5
29681 echo "$as_me: *** Please install it to include ${VORBIS_DESCRIP} support, or re-run configure" >&6;}
29682 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
29683 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
29692 cat >>confdefs.h <<_ACEOF
29693 #define HAVE_VORBIS 1
29697 elif test -n "${VORBIS_MANDATORY}";
29699 { echo "$as_me:$LINENO: ***" >&5
29700 echo "$as_me: ***" >&6;}
29701 { echo "$as_me:$LINENO: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&5
29702 echo "$as_me: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&6;}
29703 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
29704 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
29705 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
29706 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
29713 ac_cpp='$CXXCPP $CPPFLAGS'
29714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29719 if test "${USE_VPB}" != "no"; then
29720 { echo "$as_me:$LINENO: checking for vpb_open in -lvpb" >&5
29721 echo $ECHO_N "checking for vpb_open in -lvpb... $ECHO_C" >&6; }
29722 saved_libs="${LIBS}"
29723 saved_cppflags="${CPPFLAGS}"
29724 if test "x${VPB_DIR}" != "x"; then
29725 if test -d ${VPB_DIR}/lib; then
29726 vpblibdir=${VPB_DIR}/lib
29728 vpblibdir=${VPB_DIR}
29730 LIBS="${LIBS} -L${vpblibdir}"
29731 CPPFLAGS="${CPPFLAGS} -I${VPB_DIR}/include"
29733 LIBS="${LIBS} -lvpb -lpthread"
29734 cat >conftest.$ac_ext <<_ACEOF
29738 cat confdefs.h >>conftest.$ac_ext
29739 cat >>conftest.$ac_ext <<_ACEOF
29740 /* end confdefs.h. */
29741 #include <vpbapi.h>
29745 int q = vpb_open(0,0);
29751 rm -f conftest.$ac_objext conftest$ac_exeext
29752 if { (ac_try="$ac_link"
29753 case "(($ac_try" in
29754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29755 *) ac_try_echo
=$ac_try;;
29757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29758 (eval "$ac_link") 2>conftest.er1
29760 grep -v '^ *+' conftest.er1
>conftest.err
29762 cat conftest.err
>&5
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); } && {
29765 test -z "$ac_cxx_werror_flag" ||
29766 test ! -s conftest.err
29767 } && test -s conftest
$ac_exeext &&
29768 $as_test_x conftest
$ac_exeext; then
29769 { echo "$as_me:$LINENO: result: yes" >&5
29770 echo "${ECHO_T}yes" >&6; }
29771 ac_cv_lib_vpb_vpb_open
="yes"
29774 echo "$as_me: failed program was:" >&5
29775 sed 's/^/| /' conftest.
$ac_ext >&5
29777 { echo "$as_me:$LINENO: result: no" >&5
29778 echo "${ECHO_T}no" >&6; }
29779 ac_cv_lib_vpb_vpb_open
="no"
29784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29785 conftest
$ac_exeext conftest.
$ac_ext
29786 LIBS
="${saved_libs}"
29787 CPPFLAGS
="${saved_cppflags}"
29788 if test "${ac_cv_lib_vpb_vpb_open}" = "yes"; then
29790 if test "${VPB_DIR}" != ""; then
29791 VPB_LIB
="-L${vpblibdir} ${VPB_LIB}"
29792 VPB_INCLUDE
="-I${VPB_DIR}/include"
29796 cat >>confdefs.h
<<\_ACEOF
29800 elif test -n "${VPB_MANDATORY}"; then
29801 { echo "$as_me:$LINENO: ***" >&5
29802 echo "$as_me: ***" >&6;}
29803 { echo "$as_me:$LINENO: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&5
29804 echo "$as_me: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&6;}
29805 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
29806 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
29807 { echo "$as_me:$LINENO: *** including --without-vpb." >&5
29808 echo "$as_me: *** including --without-vpb." >&6;}
29814 ac_cpp
='$CPP $CPPFLAGS'
29815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29821 if test "${USE_ZLIB}" != "no"; then
29823 if test "x${ZLIB_DIR}" != "x"; then
29824 if test -d ${ZLIB_DIR}/lib
; then
29825 pbxlibdir
="-L${ZLIB_DIR}/lib"
29827 pbxlibdir
="-L${ZLIB_DIR}"
29830 { echo "$as_me:$LINENO: checking for compress in -lz" >&5
29831 echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
29832 if test "${ac_cv_lib_z_compress+set}" = set; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29835 ac_check_lib_save_LIBS
=$LIBS
29836 LIBS
="-lz ${pbxlibdir} $LIBS"
29837 cat >conftest.
$ac_ext <<_ACEOF
29840 cat confdefs.h
>>conftest.
$ac_ext
29841 cat >>conftest.
$ac_ext <<_ACEOF
29842 /* end confdefs.h. */
29844 /* Override any GCC internal prototype to avoid an error.
29845 Use char because int might match the return type of a GCC
29846 builtin and then its argument prototype would still apply. */
29854 return compress ();
29859 rm -f conftest.
$ac_objext conftest
$ac_exeext
29860 if { (ac_try
="$ac_link"
29861 case "(($ac_try" in
29862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29863 *) ac_try_echo=$ac_try;;
29865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29866 (eval "$ac_link") 2>conftest.er1
29868 grep -v '^ *+' conftest.er1 >conftest.err
29870 cat conftest.err >&5
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); } && {
29873 test -z "$ac_c_werror_flag" ||
29874 test ! -s conftest.err
29875 } && test -s conftest$ac_exeext &&
29876 $as_test_x conftest$ac_exeext; then
29877 ac_cv_lib_z_compress=yes
29879 echo "$as_me: failed program was:" >&5
29880 sed 's/^/| /' conftest.$ac_ext >&5
29882 ac_cv_lib_z_compress=no
29885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29886 conftest$ac_exeext conftest.$ac_ext
29887 LIBS=$ac_check_lib_save_LIBS
29889 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
29890 echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
29891 if test $ac_cv_lib_z_compress = yes; then
29898 if test "${AST_ZLIB_FOUND}" = "yes"; then
29900 ZLIB_HEADER_FOUND="1"
29901 if test "x${ZLIB_DIR}" != "x"; then
29902 ZLIB_LIB="${pbxlibdir} ${ZLIB_LIB}"
29903 ZLIB_INCLUDE="-I${ZLIB_DIR}/include"
29904 saved_cppflags="${CPPFLAGS}"
29905 CPPFLAGS="${CPPFLAGS} -I${ZLIB_DIR}/include"
29906 if test "xzlib.h" != "x" ; then
29907 as_ac_Header=`echo "ac_cv_header_${ZLIB_DIR}/include/zlib.h" |
$as_tr_sh`
29908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29909 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
29910 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
29911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29912 echo $ECHO_N "(cached) $ECHO_C" >&6
29914 ac_res=`eval echo '${'$as_ac_Header'}'`
29915 { echo "$as_me:$LINENO: result: $ac_res" >&5
29916 echo "${ECHO_T}$ac_res" >&6; }
29918 # Is the header compilable?
29919 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h usability" >&5
29920 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h usability... $ECHO_C" >&6; }
29921 cat >conftest.$ac_ext <<_ACEOF
29924 cat confdefs.h >>conftest.$ac_ext
29925 cat >>conftest.$ac_ext <<_ACEOF
29926 /* end confdefs.h. */
29927 $ac_includes_default
29928 #include <${ZLIB_DIR}/include/zlib.h>
29930 rm -f conftest.$ac_objext
29931 if { (ac_try="$ac_compile"
29932 case "(($ac_try" in
29933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29934 *) ac_try_echo
=$ac_try;;
29936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29937 (eval "$ac_compile") 2>conftest.er1
29939 grep -v '^ *+' conftest.er1
>conftest.err
29941 cat conftest.err
>&5
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); } && {
29944 test -z "$ac_c_werror_flag" ||
29945 test ! -s conftest.err
29946 } && test -s conftest.
$ac_objext; then
29947 ac_header_compiler
=yes
29949 echo "$as_me: failed program was:" >&5
29950 sed 's/^/| /' conftest.
$ac_ext >&5
29952 ac_header_compiler
=no
29955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29956 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29957 echo "${ECHO_T}$ac_header_compiler" >&6; }
29959 # Is the header present?
29960 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h presence" >&5
29961 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h presence... $ECHO_C" >&6; }
29962 cat >conftest.
$ac_ext <<_ACEOF
29965 cat confdefs.h
>>conftest.
$ac_ext
29966 cat >>conftest.
$ac_ext <<_ACEOF
29967 /* end confdefs.h. */
29968 #include <${ZLIB_DIR}/include/zlib.h>
29970 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29971 case "(($ac_try" in
29972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29973 *) ac_try_echo=$ac_try;;
29975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29978 grep -v '^ *+' conftest.er1 >conftest.err
29980 cat conftest.err >&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); } >/dev/null && {
29983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29984 test ! -s conftest.err
29986 ac_header_preproc=yes
29988 echo "$as_me: failed program was:" >&5
29989 sed 's/^/| /' conftest.$ac_ext >&5
29991 ac_header_preproc=no
29994 rm -f conftest.err conftest.$ac_ext
29995 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29996 echo "${ECHO_T}$ac_header_preproc" >&6; }
29998 # So? What about this header?
29999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30001 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
30002 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30003 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the compiler's result" >&5
30004 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the compiler's result" >&2;}
30005 ac_header_preproc=yes
30008 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&5
30009 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&2;}
30010 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&5
30011 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&2;}
30012 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&5
30013 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&2;}
30014 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&5
30015 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
30016 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the preprocessor's result" >&5
30017 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the preprocessor's result" >&2;}
30018 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&5
30019 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&2;}
30023 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
30024 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
30025 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30026 echo $ECHO_N "(cached) $ECHO_C" >&6
30028 eval "$as_ac_Header=\$ac_header_preproc"
30030 ac_res=`eval echo '${'$as_ac_Header'}'`
30031 { echo "$as_me:$LINENO: result: $ac_res" >&5
30032 echo "${ECHO_T}$ac_res" >&6; }
30035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30036 ZLIB_HEADER_FOUND=1
30038 ZLIB_HEADER_FOUND=0
30043 CPPFLAGS="${saved_cppflags}"
30045 if test "xzlib.h" != "x" ; then
30046 if test "${ac_cv_header_zlib_h+set}" = set; then
30047 { echo "$as_me:$LINENO: checking for zlib.h" >&5
30048 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
30049 if test "${ac_cv_header_zlib_h+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30052 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
30053 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
30055 # Is the header compilable?
30056 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
30057 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
30058 cat >conftest.$ac_ext <<_ACEOF
30061 cat confdefs.h >>conftest.$ac_ext
30062 cat >>conftest.$ac_ext <<_ACEOF
30063 /* end confdefs.h. */
30064 $ac_includes_default
30067 rm -f conftest.$ac_objext
30068 if { (ac_try="$ac_compile"
30069 case "(($ac_try" in
30070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30071 *) ac_try_echo
=$ac_try;;
30073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30074 (eval "$ac_compile") 2>conftest.er1
30076 grep -v '^ *+' conftest.er1
>conftest.err
30078 cat conftest.err
>&5
30079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080 (exit $ac_status); } && {
30081 test -z "$ac_c_werror_flag" ||
30082 test ! -s conftest.err
30083 } && test -s conftest.
$ac_objext; then
30084 ac_header_compiler
=yes
30086 echo "$as_me: failed program was:" >&5
30087 sed 's/^/| /' conftest.
$ac_ext >&5
30089 ac_header_compiler
=no
30092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30093 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30094 echo "${ECHO_T}$ac_header_compiler" >&6; }
30096 # Is the header present?
30097 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
30098 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
30099 cat >conftest.
$ac_ext <<_ACEOF
30102 cat confdefs.h
>>conftest.
$ac_ext
30103 cat >>conftest.
$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30107 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30108 case "(($ac_try" in
30109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30110 *) ac_try_echo=$ac_try;;
30112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30115 grep -v '^ *+' conftest.er1 >conftest.err
30117 cat conftest.err >&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); } >/dev/null && {
30120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30121 test ! -s conftest.err
30123 ac_header_preproc=yes
30125 echo "$as_me: failed program was:" >&5
30126 sed 's/^/| /' conftest.$ac_ext >&5
30128 ac_header_preproc=no
30131 rm -f conftest.err conftest.$ac_ext
30132 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30133 echo "${ECHO_T}$ac_header_preproc" >&6; }
30135 # So? What about this header?
30136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30138 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
30139 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30140 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
30141 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
30142 ac_header_preproc=yes
30145 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
30146 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
30147 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
30148 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
30149 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
30150 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
30151 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
30152 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
30153 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
30154 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
30155 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
30156 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
30160 { echo "$as_me:$LINENO: checking for zlib.h" >&5
30161 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
30162 if test "${ac_cv_header_zlib_h+set}" = set; then
30163 echo $ECHO_N "(cached) $ECHO_C" >&6
30165 ac_cv_header_zlib_h=$ac_header_preproc
30167 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
30168 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
30171 if test $ac_cv_header_zlib_h = yes; then
30172 ZLIB_HEADER_FOUND=1
30174 ZLIB_HEADER_FOUND=0
30180 if test "x${ZLIB_HEADER_FOUND}" = "x0" ; then
30181 if test -n "${ZLIB_MANDATORY}" ;
30183 { echo "$as_me:$LINENO: ***" >&5
30184 echo "$as_me: ***" >&6;}
30185 { echo "$as_me:$LINENO: *** It appears that you do not have the z development package installed." >&5
30186 echo "$as_me: *** It appears that you do not have the z development package installed." >&6;}
30187 { echo "$as_me:$LINENO: *** Please install it to include ${ZLIB_DESCRIP} support, or re-run configure" >&5
30188 echo "$as_me: *** Please install it to include ${ZLIB_DESCRIP} support, or re-run configure" >&6;}
30189 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
30190 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
30199 cat >>confdefs.h <<_ACEOF
30200 #define HAVE_ZLIB 1
30204 elif test -n "${ZLIB_MANDATORY}";
30206 { echo "$as_me:$LINENO: ***" >&5
30207 echo "$as_me: ***" >&6;}
30208 { echo "$as_me:$LINENO: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&5
30209 echo "$as_me: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&6;}
30210 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
30211 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
30212 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
30213 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
30219 if test "${USE_ZAPTEL}" != "no"; then
30220 { echo "$as_me:$LINENO: checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h" >&5
30221 echo $ECHO_N "checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h... $ECHO_C" >&6; }
30222 saved_cppflags="${CPPFLAGS}"
30223 if test "x${ZAPTEL_DIR}" != "x"; then
30224 CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
30226 cat >conftest.$ac_ext <<_ACEOF
30230 cat confdefs.h >>conftest.$ac_ext
30231 cat >>conftest.$ac_ext <<_ACEOF
30232 /* end confdefs.h. */
30233 #include <zaptel/zaptel.h>
30237 int foo = ZT_DIAL_OP_CANCEL;
30243 rm -f conftest.$ac_objext
30244 if { (ac_try="$ac_compile"
30245 case "(($ac_try" in
30246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30247 *) ac_try_echo
=$ac_try;;
30249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30250 (eval "$ac_compile") 2>conftest.er1
30252 grep -v '^ *+' conftest.er1
>conftest.err
30254 cat conftest.err
>&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } && {
30257 test -z "$ac_c_werror_flag" ||
30258 test ! -s conftest.err
30259 } && test -s conftest.
$ac_objext; then
30260 { echo "$as_me:$LINENO: result: yes" >&5
30261 echo "${ECHO_T}yes" >&6; }
30262 ac_cv_zaptel_h
="yes"
30265 echo "$as_me: failed program was:" >&5
30266 sed 's/^/| /' conftest.
$ac_ext >&5
30268 { echo "$as_me:$LINENO: result: no" >&5
30269 echo "${ECHO_T}no" >&6; }
30270 ac_cv_zaptel_h
="no"
30275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30276 CPPFLAGS
="${saved_cppflags}"
30277 if test "${ac_cv_zaptel_h}" = "yes"; then
30278 if test "${ZAPTEL_DIR}" != ""; then
30279 ZAPTEL_INCLUDE
="-I${ZAPTEL_DIR}/include"
30283 cat >>confdefs.h
<<\_ACEOF
30284 #define HAVE_ZAPTEL 1
30287 elif test -n "${ZAPTEL_MANDATORY}";
30289 { echo "$as_me:$LINENO: ***" >&5
30290 echo "$as_me: ***" >&6;}
30291 { echo "$as_me:$LINENO: *** The Zaptel installation on this system appears to be broken." >&5
30292 echo "$as_me: *** The Zaptel installation on this system appears to be broken." >&6;}
30293 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
30294 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
30295 { echo "$as_me:$LINENO: *** including --without-zaptel." >&5
30296 echo "$as_me: *** including --without-zaptel." >&6;}
30301 if test "${PBX_ZAPTEL}" = 1; then
30302 { echo "$as_me:$LINENO: checking for ZT_EVENT_REMOVED in zaptel/zaptel.h" >&5
30303 echo $ECHO_N "checking for ZT_EVENT_REMOVED in zaptel/zaptel.h... $ECHO_C" >&6; }
30304 saved_cppflags
="${CPPFLAGS}"
30305 if test "x${ZAPTEL_DIR}" != "x"; then
30306 CPPFLAGS
="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
30308 cat >conftest.
$ac_ext <<_ACEOF
30312 cat confdefs.h
>>conftest.
$ac_ext
30313 cat >>conftest.
$ac_ext <<_ACEOF
30314 /* end confdefs.h. */
30315 #include <zaptel/zaptel.h>
30319 int foo = ZT_EVENT_REMOVED;
30325 rm -f conftest.
$ac_objext
30326 if { (ac_try
="$ac_compile"
30327 case "(($ac_try" in
30328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30329 *) ac_try_echo=$ac_try;;
30331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30332 (eval "$ac_compile") 2>conftest.er1
30334 grep -v '^ *+' conftest.er1 >conftest.err
30336 cat conftest.err >&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } && {
30339 test -z "$ac_c_werror_flag" ||
30340 test ! -s conftest.err
30341 } && test -s conftest.$ac_objext; then
30342 { echo "$as_me:$LINENO: result: yes" >&5
30343 echo "${ECHO_T}yes" >&6; }
30344 ac_cv_zaptel_vldtmf="yes"
30347 echo "$as_me: failed program was:" >&5
30348 sed 's/^/| /' conftest.$ac_ext >&5
30350 { echo "$as_me:$LINENO: result: no" >&5
30351 echo "${ECHO_T}no" >&6; }
30352 ac_cv_zaptel_vldtmf="no"
30357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30358 CPPFLAGS="${saved_cppflags}"
30359 if test "${ac_cv_zaptel_vldtmf}" = "yes"; then
30360 PBX_ZAPTEL_VLDTMF=1
30362 { echo "$as_me:$LINENO: checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h" >&5
30363 echo $ECHO_N "checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h... $ECHO_C" >&6; }
30364 saved_cppflags="${CPPFLAGS}"
30365 if test "x${ZAPTEL_DIR}" != "x"; then
30366 CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
30368 cat >conftest.$ac_ext <<_ACEOF
30372 cat confdefs.h >>conftest.$ac_ext
30373 cat >>conftest.$ac_ext <<_ACEOF
30374 /* end confdefs.h. */
30375 #include <zaptel/zaptel.h>
30379 int foo = ZT_TCOP_ALLOCATE;
30385 rm -f conftest.$ac_objext
30386 if { (ac_try="$ac_compile"
30387 case "(($ac_try" in
30388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30389 *) ac_try_echo
=$ac_try;;
30391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30392 (eval "$ac_compile") 2>conftest.er1
30394 grep -v '^ *+' conftest.er1
>conftest.err
30396 cat conftest.err
>&5
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); } && {
30399 test -z "$ac_c_werror_flag" ||
30400 test ! -s conftest.err
30401 } && test -s conftest.
$ac_objext; then
30402 { echo "$as_me:$LINENO: result: yes" >&5
30403 echo "${ECHO_T}yes" >&6; }
30404 ac_cv_zaptel_transcode
="yes"
30407 echo "$as_me: failed program was:" >&5
30408 sed 's/^/| /' conftest.
$ac_ext >&5
30410 { echo "$as_me:$LINENO: result: no" >&5
30411 echo "${ECHO_T}no" >&6; }
30412 ac_cv_zaptel_transcode
="no"
30417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30418 CPPFLAGS
="${saved_cppflags}"
30419 if test "${ac_cv_zaptel_transcode}" = "yes"; then
30420 PBX_ZAPTEL_TRANSCODE
=1
30427 if test "x$TERMCAP_LIB" != "x" ; then
30428 EDITLINE_LIB
="$TERMCAP_LIB"
30429 elif test "x$TINFO_LIB" != "x" ; then
30430 EDITLINE_LIB
="$TINFO_LIB"
30431 elif test "x$CURSES_LIB" != "x" ; then
30432 EDITLINE_LIB
="$CURSES_LIB"
30433 elif test "x$NCURSES_LIB" != "x" ; then
30434 EDITLINE_LIB
="$NCURSES_LIB"
30436 { { echo "$as_me:$LINENO: error: *** termcap support not found" >&5
30437 echo "$as_me: error: *** termcap support not found" >&2;}
30438 { (exit 1); exit 1; }; }
30442 if test "${ac_cv_header_h323_h+set}" = set; then
30443 { echo "$as_me:$LINENO: checking for h323.h" >&5
30444 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
30445 if test "${ac_cv_header_h323_h+set}" = set; then
30446 echo $ECHO_N "(cached) $ECHO_C" >&6
30448 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
30449 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
30451 # Is the header compilable?
30452 { echo "$as_me:$LINENO: checking h323.h usability" >&5
30453 echo $ECHO_N "checking h323.h usability... $ECHO_C" >&6; }
30454 cat >conftest.
$ac_ext <<_ACEOF
30457 cat confdefs.h
>>conftest.
$ac_ext
30458 cat >>conftest.
$ac_ext <<_ACEOF
30459 /* end confdefs.h. */
30460 $ac_includes_default
30463 rm -f conftest.
$ac_objext
30464 if { (ac_try
="$ac_compile"
30465 case "(($ac_try" in
30466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30467 *) ac_try_echo=$ac_try;;
30469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30470 (eval "$ac_compile") 2>conftest.er1
30472 grep -v '^ *+' conftest.er1 >conftest.err
30474 cat conftest.err >&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); } && {
30477 test -z "$ac_c_werror_flag" ||
30478 test ! -s conftest.err
30479 } && test -s conftest.$ac_objext; then
30480 ac_header_compiler=yes
30482 echo "$as_me: failed program was:" >&5
30483 sed 's/^/| /' conftest.$ac_ext >&5
30485 ac_header_compiler=no
30488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30489 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30490 echo "${ECHO_T}$ac_header_compiler" >&6; }
30492 # Is the header present?
30493 { echo "$as_me:$LINENO: checking h323.h presence" >&5
30494 echo $ECHO_N "checking h323.h presence... $ECHO_C" >&6; }
30495 cat >conftest.$ac_ext <<_ACEOF
30498 cat confdefs.h >>conftest.$ac_ext
30499 cat >>conftest.$ac_ext <<_ACEOF
30500 /* end confdefs.h. */
30503 if { (ac_try="$ac_cpp conftest.$ac_ext"
30504 case "(($ac_try" in
30505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30506 *) ac_try_echo
=$ac_try;;
30508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30511 grep -v '^ *+' conftest.er1
>conftest.err
30513 cat conftest.err
>&5
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); } >/dev
/null
&& {
30516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30517 test ! -s conftest.err
30519 ac_header_preproc
=yes
30521 echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.
$ac_ext >&5
30524 ac_header_preproc
=no
30527 rm -f conftest.err conftest.
$ac_ext
30528 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30529 echo "${ECHO_T}$ac_header_preproc" >&6; }
30531 # So? What about this header?
30532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30534 { echo "$as_me:$LINENO: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&5
30535 echo "$as_me: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30536 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the compiler's result" >&5
30537 echo "$as_me: WARNING: h323.h: proceeding with the compiler's result" >&2;}
30538 ac_header_preproc
=yes
30541 { echo "$as_me:$LINENO: WARNING: h323.h: present but cannot be compiled" >&5
30542 echo "$as_me: WARNING: h323.h: present but cannot be compiled" >&2;}
30543 { echo "$as_me:$LINENO: WARNING: h323.h: check for missing prerequisite headers?" >&5
30544 echo "$as_me: WARNING: h323.h: check for missing prerequisite headers?" >&2;}
30545 { echo "$as_me:$LINENO: WARNING: h323.h: see the Autoconf documentation" >&5
30546 echo "$as_me: WARNING: h323.h: see the Autoconf documentation" >&2;}
30547 { echo "$as_me:$LINENO: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&5
30548 echo "$as_me: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&2;}
30549 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the preprocessor's result" >&5
30550 echo "$as_me: WARNING: h323.h: proceeding with the preprocessor's result" >&2;}
30551 { echo "$as_me:$LINENO: WARNING: h323.h: in the future, the compiler will take precedence" >&5
30552 echo "$as_me: WARNING: h323.h: in the future, the compiler will take precedence" >&2;}
30556 { echo "$as_me:$LINENO: checking for h323.h" >&5
30557 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
30558 if test "${ac_cv_header_h323_h+set}" = set; then
30559 echo $ECHO_N "(cached) $ECHO_C" >&6
30561 ac_cv_header_h323_h
=$ac_header_preproc
30563 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
30564 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
30567 if test $ac_cv_header_h323_h = yes; then
30576 { echo "$as_me:$LINENO: checking for linux/ixjuser.h" >&5
30577 echo $ECHO_N "checking for linux/ixjuser.h... $ECHO_C" >&6; }
30578 if test "${ac_cv_header_linux_ixjuser_h+set}" = set; then
30579 echo $ECHO_N "(cached) $ECHO_C" >&6
30581 cat >conftest.
$ac_ext <<_ACEOF
30584 cat confdefs.h
>>conftest.
$ac_ext
30585 cat >>conftest.
$ac_ext <<_ACEOF
30586 /* end confdefs.h. */
30588 #include <linux/version.h>
30589 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
30590 #include <linux/compiler.h>
30594 #include <linux/ixjuser.h>
30596 rm -f conftest.
$ac_objext
30597 if { (ac_try
="$ac_compile"
30598 case "(($ac_try" in
30599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30600 *) ac_try_echo=$ac_try;;
30602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30603 (eval "$ac_compile") 2>conftest.er1
30605 grep -v '^ *+' conftest.er1 >conftest.err
30607 cat conftest.err >&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } && {
30610 test -z "$ac_c_werror_flag" ||
30611 test ! -s conftest.err
30612 } && test -s conftest.$ac_objext; then
30613 ac_cv_header_linux_ixjuser_h=yes
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30618 ac_cv_header_linux_ixjuser_h=no
30621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30623 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ixjuser_h" >&5
30624 echo "${ECHO_T}$ac_cv_header_linux_ixjuser_h" >&6; }
30625 if test $ac_cv_header_linux_ixjuser_h = yes; then
30635 if test -n "$ac_tool_prefix"; then
30636 # Extract the first word of "${ac_tool_prefix}gtk-config", so it can be a program name with args.
30637 set dummy ${ac_tool_prefix}gtk-config; ac_word=$2
30638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30640 if test "${ac_cv_prog_GTKCONFIG+set}" = set; then
30641 echo $ECHO_N "(cached) $ECHO_C" >&6
30643 if test -n "$GTKCONFIG"; then
30644 ac_cv_prog_GTKCONFIG="$GTKCONFIG" # Let the user override the test.
30646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30647 for as_dir in $PATH
30650 test -z "$as_dir" && as_dir=.
30651 for ac_exec_ext in '' $ac_executable_extensions; do
30652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30653 ac_cv_prog_GTKCONFIG="${ac_tool_prefix}gtk-config"
30654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30663 GTKCONFIG=$ac_cv_prog_GTKCONFIG
30664 if test -n "$GTKCONFIG"; then
30665 { echo "$as_me:$LINENO: result: $GTKCONFIG" >&5
30666 echo "${ECHO_T}$GTKCONFIG" >&6; }
30668 { echo "$as_me:$LINENO: result: no" >&5
30669 echo "${ECHO_T}no" >&6; }
30674 if test -z "$ac_cv_prog_GTKCONFIG"; then
30675 ac_ct_GTKCONFIG=$GTKCONFIG
30676 # Extract the first word of "gtk-config", so it can be a program name with args.
30677 set dummy gtk-config; ac_word=$2
30678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30680 if test "${ac_cv_prog_ac_ct_GTKCONFIG+set}" = set; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 if test -n "$ac_ct_GTKCONFIG"; then
30684 ac_cv_prog_ac_ct_GTKCONFIG="$ac_ct_GTKCONFIG" # Let the user override the test.
30686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30687 for as_dir in $PATH
30690 test -z "$as_dir" && as_dir=.
30691 for ac_exec_ext in '' $ac_executable_extensions; do
30692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30693 ac_cv_prog_ac_ct_GTKCONFIG="gtk-config"
30694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30703 ac_ct_GTKCONFIG=$ac_cv_prog_ac_ct_GTKCONFIG
30704 if test -n "$ac_ct_GTKCONFIG"; then
30705 { echo "$as_me:$LINENO: result: $ac_ct_GTKCONFIG" >&5
30706 echo "${ECHO_T}$ac_ct_GTKCONFIG" >&6; }
30708 { echo "$as_me:$LINENO: result: no" >&5
30709 echo "${ECHO_T}no" >&6; }
30712 if test "x$ac_ct_GTKCONFIG" = x; then
30715 case $cross_compiling:$ac_tool_warned in
30717 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30718 whose name does not start with the host triplet. If you think this
30719 configuration is useful to you, please write to autoconf@gnu.org." >&5
30720 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30721 whose name does not start with the host triplet. If you think this
30722 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30723 ac_tool_warned=yes ;;
30725 GTKCONFIG=$ac_ct_GTKCONFIG
30728 GTKCONFIG="$ac_cv_prog_GTKCONFIG"
30731 if test ! "x${GTKCONFIG}" = xNo; then
30732 GTK_INCLUDE=$(${GTKCONFIG} --cflags gthread)
30733 GTK_LIB=$(${GTKCONFIG} --libs gthread)
30736 cat >>confdefs.h <<\_ACEOF
30746 if test -n "$ac_tool_prefix"; then
30747 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30748 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30751 if test "${ac_cv_prog_PKGCONFIG+set}" = set; then
30752 echo $ECHO_N "(cached) $ECHO_C" >&6
30754 if test -n "$PKGCONFIG"; then
30755 ac_cv_prog_PKGCONFIG="$PKGCONFIG" # Let the user override the test.
30757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30758 for as_dir in $PATH
30761 test -z "$as_dir" && as_dir=.
30762 for ac_exec_ext in '' $ac_executable_extensions; do
30763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30764 ac_cv_prog_PKGCONFIG="${ac_tool_prefix}pkg-config"
30765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30774 PKGCONFIG=$ac_cv_prog_PKGCONFIG
30775 if test -n "$PKGCONFIG"; then
30776 { echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
30777 echo "${ECHO_T}$PKGCONFIG" >&6; }
30779 { echo "$as_me:$LINENO: result: no" >&5
30780 echo "${ECHO_T}no" >&6; }
30785 if test -z "$ac_cv_prog_PKGCONFIG"; then
30786 ac_ct_PKGCONFIG=$PKGCONFIG
30787 # Extract the first word of "pkg-config", so it can be a program name with args.
30788 set dummy pkg-config; ac_word=$2
30789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30791 if test "${ac_cv_prog_ac_ct_PKGCONFIG+set}" = set; then
30792 echo $ECHO_N "(cached) $ECHO_C" >&6
30794 if test -n "$ac_ct_PKGCONFIG"; then
30795 ac_cv_prog_ac_ct_PKGCONFIG="$ac_ct_PKGCONFIG" # Let the user override the test.
30797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30798 for as_dir in $PATH
30801 test -z "$as_dir" && as_dir=.
30802 for ac_exec_ext in '' $ac_executable_extensions; do
30803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30804 ac_cv_prog_ac_ct_PKGCONFIG="pkg-config"
30805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30814 ac_ct_PKGCONFIG=$ac_cv_prog_ac_ct_PKGCONFIG
30815 if test -n "$ac_ct_PKGCONFIG"; then
30816 { echo "$as_me:$LINENO: result: $ac_ct_PKGCONFIG" >&5
30817 echo "${ECHO_T}$ac_ct_PKGCONFIG" >&6; }
30819 { echo "$as_me:$LINENO: result: no" >&5
30820 echo "${ECHO_T}no" >&6; }
30823 if test "x$ac_ct_PKGCONFIG" = x; then
30826 case $cross_compiling:$ac_tool_warned in
30828 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30829 whose name does not start with the host triplet. If you think this
30830 configuration is useful to you, please write to autoconf@gnu.org." >&5
30831 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30832 whose name does not start with the host triplet. If you think this
30833 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30834 ac_tool_warned=yes ;;
30836 PKGCONFIG=$ac_ct_PKGCONFIG
30839 PKGCONFIG="$ac_cv_prog_PKGCONFIG"
30842 if test ! "x${PKGCONFIG}" = xNo; then
30843 GTK2_INCLUDE=$(${PKGCONFIG} gtk+-2.0 --cflags)
30844 GTK2_LIB=$(${PKGCONFIG} gtk+-2.0 --libs)
30847 cat >>confdefs.h <<\_ACEOF
30848 #define HAVE_GTK2 1
30856 if test "${USE_CURL}" != "no"; then
30857 if test -n "$ac_tool_prefix"; then
30858 # Extract the first word of "${ac_tool_prefix}curl-config", so it can be a program name with args.
30859 set dummy ${ac_tool_prefix}curl-config; ac_word=$2
30860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30862 if test "${ac_cv_path_CURL_CONFIG+set}" = set; then
30863 echo $ECHO_N "(cached) $ECHO_C" >&6
30865 case $CURL_CONFIG in
30867 ac_cv_path_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test with a path.
30870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30871 for as_dir in $PATH
30874 test -z "$as_dir" && as_dir=.
30875 for ac_exec_ext in '' $ac_executable_extensions; do
30876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30877 ac_cv_path_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30888 CURL_CONFIG=$ac_cv_path_CURL_CONFIG
30889 if test -n "$CURL_CONFIG"; then
30890 { echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
30891 echo "${ECHO_T}$CURL_CONFIG" >&6; }
30893 { echo "$as_me:$LINENO: result: no" >&5
30894 echo "${ECHO_T}no" >&6; }
30899 if test -z "$ac_cv_path_CURL_CONFIG"; then
30900 ac_pt_CURL_CONFIG=$CURL_CONFIG
30901 # Extract the first word of "curl-config", so it can be a program name with args.
30902 set dummy curl-config; ac_word=$2
30903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30905 if test "${ac_cv_path_ac_pt_CURL_CONFIG+set}" = set; then
30906 echo $ECHO_N "(cached) $ECHO_C" >&6
30908 case $ac_pt_CURL_CONFIG in
30910 ac_cv_path_ac_pt_CURL_CONFIG="$ac_pt_CURL_CONFIG" # Let the user override the test with a path.
30913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30914 for as_dir in $PATH
30917 test -z "$as_dir" && as_dir=.
30918 for ac_exec_ext in '' $ac_executable_extensions; do
30919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30920 ac_cv_path_ac_pt_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30931 ac_pt_CURL_CONFIG=$ac_cv_path_ac_pt_CURL_CONFIG
30932 if test -n "$ac_pt_CURL_CONFIG"; then
30933 { echo "$as_me:$LINENO: result: $ac_pt_CURL_CONFIG" >&5
30934 echo "${ECHO_T}$ac_pt_CURL_CONFIG" >&6; }
30936 { echo "$as_me:$LINENO: result: no" >&5
30937 echo "${ECHO_T}no" >&6; }
30940 if test "x$ac_pt_CURL_CONFIG" = x; then
30943 case $cross_compiling:$ac_tool_warned in
30945 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30946 whose name does not start with the host triplet. If you think this
30947 configuration is useful to you, please write to autoconf@gnu.org." >&5
30948 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30949 whose name does not start with the host triplet. If you think this
30950 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30951 ac_tool_warned=yes ;;
30953 CURL_CONFIG=$ac_pt_CURL_CONFIG
30956 CURL_CONFIG="$ac_cv_path_CURL_CONFIG"
30959 if test ! x"${CURL_CONFIG}" = xNo; then
30960 # check for version
30961 if test $(printf "%d" 0x$(${CURL_CONFIG} --vernum)) -ge $(printf "%d" 0x070907); then
30962 CURL_INCLUDE=$(${CURL_CONFIG} --cflags)
30963 CURL_LIB=$(${CURL_CONFIG} --libs)
30965 { echo "$as_me:$LINENO: checking for curl_version() in curl/curl.h" >&5
30966 echo $ECHO_N "checking for curl_version() in curl/curl.h... $ECHO_C" >&6; }
30967 saved_cppflags="${CPPFLAGS}"
30968 CPPFLAGS="${CPPFLAGS} ${CURL_INCLUDE}"
30969 cat >conftest.$ac_ext <<_ACEOF
30972 cat confdefs.h >>conftest.$ac_ext
30973 cat >>conftest.$ac_ext <<_ACEOF
30974 /* end confdefs.h. */
30975 #include <curl/curl.h>
30985 rm -f conftest.$ac_objext
30986 if { (ac_try="$ac_compile"
30987 case "(($ac_try" in
30988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30989 *) ac_try_echo
=$ac_try;;
30991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30992 (eval "$ac_compile") 2>conftest.er1
30994 grep -v '^ *+' conftest.er1
>conftest.err
30996 cat conftest.err
>&5
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); } && {
30999 test -z "$ac_c_werror_flag" ||
31000 test ! -s conftest.err
31001 } && test -s conftest.
$ac_objext; then
31003 { echo "$as_me:$LINENO: result: yes" >&5
31004 echo "${ECHO_T}yes" >&6; }
31008 echo "$as_me: failed program was:" >&5
31009 sed 's/^/| /' conftest.
$ac_ext >&5
31012 { echo "$as_me:$LINENO: result: no" >&5
31013 echo "${ECHO_T}no" >&6; }
31019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31020 CPPFLAGS
="${saved_cppflags}"
31021 if test "${ac_cv_curl_h}" = "yes"; then
31024 cat >>confdefs.h
<<\_ACEOF
31025 #define HAVE_CURL 1
31033 ac_config_files
="$ac_config_files build_tools/menuselect-deps makeopts channels/h323/Makefile"
31035 cat >confcache
<<\_ACEOF
31036 # This file is a shell script that caches the results of configure
31037 # tests run on this system so they can be shared between configure
31038 # scripts and configure runs, see configure's option --config-cache.
31039 # It is not useful on other systems. If it contains results you don't
31040 # want to keep, you may remove or edit it.
31042 # config.status only pays attention to the cache file if you give it
31043 # the --recheck option to rerun configure.
31045 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31046 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31047 # following values.
31051 # The following way of writing the cache mishandles newlines in values,
31052 # but we know of no workaround that is simple, portable, and efficient.
31053 # So, we kill variables containing newlines.
31054 # Ultrix sh set writes to stderr and can't be redirected directly,
31055 # and sets the high bit in the cache file unless we assign to the vars.
31057 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31058 eval ac_val
=\$
$ac_var
31062 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
31063 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
31066 _ | IFS | as_nl
) ;; #(
31067 *) $as_unset $ac_var ;;
31073 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31074 *${as_nl}ac_space
=\
*)
31075 # `set' does not quote correctly, so add quotes (double-quote
31076 # substitution turns \\\\ into \\, and sed turns \\ into \).
31079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31082 # `set' quotes correctly as required by POSIX, so do not add quotes.
31083 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31092 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31094 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31096 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31097 if test -w "$cache_file"; then
31098 test "x$cache_file" != "x/dev/null" &&
31099 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
31100 echo "$as_me: updating cache $cache_file" >&6;}
31101 cat confcache
>$cache_file
31103 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
31104 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31109 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
31110 # Let make expand exec_prefix.
31111 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
31113 DEFS
=-DHAVE_CONFIG_H
31117 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
31118 # 1. Remove the extension, and $U if already installed.
31119 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
31120 ac_i
=`echo "$ac_i" | sed "$ac_script"`
31121 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31122 # will be set to the directory where LIBOBJS objects are built.
31123 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31124 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
31126 LIBOBJS
=$ac_libobjs
31128 LTLIBOBJS
=$ac_ltlibobjs
31132 : ${CONFIG_STATUS=./config.status}
31133 ac_clean_files_save
=$ac_clean_files
31134 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
31135 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
31136 echo "$as_me: creating $CONFIG_STATUS" >&6;}
31137 cat >$CONFIG_STATUS <<_ACEOF
31139 # Generated by $as_me.
31140 # Run this file to recreate the current configuration.
31141 # Compiler output produced by configure, useful for debugging
31142 # configure, is in config.log if it exists.
31145 ac_cs_recheck=false
31147 SHELL=\${CONFIG_SHELL-$SHELL}
31150 cat >>$CONFIG_STATUS <<\_ACEOF
31151 ## --------------------- ##
31152 ## M4sh Initialization. ##
31153 ## --------------------- ##
31155 # Be more Bourne compatible
31156 DUALCASE
=1; export DUALCASE
# for MKS sh
31157 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
31160 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
31161 # is contrary to our usage. Disable this feature.
31162 alias -g '${1+"$@"}'='"$@"'
31163 setopt NO_GLOB_SUBST
31165 case `(set -o) 2>/dev/null` in
31166 *posix
*) set -o posix
;;
31175 # Avoid depending upon Character Ranges.
31176 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31177 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31178 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
31179 as_cr_digits
='0123456789'
31180 as_cr_alnum
=$as_cr_Letters$as_cr_digits
31182 # The user is always right.
31183 if test "${PATH_SEPARATOR+set}" != set; then
31184 echo "#! /bin/sh" >conf$$.sh
31185 echo "exit 0" >>conf$$.sh
31187 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
31195 # Support unset when possible.
31196 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
31204 # We need space, tab and new line, in precisely that order. Quoting is
31205 # there to prevent editors from complaining about space-tab.
31206 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31207 # splitting by setting IFS to empty value.)
31212 # Find who we are. Look in the path if we contain no directory separator.
31214 *[\\/]* ) as_myself
=$0 ;;
31215 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31216 for as_dir
in $PATH
31219 test -z "$as_dir" && as_dir
=.
31220 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
31226 # We did not find ourselves, most probably we were run as `sh COMMAND'
31227 # in which case we are not to be found in the path.
31228 if test "x$as_myself" = x
; then
31231 if test ! -f "$as_myself"; then
31232 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31233 { (exit 1); exit 1; }
31236 # Work around bugs in pre-3.0 UWIN ksh.
31237 for as_var
in ENV MAIL MAILPATH
31238 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
31246 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
31247 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
31248 LC_TELEPHONE LC_TIME
31250 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
31251 eval $as_var=C
; export $as_var
31253 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
31257 # Required to use basename.
31258 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31259 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31265 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31266 as_basename
=basename
31272 # Name of the executable.
31273 as_me
=`$as_basename -- "$0" ||
31274 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31275 X"$0" : 'X\(//\)$' \| \
31276 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31278 sed '/^.*\/\([^/][^/]*\)\/*$/{
31297 as_lineno_1
=$LINENO
31298 as_lineno_2
=$LINENO
31299 test "x$as_lineno_1" != "x$as_lineno_2" &&
31300 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
31302 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
31303 # uniformly replaced by the line number. The first 'sed' inserts a
31304 # line-number line after each line using $LINENO; the second 'sed'
31305 # does the real work. The second script uses 'N' to pair each
31306 # line-number line with the line containing $LINENO, and appends
31307 # trailing '-' during substitution so that $LINENO is not a special
31308 # case at line end.
31309 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
31310 # scripts with optimization help from Paolo Bonzini. Blame Lee
31311 # E. McMahon (1931-1989) for sed's syntax. :-)
31323 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
31326 ' >$as_me.lineno
&&
31327 chmod +x
"$as_me.lineno" ||
31328 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
31329 { (exit 1); exit 1; }; }
31331 # Don't try to exec as it changes $[0], causing all sort of problems
31332 # (the dirname of $[0] is not the place where we might find the
31333 # original and so on. Autoconf is especially sensitive to this).
31334 .
"./$as_me.lineno"
31335 # Exit status is that of the last command.
31340 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
31346 ECHO_C
= ECHO_N
= ECHO_T
=
31347 case `echo -n x` in
31349 case `echo 'x\c'` in
31350 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
31357 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31358 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31364 rm -f conf$$ conf$$.exe conf$$.
file
31365 if test -d conf$$.dir
; then
31366 rm -f conf$$.dir
/conf$$.
file
31372 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
31374 # ... but there are two gotchas:
31375 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31376 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31377 # In both cases, we have to default to `cp -p'.
31378 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
31380 elif ln conf$$.
file conf$$
2>/dev
/null
; then
31385 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
31386 rmdir conf$$.dir
2>/dev
/null
31388 if mkdir
-p .
2>/dev
/null
; then
31391 test -d .
/-p && rmdir .
/-p
31395 if test -x / >/dev
/null
2>&1; then
31396 as_test_x
='test -x'
31398 if ls -dL / >/dev
/null
2>&1; then
31405 if test -d "$1"; then
31411 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
31412 ???[sx]*):;;*)false;;esac;fi
31416 as_executable_p
=$as_test_x
31418 # Sed expression to map a string onto a valid CPP name.
31419 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31421 # Sed expression to map a string onto a valid variable name.
31422 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31427 # Save the log message, to keep $[0] and so on meaningful, and to
31428 # report actual input values of CONFIG_FILES etc. instead of their
31429 # values after options handling.
31431 This file was extended by $as_me, which was
31432 generated by GNU Autoconf 2.61. Invocation command line was
31434 CONFIG_FILES = $CONFIG_FILES
31435 CONFIG_HEADERS = $CONFIG_HEADERS
31436 CONFIG_LINKS = $CONFIG_LINKS
31437 CONFIG_COMMANDS = $CONFIG_COMMANDS
31440 on `(hostname || uname -n) 2>/dev/null | sed 1q`
31445 cat >>$CONFIG_STATUS <<_ACEOF
31446 # Files that config.status was made for.
31447 config_files="$ac_config_files"
31448 config_headers="$ac_config_headers"
31452 cat >>$CONFIG_STATUS <<\_ACEOF
31454 \`$as_me' instantiates files from templates according to the
31455 current configuration.
31457 Usage: $0 [OPTIONS] [FILE]...
31459 -h, --help print this help, then exit
31460 -V, --version print version number and configuration settings, then exit
31461 -q, --quiet do not print progress messages
31462 -d, --debug don't remove temporary files
31463 --recheck update $as_me by reconfiguring in the same conditions
31464 --file=FILE[:TEMPLATE]
31465 instantiate the configuration file FILE
31466 --header=FILE[:TEMPLATE]
31467 instantiate the configuration header FILE
31469 Configuration files:
31472 Configuration headers:
31475 Report bugs to <bug-autoconf@gnu.org>."
31478 cat >>$CONFIG_STATUS <<_ACEOF
31481 configured by $0, generated by GNU Autoconf 2.61,
31482 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
31484 Copyright (C) 2006 Free Software Foundation, Inc.
31485 This config.status script is free software; the Free Software Foundation
31486 gives unlimited permission to copy, distribute and modify it."
31493 cat >>$CONFIG_STATUS <<\_ACEOF
31494 # If no file are specified by the user, then we need to provide default
31495 # value. By we need to know if files were specified by the user.
31501 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
31502 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
31513 # Handling of the options.
31514 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
31516 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
31517 echo "$ac_cs_version"; exit ;;
31518 --debug |
--debu |
--deb |
--de |
--d |
-d )
31520 --file |
--fil |
--fi |
--f )
31522 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
31523 ac_need_defaults
=false
;;
31524 --header |
--heade |
--head |
--hea )
31526 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
31527 ac_need_defaults
=false
;;
31529 # Conflict between --help and --header
31530 { echo "$as_me: error: ambiguous option: $1
31531 Try \`$0 --help' for more information." >&2
31532 { (exit 1); exit 1; }; };;
31533 --help |
--hel |
-h )
31534 echo "$ac_cs_usage"; exit ;;
31535 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
31536 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
31539 # This is an error.
31540 -*) { echo "$as_me: error: unrecognized option: $1
31541 Try \`$0 --help' for more information." >&2
31542 { (exit 1); exit 1; }; } ;;
31544 *) ac_config_targets
="$ac_config_targets $1"
31545 ac_need_defaults
=false
;;
31551 ac_configure_extra_args
=
31553 if $ac_cs_silent; then
31555 ac_configure_extra_args
="$ac_configure_extra_args --silent"
31559 cat >>$CONFIG_STATUS <<_ACEOF
31560 if \$ac_cs_recheck; then
31561 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
31562 CONFIG_SHELL=$SHELL
31563 export CONFIG_SHELL
31564 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
31568 cat >>$CONFIG_STATUS <<\_ACEOF
31572 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
31573 ## Running $as_me. ##
31579 cat >>$CONFIG_STATUS <<_ACEOF
31582 cat >>$CONFIG_STATUS <<\_ACEOF
31584 # Handling of arguments.
31585 for ac_config_target
in $ac_config_targets
31587 case $ac_config_target in
31588 "include/asterisk/autoconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/asterisk/autoconfig.h" ;;
31589 "build_tools/menuselect-deps") CONFIG_FILES
="$CONFIG_FILES build_tools/menuselect-deps" ;;
31590 "makeopts") CONFIG_FILES
="$CONFIG_FILES makeopts" ;;
31591 "channels/h323/Makefile") CONFIG_FILES
="$CONFIG_FILES channels/h323/Makefile" ;;
31593 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
31594 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
31595 { (exit 1); exit 1; }; };;
31600 # If the user did not use the arguments to specify the items to instantiate,
31601 # then the envvar interface is used. Set only those that are not.
31602 # We use the long form for the default assignment because of an extremely
31603 # bizarre bug on SunOS 4.1.3.
31604 if $ac_need_defaults; then
31605 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
31606 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
31609 # Have a temporary directory for convenience. Make it in the build tree
31610 # simply because there is no reason against having it here, and in addition,
31611 # creating and moving files from /tmp can sometimes cause problems.
31612 # Hook for its removal unless debugging.
31613 # Note that there is a small window in which the directory will not be cleaned:
31614 # after its creation but before its name has been assigned to `$tmp'.
31618 trap 'exit_status=$?
31619 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
31621 trap '{ (exit 1); exit 1; }' 1 2 13 15
31623 # Create a (secure) tmp directory for tmp files.
31626 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
31627 test -n "$tmp" && test -d "$tmp"
31630 tmp
=.
/conf$$
-$RANDOM
31631 (umask 077 && mkdir
"$tmp")
31634 echo "$me: cannot create a temporary directory in ." >&2
31635 { (exit 1); exit 1; }
31639 # Set up the sed scripts for CONFIG_FILES section.
31642 # No need to generate the scripts if there are no CONFIG_FILES.
31643 # This happens for instance when ./config.status config.h
31644 if test -n "$CONFIG_FILES"; then
31651 for ac_last_try
in false false false false false
:; do
31652 cat >conf$
$subs.
sed <<_ACEOF
31653 SHELL!$SHELL$ac_delim
31654 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
31655 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
31656 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
31657 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
31658 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
31659 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
31660 exec_prefix!$exec_prefix$ac_delim
31661 prefix!$prefix$ac_delim
31662 program_transform_name!$program_transform_name$ac_delim
31663 bindir!$bindir$ac_delim
31664 sbindir!$sbindir$ac_delim
31665 libexecdir!$libexecdir$ac_delim
31666 datarootdir!$datarootdir$ac_delim
31667 datadir!$datadir$ac_delim
31668 sysconfdir!$sysconfdir$ac_delim
31669 sharedstatedir!$sharedstatedir$ac_delim
31670 localstatedir!$localstatedir$ac_delim
31671 includedir!$includedir$ac_delim
31672 oldincludedir!$oldincludedir$ac_delim
31673 docdir!$docdir$ac_delim
31674 infodir!$infodir$ac_delim
31675 htmldir!$htmldir$ac_delim
31676 dvidir!$dvidir$ac_delim
31677 pdfdir!$pdfdir$ac_delim
31678 psdir!$psdir$ac_delim
31679 libdir!$libdir$ac_delim
31680 localedir!$localedir$ac_delim
31681 mandir!$mandir$ac_delim
31682 DEFS!$DEFS$ac_delim
31683 ECHO_C!$ECHO_C$ac_delim
31684 ECHO_N!$ECHO_N$ac_delim
31685 ECHO_T!$ECHO_T$ac_delim
31686 LIBS!$LIBS$ac_delim
31687 build_alias!$build_alias$ac_delim
31688 host_alias!$host_alias$ac_delim
31689 target_alias!$target_alias$ac_delim
31690 build!$build$ac_delim
31691 build_cpu!$build_cpu$ac_delim
31692 build_vendor!$build_vendor$ac_delim
31693 build_os!$build_os$ac_delim
31694 host!$host$ac_delim
31695 host_cpu!$host_cpu$ac_delim
31696 host_vendor!$host_vendor$ac_delim
31697 host_os!$host_os$ac_delim
31699 CFLAGS!$CFLAGS$ac_delim
31700 LDFLAGS!$LDFLAGS$ac_delim
31701 CPPFLAGS!$CPPFLAGS$ac_delim
31702 ac_ct_CC!$ac_ct_CC$ac_delim
31703 EXEEXT!$EXEEXT$ac_delim
31704 OBJEXT!$OBJEXT$ac_delim
31706 GREP!$GREP$ac_delim
31707 EGREP!$EGREP$ac_delim
31708 BUILD_PLATFORM!$BUILD_PLATFORM$ac_delim
31709 BUILD_CPU!$BUILD_CPU$ac_delim
31710 BUILD_VENDOR!$BUILD_VENDOR$ac_delim
31711 BUILD_OS!$BUILD_OS$ac_delim
31712 HOST_PLATFORM!$HOST_PLATFORM$ac_delim
31713 HOST_CPU!$HOST_CPU$ac_delim
31714 HOST_VENDOR!$HOST_VENDOR$ac_delim
31715 HOST_OS!$HOST_OS$ac_delim
31716 OSARCH!$OSARCH$ac_delim
31717 UNAME!$UNAME$ac_delim
31718 PBX_OSREV!$PBX_OSREV$ac_delim
31721 RANLIB!$RANLIB$ac_delim
31722 CXXFLAGS!$CXXFLAGS$ac_delim
31723 ac_ct_CXX!$ac_ct_CXX$ac_delim
31724 CXXCPP!$CXXCPP$ac_delim
31727 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
31728 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
31729 INSTALL_DATA!$INSTALL_DATA$ac_delim
31730 LN_S!$LN_S$ac_delim
31731 GNU_MAKE!$GNU_MAKE$ac_delim
31732 STRIP!$STRIP$ac_delim
31734 GNU_LD!$GNU_LD$ac_delim
31735 FIND!$FIND$ac_delim
31736 COMPRESS!$COMPRESS$ac_delim
31737 BASENAME!$BASENAME$ac_delim
31739 DIRNAME!$DIRNAME$ac_delim
31742 WGET!$WGET$ac_delim
31743 FETCH!$FETCH$ac_delim
31744 DOWNLOAD!$DOWNLOAD$ac_delim
31745 acx_pthread_config!$acx_pthread_config$ac_delim
31746 PTHREAD_CC!$PTHREAD_CC$ac_delim
31747 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
31748 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
31749 AST_DEVMODE!$AST_DEVMODE$ac_delim
31752 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
31754 elif $ac_last_try; then
31755 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
31756 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
31757 { (exit 1); exit 1; }; }
31759 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
31763 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
31764 if test -n "$ac_eof"; then
31765 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
31766 ac_eof
=`expr $ac_eof + 1`
31769 cat >>$CONFIG_STATUS <<_ACEOF
31770 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
31771 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31774 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
31775 s/^/s,@/; s/!/@,|#_!!_#|/
31778 s/'"$ac_delim"'$/,g/; t
31780 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
31781 ' >>$CONFIG_STATUS <conf$
$subs.
sed
31782 rm -f conf$
$subs.
sed
31783 cat >>$CONFIG_STATUS <<_ACEOF
31789 for ac_last_try
in false false false false false
:; do
31790 cat >conf$
$subs.
sed <<_ACEOF
31791 ALSA_LIB!$ALSA_LIB$ac_delim
31792 ALSA_INCLUDE!$ALSA_INCLUDE$ac_delim
31793 ALSA_DIR!$ALSA_DIR$ac_delim
31794 PBX_ALSA!$PBX_ALSA$ac_delim
31795 CURL_LIB!$CURL_LIB$ac_delim
31796 CURL_INCLUDE!$CURL_INCLUDE$ac_delim
31797 CURL_DIR!$CURL_DIR$ac_delim
31798 PBX_CURL!$PBX_CURL$ac_delim
31799 CURSES_LIB!$CURSES_LIB$ac_delim
31800 CURSES_INCLUDE!$CURSES_INCLUDE$ac_delim
31801 CURSES_DIR!$CURSES_DIR$ac_delim
31802 PBX_CURSES!$PBX_CURSES$ac_delim
31803 GNUTLS_LIB!$GNUTLS_LIB$ac_delim
31804 GNUTLS_INCLUDE!$GNUTLS_INCLUDE$ac_delim
31805 GNUTLS_DIR!$GNUTLS_DIR$ac_delim
31806 PBX_GNUTLS!$PBX_GNUTLS$ac_delim
31807 GSM_LIB!$GSM_LIB$ac_delim
31808 GSM_INCLUDE!$GSM_INCLUDE$ac_delim
31809 GSM_DIR!$GSM_DIR$ac_delim
31810 PBX_GSM!$PBX_GSM$ac_delim
31811 IKSEMEL_LIB!$IKSEMEL_LIB$ac_delim
31812 IKSEMEL_INCLUDE!$IKSEMEL_INCLUDE$ac_delim
31813 IKSEMEL_DIR!$IKSEMEL_DIR$ac_delim
31814 PBX_IKSEMEL!$PBX_IKSEMEL$ac_delim
31815 IMAP_TK_LIB!$IMAP_TK_LIB$ac_delim
31816 IMAP_TK_INCLUDE!$IMAP_TK_INCLUDE$ac_delim
31817 IMAP_TK_DIR!$IMAP_TK_DIR$ac_delim
31818 PBX_IMAP_TK!$PBX_IMAP_TK$ac_delim
31819 ISDNNET_LIB!$ISDNNET_LIB$ac_delim
31820 ISDNNET_INCLUDE!$ISDNNET_INCLUDE$ac_delim
31821 ISDNNET_DIR!$ISDNNET_DIR$ac_delim
31822 PBX_ISDNNET!$PBX_ISDNNET$ac_delim
31823 KDE_LIB!$KDE_LIB$ac_delim
31824 KDE_INCLUDE!$KDE_INCLUDE$ac_delim
31825 KDE_DIR!$KDE_DIR$ac_delim
31826 PBX_KDE!$PBX_KDE$ac_delim
31827 LTDL_LIB!$LTDL_LIB$ac_delim
31828 LTDL_INCLUDE!$LTDL_INCLUDE$ac_delim
31829 LTDL_DIR!$LTDL_DIR$ac_delim
31830 PBX_LTDL!$PBX_LTDL$ac_delim
31831 MISDN_LIB!$MISDN_LIB$ac_delim
31832 MISDN_INCLUDE!$MISDN_INCLUDE$ac_delim
31833 MISDN_DIR!$MISDN_DIR$ac_delim
31834 PBX_MISDN!$PBX_MISDN$ac_delim
31835 NBS_LIB!$NBS_LIB$ac_delim
31836 NBS_INCLUDE!$NBS_INCLUDE$ac_delim
31837 NBS_DIR!$NBS_DIR$ac_delim
31838 PBX_NBS!$PBX_NBS$ac_delim
31839 NCURSES_LIB!$NCURSES_LIB$ac_delim
31840 NCURSES_INCLUDE!$NCURSES_INCLUDE$ac_delim
31841 NCURSES_DIR!$NCURSES_DIR$ac_delim
31842 PBX_NCURSES!$PBX_NCURSES$ac_delim
31843 NETSNMP_LIB!$NETSNMP_LIB$ac_delim
31844 NETSNMP_INCLUDE!$NETSNMP_INCLUDE$ac_delim
31845 NETSNMP_DIR!$NETSNMP_DIR$ac_delim
31846 PBX_NETSNMP!$PBX_NETSNMP$ac_delim
31847 NEWT_LIB!$NEWT_LIB$ac_delim
31848 NEWT_INCLUDE!$NEWT_INCLUDE$ac_delim
31849 NEWT_DIR!$NEWT_DIR$ac_delim
31850 PBX_NEWT!$PBX_NEWT$ac_delim
31851 UNIXODBC_LIB!$UNIXODBC_LIB$ac_delim
31852 UNIXODBC_INCLUDE!$UNIXODBC_INCLUDE$ac_delim
31853 UNIXODBC_DIR!$UNIXODBC_DIR$ac_delim
31854 PBX_UNIXODBC!$PBX_UNIXODBC$ac_delim
31855 OGG_LIB!$OGG_LIB$ac_delim
31856 OGG_INCLUDE!$OGG_INCLUDE$ac_delim
31857 OGG_DIR!$OGG_DIR$ac_delim
31858 PBX_OGG!$PBX_OGG$ac_delim
31859 OSPTK_LIB!$OSPTK_LIB$ac_delim
31860 OSPTK_INCLUDE!$OSPTK_INCLUDE$ac_delim
31861 OSPTK_DIR!$OSPTK_DIR$ac_delim
31862 PBX_OSPTK!$PBX_OSPTK$ac_delim
31863 OSS_LIB!$OSS_LIB$ac_delim
31864 OSS_INCLUDE!$OSS_INCLUDE$ac_delim
31865 OSS_DIR!$OSS_DIR$ac_delim
31866 PBX_OSS!$PBX_OSS$ac_delim
31867 POPT_LIB!$POPT_LIB$ac_delim
31868 POPT_INCLUDE!$POPT_INCLUDE$ac_delim
31869 POPT_DIR!$POPT_DIR$ac_delim
31870 PBX_POPT!$PBX_POPT$ac_delim
31871 PGSQL_LIB!$PGSQL_LIB$ac_delim
31872 PGSQL_INCLUDE!$PGSQL_INCLUDE$ac_delim
31873 PGSQL_DIR!$PGSQL_DIR$ac_delim
31874 PBX_PGSQL!$PBX_PGSQL$ac_delim
31875 PRI_LIB!$PRI_LIB$ac_delim
31876 PRI_INCLUDE!$PRI_INCLUDE$ac_delim
31877 PRI_DIR!$PRI_DIR$ac_delim
31878 PBX_PRI!$PBX_PRI$ac_delim
31879 PWLIB_LIB!$PWLIB_LIB$ac_delim
31880 PWLIB_INCLUDE!$PWLIB_INCLUDE$ac_delim
31881 PWLIB_DIR!$PWLIB_DIR$ac_delim
31882 PBX_PWLIB!$PBX_PWLIB$ac_delim
31883 OPENH323_LIB!$OPENH323_LIB$ac_delim
31884 OPENH323_INCLUDE!$OPENH323_INCLUDE$ac_delim
31885 OPENH323_DIR!$OPENH323_DIR$ac_delim
31886 PBX_OPENH323!$PBX_OPENH323$ac_delim
31887 QT_LIB!$QT_LIB$ac_delim
31890 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
31892 elif $ac_last_try; then
31893 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
31894 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
31895 { (exit 1); exit 1; }; }
31897 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
31901 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
31902 if test -n "$ac_eof"; then
31903 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
31904 ac_eof
=`expr $ac_eof + 1`
31907 cat >>$CONFIG_STATUS <<_ACEOF
31908 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
31909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31912 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
31913 s/^/s,@/; s/!/@,|#_!!_#|/
31916 s/'"$ac_delim"'$/,g/; t
31918 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
31919 ' >>$CONFIG_STATUS <conf$
$subs.
sed
31920 rm -f conf$
$subs.
sed
31921 cat >>$CONFIG_STATUS <<_ACEOF
31927 for ac_last_try
in false false false false false
:; do
31928 cat >conf$
$subs.
sed <<_ACEOF
31929 QT_INCLUDE!$QT_INCLUDE$ac_delim
31930 QT_DIR!$QT_DIR$ac_delim
31931 PBX_QT!$PBX_QT$ac_delim
31932 RADIUS_LIB!$RADIUS_LIB$ac_delim
31933 RADIUS_INCLUDE!$RADIUS_INCLUDE$ac_delim
31934 RADIUS_DIR!$RADIUS_DIR$ac_delim
31935 PBX_RADIUS!$PBX_RADIUS$ac_delim
31936 SPEEX_LIB!$SPEEX_LIB$ac_delim
31937 SPEEX_INCLUDE!$SPEEX_INCLUDE$ac_delim
31938 SPEEX_DIR!$SPEEX_DIR$ac_delim
31939 PBX_SPEEX!$PBX_SPEEX$ac_delim
31940 SQLITE_LIB!$SQLITE_LIB$ac_delim
31941 SQLITE_INCLUDE!$SQLITE_INCLUDE$ac_delim
31942 SQLITE_DIR!$SQLITE_DIR$ac_delim
31943 PBX_SQLITE!$PBX_SQLITE$ac_delim
31944 SUPPSERV_LIB!$SUPPSERV_LIB$ac_delim
31945 SUPPSERV_INCLUDE!$SUPPSERV_INCLUDE$ac_delim
31946 SUPPSERV_DIR!$SUPPSERV_DIR$ac_delim
31947 PBX_SUPPSERV!$PBX_SUPPSERV$ac_delim
31948 OPENSSL_LIB!$OPENSSL_LIB$ac_delim
31949 OPENSSL_INCLUDE!$OPENSSL_INCLUDE$ac_delim
31950 OPENSSL_DIR!$OPENSSL_DIR$ac_delim
31951 PBX_OPENSSL!$PBX_OPENSSL$ac_delim
31952 FREETDS_LIB!$FREETDS_LIB$ac_delim
31953 FREETDS_INCLUDE!$FREETDS_INCLUDE$ac_delim
31954 FREETDS_DIR!$FREETDS_DIR$ac_delim
31955 PBX_FREETDS!$PBX_FREETDS$ac_delim
31956 TERMCAP_LIB!$TERMCAP_LIB$ac_delim
31957 TERMCAP_INCLUDE!$TERMCAP_INCLUDE$ac_delim
31958 TERMCAP_DIR!$TERMCAP_DIR$ac_delim
31959 PBX_TERMCAP!$PBX_TERMCAP$ac_delim
31960 TINFO_LIB!$TINFO_LIB$ac_delim
31961 TINFO_INCLUDE!$TINFO_INCLUDE$ac_delim
31962 TINFO_DIR!$TINFO_DIR$ac_delim
31963 PBX_TINFO!$PBX_TINFO$ac_delim
31964 TONEZONE_LIB!$TONEZONE_LIB$ac_delim
31965 TONEZONE_INCLUDE!$TONEZONE_INCLUDE$ac_delim
31966 TONEZONE_DIR!$TONEZONE_DIR$ac_delim
31967 PBX_TONEZONE!$PBX_TONEZONE$ac_delim
31968 VORBIS_LIB!$VORBIS_LIB$ac_delim
31969 VORBIS_INCLUDE!$VORBIS_INCLUDE$ac_delim
31970 VORBIS_DIR!$VORBIS_DIR$ac_delim
31971 PBX_VORBIS!$PBX_VORBIS$ac_delim
31972 VPB_LIB!$VPB_LIB$ac_delim
31973 VPB_INCLUDE!$VPB_INCLUDE$ac_delim
31974 VPB_DIR!$VPB_DIR$ac_delim
31975 PBX_VPB!$PBX_VPB$ac_delim
31976 ZLIB_LIB!$ZLIB_LIB$ac_delim
31977 ZLIB_INCLUDE!$ZLIB_INCLUDE$ac_delim
31978 ZLIB_DIR!$ZLIB_DIR$ac_delim
31979 PBX_ZLIB!$PBX_ZLIB$ac_delim
31980 ZAPTEL_LIB!$ZAPTEL_LIB$ac_delim
31981 ZAPTEL_INCLUDE!$ZAPTEL_INCLUDE$ac_delim
31982 ZAPTEL_DIR!$ZAPTEL_DIR$ac_delim
31983 PBX_ZAPTEL!$PBX_ZAPTEL$ac_delim
31984 ALLOCA!$ALLOCA$ac_delim
31985 LIBOBJS!$LIBOBJS$ac_delim
31986 POW_LIB!$POW_LIB$ac_delim
31987 GC_CFLAGS!$GC_CFLAGS$ac_delim
31988 GC_LDFLAGS!$GC_LDFLAGS$ac_delim
31989 GSM_INTERNAL!$GSM_INTERNAL$ac_delim
31990 KDEINIT!$KDEINIT$ac_delim
31991 KDEDIR!$KDEDIR$ac_delim
31992 NETSNMP_CONFIG!$NETSNMP_CONFIG$ac_delim
31993 PG_CONFIG!$PG_CONFIG$ac_delim
31994 PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
31995 PWLIBDIR!$PWLIBDIR$ac_delim
31996 PWLIB_INCDIR!$PWLIB_INCDIR$ac_delim
31997 PWLIB_LIBDIR!$PWLIB_LIBDIR$ac_delim
31998 PWLIB_PLATFORM!$PWLIB_PLATFORM$ac_delim
31999 OPENH323DIR!$OPENH323DIR$ac_delim
32000 OPENH323_INCDIR!$OPENH323_INCDIR$ac_delim
32001 OPENH323_LIBDIR!$OPENH323_LIBDIR$ac_delim
32002 OPENH323_SUFFIX!$OPENH323_SUFFIX$ac_delim
32003 OPENH323_BUILD!$OPENH323_BUILD$ac_delim
32004 QTMOC!$QTMOC$ac_delim
32005 PBX_ZAPTEL_VLDTMF!$PBX_ZAPTEL_VLDTMF$ac_delim
32006 PBX_ZAPTEL_TRANSCODE!$PBX_ZAPTEL_TRANSCODE$ac_delim
32007 EDITLINE_LIB!$EDITLINE_LIB$ac_delim
32008 PBX_H323!$PBX_H323$ac_delim
32009 PBX_IXJUSER!$PBX_IXJUSER$ac_delim
32010 GTKCONFIG!$GTKCONFIG$ac_delim
32011 PBX_GTK!$PBX_GTK$ac_delim
32012 GTK_INCLUDE!$GTK_INCLUDE$ac_delim
32013 GTK_LIB!$GTK_LIB$ac_delim
32014 PKGCONFIG!$PKGCONFIG$ac_delim
32015 PBX_GTK2!$PBX_GTK2$ac_delim
32016 GTK2_INCLUDE!$GTK2_INCLUDE$ac_delim
32017 GTK2_LIB!$GTK2_LIB$ac_delim
32018 CURL_CONFIG!$CURL_CONFIG$ac_delim
32019 LTLIBOBJS!$LTLIBOBJS$ac_delim
32022 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
32024 elif $ac_last_try; then
32025 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32026 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32027 { (exit 1); exit 1; }; }
32029 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
32033 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
32034 if test -n "$ac_eof"; then
32035 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
32036 ac_eof
=`expr $ac_eof + 1`
32039 cat >>$CONFIG_STATUS <<_ACEOF
32040 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
32041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
32044 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
32045 s/^/s,@/; s/!/@,|#_!!_#|/
32048 s/'"$ac_delim"'$/,g/; t
32050 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
32051 ' >>$CONFIG_STATUS <conf$
$subs.
sed
32052 rm -f conf$
$subs.
sed
32053 cat >>$CONFIG_STATUS <<_ACEOF
32060 # VPATH may cause trouble with some makes, so we remove $(srcdir),
32061 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32062 # trailing colons and then remove the whole line if VPATH becomes empty
32063 # (actually we leave an empty line to preserve line numbers).
32064 if test "x$srcdir" = x.
; then
32065 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
32066 s/:*\$(srcdir):*/:/
32067 s/:*\${srcdir}:*/:/
32069 s/^\([^=]*=[ ]*\):*/\1/
32075 cat >>$CONFIG_STATUS <<\_ACEOF
32076 fi # test -n "$CONFIG_FILES"
32079 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
32082 :[FHLC
]) ac_mode
=$ac_tag; continue;;
32084 case $ac_mode$ac_tag in
32086 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
32087 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
32088 { (exit 1); exit 1; }; };;
32089 :[FH
]-) ac_tag
=-:-;;
32090 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
32107 -) ac_f
="$tmp/stdin";;
32108 *) # Look for the file first in the build tree, then in the source tree
32109 # (if the path is not absolute). The absolute path cannot be DOS-style,
32110 # because $ac_f cannot contain `:'.
32114 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
32116 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
32117 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
32118 { (exit 1); exit 1; }; };;
32120 ac_file_inputs
="$ac_file_inputs $ac_f"
32123 # Let's still pretend it is `configure' which instantiates (i.e., don't
32124 # use $as_me), people would be surprised to read:
32125 # /* config.h. Generated by config.status. */
32126 configure_input
="Generated from "`IFS=:
32127 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
32128 if test x
"$ac_file" != x-
; then
32129 configure_input
="$ac_file. $configure_input"
32130 { echo "$as_me:$LINENO: creating $ac_file" >&5
32131 echo "$as_me: creating $ac_file" >&6;}
32135 *:-:* |
*:-) cat >"$tmp/stdin";;
32140 ac_dir
=`$as_dirname -- "$ac_file" ||
32141 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32142 X"$ac_file" : 'X\(//\)[^/]' \| \
32143 X"$ac_file" : 'X\(//\)$' \| \
32144 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32150 /^X\(\/\/\)[^/].*/{
32165 -*) as_dir
=.
/$as_dir;;
32167 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
32171 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
32172 *) as_qdir
=$as_dir;;
32174 as_dirs
="'$as_qdir' $as_dirs"
32175 as_dir
=`$as_dirname -- "$as_dir" ||
32176 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32177 X"$as_dir" : 'X\(//\)[^/]' \| \
32178 X"$as_dir" : 'X\(//\)$' \| \
32179 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32185 /^X\(\/\/\)[^/].*/{
32198 test -d "$as_dir" && break
32200 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
32201 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32202 echo "$as_me: error: cannot create directory $as_dir" >&2;}
32203 { (exit 1); exit 1; }; }; }
32207 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32209 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
32210 # A ".." for each directory in $ac_dir_suffix.
32211 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
32212 case $ac_top_builddir_sub in
32213 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32214 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
32217 ac_abs_top_builddir
=$ac_pwd
32218 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
32219 # for backward compatibility:
32220 ac_top_builddir
=$ac_top_build_prefix
32223 .
) # We are building in place.
32225 ac_top_srcdir
=$ac_top_builddir_sub
32226 ac_abs_top_srcdir
=$ac_pwd ;;
32227 [\\/]* | ?
:[\\/]* ) # Absolute name.
32228 ac_srcdir
=$srcdir$ac_dir_suffix;
32229 ac_top_srcdir
=$srcdir
32230 ac_abs_top_srcdir
=$srcdir ;;
32231 *) # Relative name.
32232 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
32233 ac_top_srcdir
=$ac_top_build_prefix$srcdir
32234 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
32236 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
32246 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
32247 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
32251 cat >>$CONFIG_STATUS <<\_ACEOF
32252 # If the template does not know about datarootdir, expand it.
32253 # FIXME: This hack should be removed a few years after 2.60.
32254 ac_datarootdir_hack
=; ac_datarootdir_seen
=
32256 case `sed -n '/datarootdir/ {
32265 ' $ac_file_inputs` in
32266 *datarootdir
*) ac_datarootdir_seen
=yes;;
32267 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
32268 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32269 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32271 cat >>$CONFIG_STATUS <<_ACEOF
32272 ac_datarootdir_hack='
32273 s&@datadir@&$datadir&g
32274 s&@docdir@&$docdir&g
32275 s&@infodir@&$infodir&g
32276 s&@localedir@&$localedir&g
32277 s&@mandir@&$mandir&g
32278 s&\\\${datarootdir}&$datarootdir&g' ;;
32282 # Neutralize VPATH when `$srcdir' = `.'.
32283 # Shell code in configure.ac might set extrasub.
32284 # FIXME: do we really want to maintain this feature?
32285 cat >>$CONFIG_STATUS <<_ACEOF
32289 cat >>$CONFIG_STATUS <<\_ACEOF
32291 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
32292 s
&@configure_input@
&$configure_input&;t t
32293 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
32294 s
&@srcdir@
&$ac_srcdir&;t t
32295 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
32296 s
&@top_srcdir@
&$ac_top_srcdir&;t t
32297 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
32298 s
&@builddir@
&$ac_builddir&;t t
32299 s
&@abs_builddir@
&$ac_abs_builddir&;t t
32300 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
32301 s
&@INSTALL@
&$ac_INSTALL&;t t
32302 $ac_datarootdir_hack
32303 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
32305 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32306 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
32307 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
32308 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
32309 which seems to be undefined. Please make sure it is defined." >&5
32310 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
32311 which seems to be undefined. Please make sure it is defined." >&2;}
32315 -) cat "$tmp/out"; rm -f "$tmp/out";;
32316 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
32325 # Transform confdefs.h into a sed script `conftest.defines', that
32326 # substitutes the proper values into config.h.in to produce config.h.
32327 rm -f conftest.defines conftest.
tail
32328 # First, append a space to every undef/define line, to ease matching.
32329 echo 's/$/ /' >conftest.defines
32330 # Then, protect against being on the right side of a sed subst, or in
32331 # an unquoted here document, in config.status. If some macros were
32332 # called several times there might be several #defines for the same
32333 # symbol, which is useless. But do not sort them, since the last
32334 # AC_DEFINE must be honored.
32335 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
32336 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
32337 # NAME is the cpp macro being defined, VALUE is the value it is being given.
32338 # PARAMS is the parameter list in the macro definition--in most cases, it's
32339 # just an empty string.
32340 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
32341 ac_dB
='\\)[ (].*,\\1define\\2'
32349 s/^[ ]*#[ ]*define[ ][ ]*//
32354 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
32355 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
32356 ' >>conftest.defines
32358 # Remove the space that was appended to ease matching.
32359 # Then replace #undef with comments. This is necessary, for
32360 # example, in the case of _POSIX_SOURCE, which is predefined and required
32361 # on some systems where configure will not decide to define it.
32362 # (The regexp can be short, since the line contains either #define or #undef.)
32364 s,^[ #]*u.*,/* & */,' >>conftest.defines
32366 # Break up conftest.defines:
32367 ac_max_sed_lines
=50
32369 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
32370 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
32371 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
32373 ac_in
='$ac_file_inputs'
32374 ac_out
='"$tmp/out1"'
32375 ac_nxt
='"$tmp/out2"'
32379 # Write a here document:
32380 cat >>$CONFIG_STATUS <<_ACEOF
32381 # First, check the format of the line:
32382 cat >"\$tmp/defines.sed" <<\\CEOF
32383 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
32384 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
32388 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
32390 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
32391 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
32392 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
32393 grep . conftest.
tail >/dev
/null ||
break
32394 rm -f conftest.defines
32395 mv conftest.
tail conftest.defines
32397 rm -f conftest.defines conftest.
tail
32399 echo "ac_result=$ac_in" >>$CONFIG_STATUS
32400 cat >>$CONFIG_STATUS <<\_ACEOF
32401 if test x
"$ac_file" != x-
; then
32402 echo "/* $configure_input */" >"$tmp/config.h"
32403 cat "$ac_result" >>"$tmp/config.h"
32404 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
32405 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
32406 echo "$as_me: $ac_file is unchanged" >&6;}
32409 mv "$tmp/config.h" $ac_file
32412 echo "/* $configure_input */"
32424 { (exit 0); exit 0; }
32426 chmod +x
$CONFIG_STATUS
32427 ac_clean_files
=$ac_clean_files_save
32430 # configure is writing to config.log, and then calls config.status.
32431 # config.status does its own redirection, appending to config.log.
32432 # Unfortunately, on DOS this fails, as config.log is still kept open
32433 # by configure, so config.status won't be able to write to it; its
32434 # output is simply discarded. So we exec the FD to /dev/null,
32435 # effectively closing config.log, so it can be properly (re)opened and
32436 # appended to by config.status. When coming back to configure, we
32437 # need to make the FD available again.
32438 if test "$no_create" != yes; then
32440 ac_config_status_args
=
32441 test "$silent" = yes &&
32442 ac_config_status_args
="$ac_config_status_args --quiet"
32444 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
32446 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
32447 # would make configure fail if this is the last instruction.
32448 $ac_cs_success ||
{ (exit 1); exit 1; }
32452 if test "x${silent}" != "xyes" ; then
32454 echo " .\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$=.. "
32455 echo " .\$7\$7.. .7\$\$7:. "
32456 echo " .\$\$:. ,\$7.7 "
32457 echo " .\$7. 7\$\$\$\$ .\$\$77 "
32458 echo " ..\$\$. \$\$\$\$\$ .\$\$\$7 "
32459 echo " ..7\$ .?. \$\$\$\$\$ .?. 7\$\$\$."
32460 echo " \$.\$. .\$\$\$7. \$\$\$\$7 .7\$\$\$. .\$\$\$."
32461 echo " .777. .\$\$\$\$\$\$77\$\$\$77\$\$\$\$\$7. \$\$\$,"
32462 echo " \$\$\$~ .7\$\$\$\$\$\$\$\$\$\$\$\$\$7. .\$\$\$."
32463 echo ".\$\$7 .7\$\$\$\$\$\$\$7: ?\$\$\$."
32464 echo "\$\$\$ ?7\$\$\$\$\$\$\$\$\$\$I .\$\$\$7 "
32465 echo "\$\$\$ .7\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$ :\$\$\$. "
32466 echo "\$\$\$ \$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$\$\$\$ .\$\$\$. "
32467 echo "\$\$\$ \$\$\$ 7\$\$\$7 .\$\$\$ .\$\$\$. "
32468 echo "\$\$\$\$ \$\$\$\$7 .\$\$\$. "
32469 echo "7\$\$\$7 7\$\$\$\$ 7\$\$\$ "
32470 echo " \$\$\$\$\$ \$\$\$ "
32471 echo " \$\$\$\$7. \$\$ (TM) "
32472 echo " \$\$\$\$\$\$\$. .7\$\$\$\$\$\$ \$\$ "
32473 echo " \$\$\$\$\$\$\$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$.\$\$\$\$\$\$ "
32474 echo " \$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$. "
32478 { echo "$as_me:$LINENO: Package configured for: " >&5
32479 echo "$as_me: Package configured for: " >&6;}
32480 { echo "$as_me:$LINENO: OS type : $host_os" >&5
32481 echo "$as_me: OS type : $host_os" >&6;}
32482 { echo "$as_me:$LINENO: Host CPU : $host_cpu" >&5
32483 echo "$as_me: Host CPU : $host_cpu" >&6;}
32484 if test "${cross_compiling}" = "yes"; then
32485 { echo "$as_me:$LINENO: Cross Compilation = YES" >&5
32486 echo "$as_me: Cross Compilation = YES" >&6;}