2 # From configure.ac Revision: 74572 .
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
876 AST_DECLARATION_AFTER_STATEMENT
909 ac_precious_vars
='build_alias
924 # Initialize some variables set by options.
926 ac_init_version
=false
927 # The variables have the same names as the options, with
928 # dashes changed to underlines.
936 program_transform_name
=s
,x
,x
,
944 # Installation directory options.
945 # These are left unexpanded so users can "make install exec_prefix=/foo"
946 # and all the variables that are supposed to be based on exec_prefix
947 # by default will actually change.
948 # Use braces instead of parens because sh, perl, etc. also accept them.
949 # (The list follows the same order as the GNU Coding Standards.)
950 bindir
='${exec_prefix}/bin'
951 sbindir
='${exec_prefix}/sbin'
952 libexecdir
='${exec_prefix}/libexec'
953 datarootdir
='${prefix}/share'
954 datadir
='${datarootdir}'
955 sysconfdir
='${prefix}/etc'
956 sharedstatedir
='${prefix}/com'
957 localstatedir
='${prefix}/var'
958 includedir
='${prefix}/include'
959 oldincludedir
='/usr/include'
960 docdir
='${datarootdir}/doc/${PACKAGE}'
961 infodir
='${datarootdir}/info'
966 libdir
='${exec_prefix}/lib'
967 localedir
='${datarootdir}/locale'
968 mandir
='${datarootdir}/man'
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\
$ac_option
982 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
994 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
997 -build |
--build |
--buil |
--bui |
--bu)
998 ac_prev
=build_alias
;;
999 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1000 build_alias
=$ac_optarg ;;
1002 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1003 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1004 ac_prev
=cache_file
;;
1005 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1006 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1007 cache_file
=$ac_optarg ;;
1009 --config-cache |
-C)
1010 cache_file
=config.cache
;;
1012 -datadir |
--datadir |
--datadi |
--datad)
1014 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1015 datadir
=$ac_optarg ;;
1017 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1018 |
--dataroo |
--dataro |
--datar)
1019 ac_prev
=datarootdir
;;
1020 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1021 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1022 datarootdir
=$ac_optarg ;;
1024 -disable-* |
--disable-*)
1025 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1028 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1031 eval enable_
$ac_feature=no
;;
1033 -docdir |
--docdir |
--docdi |
--doc |
--do)
1035 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1036 docdir
=$ac_optarg ;;
1038 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1040 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1041 dvidir
=$ac_optarg ;;
1043 -enable-* |
--enable-*)
1044 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1047 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1048 { (exit 1); exit 1; }; }
1049 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1050 eval enable_
$ac_feature=\
$ac_optarg ;;
1052 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1053 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1054 |
--exec |
--exe |
--ex)
1055 ac_prev
=exec_prefix
;;
1056 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1057 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1058 |
--exec=* |
--exe=* |
--ex=*)
1059 exec_prefix
=$ac_optarg ;;
1061 -gas |
--gas |
--ga |
--g)
1062 # Obsolete; use --with-gas.
1065 -help |
--help |
--hel |
--he |
-h)
1066 ac_init_help
=long
;;
1067 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1068 ac_init_help
=recursive
;;
1069 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1070 ac_init_help
=short
;;
1072 -host |
--host |
--hos |
--ho)
1073 ac_prev
=host_alias
;;
1074 -host=* |
--host=* |
--hos=* |
--ho=*)
1075 host_alias
=$ac_optarg ;;
1077 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1079 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1081 htmldir
=$ac_optarg ;;
1083 -includedir |
--includedir |
--includedi |
--included |
--include \
1084 |
--includ |
--inclu |
--incl |
--inc)
1085 ac_prev
=includedir
;;
1086 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1087 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1088 includedir
=$ac_optarg ;;
1090 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1092 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1093 infodir
=$ac_optarg ;;
1095 -libdir |
--libdir |
--libdi |
--libd)
1097 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1098 libdir
=$ac_optarg ;;
1100 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1101 |
--libexe |
--libex |
--libe)
1102 ac_prev
=libexecdir
;;
1103 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1104 |
--libexe=* |
--libex=* |
--libe=*)
1105 libexecdir
=$ac_optarg ;;
1107 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1108 ac_prev
=localedir
;;
1109 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1110 localedir
=$ac_optarg ;;
1112 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1113 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1114 ac_prev
=localstatedir
;;
1115 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1116 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1117 localstatedir
=$ac_optarg ;;
1119 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1121 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1122 mandir
=$ac_optarg ;;
1124 -nfp |
--nfp |
--nf)
1125 # Obsolete; use --without-fp.
1128 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1129 |
--no-cr |
--no-c |
-n)
1132 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1133 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1136 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1137 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1138 |
--oldin |
--oldi |
--old |
--ol |
--o)
1139 ac_prev
=oldincludedir
;;
1140 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1141 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1142 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1143 oldincludedir
=$ac_optarg ;;
1145 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1147 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1148 prefix
=$ac_optarg ;;
1150 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1151 |
--program-pre |
--program-pr |
--program-p)
1152 ac_prev
=program_prefix
;;
1153 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1154 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1155 program_prefix
=$ac_optarg ;;
1157 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1158 |
--program-suf |
--program-su |
--program-s)
1159 ac_prev
=program_suffix
;;
1160 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1161 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1162 program_suffix
=$ac_optarg ;;
1164 -program-transform-name |
--program-transform-name \
1165 |
--program-transform-nam |
--program-transform-na \
1166 |
--program-transform-n |
--program-transform- \
1167 |
--program-transform |
--program-transfor \
1168 |
--program-transfo |
--program-transf \
1169 |
--program-trans |
--program-tran \
1170 |
--progr-tra |
--program-tr |
--program-t)
1171 ac_prev
=program_transform_name
;;
1172 -program-transform-name=* |
--program-transform-name=* \
1173 |
--program-transform-nam=* |
--program-transform-na=* \
1174 |
--program-transform-n=* |
--program-transform-=* \
1175 |
--program-transform=* |
--program-transfor=* \
1176 |
--program-transfo=* |
--program-transf=* \
1177 |
--program-trans=* |
--program-tran=* \
1178 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1179 program_transform_name
=$ac_optarg ;;
1181 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1183 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1184 pdfdir
=$ac_optarg ;;
1186 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1188 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1191 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1192 |
-silent |
--silent |
--silen |
--sile |
--sil)
1195 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1197 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1199 sbindir
=$ac_optarg ;;
1201 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1202 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1203 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1205 ac_prev
=sharedstatedir
;;
1206 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1207 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1208 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1210 sharedstatedir
=$ac_optarg ;;
1212 -site |
--site |
--sit)
1214 -site=* |
--site=* |
--sit=*)
1217 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1219 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1220 srcdir
=$ac_optarg ;;
1222 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1223 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1224 ac_prev
=sysconfdir
;;
1225 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1226 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1227 sysconfdir
=$ac_optarg ;;
1229 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1230 ac_prev
=target_alias
;;
1231 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1232 target_alias
=$ac_optarg ;;
1234 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1237 -version |
--version |
--versio |
--versi |
--vers |
-V)
1238 ac_init_version
=: ;;
1241 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 { echo "$as_me: error: invalid package name: $ac_package" >&2
1245 { (exit 1); exit 1; }; }
1246 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1247 eval with_
$ac_package=\
$ac_optarg ;;
1249 -without-* |
--without-*)
1250 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1253 { echo "$as_me: error: invalid package name: $ac_package" >&2
1254 { (exit 1); exit 1; }; }
1255 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1256 eval with_
$ac_package=no
;;
1259 # Obsolete; use --with-x.
1262 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1263 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1264 ac_prev
=x_includes
;;
1265 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1266 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1267 x_includes
=$ac_optarg ;;
1269 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1270 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1271 ac_prev
=x_libraries
;;
1272 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1273 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1274 x_libraries
=$ac_optarg ;;
1276 -*) { echo "$as_me: error: unrecognized option: $ac_option
1277 Try \`$0 --help' for more information." >&2
1278 { (exit 1); exit 1; }; }
1282 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1285 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1286 { (exit 1); exit 1; }; }
1287 eval $ac_envvar=\
$ac_optarg
1288 export $ac_envvar ;;
1291 # FIXME: should be removed in autoconf 3.0.
1292 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1294 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 if test -n "$ac_prev"; then
1302 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1303 { echo "$as_me: error: missing argument to $ac_option" >&2
1304 { (exit 1); exit 1; }; }
1307 # Be sure to have absolute directory names.
1308 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir
1313 eval ac_val
=\$
$ac_var
1315 [\\/$
]* | ?
:[\\/]* ) continue;;
1316 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1318 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1319 { (exit 1); exit 1; }; }
1322 # There might be people who depend on the old broken behavior: `$host'
1323 # used to hold the argument of --host etc.
1324 # FIXME: To remove some day.
1327 target
=$target_alias
1329 # FIXME: To remove some day.
1330 if test "x$host_alias" != x
; then
1331 if test "x$build_alias" = x
; then
1332 cross_compiling
=maybe
1333 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1334 If a cross compiler is detected then cross compile mode will be used." >&2
1335 elif test "x$build_alias" != "x$host_alias"; then
1341 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1343 test "$silent" = yes && exec 6>/dev
/null
1346 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1347 ac_ls_di
=`ls -di .` &&
1348 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1349 { echo "$as_me: error: Working directory cannot be determined" >&2
1350 { (exit 1); exit 1; }; }
1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352 { echo "$as_me: error: pwd does not report name of working directory" >&2
1353 { (exit 1); exit 1; }; }
1356 # Find the source files, if location was not specified.
1357 if test -z "$srcdir"; then
1358 ac_srcdir_defaulted
=yes
1359 # Try the directory containing this script, then the parent directory.
1360 ac_confdir
=`$as_dirname -- "$0" ||
1361 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1362 X"$0" : 'X\(//\)[^/]' \| \
1363 X"$0" : 'X\(//\)$' \| \
1364 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1384 if test ! -r "$srcdir/$ac_unique_file"; then
1388 ac_srcdir_defaulted
=no
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1391 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1392 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1393 { (exit 1); exit 1; }; }
1395 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1397 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1398 { (exit 1); exit 1; }; }
1400 # When building in place, set srcdir=.
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 # Remove unnecessary trailing slashes from srcdir.
1405 # Double slashes in file names in object file debugging info
1406 # mess up M-x gdb in Emacs.
1408 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410 for ac_var
in $ac_precious_vars; do
1411 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1412 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1413 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1414 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1418 # Report the --help message.
1420 if test "$ac_init_help" = "long"; then
1421 # Omit some internal or obsolete options to make the list less imposing.
1422 # This message is too long to be a string in the A/UX 3.1 sh.
1424 \`configure' configures this package to adapt to many kinds of systems.
1426 Usage: $0 [OPTION]... [VAR=VALUE]...
1428 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429 VAR=VALUE. See below for descriptions of some of the useful variables.
1431 Defaults for the options are specified in brackets.
1434 -h, --help display this help and exit
1435 --help=short display options specific to this package
1436 --help=recursive display the short help of all the included packages
1437 -V, --version display version information and exit
1438 -q, --quiet, --silent do not print \`checking...' messages
1439 --cache-file=FILE cache test results in FILE [disabled]
1440 -C, --config-cache alias for \`--cache-file=config.cache'
1441 -n, --no-create do not create output files
1442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1444 Installation directories:
1445 --prefix=PREFIX install architecture-independent files in PREFIX
1446 [$ac_default_prefix]
1447 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450 By default, \`make install' will install all the files in
1451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1452 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453 for instance \`--prefix=\$HOME'.
1455 For better control, use the options below.
1457 Fine tuning of the installation directories:
1458 --bindir=DIR user executables [EPREFIX/bin]
1459 --sbindir=DIR system admin executables [EPREFIX/sbin]
1460 --libexecdir=DIR program executables [EPREFIX/libexec]
1461 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1462 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1463 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1464 --libdir=DIR object code libraries [EPREFIX/lib]
1465 --includedir=DIR C header files [PREFIX/include]
1466 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1467 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1468 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1469 --infodir=DIR info documentation [DATAROOTDIR/info]
1470 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1471 --mandir=DIR man documentation [DATAROOTDIR/man]
1472 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1473 --htmldir=DIR html documentation [DOCDIR]
1474 --dvidir=DIR dvi documentation [DOCDIR]
1475 --pdfdir=DIR pdf documentation [DOCDIR]
1476 --psdir=DIR ps documentation [DOCDIR]
1482 --build=BUILD configure
for building on BUILD
[guessed
]
1483 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1487 if test -n "$ac_init_help"; then
1492 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1493 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1494 --enable-dev-mode Turn on developer mode
1495 --disable-largefile omit support
for large files
1498 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1499 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1500 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1501 --with-asound=PATH use Advanced Linux Sound Architecture files
in PATH
1502 --with-curl=PATH use cURL files
in PATH
1503 --with-curses=PATH use curses files
in PATH
1504 --with-gnutls=PATH use GNU TLS support
(used
for iksemel only
) files
in
1506 --with-gsm=PATH use GSM files
in PATH
, or
'internal'
1507 --with-iksemel=PATH use Iksemel Jabber Library files
in PATH
1508 --with-imap=PATH use UW IMAP Toolkit files
in PATH
1509 --with-isdnnet=PATH use ISDN4Linux Library files
in PATH
1510 --with-kde=PATH use KDE files
in PATH
1511 --with-ltdl=PATH use libtool files
in PATH
1512 --with-misdn=PATH use mISDN User Library files
in PATH
1513 --with-nbs=PATH use Network Broadcast Sound files
in PATH
1514 --with-ncurses=PATH use ncurses files
in PATH
1515 --with-netsnmp=PATH use Net-SNMP files
in PATH
1516 --with-newt=PATH use newt files
in PATH
1517 --with-odbc=PATH use unixODBC files
in PATH
1518 --with-ogg=PATH use OGG files
in PATH
1519 --with-osptk=PATH use OSP Toolkit files
in PATH
1520 --with-oss=PATH use Open Sound System files
in PATH
1521 --with-popt=PATH use popt files
in PATH
1522 --with-postgres=PATH use PostgreSQL files
in PATH
1523 --with-pri=PATH use ISDN PRI files
in PATH
1524 --with-pwlib=PATH use PWlib files
in PATH
1525 --with-h323=PATH use OpenH323 files
in PATH
1526 --with-qt=PATH use Qt files
in PATH
1527 --with-radius=PATH use Radius Client files
in PATH
1528 --with-speex=PATH use Speex files
in PATH
1529 --with-sqlite=PATH use SQLite files
in PATH
1530 --with-suppserv=PATH use mISDN Supplemental Services files
in PATH
1531 --with-ssl=PATH use OpenSSL files
in PATH
1532 --with-tds=PATH use FreeTDS files
in PATH
1533 --with-termcap=PATH use Termcap files
in PATH
1534 --with-tinfo=PATH use Term Info files
in PATH
1535 --with-tonezone=PATH use tonezone files
in PATH
1536 --with-vorbis=PATH use Vorbis files
in PATH
1537 --with-vpb=PATH use Voicetronix API files
in PATH
1538 --with-z=PATH use zlib files
in PATH
1539 --with-zaptel=PATH use Zaptel files
in PATH
1541 Some influential environment variables
:
1542 CC C compiler
command
1543 CFLAGS C compiler flags
1544 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1545 nonstandard directory
<lib dir
>
1546 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1547 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1548 you have headers
in a nonstandard directory
<include dir
>
1550 CXX C
++ compiler
command
1551 CXXFLAGS C
++ compiler flags
1552 CXXCPP C
++ preprocessor
1554 Use these variables to override the choices made by
`configure' or to help
1555 it to find libraries and programs with nonstandard names/locations.
1561 if test "$ac_init_help" = "recursive"; then
1562 # If there are subdirs, report their specific --help.
1563 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1564 test -d "$ac_dir" || continue
1568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1570 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1571 # A ".." for each directory in $ac_dir_suffix.
1572 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1573 case $ac_top_builddir_sub in
1574 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1578 ac_abs_top_builddir=$ac_pwd
1579 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1580 # for backward compatibility:
1581 ac_top_builddir=$ac_top_build_prefix
1584 .) # We are building in place.
1586 ac_top_srcdir=$ac_top_builddir_sub
1587 ac_abs_top_srcdir=$ac_pwd ;;
1588 [\\/]* | ?:[\\/]* ) # Absolute name.
1589 ac_srcdir=$srcdir$ac_dir_suffix;
1590 ac_top_srcdir=$srcdir
1591 ac_abs_top_srcdir=$srcdir ;;
1593 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1594 ac_top_srcdir=$ac_top_build_prefix$srcdir
1595 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1597 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1599 cd "$ac_dir" || { ac_status=$?; continue; }
1600 # Check for guested configure.
1601 if test -f "$ac_srcdir/configure.gnu"; then
1603 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1604 elif test -f "$ac_srcdir/configure"; then
1606 $SHELL "$ac_srcdir/configure" --help=recursive
1608 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1610 cd "$ac_pwd" || { ac_status=$?; break; }
1614 test -n "$ac_init_help" && exit $ac_status
1615 if $ac_init_version; then
1618 generated by GNU Autoconf 2.61
1620 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1621 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1622 This configure script is free software; the Free Software Foundation
1623 gives unlimited permission to copy, distribute and modify it.
1629 cat >config.log <<_ACEOF
1630 This file contains any messages produced by compilers while
1631 running configure, to aid debugging if configure makes a mistake.
1633 It was created by $as_me, which was
1634 generated by GNU Autoconf 2.61. Invocation command line was
1646 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1647 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1648 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1649 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1650 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1652 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1653 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1655 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1656 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1657 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1658 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1659 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1660 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1661 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1669 test -z "$as_dir" && as_dir=.
1670 echo "PATH: $as_dir"
1686 # Keep a trace of the command line.
1687 # Strip out --no-create and --no-recursion so they do not pile up.
1688 # Strip out --silent because we don't want to record it for future runs.
1689 # Also quote any args containing shell meta-characters.
1690 # Make two passes to allow for proper duplicate-argument suppression.
1694 ac_must_keep_next=false
1700 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1701 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1702 | -silent | --silent | --silen | --sile | --sil)
1705 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1708 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1710 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1711 if test $ac_must_keep_next = true; then
1712 ac_must_keep_next=false # Got value, back to normal.
1715 *=* | --config-cache | -C | -disable-* | --disable-* \
1716 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1717 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1718 | -with-* | --with-* | -without-* | --without-* | --x)
1719 case "$ac_configure_args0 " in
1720 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1723 -* ) ac_must_keep_next=true ;;
1726 ac_configure_args="$ac_configure_args '$ac_arg'"
1731 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1732 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1734 # When interrupted or exit'd, cleanup temporary files, and complete
1735 # config.log. We remove comments because anyway the quotes in there
1736 # would cause problems or look ugly.
1737 # WARNING: Use '\'' to represent an apostrophe within the trap.
1738 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1739 trap 'exit_status=$?
1740 # Save into config.log some information that might help in debugging.
1745 ## ---------------- ##
1746 ## Cache variables. ##
1747 ## ---------------- ##
1750 # The following way of writing the cache mishandles newlines in values,
1752 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1753 eval ac_val=\$$ac_var
1757 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1758 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1761 _ | IFS | as_nl) ;; #(
1762 *) $as_unset $ac_var ;;
1767 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1768 *${as_nl}ac_space=\ *)
1770 "s/'\''/'\''\\\\'\'''\''/g;
1771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1774 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1782 ## ----------------- ##
1783 ## Output variables. ##
1784 ## ----------------- ##
1787 for ac_var in $ac_subst_vars
1789 eval ac_val=\$$ac_var
1791 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1793 echo "$ac_var='\''$ac_val'\''"
1797 if test -n "$ac_subst_files"; then
1799 ## ------------------- ##
1800 ## File substitutions. ##
1801 ## ------------------- ##
1804 for ac_var in $ac_subst_files
1806 eval ac_val=\$$ac_var
1808 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1810 echo "$ac_var='\''$ac_val'\''"
1815 if test -s confdefs.h; then
1825 test "$ac_signal" != 0 &&
1826 echo "$as_me: caught signal $ac_signal"
1827 echo "$as_me: exit $exit_status"
1829 rm -f core *.core core.conftest.* &&
1830 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1833 for ac_signal in 1 2 13 15; do
1834 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1838 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1839 rm -f -r conftest* confdefs.h
1841 # Predefined preprocessor variables.
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_NAME "$PACKAGE_NAME"
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1858 cat >>confdefs.h <<_ACEOF
1859 #define PACKAGE_STRING "$PACKAGE_STRING"
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1868 # Let the site file select an alternate cache file if it wants to.
1869 # Prefer explicitly selected file to automatically selected ones.
1870 if test -n "$CONFIG_SITE"; then
1871 set x "$CONFIG_SITE"
1872 elif test "x$prefix" != xNONE; then
1873 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1875 set x "$ac_default_prefix/share/config.site" \
1876 "$ac_default_prefix/etc/config.site"
1881 if test -r "$ac_site_file"; then
1882 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1883 echo "$as_me: loading site script $ac_site_file" >&6;}
1884 sed 's/^/| /' "$ac_site_file" >&5
1889 if test -r "$cache_file"; then
1890 # Some versions of bash will fail to source /dev/null (special
1891 # files actually), so we avoid doing that.
1892 if test -f "$cache_file"; then
1893 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1894 echo "$as_me: loading cache $cache_file" >&6;}
1896 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1897 *) . "./$cache_file";;
1901 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1902 echo "$as_me: creating cache $cache_file" >&6;}
1906 ac_header_list="$ac_header_list sys/time.h"
1907 ac_header_list="$ac_header_list unistd.h"
1908 ac_func_list="$ac_func_list alarm"
1909 ac_header_list="$ac_header_list utime.h"
1910 # Check that the precious variables saved in the cache have kept the same
1912 ac_cache_corrupted=false
1913 for ac_var in $ac_precious_vars; do
1914 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1915 eval ac_new_set=\$ac_env_${ac_var}_set
1916 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1917 eval ac_new_val=\$ac_env_${ac_var}_value
1918 case $ac_old_set,$ac_new_set in
1920 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1921 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1922 ac_cache_corrupted=: ;;
1924 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1925 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1926 ac_cache_corrupted=: ;;
1929 if test "x$ac_old_val" != "x$ac_new_val"; then
1930 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1931 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1932 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1933 echo "$as_me: former value
: $ac_old_val" >&2;}
1934 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1935 echo "$as_me: current value
: $ac_new_val" >&2;}
1936 ac_cache_corrupted=:
1939 # Pass precious variables to config.status.
1940 if test "$ac_new_set" = set; then
1942 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1943 *) ac_arg=$ac_var=$ac_new_val ;;
1945 case " $ac_configure_args " in
1946 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1947 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1951 if $ac_cache_corrupted; then
1952 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1953 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1954 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1955 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1956 { (exit 1); exit 1; }; }
1976 ac_cpp='$CPP $CPPFLAGS'
1977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1983 # cross-compile macros
1985 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1986 if test -f "$ac_dir/install-sh"; then
1988 ac_install_sh="$ac_aux_dir/install-sh -c"
1990 elif test -f "$ac_dir/install.sh"; then
1992 ac_install_sh="$ac_aux_dir/install.sh -c"
1994 elif test -f "$ac_dir/shtool"; then
1996 ac_install_sh="$ac_aux_dir/shtool install -c"
2000 if test -z "$ac_aux_dir"; then
2001 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2002 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2003 { (exit 1); exit 1; }; }
2006 # These three variables are undocumented and unsupported,
2007 # and are intended to be withdrawn in a future Autoconf release.
2008 # They can cause serious problems if a builder's source tree is in a directory
2009 # whose full name contains unusual characters.
2010 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2011 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2012 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2015 # Make sure we can run config.sub.
2016 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2017 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2018 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2019 { (exit 1); exit 1; }; }
2021 { echo "$as_me:$LINENO: checking build system type" >&5
2022 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2023 if test "${ac_cv_build+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 ac_build_alias=$build_alias
2027 test "x$ac_build_alias" = x &&
2028 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2029 test "x$ac_build_alias" = x &&
2030 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2031 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2032 { (exit 1); exit 1; }; }
2033 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2034 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2035 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2036 { (exit 1); exit 1; }; }
2039 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2040 echo "${ECHO_T}$ac_cv_build" >&6; }
2041 case $ac_cv_build in
2043 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2044 echo "$as_me: error: invalid value of canonical build" >&2;}
2045 { (exit 1); exit 1; }; };;
2048 ac_save_IFS=$IFS; IFS='-'
2054 # Remember, the first character of IFS is used to create $*,
2055 # except with old shells:
2058 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2061 { echo "$as_me:$LINENO: checking host system type" >&5
2062 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2063 if test "${ac_cv_host+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 if test "x$host_alias" = x; then
2067 ac_cv_host=$ac_cv_build
2069 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2070 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2071 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2072 { (exit 1); exit 1; }; }
2076 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2077 echo "${ECHO_T}$ac_cv_host" >&6; }
2080 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2081 echo "$as_me: error: invalid value of canonical host" >&2;}
2082 { (exit 1); exit 1; }; };;
2085 ac_save_IFS=$IFS; IFS='-'
2091 # Remember, the first character of IFS is used to create $*,
2092 # except with old shells:
2095 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2099 # check existence of the package
2102 # specify output header file
2103 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2110 cat >>confdefs.h <<\_ACEOF
2111 #define _GNU_SOURCE 1
2116 ac_cpp='$CPP $CPPFLAGS'
2117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2120 if test -n "$ac_tool_prefix"; then
2121 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2122 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2125 if test "${ac_cv_prog_CC+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 if test -n "$CC"; then
2129 ac_cv_prog_CC="$CC" # Let the user override the test.
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2138 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2149 if test -n "$CC"; then
2150 { echo "$as_me:$LINENO: result: $CC" >&5
2151 echo "${ECHO_T}$CC" >&6; }
2153 { echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6; }
2159 if test -z "$ac_cv_prog_CC"; then
2161 # Extract the first word of "gcc", so it can be a program name with args.
2162 set dummy gcc; ac_word=$2
2163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2165 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 if test -n "$ac_ct_CC"; then
2169 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir=.
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_prog_ac_ct_CC="gcc"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2189 if test -n "$ac_ct_CC"; then
2190 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2191 echo "${ECHO_T}$ac_ct_CC" >&6; }
2193 { echo "$as_me:$LINENO: result: no" >&5
2194 echo "${ECHO_T}no" >&6; }
2197 if test "x$ac_ct_CC" = x; then
2200 case $cross_compiling:$ac_tool_warned in
2202 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2203 whose name does not start with the host triplet. If you think this
2204 configuration is useful to you, please write to autoconf@gnu.org." >&5
2205 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2206 whose name does not start with the host triplet. If you think this
2207 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2208 ac_tool_warned=yes ;;
2216 if test -z "$CC"; then
2217 if test -n "$ac_tool_prefix"; then
2218 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2219 set dummy ${ac_tool_prefix}cc; ac_word=$2
2220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2222 if test "${ac_cv_prog_CC+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$CC"; then
2226 ac_cv_prog_CC="$CC" # Let the user override the test.
2228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir=.
2233 for ac_exec_ext in '' $ac_executable_extensions; do
2234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2235 ac_cv_prog_CC="${ac_tool_prefix}cc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 if test -n "$CC"; then
2247 { echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6; }
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2257 if test -z "$CC"; then
2258 # Extract the first word of "cc", so it can be a program name with args.
2259 set dummy cc; ac_word=$2
2260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2262 if test "${ac_cv_prog_CC+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 if test -n "$CC"; then
2266 ac_cv_prog_CC="$CC" # Let the user override the test.
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir=.
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2276 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2277 ac_prog_rejected=yes
2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 if test $ac_prog_rejected = yes; then
2289 # We found a bogon in the path, so make sure we never use it.
2290 set dummy $ac_cv_prog_CC
2292 if test $# != 0; then
2293 # We chose a different compiler from the bogus one.
2294 # However, it has the same basename, so the bogon will be chosen
2295 # first if we set CC to just the basename; use the full file name.
2297 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2303 if test -n "$CC"; then
2304 { echo "$as_me:$LINENO: result: $CC" >&5
2305 echo "${ECHO_T}$CC" >&6; }
2307 { echo "$as_me:$LINENO: result: no" >&5
2308 echo "${ECHO_T}no" >&6; }
2313 if test -z "$CC"; then
2314 if test -n "$ac_tool_prefix"; then
2315 for ac_prog in cl.exe
2317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2321 if test "${ac_cv_prog_CC+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 if test -n "$CC"; then
2325 ac_cv_prog_CC="$CC" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 if test -n "$CC"; then
2346 { echo "$as_me:$LINENO: result: $CC" >&5
2347 echo "${ECHO_T}$CC" >&6; }
2349 { echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6; }
2354 test -n "$CC" && break
2357 if test -z "$CC"; then
2359 for ac_prog in cl.exe
2361 # Extract the first word of "$ac_prog", so it can be a program name with args.
2362 set dummy $ac_prog; ac_word=$2
2363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2365 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 if test -n "$ac_ct_CC"; then
2369 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir=.
2376 for ac_exec_ext in '' $ac_executable_extensions; do
2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378 ac_cv_prog_ac_ct_CC="$ac_prog"
2379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2389 if test -n "$ac_ct_CC"; then
2390 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2391 echo "${ECHO_T}$ac_ct_CC" >&6; }
2393 { echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6; }
2398 test -n "$ac_ct_CC" && break
2401 if test "x$ac_ct_CC" = x; then
2404 case $cross_compiling:$ac_tool_warned in
2406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2407 whose name does not start with the host triplet. If you think this
2408 configuration is useful to you, please write to autoconf@gnu.org." >&5
2409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2410 whose name does not start with the host triplet. If you think this
2411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2412 ac_tool_warned=yes ;;
2421 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2422 See \`config.log
' for more details." >&5
2423 echo "$as_me: error: no acceptable C compiler found in \$PATH
2424 See \`config.log' for more details.
" >&2;}
2425 { (exit 1); exit 1; }; }
2427 # Provide some information about the compiler.
2428 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2429 ac_compiler=`set X $ac_compile; echo $2`
2430 { (ac_try="$ac_compiler --version >&5"
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2435 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2436 (eval "$ac_compiler --version >&5") 2>&5
2438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2439 (exit $ac_status); }
2440 { (ac_try="$ac_compiler -v >&5"
2442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2443 *) ac_try_echo=$ac_try;;
2445 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2446 (eval "$ac_compiler -v >&5") 2>&5
2448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2449 (exit $ac_status); }
2450 { (ac_try="$ac_compiler -V >&5"
2452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2453 *) ac_try_echo=$ac_try;;
2455 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2456 (eval "$ac_compiler -V >&5") 2>&5
2458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2459 (exit $ac_status); }
2461 cat >conftest.$ac_ext <<_ACEOF
2464 cat confdefs.h >>conftest.$ac_ext
2465 cat >>conftest.$ac_ext <<_ACEOF
2466 /* end confdefs.h. */
2476 ac_clean_files_save=$ac_clean_files
2477 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2478 # Try to create an executable without -o first, disregard a.out.
2479 # It will help us diagnose broken compilers, and finding out an intuition
2481 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2482 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2483 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2485 # List of possible output files, starting from the most likely.
2486 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2487 # only as a last resort. b.out is created by i960 compilers.
2488 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2490 # The IRIX 6 linker writes into existing files which may not be
2491 # executable, retaining their permissions. Remove them first so a
2492 # subsequent execution test works.
2494 for ac_file in $ac_files
2497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2498 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2503 if { (ac_try="$ac_link_default"
2505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506 *) ac_try_echo=$ac_try;;
2508 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2509 (eval "$ac_link_default") 2>&5
2511 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2512 (exit $ac_status); }; then
2513 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2514 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2515 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2516 # so that the user can short-circuit this test for compilers unknown to
2518 for ac_file in $ac_files ''
2520 test -f "$ac_file" || continue
2522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2525 # We found the default executable, but exeext='' is most
2529 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2531 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2533 # We set ac_cv_exeext here because the later test for it is not
2534 # safe: cross compilers may not add the suffix if given an `-o'
2535 # argument, so we may need to know it at that point already.
2536 # Even if this section looks crufty: it has the advantage of
2543 test "$ac_cv_exeext" = no && ac_cv_exeext=
2549 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2550 echo "${ECHO_T}$ac_file" >&6; }
2551 if test -z "$ac_file"; then
2552 echo "$as_me: failed program was
:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2555 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2556 See \
`config.log' for more details." >&5
2557 echo "$as_me: error: C compiler cannot create executables
2558 See \`config.log
' for more details." >&2;}
2559 { (exit 77); exit 77; }; }
2562 ac_exeext=$ac_cv_exeext
2564 # Check that the compiler produces executables we can run. If not, either
2565 # the compiler is broken, or we cross compile.
2566 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2567 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2568 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2569 # If not cross compiling, check that we can run a simple program.
2570 if test "$cross_compiling" != yes; then
2571 if { ac_try='.
/$ac_file'
2572 { (case "(($ac_try" in
2573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574 *) ac_try_echo=$ac_try;;
2576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2577 (eval "$ac_try") 2>&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; }; then
2583 if test "$cross_compiling" = maybe; then
2586 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2587 If you meant to cross compile, use \`--host'.
2588 See \
`config.log' for more details." >&5
2589 echo "$as_me: error: cannot run C compiled programs.
2590 If you meant to cross compile, use \`--host'.
2591 See \`config.log' for more details.
" >&2;}
2592 { (exit 1); exit 1; }; }
2596 { echo "$as_me:$LINENO: result
: yes" >&5
2597 echo "${ECHO_T}yes" >&6; }
2599 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2600 ac_clean_files=$ac_clean_files_save
2601 # Check that the compiler produces executables we can run. If not, either
2602 # the compiler is broken, or we cross compile.
2603 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2604 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2605 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2606 echo "${ECHO_T}$cross_compiling" >&6; }
2608 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2609 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2610 if { (ac_try="$ac_link"
2612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2615 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2616 (eval "$ac_link") 2>&5
2618 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2619 (exit $ac_status); }; then
2620 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2621 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2622 # work properly (i.e., refer to `conftest.exe'), while it won't with
2624 for ac_file in conftest.exe conftest conftest.*; do
2625 test -f "$ac_file" || continue
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2628 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2634 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2635 See \
`config.log' for more details." >&5
2636 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2637 See \`config.log
' for more details." >&2;}
2638 { (exit 1); exit 1; }; }
2641 rm -f conftest$ac_cv_exeext
2642 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2643 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2645 rm -f conftest.$ac_ext
2646 EXEEXT=$ac_cv_exeext
2648 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2649 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2650 if test "${ac_cv_objext+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 cat >conftest.$ac_ext <<_ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2668 rm -f conftest.o conftest.obj
2669 if { (ac_try="$ac_compile"
2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2672 *) ac_try_echo=$ac_try;;
2674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2675 (eval "$ac_compile") 2>&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); }; then
2679 for ac_file in conftest.o conftest.obj conftest.*; do
2680 test -f "$ac_file" || continue;
2682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2683 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2688 echo "$as_me: failed program was:" >&5
2689 sed 's
/^
/|
/' conftest.$ac_ext >&5
2691 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2692 See \`config.log' for more details.
" >&5
2693 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2694 See \
`config.log' for more details." >&2;}
2695 { (exit 1); exit 1; }; }
2698 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2700 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2701 echo "${ECHO_T}$ac_cv_objext" >&6; }
2702 OBJEXT=$ac_cv_objext
2704 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2705 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2706 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 cat >conftest.$ac_ext <<_ACEOF
2712 cat confdefs.h >>conftest.$ac_ext
2713 cat >>conftest.$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2727 rm -f conftest.$ac_objext
2728 if { (ac_try="$ac_compile"
2730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2731 *) ac_try_echo
=$ac_try;;
2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2734 (eval "$ac_compile") 2>conftest.er1
2736 grep -v '^ *+' conftest.er1
>conftest.err
2738 cat conftest.err
>&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); } && {
2741 test -z "$ac_c_werror_flag" ||
2742 test ! -s conftest.err
2743 } && test -s conftest.
$ac_objext; then
2746 echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.
$ac_ext >&5
2752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2753 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2756 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2757 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2758 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2759 ac_test_CFLAGS
=${CFLAGS+set}
2760 ac_save_CFLAGS
=$CFLAGS
2761 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2762 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2763 if test "${ac_cv_prog_cc_g+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2766 ac_save_c_werror_flag
=$ac_c_werror_flag
2767 ac_c_werror_flag
=yes
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2785 rm -f conftest.
$ac_objext
2786 if { (ac_try
="$ac_compile"
2788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2794 grep -v '^ *+' conftest.er1 >conftest.err
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2808 cat >conftest.$ac_ext <<_ACEOF
2811 cat confdefs.h >>conftest.$ac_ext
2812 cat >>conftest.$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2823 rm -f conftest.$ac_objext
2824 if { (ac_try="$ac_compile"
2826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2827 *) ac_try_echo
=$ac_try;;
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2832 grep -v '^ *+' conftest.er1
>conftest.err
2834 cat conftest.err
>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } && {
2837 test -z "$ac_c_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.
$ac_objext; then
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2845 ac_c_werror_flag
=$ac_save_c_werror_flag
2847 cat >conftest.
$ac_ext <<_ACEOF
2850 cat confdefs.h
>>conftest.
$ac_ext
2851 cat >>conftest.
$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2862 rm -f conftest.
$ac_objext
2863 if { (ac_try
="$ac_compile"
2865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2869 (eval "$ac_compile") 2>conftest.er1
2871 grep -v '^ *+' conftest.er1 >conftest.err
2873 cat conftest.err >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } && {
2876 test -z "$ac_c_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest.$ac_objext; then
2881 echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894 ac_c_werror_flag=$ac_save_c_werror_flag
2896 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2897 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2898 if test "$ac_test_CFLAGS" = set; then
2899 CFLAGS=$ac_save_CFLAGS
2900 elif test $ac_cv_prog_cc_g = yes; then
2901 if test "$GCC" = yes; then
2907 if test "$GCC" = yes; then
2913 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2914 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2915 if test "${ac_cv_prog_cc_c89+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 ac_cv_prog_cc_c89=no
2920 cat >conftest.$ac_ext <<_ACEOF
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2928 #include <sys/types.h>
2929 #include <sys/stat.h>
2930 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2931 struct buf { int x; };
2932 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2933 static char *e (p, i)
2939 static char *f (char * (*g) (char **, int), char **p, ...)
2944 s = g (p, va_arg (v,int));
2949 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2950 function prototypes and stuff, but not '\xHH' hex character constants.
2951 These don't provoke an error unfortunately, instead are silently treated
2952 as 'x'. The following induces an error, until -std is added to get
2953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2954 array size at least. It's necessary to write '\x00'==0 to get something
2955 that's true only with -std. */
2956 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2958 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2959 inside strings and character constants. */
2961 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2963 int test (int i, double x);
2964 struct s1 {int (*f) (int a);};
2965 struct s2 {int (*f) (double a);};
2966 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2972 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2980 CC="$ac_save_CC $ac_arg"
2981 rm -f conftest.$ac_objext
2982 if { (ac_try="$ac_compile"
2984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2985 *) ac_try_echo
=$ac_try;;
2987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2988 (eval "$ac_compile") 2>conftest.er1
2990 grep -v '^ *+' conftest.er1
>conftest.err
2992 cat conftest.err
>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } && {
2995 test -z "$ac_c_werror_flag" ||
2996 test ! -s conftest.err
2997 } && test -s conftest.
$ac_objext; then
2998 ac_cv_prog_cc_c89
=$ac_arg
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.
$ac_ext >&5
3006 rm -f core conftest.err conftest.
$ac_objext
3007 test "x$ac_cv_prog_cc_c89" != "xno" && break
3009 rm -f conftest.
$ac_ext
3014 case "x$ac_cv_prog_cc_c89" in
3016 { echo "$as_me:$LINENO: result: none needed" >&5
3017 echo "${ECHO_T}none needed" >&6; } ;;
3019 { echo "$as_me:$LINENO: result: unsupported" >&5
3020 echo "${ECHO_T}unsupported" >&6; } ;;
3022 CC
="$CC $ac_cv_prog_cc_c89"
3023 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3024 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3029 ac_cpp
='$CPP $CPPFLAGS'
3030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3036 ac_cpp
='$CPP $CPPFLAGS'
3037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3040 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3041 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3042 # On Suns, sometimes $CPP names a directory.
3043 if test -n "$CPP" && test -d "$CPP"; then
3046 if test -z "$CPP"; then
3047 if test "${ac_cv_prog_CPP+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 # Double quotes because CPP needs to be expanded
3051 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3054 for ac_c_preproc_warn_flag
in '' yes
3056 # Use a header file that comes with gcc, so configuring glibc
3057 # with a fresh cross-compiler works.
3058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3059 # <limits.h> exists even on freestanding compilers.
3060 # On the NeXT, cc -E runs the code through the compiler's parser,
3061 # not just through cpp. "Syntax error" is here to catch this case.
3062 cat >conftest.
$ac_ext <<_ACEOF
3065 cat confdefs.h
>>conftest.
$ac_ext
3066 cat >>conftest.
$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3069 # include <limits.h>
3071 # include <assert.h>
3075 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3083 grep -v '^ *+' conftest.er1 >conftest.err
3085 cat conftest.err >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } >/dev/null && {
3088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3089 test ! -s conftest.err
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3096 # Broken: fails on valid input.
3100 rm -f conftest.err conftest.$ac_ext
3102 # OK, works on sane cases. Now check whether nonexistent headers
3103 # can be detected and how.
3104 cat >conftest.$ac_ext <<_ACEOF
3107 cat confdefs.h >>conftest.$ac_ext
3108 cat >>conftest.$ac_ext <<_ACEOF
3109 /* end confdefs.h. */
3110 #include <ac_nonexistent.h>
3112 if { (ac_try="$ac_cpp conftest.$ac_ext"
3114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3115 *) ac_try_echo
=$ac_try;;
3117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3120 grep -v '^ *+' conftest.er1
>conftest.err
3122 cat conftest.err
>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } >/dev
/null
&& {
3125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3126 test ! -s conftest.err
3128 # Broken: success on invalid input.
3131 echo "$as_me: failed program was:" >&5
3132 sed 's/^/| /' conftest.
$ac_ext >&5
3134 # Passes both tests.
3139 rm -f conftest.err conftest.
$ac_ext
3142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3143 rm -f conftest.err conftest.
$ac_ext
3144 if $ac_preproc_ok; then
3156 { echo "$as_me:$LINENO: result: $CPP" >&5
3157 echo "${ECHO_T}$CPP" >&6; }
3159 for ac_c_preproc_warn_flag
in '' yes
3161 # Use a header file that comes with gcc, so configuring glibc
3162 # with a fresh cross-compiler works.
3163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3164 # <limits.h> exists even on freestanding compilers.
3165 # On the NeXT, cc -E runs the code through the compiler's parser,
3166 # not just through cpp. "Syntax error" is here to catch this case.
3167 cat >conftest.
$ac_ext <<_ACEOF
3170 cat confdefs.h
>>conftest.
$ac_ext
3171 cat >>conftest.
$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3174 # include <limits.h>
3176 # include <assert.h>
3180 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3188 grep -v '^ *+' conftest.er1 >conftest.err
3190 cat conftest.err >&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); } >/dev/null && {
3193 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3194 test ! -s conftest.err
3198 echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3201 # Broken: fails on valid input.
3205 rm -f conftest.err conftest.$ac_ext
3207 # OK, works on sane cases. Now check whether nonexistent headers
3208 # can be detected and how.
3209 cat >conftest.$ac_ext <<_ACEOF
3212 cat confdefs.h >>conftest.$ac_ext
3213 cat >>conftest.$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3215 #include <ac_nonexistent.h>
3217 if { (ac_try="$ac_cpp conftest.$ac_ext"
3219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3220 *) ac_try_echo
=$ac_try;;
3222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3225 grep -v '^ *+' conftest.er1
>conftest.err
3227 cat conftest.err
>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } >/dev
/null
&& {
3230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3231 test ! -s conftest.err
3233 # Broken: success on invalid input.
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.
$ac_ext >&5
3239 # Passes both tests.
3244 rm -f conftest.err conftest.
$ac_ext
3247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3248 rm -f conftest.err conftest.
$ac_ext
3249 if $ac_preproc_ok; then
3252 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3253 See \`config.log' for more details." >&5
3254 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3255 See \`config.log' for more details." >&2;}
3256 { (exit 1); exit 1; }; }
3260 ac_cpp
='$CPP $CPPFLAGS'
3261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3266 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3267 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3268 if test "${ac_cv_path_GREP+set}" = set; then
3269 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 # Extract the first word of "grep ggrep" to use in msg output
3272 if test -z "$GREP"; then
3273 set dummy
grep ggrep
; ac_prog_name
=$2
3274 if test "${ac_cv_path_GREP+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 ac_path_GREP_found
=false
3278 # Loop through the user's path and test for each of PROGNAME-LIST
3279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3280 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3283 test -z "$as_dir" && as_dir
=.
3284 for ac_prog
in grep ggrep
; do
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3287 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3288 # Check for GNU ac_path_GREP and select it if it is found.
3289 # Check for GNU $ac_path_GREP
3290 case `"$ac_path_GREP" --version 2>&1` in
3292 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3295 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3298 cat "conftest.in" "conftest.in" >"conftest.tmp"
3299 mv "conftest.tmp" "conftest.in"
3300 cp "conftest.in" "conftest.nl"
3301 echo 'GREP' >> "conftest.nl"
3302 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3303 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3304 ac_count
=`expr $ac_count + 1`
3305 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3306 # Best one so far, save it but keep looking for a better one
3307 ac_cv_path_GREP
="$ac_path_GREP"
3308 ac_path_GREP_max
=$ac_count
3310 # 10*(2^10) chars as input seems more than enough
3311 test $ac_count -gt 10 && break
3313 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3317 $ac_path_GREP_found && break 3
3327 GREP
="$ac_cv_path_GREP"
3328 if test -z "$GREP"; then
3329 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3330 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3331 { (exit 1); exit 1; }; }
3335 ac_cv_path_GREP
=$GREP
3340 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3341 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3342 GREP
="$ac_cv_path_GREP"
3345 { echo "$as_me:$LINENO: checking for egrep" >&5
3346 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3347 if test "${ac_cv_path_EGREP+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3351 then ac_cv_path_EGREP
="$GREP -E"
3353 # Extract the first word of "egrep" to use in msg output
3354 if test -z "$EGREP"; then
3355 set dummy
egrep; ac_prog_name
=$2
3356 if test "${ac_cv_path_EGREP+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 ac_path_EGREP_found
=false
3360 # Loop through the user's path and test for each of PROGNAME-LIST
3361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3362 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3365 test -z "$as_dir" && as_dir
=.
3366 for ac_prog
in egrep; do
3367 for ac_exec_ext
in '' $ac_executable_extensions; do
3368 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3369 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3370 # Check for GNU ac_path_EGREP and select it if it is found.
3371 # Check for GNU $ac_path_EGREP
3372 case `"$ac_path_EGREP" --version 2>&1` in
3374 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3377 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3380 cat "conftest.in" "conftest.in" >"conftest.tmp"
3381 mv "conftest.tmp" "conftest.in"
3382 cp "conftest.in" "conftest.nl"
3383 echo 'EGREP' >> "conftest.nl"
3384 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3385 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3386 ac_count
=`expr $ac_count + 1`
3387 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3388 # Best one so far, save it but keep looking for a better one
3389 ac_cv_path_EGREP
="$ac_path_EGREP"
3390 ac_path_EGREP_max
=$ac_count
3392 # 10*(2^10) chars as input seems more than enough
3393 test $ac_count -gt 10 && break
3395 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3399 $ac_path_EGREP_found && break 3
3409 EGREP
="$ac_cv_path_EGREP"
3410 if test -z "$EGREP"; then
3411 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3412 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3413 { (exit 1); exit 1; }; }
3417 ac_cv_path_EGREP
=$EGREP
3423 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3424 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3425 EGREP
="$ac_cv_path_EGREP"
3429 { echo "$as_me:$LINENO: checking for AIX" >&5
3430 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3443 $EGREP "yes" >/dev
/null
2>&1; then
3444 { echo "$as_me:$LINENO: result: yes" >&5
3445 echo "${ECHO_T}yes" >&6; }
3446 cat >>confdefs.h
<<\_ACEOF
3447 #define _ALL_SOURCE 1
3451 { echo "$as_me:$LINENO: result: no" >&5
3452 echo "${ECHO_T}no" >&6; }
3457 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3458 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3459 if test "${ac_cv_header_stdc+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 cat >conftest.
$ac_ext <<_ACEOF
3465 cat confdefs.h
>>conftest.
$ac_ext
3466 cat >>conftest.
$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3481 rm -f conftest.
$ac_objext
3482 if { (ac_try
="$ac_compile"
3484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488 (eval "$ac_compile") 2>conftest.er1
3490 grep -v '^ *+' conftest.er1 >conftest.err
3492 cat conftest.err >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } && {
3495 test -z "$ac_c_werror_flag" ||
3496 test ! -s conftest.err
3497 } && test -s conftest.$ac_objext; then
3498 ac_cv_header_stdc=yes
3500 echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.$ac_ext >&5
3503 ac_cv_header_stdc=no
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3508 if test $ac_cv_header_stdc = yes; then
3509 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3510 cat >conftest.$ac_ext <<_ACEOF
3513 cat confdefs.h >>conftest.$ac_ext
3514 cat >>conftest.$ac_ext <<_ACEOF
3515 /* end confdefs.h. */
3519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3520 $EGREP "memchr" >/dev/null 2>&1; then
3523 ac_cv_header_stdc=no
3529 if test $ac_cv_header_stdc = yes; then
3530 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3531 cat >conftest.$ac_ext <<_ACEOF
3534 cat confdefs.h >>conftest.$ac_ext
3535 cat >>conftest.$ac_ext <<_ACEOF
3536 /* end confdefs.h. */
3540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3541 $EGREP "free" >/dev/null 2>&1; then
3544 ac_cv_header_stdc=no
3550 if test $ac_cv_header_stdc = yes; then
3551 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3552 if test "$cross_compiling" = yes; then
3555 cat >conftest.$ac_ext <<_ACEOF
3558 cat confdefs.h >>conftest.$ac_ext
3559 cat >>conftest.$ac_ext <<_ACEOF
3560 /* end confdefs.h. */
3563 #if ((' ' & 0x0FF) == 0x020)
3564 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3565 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3567 # define ISLOWER(c) \
3568 (('a' <= (c) && (c) <= 'i') \
3569 || ('j' <= (c) && (c) <= 'r') \
3570 || ('s' <= (c) && (c) <= 'z'))
3571 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3579 for (i = 0; i < 256; i++)
3580 if (XOR (islower (i), ISLOWER (i))
3581 || toupper (i) != TOUPPER (i))
3586 rm -f conftest$ac_exeext
3587 if { (ac_try="$ac_link"
3589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3590 *) ac_try_echo
=$ac_try;;
3592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3593 (eval "$ac_link") 2>&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3597 { (case "(($ac_try" in
3598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3602 (eval "$ac_try") 2>&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; }; then
3608 echo "$as_me: program exited with status $ac_status" >&5
3609 echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3613 ac_cv_header_stdc=no
3615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3621 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3622 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3623 if test $ac_cv_header_stdc = yes; then
3625 cat >>confdefs.h <<\_ACEOF
3626 #define STDC_HEADERS 1
3631 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3641 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3642 inttypes.h stdint.h unistd.h
3644 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3645 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 cat >conftest.$ac_ext <<_ACEOF
3653 cat confdefs.h >>conftest.$ac_ext
3654 cat >>conftest.$ac_ext <<_ACEOF
3655 /* end confdefs.h. */
3656 $ac_includes_default
3658 #include <$ac_header>
3660 rm -f conftest.$ac_objext
3661 if { (ac_try="$ac_compile"
3663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3664 *) ac_try_echo
=$ac_try;;
3666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3667 (eval "$ac_compile") 2>conftest.er1
3669 grep -v '^ *+' conftest.er1
>conftest.err
3671 cat conftest.err
>&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); } && {
3674 test -z "$ac_c_werror_flag" ||
3675 test ! -s conftest.err
3676 } && test -s conftest.
$ac_objext; then
3677 eval "$as_ac_Header=yes"
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.
$ac_ext >&5
3682 eval "$as_ac_Header=no"
3685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3687 ac_res
=`eval echo '${'$as_ac_Header'}'`
3688 { echo "$as_me:$LINENO: result: $ac_res" >&5
3689 echo "${ECHO_T}$ac_res" >&6; }
3690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3691 cat >>confdefs.h
<<_ACEOF
3692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3700 if test "${ac_cv_header_minix_config_h+set}" = set; then
3701 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3702 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3703 if test "${ac_cv_header_minix_config_h+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3707 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3709 # Is the header compilable?
3710 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3711 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3712 cat >conftest.
$ac_ext <<_ACEOF
3715 cat confdefs.h
>>conftest.
$ac_ext
3716 cat >>conftest.
$ac_ext <<_ACEOF
3717 /* end confdefs.h. */
3718 $ac_includes_default
3719 #include <minix/config.h>
3721 rm -f conftest.
$ac_objext
3722 if { (ac_try
="$ac_compile"
3724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728 (eval "$ac_compile") 2>conftest.er1
3730 grep -v '^ *+' conftest.er1 >conftest.err
3732 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } && {
3735 test -z "$ac_c_werror_flag" ||
3736 test ! -s conftest.err
3737 } && test -s conftest.$ac_objext; then
3738 ac_header_compiler=yes
3740 echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
3743 ac_header_compiler=no
3746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3748 echo "${ECHO_T}$ac_header_compiler" >&6; }
3750 # Is the header present?
3751 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3752 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3753 cat >conftest.$ac_ext <<_ACEOF
3756 cat confdefs.h >>conftest.$ac_ext
3757 cat >>conftest.$ac_ext <<_ACEOF
3758 /* end confdefs.h. */
3759 #include <minix/config.h>
3761 if { (ac_try="$ac_cpp conftest.$ac_ext"
3763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3764 *) ac_try_echo
=$ac_try;;
3766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3769 grep -v '^ *+' conftest.er1
>conftest.err
3771 cat conftest.err
>&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); } >/dev
/null
&& {
3774 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3775 test ! -s conftest.err
3777 ac_header_preproc
=yes
3779 echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.
$ac_ext >&5
3782 ac_header_preproc
=no
3785 rm -f conftest.err conftest.
$ac_ext
3786 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3787 echo "${ECHO_T}$ac_header_preproc" >&6; }
3789 # So? What about this header?
3790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3792 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3793 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3794 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3795 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3796 ac_header_preproc
=yes
3799 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3800 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3801 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3802 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3803 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3804 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3805 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3806 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3807 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3808 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3809 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3810 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3814 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3815 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3816 if test "${ac_cv_header_minix_config_h+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 ac_cv_header_minix_config_h
=$ac_header_preproc
3821 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3822 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3825 if test $ac_cv_header_minix_config_h = yes; then
3832 if test "$MINIX" = yes; then
3834 cat >>confdefs.h
<<\_ACEOF
3835 #define _POSIX_SOURCE 1
3839 cat >>confdefs.h
<<\_ACEOF
3840 #define _POSIX_1_SOURCE 2
3844 cat >>confdefs.h
<<\_ACEOF
3860 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3861 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3862 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 cat >conftest.
$ac_ext <<_ACEOF
3868 cat confdefs.h
>>conftest.
$ac_ext
3869 cat >>conftest.
$ac_ext <<_ACEOF
3870 /* end confdefs.h. */
3872 # define __EXTENSIONS__ 1
3873 $ac_includes_default
3882 rm -f conftest.
$ac_objext
3883 if { (ac_try
="$ac_compile"
3885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3886 *) ac_try_echo=$ac_try;;
3888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3889 (eval "$ac_compile") 2>conftest.er1
3891 grep -v '^ *+' conftest.er1 >conftest.err
3893 cat conftest.err >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); } && {
3896 test -z "$ac_c_werror_flag" ||
3897 test ! -s conftest.err
3898 } && test -s conftest.$ac_objext; then
3899 ac_cv_safe_to_define___extensions__=yes
3901 echo "$as_me: failed program was:" >&5
3902 sed 's/^/| /' conftest.$ac_ext >&5
3904 ac_cv_safe_to_define___extensions__=no
3907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3909 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3910 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
3911 test $ac_cv_safe_to_define___extensions__ = yes &&
3912 cat >>confdefs.h <<\_ACEOF
3913 #define __EXTENSIONS__ 1
3916 cat >>confdefs.h <<\_ACEOF
3917 #define _POSIX_PTHREAD_SEMANTICS 1
3920 cat >>confdefs.h <<\_ACEOF
3921 #define _TANDEM_SOURCE 1
3924 # note- does not work on FreeBSD
3926 case "${host_os}" in
3928 ac_default_prefix=/usr/local
3929 CPPFLAGS=-I/usr/local/include
3930 LDFLAGS=-L/usr/local/lib
3933 ac_default_prefix=/usr
3934 if test ${sysconfdir} = '${prefix}/etc'; then
3937 if test ${mandir} = '${prefix}/man'; then
3938 mandir=/usr/share/man
3943 if test ${localstatedir} = '${prefix}/var'; then
3947 BUILD_PLATFORM=${build}
3948 BUILD_CPU=${build_cpu}
3949 BUILD_VENDOR=${build_vendor}
3950 BUILD_OS=${build_os}
3957 HOST_PLATFORM=${host}
3958 HOST_CPU=${host_cpu}
3959 HOST_VENDOR=${host_vendor}
3967 case "${host_os}" in
3988 if test -n "$ac_tool_prefix"; then
3989 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
3990 set dummy ${ac_tool_prefix}uname; ac_word=$2
3991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3993 if test "${ac_cv_path_UNAME+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir=.
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4008 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 UNAME=$ac_cv_path_UNAME
4020 if test -n "$UNAME"; then
4021 { echo "$as_me:$LINENO: result: $UNAME" >&5
4022 echo "${ECHO_T}$UNAME" >&6; }
4024 { echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6; }
4030 if test -z "$ac_cv_path_UNAME"; then
4032 # Extract the first word of "uname", so it can be a program name with args.
4033 set dummy uname; ac_word=$2
4034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4036 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 case $ac_pt_UNAME in
4041 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir=.
4049 for ac_exec_ext in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4063 if test -n "$ac_pt_UNAME"; then
4064 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4065 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4067 { echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6; }
4071 if test "x$ac_pt_UNAME" = x; then
4074 case $cross_compiling:$ac_tool_warned in
4076 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4077 whose name does not start with the host triplet. If you think this
4078 configuration is useful to you, please write to autoconf@gnu.org." >&5
4079 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4080 whose name does not start with the host triplet. If you think this
4081 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4082 ac_tool_warned=yes ;;
4087 UNAME="$ac_cv_path_UNAME"
4090 if test ! x"${UNAME}" = xNo; then
4091 PBX_OSREV=$(${UNAME} -r)
4101 # cross-compile checks
4102 if test "${cross_compiling}" = "yes";
4104 if test -n "$ac_tool_prefix"; then
4105 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4106 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4109 if test "${ac_cv_prog_CC+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 if test -n "$CC"; then
4113 ac_cv_prog_CC="$CC" # Let the user override the test.
4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir=.
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 if test -n "$CC"; then
4134 { echo "$as_me:$LINENO: result: $CC" >&5
4135 echo "${ECHO_T}$CC" >&6; }
4137 { echo "$as_me:$LINENO: result: no" >&5
4138 echo "${ECHO_T}no" >&6; }
4143 if test -z "$ac_cv_prog_CC"; then
4145 # Extract the first word of "gcc", so it can be a program name with args.
4146 set dummy gcc; ac_word=$2
4147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 if test -n "$ac_ct_CC"; then
4153 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir=.
4160 for ac_exec_ext in '' $ac_executable_extensions; do
4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4162 ac_cv_prog_ac_ct_CC="gcc"
4163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4173 if test -n "$ac_ct_CC"; then
4174 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4175 echo "${ECHO_T}$ac_ct_CC" >&6; }
4177 { echo "$as_me:$LINENO: result: no" >&5
4178 echo "${ECHO_T}no" >&6; }
4181 if test "x$ac_ct_CC" = x; then
4184 case $cross_compiling:$ac_tool_warned in
4186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4187 whose name does not start with the host triplet. If you think this
4188 configuration is useful to you, please write to autoconf@gnu.org." >&5
4189 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4190 whose name does not start with the host triplet. If you think this
4191 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4192 ac_tool_warned=yes ;;
4200 if test -n "$ac_tool_prefix"; then
4201 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4202 set dummy ${ac_tool_prefix}g++; ac_word=$2
4203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4205 if test "${ac_cv_prog_CXX+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 if test -n "$CXX"; then
4209 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
4217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4218 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4229 if test -n "$CXX"; then
4230 { echo "$as_me:$LINENO: result: $CXX" >&5
4231 echo "${ECHO_T}$CXX" >&6; }
4233 { echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6; }
4239 if test -z "$ac_cv_prog_CXX"; then
4241 # Extract the first word of "g++", so it can be a program name with args.
4242 set dummy g++; ac_word=$2
4243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4245 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4246 echo $ECHO_N "(cached) $ECHO_C" >&6
4248 if test -n "$ac_ct_CXX"; then
4249 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255 test -z "$as_dir" && as_dir=.
4256 for ac_exec_ext in '' $ac_executable_extensions; do
4257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4258 ac_cv_prog_ac_ct_CXX="g++"
4259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4269 if test -n "$ac_ct_CXX"; then
4270 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4271 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4273 { echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6; }
4277 if test "x$ac_ct_CXX" = x; then
4280 case $cross_compiling:$ac_tool_warned in
4282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4283 whose name does not start with the host triplet. If you think this
4284 configuration is useful to you, please write to autoconf@gnu.org." >&5
4285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4286 whose name does not start with the host triplet. If you think this
4287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4288 ac_tool_warned=yes ;;
4293 CXX="$ac_cv_prog_CXX"
4296 if test -n "$ac_tool_prefix"; then
4297 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4298 set dummy ${ac_tool_prefix}ld; ac_word=$2
4299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4301 if test "${ac_cv_prog_LD+set}" = set; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 if test -n "$LD"; then
4305 ac_cv_prog_LD="$LD" # Let the user override the test.
4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 test -z "$as_dir" && as_dir=.
4312 for ac_exec_ext in '' $ac_executable_extensions; do
4313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4314 ac_cv_prog_LD="${ac_tool_prefix}ld"
4315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 if test -n "$LD"; then
4326 { echo "$as_me:$LINENO: result: $LD" >&5
4327 echo "${ECHO_T}$LD" >&6; }
4329 { echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6; }
4335 if test -z "$ac_cv_prog_LD"; then
4337 # Extract the first word of "ld", so it can be a program name with args.
4338 set dummy ld; ac_word=$2
4339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4341 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4342 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 if test -n "$ac_ct_LD"; then
4345 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4354 ac_cv_prog_ac_ct_LD="ld"
4355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4365 if test -n "$ac_ct_LD"; then
4366 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4367 echo "${ECHO_T}$ac_ct_LD" >&6; }
4369 { echo "$as_me:$LINENO: result: no" >&5
4370 echo "${ECHO_T}no" >&6; }
4373 if test "x$ac_ct_LD" = x; then
4376 case $cross_compiling:$ac_tool_warned in
4378 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4379 whose name does not start with the host triplet. If you think this
4380 configuration is useful to you, please write to autoconf@gnu.org." >&5
4381 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4382 whose name does not start with the host triplet. If you think this
4383 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4384 ac_tool_warned=yes ;;
4392 if test -n "$ac_tool_prefix"; then
4393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4394 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4397 if test "${ac_cv_prog_RANLIB+set}" = set; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 if test -n "$RANLIB"; then
4401 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 test -z "$as_dir" && as_dir=.
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4410 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 RANLIB=$ac_cv_prog_RANLIB
4421 if test -n "$RANLIB"; then
4422 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4423 echo "${ECHO_T}$RANLIB" >&6; }
4425 { echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6; }
4431 if test -z "$ac_cv_prog_RANLIB"; then
4432 ac_ct_RANLIB=$RANLIB
4433 # Extract the first word of "ranlib", so it can be a program name with args.
4434 set dummy ranlib; ac_word=$2
4435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4437 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4438 echo $ECHO_N "(cached) $ECHO_C" >&6
4440 if test -n "$ac_ct_RANLIB"; then
4441 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4450 ac_cv_prog_ac_ct_RANLIB="ranlib"
4451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4461 if test -n "$ac_ct_RANLIB"; then
4462 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4463 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4465 { echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6; }
4469 if test "x$ac_ct_RANLIB" = x; then
4472 case $cross_compiling:$ac_tool_warned in
4474 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4475 whose name does not start with the host triplet. If you think this
4476 configuration is useful to you, please write to autoconf@gnu.org." >&5
4477 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4478 whose name does not start with the host triplet. If you think this
4479 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4480 ac_tool_warned=yes ;;
4482 RANLIB=$ac_ct_RANLIB
4485 RANLIB="$ac_cv_prog_RANLIB"
4490 # Checks for programs.
4492 ac_cpp='$CPP $CPPFLAGS'
4493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4496 if test -n "$ac_tool_prefix"; then
4497 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4498 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4501 if test "${ac_cv_prog_CC+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 if test -n "$CC"; then
4505 ac_cv_prog_CC="$CC" # Let the user override the test.
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4511 test -z "$as_dir" && as_dir=.
4512 for ac_exec_ext in '' $ac_executable_extensions; do
4513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4514 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4525 if test -n "$CC"; then
4526 { echo "$as_me:$LINENO: result: $CC" >&5
4527 echo "${ECHO_T}$CC" >&6; }
4529 { echo "$as_me:$LINENO: result: no" >&5
4530 echo "${ECHO_T}no" >&6; }
4535 if test -z "$ac_cv_prog_CC"; then
4537 # Extract the first word of "gcc", so it can be a program name with args.
4538 set dummy gcc; ac_word=$2
4539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4541 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 if test -n "$ac_ct_CC"; then
4545 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir=.
4552 for ac_exec_ext in '' $ac_executable_extensions; do
4553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554 ac_cv_prog_ac_ct_CC="gcc"
4555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4565 if test -n "$ac_ct_CC"; then
4566 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4567 echo "${ECHO_T}$ac_ct_CC" >&6; }
4569 { echo "$as_me:$LINENO: result: no" >&5
4570 echo "${ECHO_T}no" >&6; }
4573 if test "x$ac_ct_CC" = x; then
4576 case $cross_compiling:$ac_tool_warned in
4578 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4579 whose name does not start with the host triplet. If you think this
4580 configuration is useful to you, please write to autoconf@gnu.org." >&5
4581 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4582 whose name does not start with the host triplet. If you think this
4583 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4584 ac_tool_warned=yes ;;
4592 if test -z "$CC"; then
4593 if test -n "$ac_tool_prefix"; then
4594 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4595 set dummy ${ac_tool_prefix}cc; ac_word=$2
4596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4598 if test "${ac_cv_prog_CC+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 if test -n "$CC"; then
4602 ac_cv_prog_CC="$CC" # Let the user override the test.
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4611 ac_cv_prog_CC="${ac_tool_prefix}cc"
4612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 if test -n "$CC"; then
4623 { echo "$as_me:$LINENO: result: $CC" >&5
4624 echo "${ECHO_T}$CC" >&6; }
4626 { echo "$as_me:$LINENO: result: no" >&5
4627 echo "${ECHO_T}no" >&6; }
4633 if test -z "$CC"; then
4634 # Extract the first word of "cc", so it can be a program name with args.
4635 set dummy cc; ac_word=$2
4636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4638 if test "${ac_cv_prog_CC+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 if test -n "$CC"; then
4642 ac_cv_prog_CC="$CC" # Let the user override the test.
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 test -z "$as_dir" && as_dir=.
4650 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4652 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4653 ac_prog_rejected=yes
4657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 if test $ac_prog_rejected = yes; then
4665 # We found a bogon in the path, so make sure we never use it.
4666 set dummy $ac_cv_prog_CC
4668 if test $# != 0; then
4669 # We chose a different compiler from the bogus one.
4670 # However, it has the same basename, so the bogon will be chosen
4671 # first if we set CC to just the basename; use the full file name.
4673 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4679 if test -n "$CC"; then
4680 { echo "$as_me:$LINENO: result: $CC" >&5
4681 echo "${ECHO_T}$CC" >&6; }
4683 { echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6; }
4689 if test -z "$CC"; then
4690 if test -n "$ac_tool_prefix"; then
4691 for ac_prog in cl.exe
4693 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4694 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4697 if test "${ac_cv_prog_CC+set}" = set; then
4698 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 if test -n "$CC"; then
4701 ac_cv_prog_CC="$CC" # Let the user override the test.
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4710 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 if test -n "$CC"; then
4722 { echo "$as_me:$LINENO: result: $CC" >&5
4723 echo "${ECHO_T}$CC" >&6; }
4725 { echo "$as_me:$LINENO: result: no" >&5
4726 echo "${ECHO_T}no" >&6; }
4730 test -n "$CC" && break
4733 if test -z "$CC"; then
4735 for ac_prog in cl.exe
4737 # Extract the first word of "$ac_prog", so it can be a program name with args.
4738 set dummy $ac_prog; ac_word=$2
4739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4741 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4742 echo $ECHO_N "(cached) $ECHO_C" >&6
4744 if test -n "$ac_ct_CC"; then
4745 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4751 test -z "$as_dir" && as_dir=.
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4754 ac_cv_prog_ac_ct_CC="$ac_prog"
4755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4764 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4765 if test -n "$ac_ct_CC"; then
4766 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4767 echo "${ECHO_T}$ac_ct_CC" >&6; }
4769 { echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6; }
4774 test -n "$ac_ct_CC" && break
4777 if test "x$ac_ct_CC" = x; then
4780 case $cross_compiling:$ac_tool_warned in
4782 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4783 whose name does not start with the host triplet. If you think this
4784 configuration is useful to you, please write to autoconf@gnu.org." >&5
4785 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4786 whose name does not start with the host triplet. If you think this
4787 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4788 ac_tool_warned=yes ;;
4797 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4798 See \`config.log
' for more details." >&5
4799 echo "$as_me: error: no acceptable C compiler found in \$PATH
4800 See \`config.log' for more details.
" >&2;}
4801 { (exit 1); exit 1; }; }
4803 # Provide some information about the compiler.
4804 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
4805 ac_compiler=`set X $ac_compile; echo $2`
4806 { (ac_try="$ac_compiler --version >&5"
4808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4809 *) ac_try_echo=$ac_try;;
4811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4812 (eval "$ac_compiler --version >&5") 2>&5
4814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4815 (exit $ac_status); }
4816 { (ac_try="$ac_compiler -v >&5"
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_compiler -v >&5") 2>&5
4824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4825 (exit $ac_status); }
4826 { (ac_try="$ac_compiler -V >&5"
4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4832 (eval "$ac_compiler -V >&5") 2>&5
4834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4835 (exit $ac_status); }
4837 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
4838 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
4839 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4840 echo $ECHO_N "(cached
) $ECHO_C" >&6
4842 cat >conftest.$ac_ext <<_ACEOF
4845 cat confdefs.h >>conftest.$ac_ext
4846 cat >>conftest.$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4860 rm -f conftest.$ac_objext
4861 if { (ac_try="$ac_compile"
4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4866 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4867 (eval "$ac_compile") 2>conftest.er1
4869 grep -v '^ *+' conftest.er1 >conftest.err
4871 cat conftest.err >&5
4872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4873 (exit $ac_status); } && {
4874 test -z "$ac_c_werror_flag" ||
4875 test ! -s conftest.err
4876 } && test -s conftest.$ac_objext; then
4879 echo "$as_me: failed program was
:" >&5
4880 sed 's/^/| /' conftest.$ac_ext >&5
4885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4886 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4889 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
4890 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4891 GCC=`test $ac_compiler_gnu = yes && echo yes`
4892 ac_test_CFLAGS=${CFLAGS+set}
4893 ac_save_CFLAGS=$CFLAGS
4894 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
4895 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
4896 if test "${ac_cv_prog_cc_g+set}" = set; then
4897 echo $ECHO_N "(cached
) $ECHO_C" >&6
4899 ac_save_c_werror_flag=$ac_c_werror_flag
4900 ac_c_werror_flag=yes
4903 cat >conftest.$ac_ext <<_ACEOF
4906 cat confdefs.h >>conftest.$ac_ext
4907 cat >>conftest.$ac_ext <<_ACEOF
4908 /* end confdefs.h. */
4918 rm -f conftest.$ac_objext
4919 if { (ac_try="$ac_compile"
4921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4922 *) ac_try_echo=$ac_try;;
4924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4925 (eval "$ac_compile") 2>conftest.er1
4927 grep -v '^ *+' conftest.er1 >conftest.err
4929 cat conftest.err >&5
4930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4931 (exit $ac_status); } && {
4932 test -z "$ac_c_werror_flag" ||
4933 test ! -s conftest.err
4934 } && test -s conftest.$ac_objext; then
4937 echo "$as_me: failed program was
:" >&5
4938 sed 's/^/| /' conftest.$ac_ext >&5
4941 cat >conftest.$ac_ext <<_ACEOF
4944 cat confdefs.h >>conftest.$ac_ext
4945 cat >>conftest.$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4956 rm -f conftest.$ac_objext
4957 if { (ac_try="$ac_compile"
4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4963 (eval "$ac_compile") 2>conftest.er1
4965 grep -v '^ *+' conftest.er1 >conftest.err
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest.$ac_objext; then
4975 echo "$as_me: failed program was
:" >&5
4976 sed 's/^/| /' conftest.$ac_ext >&5
4978 ac_c_werror_flag=$ac_save_c_werror_flag
4980 cat >conftest.$ac_ext <<_ACEOF
4983 cat confdefs.h >>conftest.$ac_ext
4984 cat >>conftest.$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4995 rm -f conftest.$ac_objext
4996 if { (ac_try="$ac_compile"
4998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999 *) ac_try_echo=$ac_try;;
5001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5002 (eval "$ac_compile") 2>conftest.er1
5004 grep -v '^ *+' conftest.er1 >conftest.err
5006 cat conftest.err >&5
5007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5008 (exit $ac_status); } && {
5009 test -z "$ac_c_werror_flag" ||
5010 test ! -s conftest.err
5011 } && test -s conftest.$ac_objext; then
5014 echo "$as_me: failed program was
:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 ac_c_werror_flag=$ac_save_c_werror_flag
5029 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
5030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5031 if test "$ac_test_CFLAGS" = set; then
5032 CFLAGS=$ac_save_CFLAGS
5033 elif test $ac_cv_prog_cc_g = yes; then
5034 if test "$GCC" = yes; then
5040 if test "$GCC" = yes; then
5046 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
5047 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
5048 if test "${ac_cv_prog_cc_c89+set}" = set; then
5049 echo $ECHO_N "(cached
) $ECHO_C" >&6
5051 ac_cv_prog_cc_c89=no
5053 cat >conftest.$ac_ext <<_ACEOF
5056 cat confdefs.h >>conftest.$ac_ext
5057 cat >>conftest.$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5061 #include <sys/types.h>
5062 #include <sys/stat.h>
5063 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5064 struct buf { int x; };
5065 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5066 static char *e (p, i)
5072 static char *f (char * (*g) (char **, int), char **p, ...)
5077 s = g (p, va_arg (v,int));
5082 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5083 function prototypes and stuff, but not '\xHH' hex character constants.
5084 These don't provoke an error unfortunately, instead are silently treated
5085 as 'x'. The following induces an error, until -std is added to get
5086 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5087 array size at least. It's necessary to write '\x00'==0 to get something
5088 that's true only with -std. */
5089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5091 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5092 inside strings and character constants. */
5094 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5096 int test (int i, double x);
5097 struct s1 {int (*f) (int a);};
5098 struct s2 {int (*f) (double a);};
5099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5110 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5111 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5113 CC="$ac_save_CC $ac_arg"
5114 rm -f conftest.$ac_objext
5115 if { (ac_try="$ac_compile"
5117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5120 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5121 (eval "$ac_compile") 2>conftest.er1
5123 grep -v '^ *+' conftest.er1 >conftest.err
5125 cat conftest.err >&5
5126 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5127 (exit $ac_status); } && {
5128 test -z "$ac_c_werror_flag" ||
5129 test ! -s conftest.err
5130 } && test -s conftest.$ac_objext; then
5131 ac_cv_prog_cc_c89=$ac_arg
5133 echo "$as_me: failed program was
:" >&5
5134 sed 's/^/| /' conftest.$ac_ext >&5
5139 rm -f core conftest.err conftest.$ac_objext
5140 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
5142 rm -f conftest.$ac_ext
5147 case "x
$ac_cv_prog_cc_c89" in
5149 { echo "$as_me:$LINENO: result
: none needed
" >&5
5150 echo "${ECHO_T}none needed
" >&6; } ;;
5152 { echo "$as_me:$LINENO: result
: unsupported
" >&5
5153 echo "${ECHO_T}unsupported
" >&6; } ;;
5155 CC="$CC $ac_cv_prog_cc_c89"
5156 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
5157 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5162 ac_cpp='$CPP $CPPFLAGS'
5163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5168 ac_cpp='$CXXCPP $CPPFLAGS'
5169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5172 if test -z "$CXX"; then
5173 if test -n "$CCC"; then
5176 if test -n "$ac_tool_prefix"; then
5177 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5179 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5180 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5181 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5182 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5183 if test "${ac_cv_prog_CXX+set}" = set; then
5184 echo $ECHO_N "(cached
) $ECHO_C" >&6
5186 if test -n "$CXX"; then
5187 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5197 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5207 if test -n "$CXX"; then
5208 { echo "$as_me:$LINENO: result
: $CXX" >&5
5209 echo "${ECHO_T}$CXX" >&6; }
5211 { echo "$as_me:$LINENO: result
: no
" >&5
5212 echo "${ECHO_T}no
" >&6; }
5216 test -n "$CXX" && break
5219 if test -z "$CXX"; then
5221 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5223 # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy $ac_prog; ac_word=$2
5225 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5226 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5227 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5228 echo $ECHO_N "(cached
) $ECHO_C" >&6
5230 if test -n "$ac_ct_CXX"; then
5231 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_ac_ct_CXX="$ac_prog"
5241 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5250 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5251 if test -n "$ac_ct_CXX"; then
5252 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
5253 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5255 { echo "$as_me:$LINENO: result
: no
" >&5
5256 echo "${ECHO_T}no
" >&6; }
5260 test -n "$ac_ct_CXX" && break
5263 if test "x
$ac_ct_CXX" = x; then
5266 case $cross_compiling:$ac_tool_warned in
5268 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5269 whose name does not start with the
host triplet. If you think this
5270 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5271 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5272 whose name does not start with the
host triplet. If you think this
5273 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5274 ac_tool_warned=yes ;;
5282 # Provide some information about the compiler.
5283 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
5284 ac_compiler=`set X $ac_compile; echo $2`
5285 { (ac_try="$ac_compiler --version >&5"
5287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5288 *) ac_try_echo=$ac_try;;
5290 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5291 (eval "$ac_compiler --version >&5") 2>&5
5293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5294 (exit $ac_status); }
5295 { (ac_try="$ac_compiler -v >&5"
5297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5298 *) ac_try_echo=$ac_try;;
5300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5301 (eval "$ac_compiler -v >&5") 2>&5
5303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5304 (exit $ac_status); }
5305 { (ac_try="$ac_compiler -V >&5"
5307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5308 *) ac_try_echo=$ac_try;;
5310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5311 (eval "$ac_compiler -V >&5") 2>&5
5313 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5314 (exit $ac_status); }
5316 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
5317 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
5318 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5319 echo $ECHO_N "(cached
) $ECHO_C" >&6
5321 cat >conftest.$ac_ext <<_ACEOF
5324 cat confdefs.h >>conftest.$ac_ext
5325 cat >>conftest.$ac_ext <<_ACEOF
5326 /* end confdefs.h. */
5339 rm -f conftest.$ac_objext
5340 if { (ac_try="$ac_compile"
5342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5343 *) ac_try_echo=$ac_try;;
5345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5346 (eval "$ac_compile") 2>conftest.er1
5348 grep -v '^ *+' conftest.er1 >conftest.err
5350 cat conftest.err >&5
5351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5352 (exit $ac_status); } && {
5353 test -z "$ac_cxx_werror_flag" ||
5354 test ! -s conftest.err
5355 } && test -s conftest.$ac_objext; then
5358 echo "$as_me: failed program was
:" >&5
5359 sed 's/^/| /' conftest.$ac_ext >&5
5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5368 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
5369 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5370 GXX=`test $ac_compiler_gnu = yes && echo yes`
5371 ac_test_CXXFLAGS=${CXXFLAGS+set}
5372 ac_save_CXXFLAGS=$CXXFLAGS
5373 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
5374 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
5375 if test "${ac_cv_prog_cxx_g+set}" = set; then
5376 echo $ECHO_N "(cached
) $ECHO_C" >&6
5378 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5379 ac_cxx_werror_flag=yes
5382 cat >conftest.$ac_ext <<_ACEOF
5385 cat confdefs.h >>conftest.$ac_ext
5386 cat >>conftest.$ac_ext <<_ACEOF
5387 /* end confdefs.h. */
5397 rm -f conftest.$ac_objext
5398 if { (ac_try="$ac_compile"
5400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5401 *) ac_try_echo=$ac_try;;
5403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5404 (eval "$ac_compile") 2>conftest.er1
5406 grep -v '^ *+' conftest.er1 >conftest.err
5408 cat conftest.err >&5
5409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5410 (exit $ac_status); } && {
5411 test -z "$ac_cxx_werror_flag" ||
5412 test ! -s conftest.err
5413 } && test -s conftest.$ac_objext; then
5414 ac_cv_prog_cxx_g=yes
5416 echo "$as_me: failed program was
:" >&5
5417 sed 's/^/| /' conftest.$ac_ext >&5
5420 cat >conftest.$ac_ext <<_ACEOF
5423 cat confdefs.h >>conftest.$ac_ext
5424 cat >>conftest.$ac_ext <<_ACEOF
5425 /* end confdefs.h. */
5435 rm -f conftest.$ac_objext
5436 if { (ac_try="$ac_compile"
5438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5439 *) ac_try_echo=$ac_try;;
5441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5442 (eval "$ac_compile") 2>conftest.er1
5444 grep -v '^ *+' conftest.er1 >conftest.err
5446 cat conftest.err >&5
5447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5448 (exit $ac_status); } && {
5449 test -z "$ac_cxx_werror_flag" ||
5450 test ! -s conftest.err
5451 } && test -s conftest.$ac_objext; then
5454 echo "$as_me: failed program was
:" >&5
5455 sed 's/^/| /' conftest.$ac_ext >&5
5457 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5459 cat >conftest.$ac_ext <<_ACEOF
5462 cat confdefs.h >>conftest.$ac_ext
5463 cat >>conftest.$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5474 rm -f conftest.$ac_objext
5475 if { (ac_try="$ac_compile"
5477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5478 *) ac_try_echo=$ac_try;;
5480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5481 (eval "$ac_compile") 2>conftest.er1
5483 grep -v '^ *+' conftest.er1 >conftest.err
5485 cat conftest.err >&5
5486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5487 (exit $ac_status); } && {
5488 test -z "$ac_cxx_werror_flag" ||
5489 test ! -s conftest.err
5490 } && test -s conftest.$ac_objext; then
5491 ac_cv_prog_cxx_g=yes
5493 echo "$as_me: failed program was
:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5506 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5508 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
5509 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5510 if test "$ac_test_CXXFLAGS" = set; then
5511 CXXFLAGS=$ac_save_CXXFLAGS
5512 elif test $ac_cv_prog_cxx_g = yes; then
5513 if test "$GXX" = yes; then
5519 if test "$GXX" = yes; then
5526 ac_cpp='$CPP $CPPFLAGS'
5527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5532 ac_cpp='$CPP $CPPFLAGS'
5533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5536 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5537 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
5538 # On Suns, sometimes $CPP names a directory.
5539 if test -n "$CPP" && test -d "$CPP"; then
5542 if test -z "$CPP"; then
5543 if test "${ac_cv_prog_CPP+set}" = set; then
5544 echo $ECHO_N "(cached
) $ECHO_C" >&6
5546 # Double quotes because CPP needs to be expanded
5547 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5550 for ac_c_preproc_warn_flag in '' yes
5552 # Use a header file that comes with gcc, so configuring glibc
5553 # with a fresh cross-compiler works.
5554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5555 # <limits.h> exists even on freestanding compilers.
5556 # On the NeXT, cc -E runs the code through the compiler's parser,
5557 # not just through cpp. "Syntax error
" is here to catch this case.
5558 cat >conftest.$ac_ext <<_ACEOF
5561 cat confdefs.h >>conftest.$ac_ext
5562 cat >>conftest.$ac_ext <<_ACEOF
5563 /* end confdefs.h. */
5565 # include <limits.h>
5567 # include <assert.h>
5571 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5574 *) ac_try_echo=$ac_try;;
5576 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5577 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5579 grep -v '^ *+' conftest.er1 >conftest.err
5581 cat conftest.err >&5
5582 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5583 (exit $ac_status); } >/dev/null && {
5584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5585 test ! -s conftest.err
5589 echo "$as_me: failed program was
:" >&5
5590 sed 's/^/| /' conftest.$ac_ext >&5
5592 # Broken: fails on valid input.
5596 rm -f conftest.err conftest.$ac_ext
5598 # OK, works on sane cases. Now check whether nonexistent headers
5599 # can be detected and how.
5600 cat >conftest.$ac_ext <<_ACEOF
5603 cat confdefs.h >>conftest.$ac_ext
5604 cat >>conftest.$ac_ext <<_ACEOF
5605 /* end confdefs.h. */
5606 #include <ac_nonexistent.h>
5608 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5611 *) ac_try_echo=$ac_try;;
5613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5614 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5616 grep -v '^ *+' conftest.er1 >conftest.err
5618 cat conftest.err >&5
5619 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5620 (exit $ac_status); } >/dev/null && {
5621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5622 test ! -s conftest.err
5624 # Broken: success on invalid input.
5627 echo "$as_me: failed program was
:" >&5
5628 sed 's/^/| /' conftest.$ac_ext >&5
5630 # Passes both tests.
5635 rm -f conftest.err conftest.$ac_ext
5638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5639 rm -f conftest.err conftest.$ac_ext
5640 if $ac_preproc_ok; then
5652 { echo "$as_me:$LINENO: result
: $CPP" >&5
5653 echo "${ECHO_T}$CPP" >&6; }
5655 for ac_c_preproc_warn_flag in '' yes
5657 # Use a header file that comes with gcc, so configuring glibc
5658 # with a fresh cross-compiler works.
5659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5660 # <limits.h> exists even on freestanding compilers.
5661 # On the NeXT, cc -E runs the code through the compiler's parser,
5662 # not just through cpp. "Syntax error
" is here to catch this case.
5663 cat >conftest.$ac_ext <<_ACEOF
5666 cat confdefs.h >>conftest.$ac_ext
5667 cat >>conftest.$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5670 # include <limits.h>
5672 # include <assert.h>
5676 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5679 *) ac_try_echo=$ac_try;;
5681 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5682 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5684 grep -v '^ *+' conftest.er1 >conftest.err
5686 cat conftest.err >&5
5687 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5688 (exit $ac_status); } >/dev/null && {
5689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5690 test ! -s conftest.err
5694 echo "$as_me: failed program was
:" >&5
5695 sed 's/^/| /' conftest.$ac_ext >&5
5697 # Broken: fails on valid input.
5701 rm -f conftest.err conftest.$ac_ext
5703 # OK, works on sane cases. Now check whether nonexistent headers
5704 # can be detected and how.
5705 cat >conftest.$ac_ext <<_ACEOF
5708 cat confdefs.h >>conftest.$ac_ext
5709 cat >>conftest.$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5711 #include <ac_nonexistent.h>
5713 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5716 *) ac_try_echo=$ac_try;;
5718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5719 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5721 grep -v '^ *+' conftest.er1 >conftest.err
5723 cat conftest.err >&5
5724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5725 (exit $ac_status); } >/dev/null && {
5726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5727 test ! -s conftest.err
5729 # Broken: success on invalid input.
5732 echo "$as_me: failed program was
:" >&5
5733 sed 's/^/| /' conftest.$ac_ext >&5
5735 # Passes both tests.
5740 rm -f conftest.err conftest.$ac_ext
5743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5744 rm -f conftest.err conftest.$ac_ext
5745 if $ac_preproc_ok; then
5748 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5749 See \
`config.log' for more details." >&5
5750 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5751 See \`config.log
' for more details." >&2;}
5752 { (exit 1); exit 1; }; }
5756 ac_cpp='$CPP $CPPFLAGS'
5757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5758 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5762 ac_cpp='$CXXCPP $CPPFLAGS'
5763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5764 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5766 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5767 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5768 if test -z "$CXXCPP"; then
5769 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5770 echo $ECHO_N "(cached) $ECHO_C" >&6
5772 # Double quotes because CXXCPP needs to be expanded
5773 for CXXCPP in "$CXX -E" "/lib/cpp"
5776 for ac_cxx_preproc_warn_flag in '' yes
5778 # Use a header file that comes with gcc, so configuring glibc
5779 # with a fresh cross-compiler works.
5780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5781 # <limits.h> exists even on freestanding compilers.
5782 # On the NeXT, cc -E runs the code through the compiler's parser
,
5783 # not just through cpp. "Syntax error" is here to catch this case.
5784 cat >conftest.
$ac_ext <<_ACEOF
5787 cat confdefs.h
>>conftest.
$ac_ext
5788 cat >>conftest.
$ac_ext <<_ACEOF
5789 /* end confdefs.h. */
5791 # include <limits.h>
5793 # include <assert.h>
5797 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5800 *) ac_try_echo=$ac_try;;
5802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5805 grep -v '^ *+' conftest.er1 >conftest.err
5807 cat conftest.err >&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); } >/dev/null && {
5810 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5811 test ! -s conftest.err
5815 echo "$as_me: failed program was:" >&5
5816 sed 's/^/| /' conftest.$ac_ext >&5
5818 # Broken: fails on valid input.
5822 rm -f conftest.err conftest.$ac_ext
5824 # OK, works on sane cases. Now check whether nonexistent headers
5825 # can be detected and how.
5826 cat >conftest.$ac_ext <<_ACEOF
5829 cat confdefs.h >>conftest.$ac_ext
5830 cat >>conftest.$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5832 #include <ac_nonexistent.h>
5834 if { (ac_try="$ac_cpp conftest.$ac_ext"
5836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5837 *) ac_try_echo
=$ac_try;;
5839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5842 grep -v '^ *+' conftest.er1
>conftest.err
5844 cat conftest.err
>&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); } >/dev
/null
&& {
5847 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5848 test ! -s conftest.err
5850 # Broken: success on invalid input.
5853 echo "$as_me: failed program was:" >&5
5854 sed 's/^/| /' conftest.
$ac_ext >&5
5856 # Passes both tests.
5861 rm -f conftest.err conftest.
$ac_ext
5864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5865 rm -f conftest.err conftest.
$ac_ext
5866 if $ac_preproc_ok; then
5871 ac_cv_prog_CXXCPP
=$CXXCPP
5874 CXXCPP
=$ac_cv_prog_CXXCPP
5876 ac_cv_prog_CXXCPP
=$CXXCPP
5878 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5879 echo "${ECHO_T}$CXXCPP" >&6; }
5881 for ac_cxx_preproc_warn_flag
in '' yes
5883 # Use a header file that comes with gcc, so configuring glibc
5884 # with a fresh cross-compiler works.
5885 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5886 # <limits.h> exists even on freestanding compilers.
5887 # On the NeXT, cc -E runs the code through the compiler's parser,
5888 # not just through cpp. "Syntax error" is here to catch this case.
5889 cat >conftest.
$ac_ext <<_ACEOF
5892 cat confdefs.h
>>conftest.
$ac_ext
5893 cat >>conftest.
$ac_ext <<_ACEOF
5894 /* end confdefs.h. */
5896 # include <limits.h>
5898 # include <assert.h>
5902 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5905 *) ac_try_echo=$ac_try;;
5907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5910 grep -v '^ *+' conftest.er1 >conftest.err
5912 cat conftest.err >&5
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); } >/dev/null && {
5915 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5916 test ! -s conftest.err
5920 echo "$as_me: failed program was:" >&5
5921 sed 's/^/| /' conftest.$ac_ext >&5
5923 # Broken: fails on valid input.
5927 rm -f conftest.err conftest.$ac_ext
5929 # OK, works on sane cases. Now check whether nonexistent headers
5930 # can be detected and how.
5931 cat >conftest.$ac_ext <<_ACEOF
5934 cat confdefs.h >>conftest.$ac_ext
5935 cat >>conftest.$ac_ext <<_ACEOF
5936 /* end confdefs.h. */
5937 #include <ac_nonexistent.h>
5939 if { (ac_try="$ac_cpp conftest.$ac_ext"
5941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5942 *) ac_try_echo
=$ac_try;;
5944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5947 grep -v '^ *+' conftest.er1
>conftest.err
5949 cat conftest.err
>&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); } >/dev
/null
&& {
5952 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5953 test ! -s conftest.err
5955 # Broken: success on invalid input.
5958 echo "$as_me: failed program was:" >&5
5959 sed 's/^/| /' conftest.
$ac_ext >&5
5961 # Passes both tests.
5966 rm -f conftest.err conftest.
$ac_ext
5969 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5970 rm -f conftest.err conftest.
$ac_ext
5971 if $ac_preproc_ok; then
5974 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5975 See \`config.log' for more details." >&5
5976 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5977 See \`config.log' for more details." >&2;}
5978 { (exit 1); exit 1; }; }
5982 ac_cpp
='$CPP $CPPFLAGS'
5983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5987 # This macro is just copied into our local acinclude.m4 from libtool.m4 so that
5988 # the developers regenerating the configure script don't have to install libtool.
5989 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5990 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5991 if test "${ac_cv_path_SED+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5995 for ac_i
in 1 2 3 4 5 6 7; do
5996 ac_script
="$ac_script$as_nl$ac_script"
5998 echo "$ac_script" |
sed 99q
>conftest.
sed
5999 $as_unset ac_script || ac_script
=
6000 # Extract the first word of "sed gsed" to use in msg output
6001 if test -z "$SED"; then
6002 set dummy
sed gsed
; ac_prog_name
=$2
6003 if test "${ac_cv_path_SED+set}" = set; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6006 ac_path_SED_found
=false
6007 # Loop through the user's path and test for each of PROGNAME-LIST
6008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6012 test -z "$as_dir" && as_dir
=.
6013 for ac_prog
in sed gsed
; do
6014 for ac_exec_ext
in '' $ac_executable_extensions; do
6015 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6016 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6017 # Check for GNU ac_path_SED and select it if it is found.
6018 # Check for GNU $ac_path_SED
6019 case `"$ac_path_SED" --version 2>&1` in
6021 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6024 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6027 cat "conftest.in" "conftest.in" >"conftest.tmp"
6028 mv "conftest.tmp" "conftest.in"
6029 cp "conftest.in" "conftest.nl"
6030 echo '' >> "conftest.nl"
6031 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6032 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6033 ac_count
=`expr $ac_count + 1`
6034 if test $ac_count -gt ${ac_path_SED_max-0}; then
6035 # Best one so far, save it but keep looking for a better one
6036 ac_cv_path_SED
="$ac_path_SED"
6037 ac_path_SED_max
=$ac_count
6039 # 10*(2^10) chars as input seems more than enough
6040 test $ac_count -gt 10 && break
6042 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6046 $ac_path_SED_found && break 3
6056 SED
="$ac_cv_path_SED"
6057 if test -z "$SED"; then
6058 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
6059 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
6060 { (exit 1); exit 1; }; }
6068 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6069 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
6070 SED
="$ac_cv_path_SED"
6073 { echo "$as_me:$LINENO: checking for egrep" >&5
6074 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6075 if test "${ac_cv_prog_egrep+set}" = set; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6078 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6079 then ac_cv_prog_egrep
='grep -E'
6080 else ac_cv_prog_egrep
='egrep'
6083 { echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6084 echo "${ECHO_T}$ac_cv_prog_egrep" >&6; }
6085 EGREP
=$ac_cv_prog_egrep
6089 # Check whether --with-gnu-ld was given.
6090 if test "${with_gnu_ld+set}" = set; then
6091 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6097 if test "$GCC" = yes; then
6098 # Check if gcc -print-prog-name=ld gives a path.
6099 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6100 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6103 # gcc leaves a trailing carriage return which upsets mingw
6104 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6106 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6109 # Accept absolute paths.
6111 re_direlt
='/[^/][^/]*/\.\./'
6112 # Canonicalize the pathname of ld
6113 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
6114 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6115 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6117 test -z "$LD" && LD
="$ac_prog"
6120 # If it fails, then pretend we aren't using GCC.
6124 # If it is relative, then search for the first ld in PATH.
6128 elif test "$with_gnu_ld" = yes; then
6129 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6130 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6132 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6133 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6135 if test "${lt_cv_path_LD+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 if test -z "$LD"; then
6139 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6140 for ac_dir
in $PATH; do
6142 test -z "$ac_dir" && ac_dir
=.
6143 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6144 lt_cv_path_LD
="$ac_dir/$ac_prog"
6145 # Check to see if the program is GNU ld. I'd rather use --version,
6146 # but apparently some variants of GNU ld only accept -v.
6147 # Break only if it was the GNU/non-GNU ld that we prefer.
6148 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6149 *GNU
* |
*'with BFD'*)
6150 test "$with_gnu_ld" != no
&& break
6153 test "$with_gnu_ld" != yes && break
6160 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6165 if test -n "$LD"; then
6166 { echo "$as_me:$LINENO: result: $LD" >&5
6167 echo "${ECHO_T}$LD" >&6; }
6169 { echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6; }
6172 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6173 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6174 { (exit 1); exit 1; }; }
6175 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6176 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6177 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6180 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6181 case `$LD -v 2>&1 </dev/null` in
6182 *GNU
* |
*'with BFD'*)
6183 lt_cv_prog_gnu_ld
=yes
6186 lt_cv_prog_gnu_ld
=no
6190 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6191 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6192 with_gnu_ld
=$lt_cv_prog_gnu_ld
6194 # note - does not work on freebsd
6195 for ac_prog
in gawk mawk nawk
awk
6197 # Extract the first word of "$ac_prog", so it can be a program name with args.
6198 set dummy
$ac_prog; ac_word
=$2
6199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6201 if test "${ac_cv_prog_AWK+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 if test -n "$AWK"; then
6205 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6211 test -z "$as_dir" && as_dir
=.
6212 for ac_exec_ext
in '' $ac_executable_extensions; do
6213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6214 ac_cv_prog_AWK
="$ac_prog"
6215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 if test -n "$AWK"; then
6226 { echo "$as_me:$LINENO: result: $AWK" >&5
6227 echo "${ECHO_T}$AWK" >&6; }
6229 { echo "$as_me:$LINENO: result: no" >&5
6230 echo "${ECHO_T}no" >&6; }
6234 test -n "$AWK" && break
6237 # Find a good install program. We prefer a C program (faster),
6238 # so one script is as good as another. But avoid the broken or
6239 # incompatible versions:
6240 # SysV /etc/install, /usr/sbin/install
6241 # SunOS /usr/etc/install
6242 # IRIX /sbin/install
6244 # AmigaOS /C/install, which installs bootblocks on floppy discs
6245 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6246 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6247 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6248 # OS/2's system install, which has a completely different semantic
6249 # ./install, which can be erroneously created by make from ./install.sh.
6250 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6251 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6252 if test -z "$INSTALL"; then
6253 if test "${ac_cv_path_install+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6260 test -z "$as_dir" && as_dir
=.
6261 # Account for people who put trailing slashes in PATH elements.
6263 .
/ | .
// |
/cC
/* | \
6264 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6265 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6268 # OSF1 and SCO ODT 3.0 have their own names for install.
6269 # Don't use installbsd from OSF since it installs stuff as root
6271 for ac_prog
in ginstall scoinst
install; do
6272 for ac_exec_ext
in '' $ac_executable_extensions; do
6273 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6274 if test $ac_prog = install &&
6275 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6276 # AIX install. It has an incompatible calling convention.
6278 elif test $ac_prog = install &&
6279 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6280 # program-specific install script used by HP pwplus--don't use.
6283 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6296 if test "${ac_cv_path_install+set}" = set; then
6297 INSTALL
=$ac_cv_path_install
6299 # As a last resort, use the slow shell script. Don't cache a
6300 # value for INSTALL within a source directory, because that will
6301 # break other packages using the cache if that directory is
6302 # removed, or if the value is a relative name.
6303 INSTALL
=$ac_install_sh
6306 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6307 echo "${ECHO_T}$INSTALL" >&6; }
6309 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6310 # It thinks the first close brace ends the variable substitution.
6311 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6313 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6315 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6317 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6318 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6320 if test "$LN_S" = "ln -s"; then
6321 { echo "$as_me:$LINENO: result: yes" >&5
6322 echo "${ECHO_T}yes" >&6; }
6324 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6325 echo "${ECHO_T}no, using $LN_S" >&6; }
6328 if test -n "$ac_tool_prefix"; then
6329 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6330 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6333 if test "${ac_cv_prog_RANLIB+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 if test -n "$RANLIB"; then
6337 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir
=.
6344 for ac_exec_ext
in '' $ac_executable_extensions; do
6345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 RANLIB
=$ac_cv_prog_RANLIB
6357 if test -n "$RANLIB"; then
6358 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6359 echo "${ECHO_T}$RANLIB" >&6; }
6361 { echo "$as_me:$LINENO: result: no" >&5
6362 echo "${ECHO_T}no" >&6; }
6367 if test -z "$ac_cv_prog_RANLIB"; then
6368 ac_ct_RANLIB
=$RANLIB
6369 # Extract the first word of "ranlib", so it can be a program name with args.
6370 set dummy ranlib
; ac_word
=$2
6371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6373 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6376 if test -n "$ac_ct_RANLIB"; then
6377 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6383 test -z "$as_dir" && as_dir
=.
6384 for ac_exec_ext
in '' $ac_executable_extensions; do
6385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6386 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6397 if test -n "$ac_ct_RANLIB"; then
6398 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6399 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6401 { echo "$as_me:$LINENO: result: no" >&5
6402 echo "${ECHO_T}no" >&6; }
6405 if test "x$ac_ct_RANLIB" = x
; then
6408 case $cross_compiling:$ac_tool_warned in
6410 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6411 whose name does not start with the host triplet. If you think this
6412 configuration is useful to you, please write to autoconf@gnu.org." >&5
6413 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6414 whose name does not start with the host triplet. If you think this
6415 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6416 ac_tool_warned
=yes ;;
6418 RANLIB
=$ac_ct_RANLIB
6421 RANLIB
="$ac_cv_prog_RANLIB"
6424 { echo "$as_me:$LINENO: checking for GNU make" >&5
6425 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6426 if test "${GNU_MAKE+set}" = set; then
6427 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 GNU_MAKE
='Not Found' ;
6430 GNU_MAKE_VERSION_MAJOR
=0 ;
6431 GNU_MAKE_VERSION_MINOR
=0 ;
6432 for a
in make gmake gnumake
; do
6433 if test -z "$a" ; then continue ; fi ;
6434 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
) ; then
6436 GNU_MAKE_VERSION_MAJOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f3 -d' ' | cut -f1 -d'.'`
6437 GNU_MAKE_VERSION_MINOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.' | cut -c1-2`
6443 { echo "$as_me:$LINENO: result: $GNU_MAKE" >&5
6444 echo "${ECHO_T}$GNU_MAKE" >&6; } ;
6445 if test "x$GNU_MAKE" = "xNot Found" ; then
6446 { { echo "$as_me:$LINENO: error: *** Please install GNU make. It is required to build Asterisk!" >&5
6447 echo "$as_me: error: *** Please install GNU make. It is required to build Asterisk!" >&2;}
6448 { (exit 1); exit 1; }; }
6454 if test -n "$ac_tool_prefix"; then
6455 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6456 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6459 if test "${ac_cv_path_STRIP+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
6467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6471 test -z "$as_dir" && as_dir
=.
6472 for ac_exec_ext
in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
6475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 STRIP
=$ac_cv_path_STRIP
6486 if test -n "$STRIP"; then
6487 { echo "$as_me:$LINENO: result: $STRIP" >&5
6488 echo "${ECHO_T}$STRIP" >&6; }
6490 { echo "$as_me:$LINENO: result: no" >&5
6491 echo "${ECHO_T}no" >&6; }
6496 if test -z "$ac_cv_path_STRIP"; then
6498 # Extract the first word of "strip", so it can be a program name with args.
6499 set dummy strip
; ac_word
=$2
6500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6502 if test "${ac_cv_path_ac_pt_STRIP+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 case $ac_pt_STRIP in
6507 ac_cv_path_ac_pt_STRIP
="$ac_pt_STRIP" # Let the user override the test with a path.
6510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6514 test -z "$as_dir" && as_dir
=.
6515 for ac_exec_ext
in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_path_ac_pt_STRIP
="$as_dir/$ac_word$ac_exec_ext"
6518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6528 ac_pt_STRIP
=$ac_cv_path_ac_pt_STRIP
6529 if test -n "$ac_pt_STRIP"; then
6530 { echo "$as_me:$LINENO: result: $ac_pt_STRIP" >&5
6531 echo "${ECHO_T}$ac_pt_STRIP" >&6; }
6533 { echo "$as_me:$LINENO: result: no" >&5
6534 echo "${ECHO_T}no" >&6; }
6537 if test "x$ac_pt_STRIP" = x
; then
6540 case $cross_compiling:$ac_tool_warned in
6542 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6543 whose name does not start with the host triplet. If you think this
6544 configuration is useful to you, please write to autoconf@gnu.org." >&5
6545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6546 whose name does not start with the host triplet. If you think this
6547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6548 ac_tool_warned
=yes ;;
6553 STRIP
="$ac_cv_path_STRIP"
6556 if test -n "$ac_tool_prefix"; then
6557 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6558 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6561 if test "${ac_cv_path_AR+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6566 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
6569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6573 test -z "$as_dir" && as_dir
=.
6574 for ac_exec_ext
in '' $ac_executable_extensions; do
6575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6576 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
6577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 if test -n "$AR"; then
6589 { echo "$as_me:$LINENO: result: $AR" >&5
6590 echo "${ECHO_T}$AR" >&6; }
6592 { echo "$as_me:$LINENO: result: no" >&5
6593 echo "${ECHO_T}no" >&6; }
6598 if test -z "$ac_cv_path_AR"; then
6600 # Extract the first word of "ar", so it can be a program name with args.
6601 set dummy
ar; ac_word
=$2
6602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6604 if test "${ac_cv_path_ac_pt_AR+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 ac_cv_path_ac_pt_AR
="$ac_pt_AR" # Let the user override the test with a path.
6612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6616 test -z "$as_dir" && as_dir
=.
6617 for ac_exec_ext
in '' $ac_executable_extensions; do
6618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6619 ac_cv_path_ac_pt_AR
="$as_dir/$ac_word$ac_exec_ext"
6620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 ac_pt_AR
=$ac_cv_path_ac_pt_AR
6631 if test -n "$ac_pt_AR"; then
6632 { echo "$as_me:$LINENO: result: $ac_pt_AR" >&5
6633 echo "${ECHO_T}$ac_pt_AR" >&6; }
6635 { echo "$as_me:$LINENO: result: no" >&5
6636 echo "${ECHO_T}no" >&6; }
6639 if test "x$ac_pt_AR" = x
; then
6642 case $cross_compiling:$ac_tool_warned in
6644 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6645 whose name does not start with the host triplet. If you think this
6646 configuration is useful to you, please write to autoconf@gnu.org." >&5
6647 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6648 whose name does not start with the host triplet. If you think this
6649 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6650 ac_tool_warned
=yes ;;
6660 if test "x$with_gnu_ld" = "xyes" ; then
6665 # Extract the first word of "grep", so it can be a program name with args.
6666 set dummy
grep; ac_word
=$2
6667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6669 if test "${ac_cv_path_GREP+set}" = set; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6674 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir
=.
6682 for ac_exec_ext
in '' $ac_executable_extensions; do
6683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6692 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
=":"
6696 GREP
=$ac_cv_path_GREP
6697 if test -n "$GREP"; then
6698 { echo "$as_me:$LINENO: result: $GREP" >&5
6699 echo "${ECHO_T}$GREP" >&6; }
6701 { echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6; }
6706 # Extract the first word of "find", so it can be a program name with args.
6707 set dummy
find; ac_word
=$2
6708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6710 if test "${ac_cv_path_FIND+set}" = set; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir
=.
6723 for ac_exec_ext
in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6733 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
=":"
6737 FIND
=$ac_cv_path_FIND
6738 if test -n "$FIND"; then
6739 { echo "$as_me:$LINENO: result: $FIND" >&5
6740 echo "${ECHO_T}$FIND" >&6; }
6742 { echo "$as_me:$LINENO: result: no" >&5
6743 echo "${ECHO_T}no" >&6; }
6747 # Extract the first word of "compress", so it can be a program name with args.
6748 set dummy
compress; ac_word
=$2
6749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6751 if test "${ac_cv_path_COMPRESS+set}" = set; then
6752 echo $ECHO_N "(cached) $ECHO_C" >&6
6756 ac_cv_path_COMPRESS
="$COMPRESS" # Let the user override the test with a path.
6759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6763 test -z "$as_dir" && as_dir
=.
6764 for ac_exec_ext
in '' $ac_executable_extensions; do
6765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6766 ac_cv_path_COMPRESS
="$as_dir/$ac_word$ac_exec_ext"
6767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 test -z "$ac_cv_path_COMPRESS" && ac_cv_path_COMPRESS
=":"
6778 COMPRESS
=$ac_cv_path_COMPRESS
6779 if test -n "$COMPRESS"; then
6780 { echo "$as_me:$LINENO: result: $COMPRESS" >&5
6781 echo "${ECHO_T}$COMPRESS" >&6; }
6783 { echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6; }
6788 # Extract the first word of "basename", so it can be a program name with args.
6789 set dummy
basename; ac_word
=$2
6790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6792 if test "${ac_cv_path_BASENAME+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_cv_path_BASENAME
="$BASENAME" # Let the user override the test with a path.
6800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir
=.
6805 for ac_exec_ext
in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_path_BASENAME
="$as_dir/$ac_word$ac_exec_ext"
6808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6815 test -z "$ac_cv_path_BASENAME" && ac_cv_path_BASENAME
=":"
6819 BASENAME
=$ac_cv_path_BASENAME
6820 if test -n "$BASENAME"; then
6821 { echo "$as_me:$LINENO: result: $BASENAME" >&5
6822 echo "${ECHO_T}$BASENAME" >&6; }
6824 { echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6; }
6829 # Extract the first word of "id", so it can be a program name with args.
6830 set dummy id
; ac_word
=$2
6831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6833 if test "${ac_cv_path_ID+set}" = set; then
6834 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 ac_cv_path_ID
="$ID" # Let the user override the test with a path.
6841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir
=.
6846 for ac_exec_ext
in '' $ac_executable_extensions; do
6847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6848 ac_cv_path_ID
="$as_dir/$ac_word$ac_exec_ext"
6849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 test -z "$ac_cv_path_ID" && ac_cv_path_ID
=":"
6861 if test -n "$ID"; then
6862 { echo "$as_me:$LINENO: result: $ID" >&5
6863 echo "${ECHO_T}$ID" >&6; }
6865 { echo "$as_me:$LINENO: result: no" >&5
6866 echo "${ECHO_T}no" >&6; }
6870 # Extract the first word of "dirname", so it can be a program name with args.
6871 set dummy
dirname; ac_word
=$2
6872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6874 if test "${ac_cv_path_DIRNAME+set}" = set; then
6875 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 ac_cv_path_DIRNAME
="$DIRNAME" # Let the user override the test with a path.
6882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir
=.
6887 for ac_exec_ext
in '' $ac_executable_extensions; do
6888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889 ac_cv_path_DIRNAME
="$as_dir/$ac_word$ac_exec_ext"
6890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 test -z "$ac_cv_path_DIRNAME" && ac_cv_path_DIRNAME
=":"
6901 DIRNAME
=$ac_cv_path_DIRNAME
6902 if test -n "$DIRNAME"; then
6903 { echo "$as_me:$LINENO: result: $DIRNAME" >&5
6904 echo "${ECHO_T}$DIRNAME" >&6; }
6906 { echo "$as_me:$LINENO: result: no" >&5
6907 echo "${ECHO_T}no" >&6; }
6911 # Extract the first word of "sh", so it can be a program name with args.
6912 set dummy sh
; ac_word
=$2
6913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6915 if test "${ac_cv_path_SHELL+set}" = set; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6920 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
6923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6927 test -z "$as_dir" && as_dir
=.
6928 for ac_exec_ext
in '' $ac_executable_extensions; do
6929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6930 ac_cv_path_SHELL
="$as_dir/$ac_word$ac_exec_ext"
6931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
=":"
6942 SHELL
=$ac_cv_path_SHELL
6943 if test -n "$SHELL"; then
6944 { echo "$as_me:$LINENO: result: $SHELL" >&5
6945 echo "${ECHO_T}$SHELL" >&6; }
6947 { echo "$as_me:$LINENO: result: no" >&5
6948 echo "${ECHO_T}no" >&6; }
6952 # Extract the first word of "ln", so it can be a program name with args.
6953 set dummy
ln; ac_word
=$2
6954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6956 if test "${ac_cv_path_LN+set}" = set; then
6957 echo $ECHO_N "(cached) $ECHO_C" >&6
6961 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
6964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6968 test -z "$as_dir" && as_dir
=.
6969 for ac_exec_ext
in '' $ac_executable_extensions; do
6970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6971 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
6972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 test -z "$ac_cv_path_LN" && ac_cv_path_LN
=":"
6984 if test -n "$LN"; then
6985 { echo "$as_me:$LINENO: result: $LN" >&5
6986 echo "${ECHO_T}$LN" >&6; }
6988 { echo "$as_me:$LINENO: result: no" >&5
6989 echo "${ECHO_T}no" >&6; }
6993 # Extract the first word of "dot", so it can be a program name with args.
6994 set dummy dot
; ac_word
=$2
6995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6997 if test "${ac_cv_path_DOT+set}" = set; then
6998 echo $ECHO_N "(cached) $ECHO_C" >&6
7002 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7009 test -z "$as_dir" && as_dir
=.
7010 for ac_exec_ext
in '' $ac_executable_extensions; do
7011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7012 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
=":"
7025 if test -n "$DOT"; then
7026 { echo "$as_me:$LINENO: result: $DOT" >&5
7027 echo "${ECHO_T}$DOT" >&6; }
7029 { echo "$as_me:$LINENO: result: no" >&5
7030 echo "${ECHO_T}no" >&6; }
7034 # Extract the first word of "wget", so it can be a program name with args.
7035 set dummy wget
; ac_word
=$2
7036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7038 if test "${ac_cv_path_WGET+set}" = set; then
7039 echo $ECHO_N "(cached) $ECHO_C" >&6
7043 ac_cv_path_WGET
="$WGET" # Let the user override the test with a path.
7046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir
=.
7051 for ac_exec_ext
in '' $ac_executable_extensions; do
7052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053 ac_cv_path_WGET
="$as_dir/$ac_word$ac_exec_ext"
7054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7061 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET
=":"
7065 WGET
=$ac_cv_path_WGET
7066 if test -n "$WGET"; then
7067 { echo "$as_me:$LINENO: result: $WGET" >&5
7068 echo "${ECHO_T}$WGET" >&6; }
7070 { echo "$as_me:$LINENO: result: no" >&5
7071 echo "${ECHO_T}no" >&6; }
7075 if test "${WGET}" != ":" ; then
7078 # Extract the first word of "fetch", so it can be a program name with args.
7079 set dummy fetch
; ac_word
=$2
7080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7082 if test "${ac_cv_path_FETCH+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7087 ac_cv_path_FETCH
="$FETCH" # Let the user override the test with a path.
7090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir
=.
7095 for ac_exec_ext
in '' $ac_executable_extensions; do
7096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7097 ac_cv_path_FETCH
="$as_dir/$ac_word$ac_exec_ext"
7098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 test -z "$ac_cv_path_FETCH" && ac_cv_path_FETCH
=":"
7109 FETCH
=$ac_cv_path_FETCH
7110 if test -n "$FETCH"; then
7111 { echo "$as_me:$LINENO: result: $FETCH" >&5
7112 echo "${ECHO_T}$FETCH" >&6; }
7114 { echo "$as_me:$LINENO: result: no" >&5
7115 echo "${ECHO_T}no" >&6; }
7127 ac_cpp
='$CPP $CPPFLAGS'
7128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7134 # We used to check for pthread.h first, but this fails if pthread.h
7135 # requires special compiler flags (e.g. on True64 or Sequent).
7136 # It gets checked for in the link test anyway.
7138 # First of all, check if the user has set any of the PTHREAD_LIBS,
7139 # etcetera environment variables, and if threads linking works using
7141 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
7142 save_CFLAGS
="$CFLAGS"
7143 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
7145 LIBS
="$PTHREAD_LIBS $LIBS"
7146 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
7147 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
7148 cat >conftest.
$ac_ext <<_ACEOF
7151 cat confdefs.h
>>conftest.
$ac_ext
7152 cat >>conftest.
$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7155 /* Override any GCC internal prototype to avoid an error.
7156 Use char because int might match the return type of a GCC
7157 builtin and then its argument prototype would still apply. */
7161 char pthread_join ();
7165 return pthread_join ();
7170 rm -f conftest.
$ac_objext conftest
$ac_exeext
7171 if { (ac_try
="$ac_link"
7173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7174 *) ac_try_echo=$ac_try;;
7176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7177 (eval "$ac_link") 2>conftest.er1
7179 grep -v '^ *+' conftest.er1 >conftest.err
7181 cat conftest.err >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); } && {
7184 test -z "$ac_c_werror_flag" ||
7185 test ! -s conftest.err
7186 } && test -s conftest$ac_exeext &&
7187 $as_test_x conftest$ac_exeext; then
7190 echo "$as_me: failed program was:" >&5
7191 sed 's/^/| /' conftest.$ac_ext >&5
7196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7197 conftest$ac_exeext conftest.$ac_ext
7198 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
7199 echo "${ECHO_T}$acx_pthread_ok" >&6; }
7200 if test x"$acx_pthread_ok" = xno; then
7205 CFLAGS="$save_CFLAGS"
7208 # We must check for the threads library under a number of different
7209 # names; the ordering is very important because some systems
7210 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
7211 # libraries is broken (non-POSIX).
7213 # Create a list of thread flags to try. Items starting with a "-" are
7214 # C compiler flags, and other items are library names, except for "none"
7215 # which indicates that we try without any flags at all, and "pthread-config"
7216 # which is a program returning the flags for the Pth emulation library.
7218 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
7220 # The ordering *is* (sometimes) important. Some notes on the
7221 # individual items follow:
7223 # pthreads: AIX (must check this before -lpthread)
7224 # none: in case threads are in libc; should be tried before -Kthread and
7225 # other compiler flags to prevent continual compiler warnings
7226 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
7227 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
7228 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
7229 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
7230 # -pthreads: Solaris/gcc
7231 # -mthreads: Mingw32/gcc, Lynx/gcc
7232 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
7233 # doesn't hurt to check since this sometimes defines pthreads too;
7234 # also defines -D_REENTRANT)
7235 # ... -mt is also the pthreads flag for HP/aCC
7236 # pthread: Linux, etcetera
7237 # --thread-safe: KAI C++
7238 # pthread-config: use pthread-config program (for GNU Pth library)
7240 case "${host_cpu}-${host_os}" in
7243 # On Solaris (at least, for some versions), libc contains stubbed
7244 # (non-functional) versions of the pthreads routines, so link-based
7245 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
7246 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
7247 # a function called by this macro, so we could check for that, but
7248 # who knows whether they'll stub that too in a future libc.) So,
7249 # we'll just look for -pthreads and -lpthread first:
7251 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
7255 if test x"$acx_pthread_ok" = xno; then
7256 for flag in $acx_pthread_flags; do
7260 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
7261 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
7265 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
7266 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
7267 PTHREAD_CFLAGS="$flag"
7271 # Extract the first word of "pthread-config", so it can be a program name with args.
7272 set dummy pthread-config; ac_word=$2
7273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7275 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 if test -n "$acx_pthread_config"; then
7279 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288 ac_cv_prog_acx_pthread_config="yes"
7289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
7299 acx_pthread_config=$ac_cv_prog_acx_pthread_config
7300 if test -n "$acx_pthread_config"; then
7301 { echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
7302 echo "${ECHO_T}$acx_pthread_config" >&6; }
7304 { echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6; }
7309 if test x"$acx_pthread_config" = xno; then continue; fi
7310 PTHREAD_CFLAGS="`pthread-config
--cflags`"
7311 PTHREAD_LIBS="`pthread-config
--ldflags` `pthread-config
--libs`"
7315 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
7316 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
7317 PTHREAD_LIBS="-l$flag"
7322 save_CFLAGS="$CFLAGS"
7323 LIBS="$PTHREAD_LIBS $LIBS"
7324 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
7326 # Check for various functions. We must include pthread.h,
7327 # since some functions may be macros. (On the Sequent, we
7328 # need a special flag -Kthread to make this header compile.)
7329 # We check for pthread_join because it is in -lpthread on IRIX
7330 # while pthread_create is in libc. We check for pthread_attr_init
7331 # due to DEC craziness with -lpthreads. We check for
7332 # pthread_cleanup_push because it is one of the few pthread
7333 # functions on Solaris that doesn't have a non-functional libc stub.
7334 # We try pthread_create on general principles.
7335 cat >conftest.$ac_ext <<_ACEOF
7338 cat confdefs.h >>conftest.$ac_ext
7339 cat >>conftest.$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7341 #include <pthread.h>
7345 pthread_t th; pthread_join(th, 0);
7346 pthread_attr_init(0); pthread_cleanup_push(0, 0);
7347 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
7352 rm -f conftest.$ac_objext conftest$ac_exeext
7353 if { (ac_try="$ac_link"
7355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7356 *) ac_try_echo
=$ac_try;;
7358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7359 (eval "$ac_link") 2>conftest.er1
7361 grep -v '^ *+' conftest.er1
>conftest.err
7363 cat conftest.err
>&5
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); } && {
7366 test -z "$ac_c_werror_flag" ||
7367 test ! -s conftest.err
7368 } && test -s conftest
$ac_exeext &&
7369 $as_test_x conftest
$ac_exeext; then
7372 echo "$as_me: failed program was:" >&5
7373 sed 's/^/| /' conftest.
$ac_ext >&5
7378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7379 conftest
$ac_exeext conftest.
$ac_ext
7382 CFLAGS
="$save_CFLAGS"
7384 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
7385 echo "${ECHO_T}$acx_pthread_ok" >&6; }
7386 if test "x$acx_pthread_ok" = xyes
; then
7395 # Various other checks:
7396 if test "x$acx_pthread_ok" = xyes
; then
7398 LIBS
="$PTHREAD_LIBS $LIBS"
7399 save_CFLAGS
="$CFLAGS"
7400 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
7402 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
7403 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
7404 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
7406 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
7407 cat >conftest.
$ac_ext <<_ACEOF
7410 cat confdefs.h
>>conftest.
$ac_ext
7411 cat >>conftest.
$ac_ext <<_ACEOF
7412 /* end confdefs.h. */
7413 #include <pthread.h>
7417 int attr=$attr; return attr;
7422 rm -f conftest.
$ac_objext conftest
$ac_exeext
7423 if { (ac_try
="$ac_link"
7425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7426 *) ac_try_echo=$ac_try;;
7428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7429 (eval "$ac_link") 2>conftest.er1
7431 grep -v '^ *+' conftest.er1 >conftest.err
7433 cat conftest.err >&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } && {
7436 test -z "$ac_c_werror_flag" ||
7437 test ! -s conftest.err
7438 } && test -s conftest$ac_exeext &&
7439 $as_test_x conftest$ac_exeext; then
7440 attr_name=$attr; break
7442 echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7449 conftest$ac_exeext conftest.$ac_ext
7451 { echo "$as_me:$LINENO: result: $attr_name" >&5
7452 echo "${ECHO_T}$attr_name" >&6; }
7453 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
7455 cat >>confdefs.h <<_ACEOF
7456 #define PTHREAD_CREATE_JOINABLE $attr_name
7461 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
7462 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
7464 case "${host_cpu}-${host_os}" in
7465 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
7466 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
7468 { echo "$as_me:$LINENO: result: ${flag}" >&5
7469 echo "${ECHO_T}${flag}" >&6; }
7470 if test "x$flag" != xno; then
7471 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
7475 CFLAGS="$save_CFLAGS"
7477 # More AIX lossage: must compile with xlc_r or cc_r
7478 if test x"$GCC" != xyes; then
7479 for ac_prog in xlc_r cc_r
7481 # Extract the first word of "$ac_prog", so it can be a program name with args.
7482 set dummy $ac_prog; ac_word=$2
7483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7485 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
7486 echo $ECHO_N "(cached) $ECHO_C" >&6
7488 if test -n "$PTHREAD_CC"; then
7489 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_PTHREAD_CC="$ac_prog"
7499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
7509 if test -n "$PTHREAD_CC"; then
7510 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
7511 echo "${ECHO_T}$PTHREAD_CC" >&6; }
7513 { echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6; }
7518 test -n "$PTHREAD_CC" && break
7520 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
7533 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
7534 if test x"$acx_pthread_ok" = xyes; then
7536 cat >>confdefs.h <<\_ACEOF
7537 #define HAVE_PTHREAD 1
7546 ac_cpp='$CPP $CPPFLAGS'
7547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7554 ac_cpp='$CPP $CPPFLAGS'
7555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7560 # Check whether --enable-dev-mode was given.
7561 if test "${enable_dev_mode+set}" = set; then
7562 enableval=$enable_dev_mode; case "${enableval}" in
7563 y|ye|yes) AST_DEVMODE=yes ;;
7564 n|no) AST_DEVMODE=no ;;
7565 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dev-mode" >&5
7566 echo "$as_me: error: bad value ${enableval} for --enable-dev-mode" >&2;}
7567 { (exit 1); exit 1; }; } ;;
7573 # package option names should be in alphabetical order
7574 # by the --with option name, to make things easier for the users :-)
7577 ALSA_DESCRIP="Advanced Linux Sound Architecture"
7578 ALSA_OPTION="asound"
7580 # Check whether --with-asound was given.
7581 if test "${with_asound+set}" = set; then
7582 withval=$with_asound;
7588 ALSA_MANDATORY="yes"
7591 ALSA_DIR="${withval}"
7592 ALSA_MANDATORY="yes"
7608 # Check whether --with-curl was given.
7609 if test "${with_curl+set}" = set; then
7616 CURL_MANDATORY="yes"
7619 CURL_DIR="${withval}"
7620 CURL_MANDATORY="yes"
7633 CURSES_DESCRIP="curses"
7634 CURSES_OPTION="curses"
7636 # Check whether --with-curses was given.
7637 if test "${with_curses+set}" = set; then
7638 withval=$with_curses;
7644 CURSES_MANDATORY="yes"
7647 CURSES_DIR="${withval}"
7648 CURSES_MANDATORY="yes"
7661 GNUTLS_DESCRIP="GNU TLS support (used for iksemel only)"
7662 GNUTLS_OPTION="gnutls"
7664 # Check whether --with-gnutls was given.
7665 if test "${with_gnutls+set}" = set; then
7666 withval=$with_gnutls;
7672 GNUTLS_MANDATORY="yes"
7675 GNUTLS_DIR="${withval}"
7676 GNUTLS_MANDATORY="yes"
7692 # Check whether --with-gsm was given.
7693 if test "${with_gsm+set}" = set; then
7703 GSM_DIR="${withval}"
7717 IKSEMEL_DESCRIP="Iksemel Jabber Library"
7718 IKSEMEL_OPTION="iksemel"
7720 # Check whether --with-iksemel was given.
7721 if test "${with_iksemel+set}" = set; then
7722 withval=$with_iksemel;
7728 IKSEMEL_MANDATORY="yes"
7731 IKSEMEL_DIR="${withval}"
7732 IKSEMEL_MANDATORY="yes"
7745 IMAP_TK_DESCRIP="UW IMAP Toolkit"
7746 IMAP_TK_OPTION="imap"
7748 # Check whether --with-imap was given.
7749 if test "${with_imap+set}" = set; then
7756 IMAP_TK_MANDATORY="yes"
7759 IMAP_TK_DIR="${withval}"
7760 IMAP_TK_MANDATORY="yes"
7773 ISDNNET_DESCRIP="ISDN4Linux Library"
7774 ISDNNET_OPTION="isdnnet"
7776 # Check whether --with-isdnnet was given.
7777 if test "${with_isdnnet+set}" = set; then
7778 withval=$with_isdnnet;
7784 ISDNNET_MANDATORY="yes"
7787 ISDNNET_DIR="${withval}"
7788 ISDNNET_MANDATORY="yes"
7804 # Check whether --with-kde was given.
7805 if test "${with_kde+set}" = set; then
7815 KDE_DIR="${withval}"
7829 LTDL_DESCRIP="libtool"
7832 # Check whether --with-ltdl was given.
7833 if test "${with_ltdl+set}" = set; then
7840 LTDL_MANDATORY="yes"
7843 LTDL_DIR="${withval}"
7844 LTDL_MANDATORY="yes"
7857 MISDN_DESCRIP="mISDN User Library"
7858 MISDN_OPTION="misdn"
7860 # Check whether --with-misdn was given.
7861 if test "${with_misdn+set}" = set; then
7862 withval=$with_misdn;
7868 MISDN_MANDATORY="yes"
7871 MISDN_DIR="${withval}"
7872 MISDN_MANDATORY="yes"
7885 NBS_DESCRIP="Network Broadcast Sound"
7888 # Check whether --with-nbs was given.
7889 if test "${with_nbs+set}" = set; then
7899 NBS_DIR="${withval}"
7913 NCURSES_DESCRIP="ncurses"
7914 NCURSES_OPTION="ncurses"
7916 # Check whether --with-ncurses was given.
7917 if test "${with_ncurses+set}" = set; then
7918 withval=$with_ncurses;
7924 NCURSES_MANDATORY="yes"
7927 NCURSES_DIR="${withval}"
7928 NCURSES_MANDATORY="yes"
7941 NETSNMP_DESCRIP="Net-SNMP"
7942 NETSNMP_OPTION="netsnmp"
7944 # Check whether --with-netsnmp was given.
7945 if test "${with_netsnmp+set}" = set; then
7946 withval=$with_netsnmp;
7952 NETSNMP_MANDATORY="yes"
7955 NETSNMP_DIR="${withval}"
7956 NETSNMP_MANDATORY="yes"
7972 # Check whether --with-newt was given.
7973 if test "${with_newt+set}" = set; then
7980 NEWT_MANDATORY="yes"
7983 NEWT_DIR="${withval}"
7984 NEWT_MANDATORY="yes"
7997 UNIXODBC_DESCRIP="unixODBC"
7998 UNIXODBC_OPTION="odbc"
8000 # Check whether --with-odbc was given.
8001 if test "${with_odbc+set}" = set; then
8008 UNIXODBC_MANDATORY="yes"
8011 UNIXODBC_DIR="${withval}"
8012 UNIXODBC_MANDATORY="yes"
8028 # Check whether --with-ogg was given.
8029 if test "${with_ogg+set}" = set; then
8039 OGG_DIR="${withval}"
8053 OSPTK_DESCRIP="OSP Toolkit"
8054 OSPTK_OPTION="osptk"
8056 # Check whether --with-osptk was given.
8057 if test "${with_osptk+set}" = set; then
8058 withval=$with_osptk;
8064 OSPTK_MANDATORY="yes"
8067 OSPTK_DIR="${withval}"
8068 OSPTK_MANDATORY="yes"
8081 OSS_DESCRIP="Open Sound System"
8084 # Check whether --with-oss was given.
8085 if test "${with_oss+set}" = set; then
8095 OSS_DIR="${withval}"
8112 # Check whether --with-popt was given.
8113 if test "${with_popt+set}" = set; then
8120 POPT_MANDATORY="yes"
8123 POPT_DIR="${withval}"
8124 POPT_MANDATORY="yes"
8137 PGSQL_DESCRIP="PostgreSQL"
8138 PGSQL_OPTION="postgres"
8140 # Check whether --with-postgres was given.
8141 if test "${with_postgres+set}" = set; then
8142 withval=$with_postgres;
8148 PGSQL_MANDATORY="yes"
8151 PGSQL_DIR="${withval}"
8152 PGSQL_MANDATORY="yes"
8165 PRI_DESCRIP="ISDN PRI"
8168 # Check whether --with-pri was given.
8169 if test "${with_pri+set}" = set; then
8179 PRI_DIR="${withval}"
8193 PWLIB_DESCRIP="PWlib"
8194 PWLIB_OPTION="pwlib"
8196 # Check whether --with-pwlib was given.
8197 if test "${with_pwlib+set}" = set; then
8198 withval=$with_pwlib;
8204 PWLIB_MANDATORY="yes"
8207 PWLIB_DIR="${withval}"
8208 PWLIB_MANDATORY="yes"
8221 OPENH323_DESCRIP="OpenH323"
8222 OPENH323_OPTION="h323"
8224 # Check whether --with-h323 was given.
8225 if test "${with_h323+set}" = set; then
8232 OPENH323_MANDATORY="yes"
8235 OPENH323_DIR="${withval}"
8236 OPENH323_MANDATORY="yes"
8252 # Check whether --with-qt was given.
8253 if test "${with_qt+set}" = set; then
8277 RADIUS_DESCRIP="Radius Client"
8278 RADIUS_OPTION="radius"
8280 # Check whether --with-radius was given.
8281 if test "${with_radius+set}" = set; then
8282 withval=$with_radius;
8288 RADIUS_MANDATORY="yes"
8291 RADIUS_DIR="${withval}"
8292 RADIUS_MANDATORY="yes"
8305 SPEEX_DESCRIP="Speex"
8306 SPEEX_OPTION="speex"
8308 # Check whether --with-speex was given.
8309 if test "${with_speex+set}" = set; then
8310 withval=$with_speex;
8316 SPEEX_MANDATORY="yes"
8319 SPEEX_DIR="${withval}"
8320 SPEEX_MANDATORY="yes"
8333 SQLITE_DESCRIP="SQLite"
8334 SQLITE_OPTION="sqlite"
8336 # Check whether --with-sqlite was given.
8337 if test "${with_sqlite+set}" = set; then
8338 withval=$with_sqlite;
8344 SQLITE_MANDATORY="yes"
8347 SQLITE_DIR="${withval}"
8348 SQLITE_MANDATORY="yes"
8361 SUPPSERV_DESCRIP="mISDN Supplemental Services"
8362 SUPPSERV_OPTION="suppserv"
8364 # Check whether --with-suppserv was given.
8365 if test "${with_suppserv+set}" = set; then
8366 withval=$with_suppserv;
8372 SUPPSERV_MANDATORY="yes"
8375 SUPPSERV_DIR="${withval}"
8376 SUPPSERV_MANDATORY="yes"
8389 OPENSSL_DESCRIP="OpenSSL"
8390 OPENSSL_OPTION="ssl"
8392 # Check whether --with-ssl was given.
8393 if test "${with_ssl+set}" = set; then
8400 OPENSSL_MANDATORY="yes"
8403 OPENSSL_DIR="${withval}"
8404 OPENSSL_MANDATORY="yes"
8417 FREETDS_DESCRIP="FreeTDS"
8418 FREETDS_OPTION="tds"
8420 # Check whether --with-tds was given.
8421 if test "${with_tds+set}" = set; then
8428 FREETDS_MANDATORY="yes"
8431 FREETDS_DIR="${withval}"
8432 FREETDS_MANDATORY="yes"
8445 TERMCAP_DESCRIP="Termcap"
8446 TERMCAP_OPTION="termcap"
8448 # Check whether --with-termcap was given.
8449 if test "${with_termcap+set}" = set; then
8450 withval=$with_termcap;
8456 TERMCAP_MANDATORY="yes"
8459 TERMCAP_DIR="${withval}"
8460 TERMCAP_MANDATORY="yes"
8473 TINFO_DESCRIP="Term Info"
8474 TINFO_OPTION="tinfo"
8476 # Check whether --with-tinfo was given.
8477 if test "${with_tinfo+set}" = set; then
8478 withval=$with_tinfo;
8484 TINFO_MANDATORY="yes"
8487 TINFO_DIR="${withval}"
8488 TINFO_MANDATORY="yes"
8501 TONEZONE_DESCRIP="tonezone"
8502 TONEZONE_OPTION="tonezone"
8504 # Check whether --with-tonezone was given.
8505 if test "${with_tonezone+set}" = set; then
8506 withval=$with_tonezone;
8512 TONEZONE_MANDATORY="yes"
8515 TONEZONE_DIR="${withval}"
8516 TONEZONE_MANDATORY="yes"
8529 VORBIS_DESCRIP="Vorbis"
8530 VORBIS_OPTION="vorbis"
8532 # Check whether --with-vorbis was given.
8533 if test "${with_vorbis+set}" = set; then
8534 withval=$with_vorbis;
8540 VORBIS_MANDATORY="yes"
8543 VORBIS_DIR="${withval}"
8544 VORBIS_MANDATORY="yes"
8557 VPB_DESCRIP="Voicetronix API"
8560 # Check whether --with-vpb was given.
8561 if test "${with_vpb+set}" = set; then
8571 VPB_DIR="${withval}"
8588 # Check whether --with-z was given.
8589 if test "${with_z+set}" = set; then
8596 ZLIB_MANDATORY="yes"
8599 ZLIB_DIR="${withval}"
8600 ZLIB_MANDATORY="yes"
8613 ZAPTEL_DESCRIP="Zaptel"
8614 ZAPTEL_OPTION="zaptel"
8616 # Check whether --with-zaptel was given.
8617 if test "${with_zaptel+set}" = set; then
8618 withval=$with_zaptel;
8624 ZAPTEL_MANDATORY="yes"
8627 ZAPTEL_DIR="${withval}"
8628 ZAPTEL_MANDATORY="yes"
8641 # check for basic system features and functionality before
8642 # checking for package libraries
8644 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8645 # for constant arguments. Useless!
8646 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
8647 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
8648 if test "${ac_cv_working_alloca_h+set}" = set; then
8649 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 cat >conftest.$ac_ext <<_ACEOF
8654 cat confdefs.h >>conftest.$ac_ext
8655 cat >>conftest.$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8661 char *p = (char *) alloca (2 * sizeof (int));
8667 rm -f conftest.$ac_objext conftest$ac_exeext
8668 if { (ac_try="$ac_link"
8670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8671 *) ac_try_echo
=$ac_try;;
8673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8674 (eval "$ac_link") 2>conftest.er1
8676 grep -v '^ *+' conftest.er1
>conftest.err
8678 cat conftest.err
>&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } && {
8681 test -z "$ac_c_werror_flag" ||
8682 test ! -s conftest.err
8683 } && test -s conftest
$ac_exeext &&
8684 $as_test_x conftest
$ac_exeext; then
8685 ac_cv_working_alloca_h
=yes
8687 echo "$as_me: failed program was:" >&5
8688 sed 's/^/| /' conftest.
$ac_ext >&5
8690 ac_cv_working_alloca_h
=no
8693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8694 conftest
$ac_exeext conftest.
$ac_ext
8696 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8697 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
8698 if test $ac_cv_working_alloca_h = yes; then
8700 cat >>confdefs.h
<<\_ACEOF
8701 #define HAVE_ALLOCA_H 1
8706 { echo "$as_me:$LINENO: checking for alloca" >&5
8707 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
8708 if test "${ac_cv_func_alloca_works+set}" = set; then
8709 echo $ECHO_N "(cached) $ECHO_C" >&6
8711 cat >conftest.
$ac_ext <<_ACEOF
8714 cat confdefs.h
>>conftest.
$ac_ext
8715 cat >>conftest.
$ac_ext <<_ACEOF
8716 /* end confdefs.h. */
8718 # define alloca __builtin_alloca
8721 # include <malloc.h>
8722 # define alloca _alloca
8724 # ifdef HAVE_ALLOCA_H
8725 # include <alloca.h>
8730 # ifndef alloca /* predefined by HP cc +Olibcalls */
8741 char *p = (char *) alloca (1);
8747 rm -f conftest.
$ac_objext conftest
$ac_exeext
8748 if { (ac_try
="$ac_link"
8750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8751 *) ac_try_echo=$ac_try;;
8753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8754 (eval "$ac_link") 2>conftest.er1
8756 grep -v '^ *+' conftest.er1 >conftest.err
8758 cat conftest.err >&5
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); } && {
8761 test -z "$ac_c_werror_flag" ||
8762 test ! -s conftest.err
8763 } && test -s conftest$ac_exeext &&
8764 $as_test_x conftest$ac_exeext; then
8765 ac_cv_func_alloca_works=yes
8767 echo "$as_me: failed program was:" >&5
8768 sed 's/^/| /' conftest.$ac_ext >&5
8770 ac_cv_func_alloca_works=no
8773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8774 conftest$ac_exeext conftest.$ac_ext
8776 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8777 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
8779 if test $ac_cv_func_alloca_works = yes; then
8781 cat >>confdefs.h <<\_ACEOF
8782 #define HAVE_ALLOCA 1
8786 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8787 # that cause trouble. Some versions do not even contain alloca or
8788 # contain a buggy version. If you still want to use their alloca,
8789 # use ar to extract alloca.o from them instead of compiling alloca.c.
8791 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
8793 cat >>confdefs.h <<\_ACEOF
8798 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
8799 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
8800 if test "${ac_cv_os_cray+set}" = set; then
8801 echo $ECHO_N "(cached
) $ECHO_C" >&6
8803 cat >conftest.$ac_ext <<_ACEOF
8806 cat confdefs.h >>conftest.$ac_ext
8807 cat >>conftest.$ac_ext <<_ACEOF
8808 /* end confdefs.h. */
8809 #if defined CRAY && ! defined CRAY2
8816 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8817 $EGREP "webecray
" >/dev/null 2>&1; then
8825 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
8826 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
8827 if test $ac_cv_os_cray = yes; then
8828 for ac_func in _getb67 GETB67 getb67; do
8829 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8830 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
8831 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
8832 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8833 echo $ECHO_N "(cached
) $ECHO_C" >&6
8835 cat >conftest.$ac_ext <<_ACEOF
8838 cat confdefs.h >>conftest.$ac_ext
8839 cat >>conftest.$ac_ext <<_ACEOF
8840 /* end confdefs.h. */
8841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8843 #define $ac_func innocuous_$ac_func
8845 /* System header to define __stub macros and hopefully few prototypes,
8846 which can conflict with char $ac_func (); below.
8847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8848 <limits.h> exists even on freestanding compilers. */
8851 # include <limits.h>
8853 # include <assert.h>
8858 /* Override any GCC internal prototype to avoid an error.
8859 Use char because int might match the return type of a GCC
8860 builtin and then its argument prototype would still apply. */
8865 /* The GNU C library defines this for functions which it implements
8866 to always fail with ENOSYS. Some functions are actually named
8867 something starting with __ and the normal name is an alias. */
8868 #if defined __stub_$ac_func || defined __stub___$ac_func
8880 rm -f conftest.$ac_objext conftest$ac_exeext
8881 if { (ac_try="$ac_link"
8883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8884 *) ac_try_echo=$ac_try;;
8886 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8887 (eval "$ac_link") 2>conftest.er1
8889 grep -v '^ *+' conftest.er1 >conftest.err
8891 cat conftest.err >&5
8892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8893 (exit $ac_status); } && {
8894 test -z "$ac_c_werror_flag" ||
8895 test ! -s conftest.err
8896 } && test -s conftest$ac_exeext &&
8897 $as_test_x conftest$ac_exeext; then
8898 eval "$as_ac_var=yes"
8900 echo "$as_me: failed program was
:" >&5
8901 sed 's/^/| /' conftest.$ac_ext >&5
8903 eval "$as_ac_var=no
"
8906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8907 conftest$ac_exeext conftest.$ac_ext
8909 ac_res=`eval echo '${'$as_ac_var'}'`
8910 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8911 echo "${ECHO_T}$ac_res" >&6; }
8912 if test `eval echo '${'$as_ac_var'}'` = yes; then
8914 cat >>confdefs.h <<_ACEOF
8915 #define CRAY_STACKSEG_END $ac_func
8924 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
8925 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
8926 if test "${ac_cv_c_stack_direction+set}" = set; then
8927 echo $ECHO_N "(cached
) $ECHO_C" >&6
8929 if test "$cross_compiling" = yes; then
8930 ac_cv_c_stack_direction=0
8932 cat >conftest.$ac_ext <<_ACEOF
8935 cat confdefs.h >>conftest.$ac_ext
8936 cat >>conftest.$ac_ext <<_ACEOF
8937 /* end confdefs.h. */
8938 $ac_includes_default
8940 find_stack_direction ()
8942 static char *addr = 0;
8947 return find_stack_direction ();
8950 return (&dummy > addr) ? 1 : -1;
8956 return find_stack_direction () < 0;
8959 rm -f conftest$ac_exeext
8960 if { (ac_try="$ac_link"
8962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8963 *) ac_try_echo=$ac_try;;
8965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8966 (eval "$ac_link") 2>&5
8968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8970 { (case "(($ac_try" in
8971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8972 *) ac_try_echo=$ac_try;;
8974 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8975 (eval "$ac_try") 2>&5
8977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8978 (exit $ac_status); }; }; then
8979 ac_cv_c_stack_direction=1
8981 echo "$as_me: program exited with status
$ac_status" >&5
8982 echo "$as_me: failed program was
:" >&5
8983 sed 's/^/| /' conftest.$ac_ext >&5
8986 ac_cv_c_stack_direction=-1
8988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8993 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
8994 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
8996 cat >>confdefs.h <<_ACEOF
8997 #define STACK_DIRECTION $ac_cv_c_stack_direction
9009 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
9010 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
9011 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
9012 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
9013 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9014 echo $ECHO_N "(cached
) $ECHO_C" >&6
9016 cat >conftest.$ac_ext <<_ACEOF
9019 cat confdefs.h >>conftest.$ac_ext
9020 cat >>conftest.$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9022 #include <sys/types.h>
9034 rm -f conftest.$ac_objext
9035 if { (ac_try="$ac_compile"
9037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9038 *) ac_try_echo=$ac_try;;
9040 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9041 (eval "$ac_compile") 2>conftest.er1
9043 grep -v '^ *+' conftest.er1 >conftest.err
9045 cat conftest.err >&5
9046 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9047 (exit $ac_status); } && {
9048 test -z "$ac_c_werror_flag" ||
9049 test ! -s conftest.err
9050 } && test -s conftest.$ac_objext; then
9051 eval "$as_ac_Header=yes"
9053 echo "$as_me: failed program was
:" >&5
9054 sed 's/^/| /' conftest.$ac_ext >&5
9056 eval "$as_ac_Header=no
"
9059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9061 ac_res=`eval echo '${'$as_ac_Header'}'`
9062 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9063 echo "${ECHO_T}$ac_res" >&6; }
9064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9065 cat >>confdefs.h <<_ACEOF
9066 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
9069 ac_header_dirent=$ac_hdr; break
9073 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9074 if test $ac_header_dirent = dirent.h; then
9075 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
9076 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
9077 if test "${ac_cv_search_opendir+set}" = set; then
9078 echo $ECHO_N "(cached
) $ECHO_C" >&6
9080 ac_func_search_save_LIBS=$LIBS
9081 cat >conftest.$ac_ext <<_ACEOF
9084 cat confdefs.h >>conftest.$ac_ext
9085 cat >>conftest.$ac_ext <<_ACEOF
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9103 for ac_lib in '' dir; do
9104 if test -z "$ac_lib"; then
9105 ac_res="none required
"
9108 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9110 rm -f conftest.$ac_objext conftest$ac_exeext
9111 if { (ac_try="$ac_link"
9113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9114 *) ac_try_echo=$ac_try;;
9116 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9117 (eval "$ac_link") 2>conftest.er1
9119 grep -v '^ *+' conftest.er1 >conftest.err
9121 cat conftest.err >&5
9122 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9123 (exit $ac_status); } && {
9124 test -z "$ac_c_werror_flag" ||
9125 test ! -s conftest.err
9126 } && test -s conftest$ac_exeext &&
9127 $as_test_x conftest$ac_exeext; then
9128 ac_cv_search_opendir=$ac_res
9130 echo "$as_me: failed program was
:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9138 if test "${ac_cv_search_opendir+set}" = set; then
9142 if test "${ac_cv_search_opendir+set}" = set; then
9145 ac_cv_search_opendir=no
9148 LIBS=$ac_func_search_save_LIBS
9150 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9151 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9152 ac_res=$ac_cv_search_opendir
9153 if test "$ac_res" != no; then
9154 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9159 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
9160 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
9161 if test "${ac_cv_search_opendir+set}" = set; then
9162 echo $ECHO_N "(cached
) $ECHO_C" >&6
9164 ac_func_search_save_LIBS=$LIBS
9165 cat >conftest.$ac_ext <<_ACEOF
9168 cat confdefs.h >>conftest.$ac_ext
9169 cat >>conftest.$ac_ext <<_ACEOF
9170 /* end confdefs.h. */
9172 /* Override any GCC internal prototype to avoid an error.
9173 Use char because int might match the return type of a GCC
9174 builtin and then its argument prototype would still apply. */
9187 for ac_lib in '' x; do
9188 if test -z "$ac_lib"; then
9189 ac_res="none required
"
9192 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9194 rm -f conftest.$ac_objext conftest$ac_exeext
9195 if { (ac_try="$ac_link"
9197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9198 *) ac_try_echo=$ac_try;;
9200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9201 (eval "$ac_link") 2>conftest.er1
9203 grep -v '^ *+' conftest.er1 >conftest.err
9205 cat conftest.err >&5
9206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9207 (exit $ac_status); } && {
9208 test -z "$ac_c_werror_flag" ||
9209 test ! -s conftest.err
9210 } && test -s conftest$ac_exeext &&
9211 $as_test_x conftest$ac_exeext; then
9212 ac_cv_search_opendir=$ac_res
9214 echo "$as_me: failed program was
:" >&5
9215 sed 's/^/| /' conftest.$ac_ext >&5
9220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9222 if test "${ac_cv_search_opendir+set}" = set; then
9226 if test "${ac_cv_search_opendir+set}" = set; then
9229 ac_cv_search_opendir=no
9232 LIBS=$ac_func_search_save_LIBS
9234 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9235 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9236 ac_res=$ac_cv_search_opendir
9237 if test "$ac_res" != no; then
9238 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9244 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
9245 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
9246 if test "${ac_cv_header_stdc+set}" = set; then
9247 echo $ECHO_N "(cached
) $ECHO_C" >&6
9249 cat >conftest.$ac_ext <<_ACEOF
9252 cat confdefs.h >>conftest.$ac_ext
9253 cat >>conftest.$ac_ext <<_ACEOF
9254 /* end confdefs.h. */
9268 rm -f conftest.$ac_objext
9269 if { (ac_try="$ac_compile"
9271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9272 *) ac_try_echo=$ac_try;;
9274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9275 (eval "$ac_compile") 2>conftest.er1
9277 grep -v '^ *+' conftest.er1 >conftest.err
9279 cat conftest.err >&5
9280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9281 (exit $ac_status); } && {
9282 test -z "$ac_c_werror_flag" ||
9283 test ! -s conftest.err
9284 } && test -s conftest.$ac_objext; then
9285 ac_cv_header_stdc=yes
9287 echo "$as_me: failed program was
:" >&5
9288 sed 's/^/| /' conftest.$ac_ext >&5
9290 ac_cv_header_stdc=no
9293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9295 if test $ac_cv_header_stdc = yes; then
9296 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9297 cat >conftest.$ac_ext <<_ACEOF
9300 cat confdefs.h >>conftest.$ac_ext
9301 cat >>conftest.$ac_ext <<_ACEOF
9302 /* end confdefs.h. */
9306 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9307 $EGREP "memchr
" >/dev/null 2>&1; then
9310 ac_cv_header_stdc=no
9316 if test $ac_cv_header_stdc = yes; then
9317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9318 cat >conftest.$ac_ext <<_ACEOF
9321 cat confdefs.h >>conftest.$ac_ext
9322 cat >>conftest.$ac_ext <<_ACEOF
9323 /* end confdefs.h. */
9327 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9328 $EGREP "free
" >/dev/null 2>&1; then
9331 ac_cv_header_stdc=no
9337 if test $ac_cv_header_stdc = yes; then
9338 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9339 if test "$cross_compiling" = yes; then
9342 cat >conftest.$ac_ext <<_ACEOF
9345 cat confdefs.h >>conftest.$ac_ext
9346 cat >>conftest.$ac_ext <<_ACEOF
9347 /* end confdefs.h. */
9350 #if ((' ' & 0x0FF) == 0x020)
9351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9354 # define ISLOWER(c) \
9355 (('a' <= (c) && (c) <= 'i') \
9356 || ('j' <= (c) && (c) <= 'r') \
9357 || ('s' <= (c) && (c) <= 'z'))
9358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9366 for (i = 0; i < 256; i++)
9367 if (XOR (islower (i), ISLOWER (i))
9368 || toupper (i) != TOUPPER (i))
9373 rm -f conftest$ac_exeext
9374 if { (ac_try="$ac_link"
9376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9377 *) ac_try_echo=$ac_try;;
9379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9380 (eval "$ac_link") 2>&5
9382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9384 { (case "(($ac_try" in
9385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9386 *) ac_try_echo=$ac_try;;
9388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9389 (eval "$ac_try") 2>&5
9391 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9392 (exit $ac_status); }; }; then
9395 echo "$as_me: program exited with status
$ac_status" >&5
9396 echo "$as_me: failed program was
:" >&5
9397 sed 's/^/| /' conftest.$ac_ext >&5
9400 ac_cv_header_stdc=no
9402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9408 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
9409 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
9410 if test $ac_cv_header_stdc = yes; then
9412 cat >>confdefs.h <<\_ACEOF
9413 #define STDC_HEADERS 1
9418 { echo "$as_me:$LINENO: checking
for sys
/wait.h that is POSIX
.1 compatible
" >&5
9419 echo $ECHO_N "checking
for sys
/wait.h that is POSIX
.1 compatible...
$ECHO_C" >&6; }
9420 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9421 echo $ECHO_N "(cached
) $ECHO_C" >&6
9423 cat >conftest.$ac_ext <<_ACEOF
9426 cat confdefs.h >>conftest.$ac_ext
9427 cat >>conftest.$ac_ext <<_ACEOF
9428 /* end confdefs.h. */
9429 #include <sys/types.h>
9430 #include <sys/wait.h>
9432 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9435 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9443 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9448 rm -f conftest.$ac_objext
9449 if { (ac_try="$ac_compile"
9451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9452 *) ac_try_echo=$ac_try;;
9454 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9455 (eval "$ac_compile") 2>conftest.er1
9457 grep -v '^ *+' conftest.er1 >conftest.err
9459 cat conftest.err >&5
9460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9461 (exit $ac_status); } && {
9462 test -z "$ac_c_werror_flag" ||
9463 test ! -s conftest.err
9464 } && test -s conftest.$ac_objext; then
9465 ac_cv_header_sys_wait_h=yes
9467 echo "$as_me: failed program was
:" >&5
9468 sed 's/^/| /' conftest.$ac_ext >&5
9470 ac_cv_header_sys_wait_h=no
9473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9475 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_wait_h" >&5
9476 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
9477 if test $ac_cv_header_sys_wait_h = yes; then
9479 cat >>confdefs.h <<\_ACEOF
9480 #define HAVE_SYS_WAIT_H 1
9508 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
9510 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9511 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9512 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9513 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9514 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9515 echo $ECHO_N "(cached
) $ECHO_C" >&6
9517 ac_res=`eval echo '${'$as_ac_Header'}'`
9518 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9519 echo "${ECHO_T}$ac_res" >&6; }
9521 # Is the header compilable?
9522 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9523 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
9524 cat >conftest.$ac_ext <<_ACEOF
9527 cat confdefs.h >>conftest.$ac_ext
9528 cat >>conftest.$ac_ext <<_ACEOF
9529 /* end confdefs.h. */
9530 $ac_includes_default
9531 #include <$ac_header>
9533 rm -f conftest.$ac_objext
9534 if { (ac_try="$ac_compile"
9536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9537 *) ac_try_echo=$ac_try;;
9539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9540 (eval "$ac_compile") 2>conftest.er1
9542 grep -v '^ *+' conftest.er1 >conftest.err
9544 cat conftest.err >&5
9545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9546 (exit $ac_status); } && {
9547 test -z "$ac_c_werror_flag" ||
9548 test ! -s conftest.err
9549 } && test -s conftest.$ac_objext; then
9550 ac_header_compiler=yes
9552 echo "$as_me: failed program was
:" >&5
9553 sed 's/^/| /' conftest.$ac_ext >&5
9555 ac_header_compiler=no
9558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9559 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9560 echo "${ECHO_T}$ac_header_compiler" >&6; }
9562 # Is the header present?
9563 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9564 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
9565 cat >conftest.$ac_ext <<_ACEOF
9568 cat confdefs.h >>conftest.$ac_ext
9569 cat >>conftest.$ac_ext <<_ACEOF
9570 /* end confdefs.h. */
9571 #include <$ac_header>
9573 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9576 *) ac_try_echo=$ac_try;;
9578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9579 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9581 grep -v '^ *+' conftest.er1 >conftest.err
9583 cat conftest.err >&5
9584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9585 (exit $ac_status); } >/dev/null && {
9586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9587 test ! -s conftest.err
9589 ac_header_preproc=yes
9591 echo "$as_me: failed program was
:" >&5
9592 sed 's/^/| /' conftest.$ac_ext >&5
9594 ac_header_preproc=no
9597 rm -f conftest.err conftest.$ac_ext
9598 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9599 echo "${ECHO_T}$ac_header_preproc" >&6; }
9601 # So? What about this header?
9602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9604 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9605 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9606 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9608 ac_header_preproc=yes
9611 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9612 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9613 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9614 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9615 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9616 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9617 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9618 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9619 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9621 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9622 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9626 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9627 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9628 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9629 echo $ECHO_N "(cached
) $ECHO_C" >&6
9631 eval "$as_ac_Header=\
$ac_header_preproc"
9633 ac_res=`eval echo '${'$as_ac_Header'}'`
9634 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9635 echo "${ECHO_T}$ac_res" >&6; }
9638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9639 cat >>confdefs.h <<_ACEOF
9640 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9648 # Check whether --enable-largefile was given.
9649 if test "${enable_largefile+set}" = set; then
9650 enableval=$enable_largefile;
9653 if test "$enable_largefile" != no; then
9655 { echo "$as_me:$LINENO: checking
for special C compiler options needed
for large files
" >&5
9656 echo $ECHO_N "checking
for special C compiler options needed
for large files...
$ECHO_C" >&6; }
9657 if test "${ac_cv_sys_largefile_CC+set}" = set; then
9658 echo $ECHO_N "(cached
) $ECHO_C" >&6
9660 ac_cv_sys_largefile_CC=no
9661 if test "$GCC" != yes; then
9664 # IRIX 6.2 and later do not support large files by default,
9665 # so use the C compiler's -n32 option if that helps.
9666 cat >conftest.$ac_ext <<_ACEOF
9669 cat confdefs.h >>conftest.$ac_ext
9670 cat >>conftest.$ac_ext <<_ACEOF
9671 /* end confdefs.h. */
9672 #include <sys/types.h>
9673 /* Check that off_t can represent 2**63 - 1 correctly.
9674 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9675 since some C++ compilers masquerading as C compilers
9676 incorrectly reject 9223372036854775807. */
9677 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9678 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9679 && LARGE_OFF_T % 2147483647 == 1)
9689 rm -f conftest.$ac_objext
9690 if { (ac_try="$ac_compile"
9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9695 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9696 (eval "$ac_compile") 2>conftest.er1
9698 grep -v '^ *+' conftest.er1 >conftest.err
9700 cat conftest.err >&5
9701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9702 (exit $ac_status); } && {
9703 test -z "$ac_c_werror_flag" ||
9704 test ! -s conftest.err
9705 } && test -s conftest.$ac_objext; then
9708 echo "$as_me: failed program was
:" >&5
9709 sed 's/^/| /' conftest.$ac_ext >&5
9714 rm -f core conftest.err conftest.$ac_objext
9716 rm -f conftest.$ac_objext
9717 if { (ac_try="$ac_compile"
9719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9720 *) ac_try_echo=$ac_try;;
9722 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9723 (eval "$ac_compile") 2>conftest.er1
9725 grep -v '^ *+' conftest.er1 >conftest.err
9727 cat conftest.err >&5
9728 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9729 (exit $ac_status); } && {
9730 test -z "$ac_c_werror_flag" ||
9731 test ! -s conftest.err
9732 } && test -s conftest.$ac_objext; then
9733 ac_cv_sys_largefile_CC=' -n32'; break
9735 echo "$as_me: failed program was
:" >&5
9736 sed 's/^/| /' conftest.$ac_ext >&5
9741 rm -f core conftest.err conftest.$ac_objext
9745 rm -f conftest.$ac_ext
9748 { echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_CC" >&5
9749 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
9750 if test "$ac_cv_sys_largefile_CC" != no; then
9751 CC=$CC$ac_cv_sys_largefile_CC
9754 { echo "$as_me:$LINENO: checking
for _FILE_OFFSET_BITS value needed
for large files
" >&5
9755 echo $ECHO_N "checking
for _FILE_OFFSET_BITS value needed
for large files...
$ECHO_C" >&6; }
9756 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9757 echo $ECHO_N "(cached
) $ECHO_C" >&6
9760 cat >conftest.$ac_ext <<_ACEOF
9763 cat confdefs.h >>conftest.$ac_ext
9764 cat >>conftest.$ac_ext <<_ACEOF
9765 /* end confdefs.h. */
9766 #include <sys/types.h>
9767 /* Check that off_t can represent 2**63 - 1 correctly.
9768 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9769 since some C++ compilers masquerading as C compilers
9770 incorrectly reject 9223372036854775807. */
9771 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9772 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9773 && LARGE_OFF_T % 2147483647 == 1)
9783 rm -f conftest.$ac_objext
9784 if { (ac_try="$ac_compile"
9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9787 *) ac_try_echo=$ac_try;;
9789 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9790 (eval "$ac_compile") 2>conftest.er1
9792 grep -v '^ *+' conftest.er1 >conftest.err
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9796 (exit $ac_status); } && {
9797 test -z "$ac_c_werror_flag" ||
9798 test ! -s conftest.err
9799 } && test -s conftest.$ac_objext; then
9800 ac_cv_sys_file_offset_bits=no; break
9802 echo "$as_me: failed program was
:" >&5
9803 sed 's/^/| /' conftest.$ac_ext >&5
9808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9809 cat >conftest.$ac_ext <<_ACEOF
9812 cat confdefs.h >>conftest.$ac_ext
9813 cat >>conftest.$ac_ext <<_ACEOF
9814 /* end confdefs.h. */
9815 #define _FILE_OFFSET_BITS 64
9816 #include <sys/types.h>
9817 /* Check that off_t can represent 2**63 - 1 correctly.
9818 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9819 since some C++ compilers masquerading as C compilers
9820 incorrectly reject 9223372036854775807. */
9821 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9822 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9823 && LARGE_OFF_T % 2147483647 == 1)
9833 rm -f conftest.$ac_objext
9834 if { (ac_try="$ac_compile"
9836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9837 *) ac_try_echo=$ac_try;;
9839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9840 (eval "$ac_compile") 2>conftest.er1
9842 grep -v '^ *+' conftest.er1 >conftest.err
9844 cat conftest.err >&5
9845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9846 (exit $ac_status); } && {
9847 test -z "$ac_c_werror_flag" ||
9848 test ! -s conftest.err
9849 } && test -s conftest.$ac_objext; then
9850 ac_cv_sys_file_offset_bits=64; break
9852 echo "$as_me: failed program was
:" >&5
9853 sed 's/^/| /' conftest.$ac_ext >&5
9858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9859 ac_cv_sys_file_offset_bits=unknown
9863 { echo "$as_me:$LINENO: result
: $ac_cv_sys_file_offset_bits" >&5
9864 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
9865 case $ac_cv_sys_file_offset_bits in #(
9868 cat >>confdefs.h <<_ACEOF
9869 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
9874 if test $ac_cv_sys_file_offset_bits = unknown; then
9875 { echo "$as_me:$LINENO: checking
for _LARGE_FILES value needed
for large files
" >&5
9876 echo $ECHO_N "checking
for _LARGE_FILES value needed
for large files...
$ECHO_C" >&6; }
9877 if test "${ac_cv_sys_large_files+set}" = set; then
9878 echo $ECHO_N "(cached
) $ECHO_C" >&6
9881 cat >conftest.$ac_ext <<_ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h. */
9887 #include <sys/types.h>
9888 /* Check that off_t can represent 2**63 - 1 correctly.
9889 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9890 since some C++ compilers masquerading as C compilers
9891 incorrectly reject 9223372036854775807. */
9892 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9893 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9894 && LARGE_OFF_T % 2147483647 == 1)
9904 rm -f conftest.$ac_objext
9905 if { (ac_try="$ac_compile"
9907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9908 *) ac_try_echo=$ac_try;;
9910 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9911 (eval "$ac_compile") 2>conftest.er1
9913 grep -v '^ *+' conftest.er1 >conftest.err
9915 cat conftest.err >&5
9916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9917 (exit $ac_status); } && {
9918 test -z "$ac_c_werror_flag" ||
9919 test ! -s conftest.err
9920 } && test -s conftest.$ac_objext; then
9921 ac_cv_sys_large_files=no; break
9923 echo "$as_me: failed program was
:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9930 cat >conftest.$ac_ext <<_ACEOF
9933 cat confdefs.h >>conftest.$ac_ext
9934 cat >>conftest.$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9936 #define _LARGE_FILES 1
9937 #include <sys/types.h>
9938 /* Check that off_t can represent 2**63 - 1 correctly.
9939 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9940 since some C++ compilers masquerading as C compilers
9941 incorrectly reject 9223372036854775807. */
9942 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9943 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9944 && LARGE_OFF_T % 2147483647 == 1)
9954 rm -f conftest.$ac_objext
9955 if { (ac_try="$ac_compile"
9957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9958 *) ac_try_echo=$ac_try;;
9960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9961 (eval "$ac_compile") 2>conftest.er1
9963 grep -v '^ *+' conftest.er1 >conftest.err
9965 cat conftest.err >&5
9966 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9967 (exit $ac_status); } && {
9968 test -z "$ac_c_werror_flag" ||
9969 test ! -s conftest.err
9970 } && test -s conftest.$ac_objext; then
9971 ac_cv_sys_large_files=1; break
9973 echo "$as_me: failed program was
:" >&5
9974 sed 's/^/| /' conftest.$ac_ext >&5
9979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9980 ac_cv_sys_large_files=unknown
9984 { echo "$as_me:$LINENO: result
: $ac_cv_sys_large_files" >&5
9985 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
9986 case $ac_cv_sys_large_files in #(
9989 cat >>confdefs.h <<_ACEOF
9990 #define _LARGE_FILES $ac_cv_sys_large_files
9999 # Checks for typedefs, structures, and compiler characteristics.
10000 { echo "$as_me:$LINENO: checking
for stdbool.h that conforms to C99
" >&5
10001 echo $ECHO_N "checking
for stdbool.h that conforms to C99...
$ECHO_C" >&6; }
10002 if test "${ac_cv_header_stdbool_h+set}" = set; then
10003 echo $ECHO_N "(cached
) $ECHO_C" >&6
10005 cat >conftest.$ac_ext <<_ACEOF
10008 cat confdefs.h >>conftest.$ac_ext
10009 cat >>conftest.$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10012 #include <stdbool.h>
10014 "error
: bool is not defined
"
10017 "error
: false is not defined
"
10020 "error
: false is not
0"
10023 "error
: true is not defined
"
10026 "error
: true is not
1"
10028 #ifndef __bool_true_false_are_defined
10029 "error
: __bool_true_false_are_defined is not defined
"
10032 struct s { _Bool s: 1; _Bool t; } s;
10034 char a[true == 1 ? 1 : -1];
10035 char b[false == 0 ? 1 : -1];
10036 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
10037 char d[(bool) 0.5 == true ? 1 : -1];
10039 char f[(_Bool) 0.0 == false ? 1 : -1];
10041 char h[sizeof (_Bool)];
10042 char i[sizeof s.t];
10043 enum { j = false, k = true, l = false * true, m = true * 256 };
10045 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
10046 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
10047 # if defined __xlc__ || defined __GNUC__
10048 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
10049 reported by James Lemley on 2005-10-05; see
10050 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
10051 This test is not quite right, since xlc is allowed to
10052 reject this program, as the initializer for xlcbug is
10053 not one of the forms that C requires support for.
10054 However, doing the test right would require a runtime
10055 test, and that would make cross-compilation harder.
10056 Let us hope that IBM fixes the xlc bug, and also adds
10057 support for this kind of constant expression. In the
10058 meantime, this test will reject xlc, which is OK, since
10059 our stdbool.h substitute should suffice. We also test
10060 this with GCC, where it should work, to detect more
10061 quickly whether someone messes up the test in the
10063 char digs[] = "0123456789";
10064 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
10066 /* Catch a bug in an HP-UX C compiler. See
10067 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
10068 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
10079 /* Refer to every declared value, to avoid compiler optimizations. */
10080 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
10081 + !m + !n + !o + !p + !q + !pq);
10087 rm -f conftest.$ac_objext
10088 if { (ac_try="$ac_compile"
10089 case "(($ac_try" in
10090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10091 *) ac_try_echo=$ac_try;;
10093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10094 (eval "$ac_compile") 2>conftest.er1
10096 grep -v '^ *+' conftest.er1 >conftest.err
10098 cat conftest.err >&5
10099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10100 (exit $ac_status); } && {
10101 test -z "$ac_c_werror_flag" ||
10102 test ! -s conftest.err
10103 } && test -s conftest.$ac_objext; then
10104 ac_cv_header_stdbool_h=yes
10106 echo "$as_me: failed program was
:" >&5
10107 sed 's/^/| /' conftest.$ac_ext >&5
10109 ac_cv_header_stdbool_h=no
10112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10114 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdbool_h" >&5
10115 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
10116 { echo "$as_me:$LINENO: checking
for _Bool
" >&5
10117 echo $ECHO_N "checking
for _Bool...
$ECHO_C" >&6; }
10118 if test "${ac_cv_type__Bool+set}" = set; then
10119 echo $ECHO_N "(cached
) $ECHO_C" >&6
10121 cat >conftest.$ac_ext <<_ACEOF
10124 cat confdefs.h >>conftest.$ac_ext
10125 cat >>conftest.$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10127 $ac_includes_default
10128 typedef _Bool ac__type_new_;
10132 if ((ac__type_new_ *) 0)
10134 if (sizeof (ac__type_new_))
10140 rm -f conftest.$ac_objext
10141 if { (ac_try="$ac_compile"
10142 case "(($ac_try" in
10143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10144 *) ac_try_echo=$ac_try;;
10146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10147 (eval "$ac_compile") 2>conftest.er1
10149 grep -v '^ *+' conftest.er1 >conftest.err
10151 cat conftest.err >&5
10152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10153 (exit $ac_status); } && {
10154 test -z "$ac_c_werror_flag" ||
10155 test ! -s conftest.err
10156 } && test -s conftest.$ac_objext; then
10157 ac_cv_type__Bool=yes
10159 echo "$as_me: failed program was
:" >&5
10160 sed 's/^/| /' conftest.$ac_ext >&5
10162 ac_cv_type__Bool=no
10165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10167 { echo "$as_me:$LINENO: result
: $ac_cv_type__Bool" >&5
10168 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
10169 if test $ac_cv_type__Bool = yes; then
10171 cat >>confdefs.h <<_ACEOF
10172 #define HAVE__BOOL 1
10178 if test $ac_cv_header_stdbool_h = yes; then
10180 cat >>confdefs.h <<\_ACEOF
10181 #define HAVE_STDBOOL_H 1
10186 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
10187 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
10188 if test "${ac_cv_c_const+set}" = set; then
10189 echo $ECHO_N "(cached
) $ECHO_C" >&6
10191 cat >conftest.$ac_ext <<_ACEOF
10194 cat confdefs.h >>conftest.$ac_ext
10195 cat >>conftest.$ac_ext <<_ACEOF
10196 /* end confdefs.h. */
10201 /* FIXME: Include the comments suggested by Paul. */
10202 #ifndef __cplusplus
10203 /* Ultrix mips cc rejects this. */
10204 typedef int charset[2];
10206 /* SunOS 4.1.1 cc rejects this. */
10207 char const *const *pcpcc;
10209 /* NEC SVR4.0.2 mips cc rejects this. */
10210 struct point {int x, y;};
10211 static struct point const zero = {0,0};
10212 /* AIX XL C 1.02.0.0 rejects this.
10213 It does not let you subtract one const X* pointer from another in
10214 an arm of an if-expression whose if-part is not a constant
10216 const char *g = "string
";
10217 pcpcc = &g + (g ? g-g : 0);
10218 /* HPUX 7.0 cc rejects these. */
10220 ppc = (char**) pcpcc;
10221 pcpcc = (char const *const *) ppc;
10222 { /* SCO 3.2v4 cc rejects this. */
10224 char const *s = 0 ? (char *) 0 : (char const *) 0;
10229 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10230 int x[] = {25, 17};
10231 const int *foo = &x[0];
10234 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10235 typedef const int *iptr;
10239 { /* AIX XL C 1.02.0.0 rejects this saying
10240 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10241 struct s { int j; const int *ap[3]; };
10242 struct s *b; b->j = 5;
10244 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10245 const int foo = 10;
10246 if (!foo) return 0;
10248 return !cs[0] && !zero.x;
10255 rm -f conftest.$ac_objext
10256 if { (ac_try="$ac_compile"
10257 case "(($ac_try" in
10258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10259 *) ac_try_echo=$ac_try;;
10261 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10262 (eval "$ac_compile") 2>conftest.er1
10264 grep -v '^ *+' conftest.er1 >conftest.err
10266 cat conftest.err >&5
10267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10268 (exit $ac_status); } && {
10269 test -z "$ac_c_werror_flag" ||
10270 test ! -s conftest.err
10271 } && test -s conftest.$ac_objext; then
10274 echo "$as_me: failed program was
:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10282 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
10283 echo "${ECHO_T}$ac_cv_c_const" >&6; }
10284 if test $ac_cv_c_const = no; then
10286 cat >>confdefs.h <<\_ACEOF
10292 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
10293 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
10294 if test "${ac_cv_type_uid_t+set}" = set; then
10295 echo $ECHO_N "(cached
) $ECHO_C" >&6
10297 cat >conftest.$ac_ext <<_ACEOF
10300 cat confdefs.h >>conftest.$ac_ext
10301 cat >>conftest.$ac_ext <<_ACEOF
10302 /* end confdefs.h. */
10303 #include <sys/types.h>
10306 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
10307 $EGREP "uid_t
" >/dev/null 2>&1; then
10308 ac_cv_type_uid_t=yes
10310 ac_cv_type_uid_t=no
10315 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
10316 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
10317 if test $ac_cv_type_uid_t = no; then
10319 cat >>confdefs.h <<\_ACEOF
10324 cat >>confdefs.h <<\_ACEOF
10330 { echo "$as_me:$LINENO: checking
for inline
" >&5
10331 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
10332 if test "${ac_cv_c_inline+set}" = set; then
10333 echo $ECHO_N "(cached
) $ECHO_C" >&6
10336 for ac_kw in inline __inline__ __inline; do
10337 cat >conftest.$ac_ext <<_ACEOF
10340 cat confdefs.h >>conftest.$ac_ext
10341 cat >>conftest.$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10343 #ifndef __cplusplus
10345 static $ac_kw foo_t static_foo () {return 0; }
10346 $ac_kw foo_t foo () {return 0; }
10350 rm -f conftest.$ac_objext
10351 if { (ac_try="$ac_compile"
10352 case "(($ac_try" in
10353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10354 *) ac_try_echo=$ac_try;;
10356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10357 (eval "$ac_compile") 2>conftest.er1
10359 grep -v '^ *+' conftest.er1 >conftest.err
10361 cat conftest.err >&5
10362 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10363 (exit $ac_status); } && {
10364 test -z "$ac_c_werror_flag" ||
10365 test ! -s conftest.err
10366 } && test -s conftest.$ac_objext; then
10367 ac_cv_c_inline=$ac_kw
10369 echo "$as_me: failed program was
:" >&5
10370 sed 's/^/| /' conftest.$ac_ext >&5
10375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10376 test "$ac_cv_c_inline" != no && break
10380 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
10381 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
10384 case $ac_cv_c_inline in
10387 case $ac_cv_c_inline in
10389 *) ac_val=$ac_cv_c_inline;;
10391 cat >>confdefs.h <<_ACEOF
10392 #ifndef __cplusplus
10393 #define inline $ac_val
10399 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
10400 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
10401 if test "${ac_cv_type_mode_t+set}" = set; then
10402 echo $ECHO_N "(cached
) $ECHO_C" >&6
10404 cat >conftest.$ac_ext <<_ACEOF
10407 cat confdefs.h >>conftest.$ac_ext
10408 cat >>conftest.$ac_ext <<_ACEOF
10409 /* end confdefs.h. */
10410 $ac_includes_default
10411 typedef mode_t ac__type_new_;
10415 if ((ac__type_new_ *) 0)
10417 if (sizeof (ac__type_new_))
10423 rm -f conftest.$ac_objext
10424 if { (ac_try="$ac_compile"
10425 case "(($ac_try" in
10426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10427 *) ac_try_echo=$ac_try;;
10429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10430 (eval "$ac_compile") 2>conftest.er1
10432 grep -v '^ *+' conftest.er1 >conftest.err
10434 cat conftest.err >&5
10435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10436 (exit $ac_status); } && {
10437 test -z "$ac_c_werror_flag" ||
10438 test ! -s conftest.err
10439 } && test -s conftest.$ac_objext; then
10440 ac_cv_type_mode_t=yes
10442 echo "$as_me: failed program was
:" >&5
10443 sed 's/^/| /' conftest.$ac_ext >&5
10445 ac_cv_type_mode_t=no
10448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10450 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
10451 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
10452 if test $ac_cv_type_mode_t = yes; then
10456 cat >>confdefs.h <<_ACEOF
10462 { echo "$as_me:$LINENO: checking
for off_t
" >&5
10463 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
10464 if test "${ac_cv_type_off_t+set}" = set; then
10465 echo $ECHO_N "(cached
) $ECHO_C" >&6
10467 cat >conftest.$ac_ext <<_ACEOF
10470 cat confdefs.h >>conftest.$ac_ext
10471 cat >>conftest.$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10473 $ac_includes_default
10474 typedef off_t ac__type_new_;
10478 if ((ac__type_new_ *) 0)
10480 if (sizeof (ac__type_new_))
10486 rm -f conftest.$ac_objext
10487 if { (ac_try="$ac_compile"
10488 case "(($ac_try" in
10489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10490 *) ac_try_echo=$ac_try;;
10492 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10493 (eval "$ac_compile") 2>conftest.er1
10495 grep -v '^ *+' conftest.er1 >conftest.err
10497 cat conftest.err >&5
10498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10499 (exit $ac_status); } && {
10500 test -z "$ac_c_werror_flag" ||
10501 test ! -s conftest.err
10502 } && test -s conftest.$ac_objext; then
10503 ac_cv_type_off_t=yes
10505 echo "$as_me: failed program was
:" >&5
10506 sed 's/^/| /' conftest.$ac_ext >&5
10508 ac_cv_type_off_t=no
10511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10513 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
10514 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
10515 if test $ac_cv_type_off_t = yes; then
10519 cat >>confdefs.h <<_ACEOF
10520 #define off_t long int
10525 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
10526 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
10527 if test "${ac_cv_type_pid_t+set}" = set; then
10528 echo $ECHO_N "(cached
) $ECHO_C" >&6
10530 cat >conftest.$ac_ext <<_ACEOF
10533 cat confdefs.h >>conftest.$ac_ext
10534 cat >>conftest.$ac_ext <<_ACEOF
10535 /* end confdefs.h. */
10536 $ac_includes_default
10537 typedef pid_t ac__type_new_;
10541 if ((ac__type_new_ *) 0)
10543 if (sizeof (ac__type_new_))
10549 rm -f conftest.$ac_objext
10550 if { (ac_try="$ac_compile"
10551 case "(($ac_try" in
10552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10553 *) ac_try_echo=$ac_try;;
10555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10556 (eval "$ac_compile") 2>conftest.er1
10558 grep -v '^ *+' conftest.er1 >conftest.err
10560 cat conftest.err >&5
10561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10562 (exit $ac_status); } && {
10563 test -z "$ac_c_werror_flag" ||
10564 test ! -s conftest.err
10565 } && test -s conftest.$ac_objext; then
10566 ac_cv_type_pid_t=yes
10568 echo "$as_me: failed program was
:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10571 ac_cv_type_pid_t=no
10574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10576 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
10577 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
10578 if test $ac_cv_type_pid_t = yes; then
10582 cat >>confdefs.h <<_ACEOF
10588 { echo "$as_me:$LINENO: checking
for size_t
" >&5
10589 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
10590 if test "${ac_cv_type_size_t+set}" = set; then
10591 echo $ECHO_N "(cached
) $ECHO_C" >&6
10593 cat >conftest.$ac_ext <<_ACEOF
10596 cat confdefs.h >>conftest.$ac_ext
10597 cat >>conftest.$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10599 $ac_includes_default
10600 typedef size_t ac__type_new_;
10604 if ((ac__type_new_ *) 0)
10606 if (sizeof (ac__type_new_))
10612 rm -f conftest.$ac_objext
10613 if { (ac_try="$ac_compile"
10614 case "(($ac_try" in
10615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10616 *) ac_try_echo=$ac_try;;
10618 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10619 (eval "$ac_compile") 2>conftest.er1
10621 grep -v '^ *+' conftest.er1 >conftest.err
10623 cat conftest.err >&5
10624 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10625 (exit $ac_status); } && {
10626 test -z "$ac_c_werror_flag" ||
10627 test ! -s conftest.err
10628 } && test -s conftest.$ac_objext; then
10629 ac_cv_type_size_t=yes
10631 echo "$as_me: failed program was
:" >&5
10632 sed 's/^/| /' conftest.$ac_ext >&5
10634 ac_cv_type_size_t=no
10637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10639 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
10640 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
10641 if test $ac_cv_type_size_t = yes; then
10645 cat >>confdefs.h <<_ACEOF
10646 #define size_t unsigned int
10651 { echo "$as_me:$LINENO: checking
for struct stat.st_blksize
" >&5
10652 echo $ECHO_N "checking
for struct stat.st_blksize...
$ECHO_C" >&6; }
10653 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
10654 echo $ECHO_N "(cached
) $ECHO_C" >&6
10656 cat >conftest.$ac_ext <<_ACEOF
10659 cat confdefs.h >>conftest.$ac_ext
10660 cat >>conftest.$ac_ext <<_ACEOF
10661 /* end confdefs.h. */
10662 $ac_includes_default
10666 static struct stat ac_aggr;
10667 if (ac_aggr.st_blksize)
10673 rm -f conftest.$ac_objext
10674 if { (ac_try="$ac_compile"
10675 case "(($ac_try" in
10676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10677 *) ac_try_echo=$ac_try;;
10679 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10680 (eval "$ac_compile") 2>conftest.er1
10682 grep -v '^ *+' conftest.er1 >conftest.err
10684 cat conftest.err >&5
10685 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10686 (exit $ac_status); } && {
10687 test -z "$ac_c_werror_flag" ||
10688 test ! -s conftest.err
10689 } && test -s conftest.$ac_objext; then
10690 ac_cv_member_struct_stat_st_blksize=yes
10692 echo "$as_me: failed program was
:" >&5
10693 sed 's/^/| /' conftest.$ac_ext >&5
10695 cat >conftest.$ac_ext <<_ACEOF
10698 cat confdefs.h >>conftest.$ac_ext
10699 cat >>conftest.$ac_ext <<_ACEOF
10700 /* end confdefs.h. */
10701 $ac_includes_default
10705 static struct stat ac_aggr;
10706 if (sizeof ac_aggr.st_blksize)
10712 rm -f conftest.$ac_objext
10713 if { (ac_try="$ac_compile"
10714 case "(($ac_try" in
10715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10716 *) ac_try_echo=$ac_try;;
10718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10719 (eval "$ac_compile") 2>conftest.er1
10721 grep -v '^ *+' conftest.er1 >conftest.err
10723 cat conftest.err >&5
10724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10725 (exit $ac_status); } && {
10726 test -z "$ac_c_werror_flag" ||
10727 test ! -s conftest.err
10728 } && test -s conftest.$ac_objext; then
10729 ac_cv_member_struct_stat_st_blksize=yes
10731 echo "$as_me: failed program was
:" >&5
10732 sed 's/^/| /' conftest.$ac_ext >&5
10734 ac_cv_member_struct_stat_st_blksize=no
10737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10742 { echo "$as_me:$LINENO: result
: $ac_cv_member_struct_stat_st_blksize" >&5
10743 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
10744 if test $ac_cv_member_struct_stat_st_blksize = yes; then
10746 cat >>confdefs.h <<_ACEOF
10747 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
10753 { echo "$as_me:$LINENO: checking whether
time.h and sys
/time.h may both be included
" >&5
10754 echo $ECHO_N "checking whether
time.h and sys
/time.h may both be included...
$ECHO_C" >&6; }
10755 if test "${ac_cv_header_time+set}" = set; then
10756 echo $ECHO_N "(cached
) $ECHO_C" >&6
10758 cat >conftest.$ac_ext <<_ACEOF
10761 cat confdefs.h >>conftest.$ac_ext
10762 cat >>conftest.$ac_ext <<_ACEOF
10763 /* end confdefs.h. */
10764 #include <sys/types.h>
10765 #include <sys/time.h>
10771 if ((struct tm *) 0)
10777 rm -f conftest.$ac_objext
10778 if { (ac_try="$ac_compile"
10779 case "(($ac_try" in
10780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10781 *) ac_try_echo=$ac_try;;
10783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10784 (eval "$ac_compile") 2>conftest.er1
10786 grep -v '^ *+' conftest.er1 >conftest.err
10788 cat conftest.err >&5
10789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10790 (exit $ac_status); } && {
10791 test -z "$ac_c_werror_flag" ||
10792 test ! -s conftest.err
10793 } && test -s conftest.$ac_objext; then
10794 ac_cv_header_time=yes
10796 echo "$as_me: failed program was
:" >&5
10797 sed 's/^/| /' conftest.$ac_ext >&5
10799 ac_cv_header_time=no
10802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10804 { echo "$as_me:$LINENO: result
: $ac_cv_header_time" >&5
10805 echo "${ECHO_T}$ac_cv_header_time" >&6; }
10806 if test $ac_cv_header_time = yes; then
10808 cat >>confdefs.h <<\_ACEOF
10809 #define TIME_WITH_SYS_TIME 1
10814 { echo "$as_me:$LINENO: checking whether struct tm is
in sys
/time.h or
time.h
" >&5
10815 echo $ECHO_N "checking whether struct tm is
in sys
/time.h or
time.h...
$ECHO_C" >&6; }
10816 if test "${ac_cv_struct_tm+set}" = set; then
10817 echo $ECHO_N "(cached
) $ECHO_C" >&6
10819 cat >conftest.$ac_ext <<_ACEOF
10822 cat confdefs.h >>conftest.$ac_ext
10823 cat >>conftest.$ac_ext <<_ACEOF
10824 /* end confdefs.h. */
10825 #include <sys/types.h>
10832 int *p = &tm.tm_sec;
10838 rm -f conftest.$ac_objext
10839 if { (ac_try="$ac_compile"
10840 case "(($ac_try" in
10841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10842 *) ac_try_echo=$ac_try;;
10844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10845 (eval "$ac_compile") 2>conftest.er1
10847 grep -v '^ *+' conftest.er1 >conftest.err
10849 cat conftest.err >&5
10850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10851 (exit $ac_status); } && {
10852 test -z "$ac_c_werror_flag" ||
10853 test ! -s conftest.err
10854 } && test -s conftest.$ac_objext; then
10855 ac_cv_struct_tm=time.h
10857 echo "$as_me: failed program was
:" >&5
10858 sed 's/^/| /' conftest.$ac_ext >&5
10860 ac_cv_struct_tm=sys/time.h
10863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10865 { echo "$as_me:$LINENO: result
: $ac_cv_struct_tm" >&5
10866 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
10867 if test $ac_cv_struct_tm = sys/time.h; then
10869 cat >>confdefs.h <<\_ACEOF
10870 #define TM_IN_SYS_TIME 1
10875 { echo "$as_me:$LINENO: checking
for working volatile
" >&5
10876 echo $ECHO_N "checking
for working volatile...
$ECHO_C" >&6; }
10877 if test "${ac_cv_c_volatile+set}" = set; then
10878 echo $ECHO_N "(cached
) $ECHO_C" >&6
10880 cat >conftest.$ac_ext <<_ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10892 int * volatile y = (int *) 0;
10898 rm -f conftest.$ac_objext
10899 if { (ac_try="$ac_compile"
10900 case "(($ac_try" in
10901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10902 *) ac_try_echo=$ac_try;;
10904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10905 (eval "$ac_compile") 2>conftest.er1
10907 grep -v '^ *+' conftest.er1 >conftest.err
10909 cat conftest.err >&5
10910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10911 (exit $ac_status); } && {
10912 test -z "$ac_c_werror_flag" ||
10913 test ! -s conftest.err
10914 } && test -s conftest.$ac_objext; then
10915 ac_cv_c_volatile=yes
10917 echo "$as_me: failed program was
:" >&5
10918 sed 's/^/| /' conftest.$ac_ext >&5
10920 ac_cv_c_volatile=no
10923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10925 { echo "$as_me:$LINENO: result
: $ac_cv_c_volatile" >&5
10926 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
10927 if test $ac_cv_c_volatile = no; then
10929 cat >>confdefs.h <<\_ACEOF
10935 { echo "$as_me:$LINENO: checking
for ptrdiff_t
" >&5
10936 echo $ECHO_N "checking
for ptrdiff_t...
$ECHO_C" >&6; }
10937 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10938 echo $ECHO_N "(cached
) $ECHO_C" >&6
10940 cat >conftest.$ac_ext <<_ACEOF
10943 cat confdefs.h >>conftest.$ac_ext
10944 cat >>conftest.$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10946 $ac_includes_default
10947 typedef ptrdiff_t ac__type_new_;
10951 if ((ac__type_new_ *) 0)
10953 if (sizeof (ac__type_new_))
10959 rm -f conftest.$ac_objext
10960 if { (ac_try="$ac_compile"
10961 case "(($ac_try" in
10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10963 *) ac_try_echo=$ac_try;;
10965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10966 (eval "$ac_compile") 2>conftest.er1
10968 grep -v '^ *+' conftest.er1 >conftest.err
10970 cat conftest.err >&5
10971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10972 (exit $ac_status); } && {
10973 test -z "$ac_c_werror_flag" ||
10974 test ! -s conftest.err
10975 } && test -s conftest.$ac_objext; then
10976 ac_cv_type_ptrdiff_t=yes
10978 echo "$as_me: failed program was
:" >&5
10979 sed 's/^/| /' conftest.$ac_ext >&5
10981 ac_cv_type_ptrdiff_t=no
10984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10986 { echo "$as_me:$LINENO: result
: $ac_cv_type_ptrdiff_t" >&5
10987 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
10988 if test $ac_cv_type_ptrdiff_t = yes; then
10990 cat >>confdefs.h <<_ACEOF
10991 #define HAVE_PTRDIFF_T 1
10998 # Checks for library functions.
11000 for ac_header in unistd.h
11002 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11003 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11004 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11005 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11006 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11007 echo $ECHO_N "(cached
) $ECHO_C" >&6
11009 ac_res=`eval echo '${'$as_ac_Header'}'`
11010 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11011 echo "${ECHO_T}$ac_res" >&6; }
11013 # Is the header compilable?
11014 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11015 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11016 cat >conftest.$ac_ext <<_ACEOF
11019 cat confdefs.h >>conftest.$ac_ext
11020 cat >>conftest.$ac_ext <<_ACEOF
11021 /* end confdefs.h. */
11022 $ac_includes_default
11023 #include <$ac_header>
11025 rm -f conftest.$ac_objext
11026 if { (ac_try="$ac_compile"
11027 case "(($ac_try" in
11028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11029 *) ac_try_echo=$ac_try;;
11031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11032 (eval "$ac_compile") 2>conftest.er1
11034 grep -v '^ *+' conftest.er1 >conftest.err
11036 cat conftest.err >&5
11037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11038 (exit $ac_status); } && {
11039 test -z "$ac_c_werror_flag" ||
11040 test ! -s conftest.err
11041 } && test -s conftest.$ac_objext; then
11042 ac_header_compiler=yes
11044 echo "$as_me: failed program was
:" >&5
11045 sed 's/^/| /' conftest.$ac_ext >&5
11047 ac_header_compiler=no
11050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11051 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11052 echo "${ECHO_T}$ac_header_compiler" >&6; }
11054 # Is the header present?
11055 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11056 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11057 cat >conftest.$ac_ext <<_ACEOF
11060 cat confdefs.h >>conftest.$ac_ext
11061 cat >>conftest.$ac_ext <<_ACEOF
11062 /* end confdefs.h. */
11063 #include <$ac_header>
11065 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11066 case "(($ac_try" in
11067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11068 *) ac_try_echo=$ac_try;;
11070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11071 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11073 grep -v '^ *+' conftest.er1 >conftest.err
11075 cat conftest.err >&5
11076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11077 (exit $ac_status); } >/dev/null && {
11078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11079 test ! -s conftest.err
11081 ac_header_preproc=yes
11083 echo "$as_me: failed program was
:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11086 ac_header_preproc=no
11089 rm -f conftest.err conftest.$ac_ext
11090 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11091 echo "${ECHO_T}$ac_header_preproc" >&6; }
11093 # So? What about this header?
11094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11096 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11097 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11098 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11099 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11100 ac_header_preproc=yes
11103 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11104 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11105 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11106 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11107 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11108 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11109 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11110 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11111 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11113 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11114 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11118 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11119 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11120 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11121 echo $ECHO_N "(cached
) $ECHO_C" >&6
11123 eval "$as_ac_Header=\
$ac_header_preproc"
11125 ac_res=`eval echo '${'$as_ac_Header'}'`
11126 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11127 echo "${ECHO_T}$ac_res" >&6; }
11130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11131 cat >>confdefs.h <<_ACEOF
11132 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11139 { echo "$as_me:$LINENO: checking
for working chown
" >&5
11140 echo $ECHO_N "checking
for working chown...
$ECHO_C" >&6; }
11141 if test "${ac_cv_func_chown_works+set}" = set; then
11142 echo $ECHO_N "(cached
) $ECHO_C" >&6
11144 if test "$cross_compiling" = yes; then
11145 ac_cv_func_chown_works=no
11147 cat >conftest.$ac_ext <<_ACEOF
11150 cat confdefs.h >>conftest.$ac_ext
11151 cat >>conftest.$ac_ext <<_ACEOF
11152 /* end confdefs.h. */
11153 $ac_includes_default
11159 char *f = "conftest.chown
";
11160 struct stat before, after;
11162 if (creat (f, 0600) < 0)
11164 if (stat (f, &before) < 0)
11166 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
11168 if (stat (f, &after) < 0)
11170 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
11176 rm -f conftest$ac_exeext
11177 if { (ac_try="$ac_link"
11178 case "(($ac_try" in
11179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11180 *) ac_try_echo=$ac_try;;
11182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11183 (eval "$ac_link") 2>&5
11185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11187 { (case "(($ac_try" in
11188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11189 *) ac_try_echo=$ac_try;;
11191 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11192 (eval "$ac_try") 2>&5
11194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11195 (exit $ac_status); }; }; then
11196 ac_cv_func_chown_works=yes
11198 echo "$as_me: program exited with status
$ac_status" >&5
11199 echo "$as_me: failed program was
:" >&5
11200 sed 's/^/| /' conftest.$ac_ext >&5
11202 ( exit $ac_status )
11203 ac_cv_func_chown_works=no
11205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11209 rm -f conftest.chown
11212 { echo "$as_me:$LINENO: result
: $ac_cv_func_chown_works" >&5
11213 echo "${ECHO_T}$ac_cv_func_chown_works" >&6; }
11214 if test $ac_cv_func_chown_works = yes; then
11216 cat >>confdefs.h <<\_ACEOF
11217 #define HAVE_CHOWN 1
11222 { echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
11223 echo $ECHO_N "checking whether closedir returns void...
$ECHO_C" >&6; }
11224 if test "${ac_cv_func_closedir_void+set}" = set; then
11225 echo $ECHO_N "(cached
) $ECHO_C" >&6
11227 if test "$cross_compiling" = yes; then
11228 ac_cv_func_closedir_void=yes
11230 cat >conftest.$ac_ext <<_ACEOF
11233 cat confdefs.h >>conftest.$ac_ext
11234 cat >>conftest.$ac_ext <<_ACEOF
11235 /* end confdefs.h. */
11236 $ac_includes_default
11237 #include <$ac_header_dirent>
11238 #ifndef __cplusplus
11245 return closedir (opendir (".
")) != 0;
11250 rm -f conftest$ac_exeext
11251 if { (ac_try="$ac_link"
11252 case "(($ac_try" in
11253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254 *) ac_try_echo=$ac_try;;
11256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11257 (eval "$ac_link") 2>&5
11259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11261 { (case "(($ac_try" in
11262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11263 *) ac_try_echo=$ac_try;;
11265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11266 (eval "$ac_try") 2>&5
11268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11269 (exit $ac_status); }; }; then
11270 ac_cv_func_closedir_void=no
11272 echo "$as_me: program exited with status
$ac_status" >&5
11273 echo "$as_me: failed program was
:" >&5
11274 sed 's/^/| /' conftest.$ac_ext >&5
11276 ( exit $ac_status )
11277 ac_cv_func_closedir_void=yes
11279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11284 { echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
11285 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
11286 if test $ac_cv_func_closedir_void = yes; then
11288 cat >>confdefs.h <<\_ACEOF
11289 #define CLOSEDIR_VOID 1
11294 { echo "$as_me:$LINENO: checking
for error_at_line
" >&5
11295 echo $ECHO_N "checking
for error_at_line...
$ECHO_C" >&6; }
11296 if test "${ac_cv_lib_error_at_line+set}" = set; then
11297 echo $ECHO_N "(cached
) $ECHO_C" >&6
11299 cat >conftest.$ac_ext <<_ACEOF
11302 cat confdefs.h >>conftest.$ac_ext
11303 cat >>conftest.$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11309 error_at_line (0, 0, "", 0, "an error occurred
");
11314 rm -f conftest.$ac_objext conftest$ac_exeext
11315 if { (ac_try="$ac_link"
11316 case "(($ac_try" in
11317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11318 *) ac_try_echo=$ac_try;;
11320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11321 (eval "$ac_link") 2>conftest.er1
11323 grep -v '^ *+' conftest.er1 >conftest.err
11325 cat conftest.err >&5
11326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11327 (exit $ac_status); } && {
11328 test -z "$ac_c_werror_flag" ||
11329 test ! -s conftest.err
11330 } && test -s conftest$ac_exeext &&
11331 $as_test_x conftest$ac_exeext; then
11332 ac_cv_lib_error_at_line=yes
11334 echo "$as_me: failed program was
:" >&5
11335 sed 's/^/| /' conftest.$ac_ext >&5
11337 ac_cv_lib_error_at_line=no
11340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11341 conftest$ac_exeext conftest.$ac_ext
11343 { echo "$as_me:$LINENO: result
: $ac_cv_lib_error_at_line" >&5
11344 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
11345 if test $ac_cv_lib_error_at_line = no; then
11346 case " $LIBOBJS " in
11347 *" error.
$ac_objext "* ) ;;
11348 *) LIBOBJS="$LIBOBJS error.
$ac_objext"
11355 for ac_header in vfork.h
11357 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11358 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11359 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11360 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11361 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11362 echo $ECHO_N "(cached
) $ECHO_C" >&6
11364 ac_res=`eval echo '${'$as_ac_Header'}'`
11365 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11366 echo "${ECHO_T}$ac_res" >&6; }
11368 # Is the header compilable?
11369 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11370 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11371 cat >conftest.$ac_ext <<_ACEOF
11374 cat confdefs.h >>conftest.$ac_ext
11375 cat >>conftest.$ac_ext <<_ACEOF
11376 /* end confdefs.h. */
11377 $ac_includes_default
11378 #include <$ac_header>
11380 rm -f conftest.$ac_objext
11381 if { (ac_try="$ac_compile"
11382 case "(($ac_try" in
11383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11387 (eval "$ac_compile") 2>conftest.er1
11389 grep -v '^ *+' conftest.er1 >conftest.err
11391 cat conftest.err >&5
11392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11393 (exit $ac_status); } && {
11394 test -z "$ac_c_werror_flag" ||
11395 test ! -s conftest.err
11396 } && test -s conftest.$ac_objext; then
11397 ac_header_compiler=yes
11399 echo "$as_me: failed program was
:" >&5
11400 sed 's/^/| /' conftest.$ac_ext >&5
11402 ac_header_compiler=no
11405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11406 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11407 echo "${ECHO_T}$ac_header_compiler" >&6; }
11409 # Is the header present?
11410 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11411 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11412 cat >conftest.$ac_ext <<_ACEOF
11415 cat confdefs.h >>conftest.$ac_ext
11416 cat >>conftest.$ac_ext <<_ACEOF
11417 /* end confdefs.h. */
11418 #include <$ac_header>
11420 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11421 case "(($ac_try" in
11422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11423 *) ac_try_echo=$ac_try;;
11425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11426 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11428 grep -v '^ *+' conftest.er1 >conftest.err
11430 cat conftest.err >&5
11431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11432 (exit $ac_status); } >/dev/null && {
11433 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11434 test ! -s conftest.err
11436 ac_header_preproc=yes
11438 echo "$as_me: failed program was
:" >&5
11439 sed 's/^/| /' conftest.$ac_ext >&5
11441 ac_header_preproc=no
11444 rm -f conftest.err conftest.$ac_ext
11445 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11446 echo "${ECHO_T}$ac_header_preproc" >&6; }
11448 # So? What about this header?
11449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11451 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11452 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11453 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11455 ac_header_preproc=yes
11458 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11459 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11460 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11461 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11462 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11463 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11464 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11465 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11466 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11468 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11469 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11473 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11474 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11475 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11476 echo $ECHO_N "(cached
) $ECHO_C" >&6
11478 eval "$as_ac_Header=\
$ac_header_preproc"
11480 ac_res=`eval echo '${'$as_ac_Header'}'`
11481 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11482 echo "${ECHO_T}$ac_res" >&6; }
11485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11486 cat >>confdefs.h <<_ACEOF
11487 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11496 for ac_func in fork vfork
11498 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11499 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11500 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11501 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11502 echo $ECHO_N "(cached
) $ECHO_C" >&6
11504 cat >conftest.$ac_ext <<_ACEOF
11507 cat confdefs.h >>conftest.$ac_ext
11508 cat >>conftest.$ac_ext <<_ACEOF
11509 /* end confdefs.h. */
11510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11512 #define $ac_func innocuous_$ac_func
11514 /* System header to define __stub macros and hopefully few prototypes,
11515 which can conflict with char $ac_func (); below.
11516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11517 <limits.h> exists even on freestanding compilers. */
11520 # include <limits.h>
11522 # include <assert.h>
11527 /* Override any GCC internal prototype to avoid an error.
11528 Use char because int might match the return type of a GCC
11529 builtin and then its argument prototype would still apply. */
11534 /* The GNU C library defines this for functions which it implements
11535 to always fail with ENOSYS. Some functions are actually named
11536 something starting with __ and the normal name is an alias. */
11537 #if defined __stub_$ac_func || defined __stub___$ac_func
11544 return $ac_func ();
11549 rm -f conftest.$ac_objext conftest$ac_exeext
11550 if { (ac_try="$ac_link"
11551 case "(($ac_try" in
11552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11553 *) ac_try_echo=$ac_try;;
11555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11556 (eval "$ac_link") 2>conftest.er1
11558 grep -v '^ *+' conftest.er1 >conftest.err
11560 cat conftest.err >&5
11561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11562 (exit $ac_status); } && {
11563 test -z "$ac_c_werror_flag" ||
11564 test ! -s conftest.err
11565 } && test -s conftest$ac_exeext &&
11566 $as_test_x conftest$ac_exeext; then
11567 eval "$as_ac_var=yes"
11569 echo "$as_me: failed program was
:" >&5
11570 sed 's/^/| /' conftest.$ac_ext >&5
11572 eval "$as_ac_var=no
"
11575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11576 conftest$ac_exeext conftest.$ac_ext
11578 ac_res=`eval echo '${'$as_ac_var'}'`
11579 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11580 echo "${ECHO_T}$ac_res" >&6; }
11581 if test `eval echo '${'$as_ac_var'}'` = yes; then
11582 cat >>confdefs.h <<_ACEOF
11583 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11589 if test "x
$ac_cv_func_fork" = xyes; then
11590 { echo "$as_me:$LINENO: checking
for working fork
" >&5
11591 echo $ECHO_N "checking
for working fork...
$ECHO_C" >&6; }
11592 if test "${ac_cv_func_fork_works+set}" = set; then
11593 echo $ECHO_N "(cached
) $ECHO_C" >&6
11595 if test "$cross_compiling" = yes; then
11596 ac_cv_func_fork_works=cross
11598 cat >conftest.$ac_ext <<_ACEOF
11601 cat confdefs.h >>conftest.$ac_ext
11602 cat >>conftest.$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11604 $ac_includes_default
11609 /* By Ruediger Kuhlmann. */
11610 return fork () < 0;
11616 rm -f conftest$ac_exeext
11617 if { (ac_try="$ac_link"
11618 case "(($ac_try" in
11619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11620 *) ac_try_echo=$ac_try;;
11622 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11623 (eval "$ac_link") 2>&5
11625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11627 { (case "(($ac_try" in
11628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11629 *) ac_try_echo=$ac_try;;
11631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11632 (eval "$ac_try") 2>&5
11634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11635 (exit $ac_status); }; }; then
11636 ac_cv_func_fork_works=yes
11638 echo "$as_me: program exited with status
$ac_status" >&5
11639 echo "$as_me: failed program was
:" >&5
11640 sed 's/^/| /' conftest.$ac_ext >&5
11642 ( exit $ac_status )
11643 ac_cv_func_fork_works=no
11645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11650 { echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
11651 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
11654 ac_cv_func_fork_works=$ac_cv_func_fork
11656 if test "x
$ac_cv_func_fork_works" = xcross; then
11658 *-*-amigaos* | *-*-msdosdjgpp* | *-*-uclinux* | *-*-linux-uclibc* )
11659 # Override, as these systems have only a dummy fork() stub
11660 ac_cv_func_fork_works=no
11663 ac_cv_func_fork_works=yes
11666 { echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
11667 echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
11669 ac_cv_func_vfork_works=$ac_cv_func_vfork
11670 if test "x
$ac_cv_func_vfork" = xyes; then
11671 { echo "$as_me:$LINENO: checking
for working vfork
" >&5
11672 echo $ECHO_N "checking
for working vfork...
$ECHO_C" >&6; }
11673 if test "${ac_cv_func_vfork_works+set}" = set; then
11674 echo $ECHO_N "(cached
) $ECHO_C" >&6
11676 if test "$cross_compiling" = yes; then
11677 ac_cv_func_vfork_works=cross
11679 cat >conftest.$ac_ext <<_ACEOF
11682 cat confdefs.h >>conftest.$ac_ext
11683 cat >>conftest.$ac_ext <<_ACEOF
11684 /* end confdefs.h. */
11685 /* Thanks to Paul Eggert for this test. */
11686 $ac_includes_default
11687 #include <sys/wait.h>
11688 #ifdef HAVE_VFORK_H
11689 # include <vfork.h>
11691 /* On some sparc systems, changes by the child to local and incoming
11692 argument registers are propagated back to the parent. The compiler
11693 is told about this with #include <vfork.h>, but some compilers
11694 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11695 static variable whose address is put into a register that is
11696 clobbered by the vfork. */
11699 sparc_address_test (int arg)
11701 sparc_address_test (arg) int arg;
11704 static pid_t child;
11722 pid_t parent = getpid ();
11725 sparc_address_test (0);
11730 /* Here is another test for sparc vfork register problems. This
11731 test uses lots of local variables, at least as many local
11732 variables as main has allocated so far including compiler
11733 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11734 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11735 reuse the register of parent for one of the local variables,
11736 since it will think that parent can't possibly be used any more
11737 in this routine. Assigning to the local variable will thus
11738 munge parent in the parent process. */
11740 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11741 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11742 /* Convince the compiler that p..p7 are live; otherwise, it might
11743 use the same hardware register for all 8 local variables. */
11744 if (p != p1 || p != p2 || p != p3 || p != p4
11745 || p != p5 || p != p6 || p != p7)
11748 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11749 from child file descriptors. If the child closes a descriptor
11750 before it execs or exits, this munges the parent's descriptor
11751 as well. Test for this by closing stdout in the child. */
11752 _exit(close(fileno(stdout)) != 0);
11757 while (wait(&status) != child)
11760 /* Was there some problem with vforking? */
11763 /* Did the child fail? (This shouldn't happen.) */
11766 /* Did the vfork/compiler bug occur? */
11767 || parent != getpid()
11769 /* Did the file descriptor bug occur? */
11770 || fstat(fileno(stdout), &st) != 0
11775 rm -f conftest$ac_exeext
11776 if { (ac_try="$ac_link"
11777 case "(($ac_try" in
11778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11779 *) ac_try_echo=$ac_try;;
11781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11782 (eval "$ac_link") 2>&5
11784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11786 { (case "(($ac_try" in
11787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11788 *) ac_try_echo=$ac_try;;
11790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11791 (eval "$ac_try") 2>&5
11793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11794 (exit $ac_status); }; }; then
11795 ac_cv_func_vfork_works=yes
11797 echo "$as_me: program exited with status
$ac_status" >&5
11798 echo "$as_me: failed program was
:" >&5
11799 sed 's/^/| /' conftest.$ac_ext >&5
11801 ( exit $ac_status )
11802 ac_cv_func_vfork_works=no
11804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11809 { echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
11810 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
11813 if test "x
$ac_cv_func_fork_works" = xcross; then
11814 ac_cv_func_vfork_works=$ac_cv_func_vfork
11815 { echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
11816 echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
11819 if test "x
$ac_cv_func_vfork_works" = xyes; then
11821 cat >>confdefs.h <<\_ACEOF
11822 #define HAVE_WORKING_VFORK 1
11827 cat >>confdefs.h <<\_ACEOF
11832 if test "x
$ac_cv_func_fork_works" = xyes; then
11834 cat >>confdefs.h <<\_ACEOF
11835 #define HAVE_WORKING_FORK 1
11840 { echo "$as_me:$LINENO: checking
for _LARGEFILE_SOURCE value needed
for large files
" >&5
11841 echo $ECHO_N "checking
for _LARGEFILE_SOURCE value needed
for large files...
$ECHO_C" >&6; }
11842 if test "${ac_cv_sys_largefile_source+set}" = set; then
11843 echo $ECHO_N "(cached
) $ECHO_C" >&6
11846 cat >conftest.$ac_ext <<_ACEOF
11849 cat confdefs.h >>conftest.$ac_ext
11850 cat >>conftest.$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11852 #include <sys/types.h> /* for off_t */
11857 int (*fp) (FILE *, off_t, int) = fseeko;
11858 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11863 rm -f conftest.$ac_objext conftest$ac_exeext
11864 if { (ac_try="$ac_link"
11865 case "(($ac_try" in
11866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11867 *) ac_try_echo=$ac_try;;
11869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11870 (eval "$ac_link") 2>conftest.er1
11872 grep -v '^ *+' conftest.er1 >conftest.err
11874 cat conftest.err >&5
11875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11876 (exit $ac_status); } && {
11877 test -z "$ac_c_werror_flag" ||
11878 test ! -s conftest.err
11879 } && test -s conftest$ac_exeext &&
11880 $as_test_x conftest$ac_exeext; then
11881 ac_cv_sys_largefile_source=no; break
11883 echo "$as_me: failed program was
:" >&5
11884 sed 's/^/| /' conftest.$ac_ext >&5
11889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11890 conftest$ac_exeext conftest.$ac_ext
11891 cat >conftest.$ac_ext <<_ACEOF
11894 cat confdefs.h >>conftest.$ac_ext
11895 cat >>conftest.$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11897 #define _LARGEFILE_SOURCE 1
11898 #include <sys/types.h> /* for off_t */
11903 int (*fp) (FILE *, off_t, int) = fseeko;
11904 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11909 rm -f conftest.$ac_objext conftest$ac_exeext
11910 if { (ac_try="$ac_link"
11911 case "(($ac_try" in
11912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11913 *) ac_try_echo=$ac_try;;
11915 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11916 (eval "$ac_link") 2>conftest.er1
11918 grep -v '^ *+' conftest.er1 >conftest.err
11920 cat conftest.err >&5
11921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11922 (exit $ac_status); } && {
11923 test -z "$ac_c_werror_flag" ||
11924 test ! -s conftest.err
11925 } && test -s conftest$ac_exeext &&
11926 $as_test_x conftest$ac_exeext; then
11927 ac_cv_sys_largefile_source=1; break
11929 echo "$as_me: failed program was
:" >&5
11930 sed 's/^/| /' conftest.$ac_ext >&5
11935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11936 conftest$ac_exeext conftest.$ac_ext
11937 ac_cv_sys_largefile_source=unknown
11941 { echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_source" >&5
11942 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
11943 case $ac_cv_sys_largefile_source in #(
11946 cat >>confdefs.h <<_ACEOF
11947 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
11953 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
11954 # in glibc 2.1.3, but that breaks too many other things.
11955 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
11956 if test $ac_cv_sys_largefile_source != unknown; then
11958 cat >>confdefs.h <<\_ACEOF
11959 #define HAVE_FSEEKO 1
11964 if test $ac_cv_c_compiler_gnu = yes; then
11965 { echo "$as_me:$LINENO: checking whether
$CC needs
-traditional" >&5
11966 echo $ECHO_N "checking whether
$CC needs
-traditional...
$ECHO_C" >&6; }
11967 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11968 echo $ECHO_N "(cached
) $ECHO_C" >&6
11970 ac_pattern="Autoconf.
*'x'"
11971 cat >conftest.$ac_ext <<_ACEOF
11974 cat confdefs.h >>conftest.$ac_ext
11975 cat >>conftest.$ac_ext <<_ACEOF
11976 /* end confdefs.h. */
11980 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
11981 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11982 ac_cv_prog_gcc_traditional=yes
11984 ac_cv_prog_gcc_traditional=no
11989 if test $ac_cv_prog_gcc_traditional = no; then
11990 cat >conftest.$ac_ext <<_ACEOF
11993 cat confdefs.h >>conftest.$ac_ext
11994 cat >>conftest.$ac_ext <<_ACEOF
11995 /* end confdefs.h. */
11996 #include <termio.h>
11999 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
12000 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12001 ac_cv_prog_gcc_traditional=yes
12007 { echo "$as_me:$LINENO: result
: $ac_cv_prog_gcc_traditional" >&5
12008 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
12009 if test $ac_cv_prog_gcc_traditional = yes; then
12010 CC="$CC -traditional"
12014 # XXX: these are commented out until we determine whether it matters if our malloc()
12015 # acts exactly like glibc's or not
12018 { echo "$as_me:$LINENO: checking
for working memcmp
" >&5
12019 echo $ECHO_N "checking
for working memcmp...
$ECHO_C" >&6; }
12020 if test "${ac_cv_func_memcmp_working+set}" = set; then
12021 echo $ECHO_N "(cached
) $ECHO_C" >&6
12023 if test "$cross_compiling" = yes; then
12024 ac_cv_func_memcmp_working=no
12026 cat >conftest.$ac_ext <<_ACEOF
12029 cat confdefs.h >>conftest.$ac_ext
12030 cat >>conftest.$ac_ext <<_ACEOF
12031 /* end confdefs.h. */
12032 $ac_includes_default
12037 /* Some versions of memcmp are not 8-bit clean. */
12038 char c0 = '\100', c1 = '\200', c2 = '\201';
12039 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12042 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12043 or more and with at least one buffer not starting on a 4-byte boundary.
12044 William Lewis provided this test program. */
12049 for (i = 0; i < 4; i++)
12053 strcpy (a, "--------01111111");
12054 strcpy (b, "--------10000000");
12055 if (memcmp (a, b, 16) >= 0)
12065 rm -f conftest$ac_exeext
12066 if { (ac_try="$ac_link"
12067 case "(($ac_try" in
12068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12069 *) ac_try_echo=$ac_try;;
12071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12072 (eval "$ac_link") 2>&5
12074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12076 { (case "(($ac_try" in
12077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12078 *) ac_try_echo=$ac_try;;
12080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12081 (eval "$ac_try") 2>&5
12083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12084 (exit $ac_status); }; }; then
12085 ac_cv_func_memcmp_working=yes
12087 echo "$as_me: program exited with status
$ac_status" >&5
12088 echo "$as_me: failed program was
:" >&5
12089 sed 's/^/| /' conftest.$ac_ext >&5
12091 ( exit $ac_status )
12092 ac_cv_func_memcmp_working=no
12094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12099 { echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
12100 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
12101 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12102 *" memcmp.
$ac_objext "* ) ;;
12103 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
12112 for ac_header in $ac_header_list
12114 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
12115 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12116 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12117 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12118 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12119 echo $ECHO_N "(cached
) $ECHO_C" >&6
12121 ac_res=`eval echo '${'$as_ac_Header'}'`
12122 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12123 echo "${ECHO_T}$ac_res" >&6; }
12125 # Is the header compilable?
12126 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12127 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12128 cat >conftest.$ac_ext <<_ACEOF
12131 cat confdefs.h >>conftest.$ac_ext
12132 cat >>conftest.$ac_ext <<_ACEOF
12133 /* end confdefs.h. */
12134 $ac_includes_default
12135 #include <$ac_header>
12137 rm -f conftest.$ac_objext
12138 if { (ac_try="$ac_compile"
12139 case "(($ac_try" in
12140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12141 *) ac_try_echo=$ac_try;;
12143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12144 (eval "$ac_compile") 2>conftest.er1
12146 grep -v '^ *+' conftest.er1 >conftest.err
12148 cat conftest.err >&5
12149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12150 (exit $ac_status); } && {
12151 test -z "$ac_c_werror_flag" ||
12152 test ! -s conftest.err
12153 } && test -s conftest.$ac_objext; then
12154 ac_header_compiler=yes
12156 echo "$as_me: failed program was
:" >&5
12157 sed 's/^/| /' conftest.$ac_ext >&5
12159 ac_header_compiler=no
12162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12163 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12164 echo "${ECHO_T}$ac_header_compiler" >&6; }
12166 # Is the header present?
12167 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12168 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12169 cat >conftest.$ac_ext <<_ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 #include <$ac_header>
12177 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12178 case "(($ac_try" in
12179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12180 *) ac_try_echo=$ac_try;;
12182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12183 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12185 grep -v '^ *+' conftest.er1 >conftest.err
12187 cat conftest.err >&5
12188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12189 (exit $ac_status); } >/dev/null && {
12190 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12191 test ! -s conftest.err
12193 ac_header_preproc=yes
12195 echo "$as_me: failed program was
:" >&5
12196 sed 's/^/| /' conftest.$ac_ext >&5
12198 ac_header_preproc=no
12201 rm -f conftest.err conftest.$ac_ext
12202 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12203 echo "${ECHO_T}$ac_header_preproc" >&6; }
12205 # So? What about this header?
12206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12208 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12209 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12210 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12212 ac_header_preproc=yes
12215 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12216 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12217 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12218 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12219 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12220 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12221 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12222 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12223 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12225 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12226 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12230 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12231 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12232 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12233 echo $ECHO_N "(cached
) $ECHO_C" >&6
12235 eval "$as_ac_Header=\
$ac_header_preproc"
12237 ac_res=`eval echo '${'$as_ac_Header'}'`
12238 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12239 echo "${ECHO_T}$ac_res" >&6; }
12242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12243 cat >>confdefs.h <<_ACEOF
12244 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12259 for ac_func in $ac_func_list
12261 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12262 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12263 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12264 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12265 echo $ECHO_N "(cached
) $ECHO_C" >&6
12267 cat >conftest.$ac_ext <<_ACEOF
12270 cat confdefs.h >>conftest.$ac_ext
12271 cat >>conftest.$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12275 #define $ac_func innocuous_$ac_func
12277 /* System header to define __stub macros and hopefully few prototypes,
12278 which can conflict with char $ac_func (); below.
12279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12280 <limits.h> exists even on freestanding compilers. */
12283 # include <limits.h>
12285 # include <assert.h>
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12297 /* The GNU C library defines this for functions which it implements
12298 to always fail with ENOSYS. Some functions are actually named
12299 something starting with __ and the normal name is an alias. */
12300 #if defined __stub_$ac_func || defined __stub___$ac_func
12307 return $ac_func ();
12312 rm -f conftest.$ac_objext conftest$ac_exeext
12313 if { (ac_try="$ac_link"
12314 case "(($ac_try" in
12315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12316 *) ac_try_echo=$ac_try;;
12318 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12319 (eval "$ac_link") 2>conftest.er1
12321 grep -v '^ *+' conftest.er1 >conftest.err
12323 cat conftest.err >&5
12324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12325 (exit $ac_status); } && {
12326 test -z "$ac_c_werror_flag" ||
12327 test ! -s conftest.err
12328 } && test -s conftest$ac_exeext &&
12329 $as_test_x conftest$ac_exeext; then
12330 eval "$as_ac_var=yes"
12332 echo "$as_me: failed program was
:" >&5
12333 sed 's/^/| /' conftest.$ac_ext >&5
12335 eval "$as_ac_var=no
"
12338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12339 conftest$ac_exeext conftest.$ac_ext
12341 ac_res=`eval echo '${'$as_ac_var'}'`
12342 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12343 echo "${ECHO_T}$ac_res" >&6; }
12344 if test `eval echo '${'$as_ac_var'}'` = yes; then
12345 cat >>confdefs.h <<_ACEOF
12346 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12368 { echo "$as_me:$LINENO: checking
for working mktime
" >&5
12369 echo $ECHO_N "checking
for working mktime...
$ECHO_C" >&6; }
12370 if test "${ac_cv_func_working_mktime+set}" = set; then
12371 echo $ECHO_N "(cached
) $ECHO_C" >&6
12373 if test "$cross_compiling" = yes; then
12374 ac_cv_func_working_mktime=no
12376 cat >conftest.$ac_ext <<_ACEOF
12379 cat confdefs.h >>conftest.$ac_ext
12380 cat >>conftest.$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12382 /* Test program from Paul Eggert and Tony Leneis. */
12383 #ifdef TIME_WITH_SYS_TIME
12384 # include <sys/time.h>
12387 # ifdef HAVE_SYS_TIME_H
12388 # include <sys/time.h>
12394 #include <stdlib.h>
12396 #ifdef HAVE_UNISTD_H
12397 # include <unistd.h>
12401 # define alarm(X) /* empty */
12404 /* Work around redefinition to rpl_putenv by other config tests. */
12407 static time_t time_t_max;
12408 static time_t time_t_min;
12410 /* Values we'll use to set the TZ environment variable. */
12411 static char *tz_strings[] = {
12412 (char *) 0, "TZ
=GMT0
", "TZ
=JST-9
",
12413 "TZ
=EST
+3EDT
+2,M10.1
.0/00:00:00,M2.3
.0/00:00:00"
12415 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
12417 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
12418 Based on a problem report from Andreas Jaeger. */
12420 spring_forward_gap ()
12422 /* glibc (up to about 1998-10-07) failed this test. */
12425 /* Use the portable POSIX.1 specification "TZ
=PST8PDT
,M4.1
.0,M10.5
.0"
12426 instead of "TZ
=America
/Vancouver
" in order to detect the bug even
12427 on systems that don't support the Olson extension, or don't have the
12428 full zoneinfo tables installed. */
12429 putenv ("TZ
=PST8PDT
,M4.1
.0,M10.5
.0");
12438 return mktime (&tm) != (time_t) -1;
12446 return ! (lt = localtime (&now)) || mktime (lt) == now;
12453 return (mktime_test1 (now)
12454 && mktime_test1 ((time_t) (time_t_max - now))
12455 && mktime_test1 ((time_t) (time_t_min + now)));
12461 /* Based on code from Ariel Faigon. */
12471 return tm.tm_mon == 2 && tm.tm_mday == 31;
12480 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
12481 now = mktime (&tm);
12482 if (now != (time_t) -1)
12484 struct tm *lt = localtime (&now);
12486 && lt->tm_year == tm.tm_year
12487 && lt->tm_mon == tm.tm_mon
12488 && lt->tm_mday == tm.tm_mday
12489 && lt->tm_hour == tm.tm_hour
12490 && lt->tm_min == tm.tm_min
12491 && lt->tm_sec == tm.tm_sec
12492 && lt->tm_yday == tm.tm_yday
12493 && lt->tm_wday == tm.tm_wday
12494 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
12495 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
12504 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
12505 ignoring leap seconds. */
12506 unsigned long int answer = 2527315200UL;
12510 tm.tm_year = 2050 - 1900;
12513 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
12516 /* Use the portable POSIX.1 specification "TZ
=PST8PDT
,M4.1
.0,M10.5
.0"
12517 instead of "TZ
=America
/Vancouver
" in order to detect the bug even
12518 on systems that don't support the Olson extension, or don't have the
12519 full zoneinfo tables installed. */
12520 putenv ("TZ
=PST8PDT
,M4.1
.0,M10.5
.0");
12524 /* Check that the result is either a failure, or close enough
12525 to the correct answer that we can assume the discrepancy is
12526 due to leap seconds. */
12527 return (t == (time_t) -1
12528 || (0 < t && answer - 120 <= t && t <= answer + 120));
12537 /* This test makes some buggy mktime implementations loop.
12538 Give up after 60 seconds; a mktime slower than that
12539 isn't worth using anyway. */
12542 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
12545 if ((time_t) -1 < 0)
12546 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
12548 delta = time_t_max / 997; /* a suitable prime number */
12549 for (i = 0; i < N_STRINGS; i++)
12552 putenv (tz_strings[i]);
12554 for (t = 0; t <= time_t_max - delta; t += delta)
12555 if (! mktime_test (t))
12557 if (! (mktime_test ((time_t) 1)
12558 && mktime_test ((time_t) (60 * 60))
12559 && mktime_test ((time_t) (60 * 60 * 24))))
12562 for (j = 1; 0 < j; j *= 2)
12563 if (! bigtime_test (j))
12565 if (! bigtime_test (j - 1))
12568 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
12571 rm -f conftest$ac_exeext
12572 if { (ac_try="$ac_link"
12573 case "(($ac_try" in
12574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12575 *) ac_try_echo=$ac_try;;
12577 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12578 (eval "$ac_link") 2>&5
12580 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12582 { (case "(($ac_try" in
12583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12584 *) ac_try_echo=$ac_try;;
12586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12587 (eval "$ac_try") 2>&5
12589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12590 (exit $ac_status); }; }; then
12591 ac_cv_func_working_mktime=yes
12593 echo "$as_me: program exited with status
$ac_status" >&5
12594 echo "$as_me: failed program was
:" >&5
12595 sed 's/^/| /' conftest.$ac_ext >&5
12597 ( exit $ac_status )
12598 ac_cv_func_working_mktime=no
12600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12605 { echo "$as_me:$LINENO: result
: $ac_cv_func_working_mktime" >&5
12606 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
12607 if test $ac_cv_func_working_mktime = no; then
12608 case " $LIBOBJS " in
12609 *" mktime.
$ac_objext "* ) ;;
12610 *) LIBOBJS="$LIBOBJS mktime.
$ac_objext"
12618 for ac_header in stdlib.h unistd.h
12620 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
12621 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12622 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12623 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12624 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12625 echo $ECHO_N "(cached
) $ECHO_C" >&6
12627 ac_res=`eval echo '${'$as_ac_Header'}'`
12628 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12629 echo "${ECHO_T}$ac_res" >&6; }
12631 # Is the header compilable?
12632 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12633 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12634 cat >conftest.$ac_ext <<_ACEOF
12637 cat confdefs.h >>conftest.$ac_ext
12638 cat >>conftest.$ac_ext <<_ACEOF
12639 /* end confdefs.h. */
12640 $ac_includes_default
12641 #include <$ac_header>
12643 rm -f conftest.$ac_objext
12644 if { (ac_try="$ac_compile"
12645 case "(($ac_try" in
12646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12647 *) ac_try_echo=$ac_try;;
12649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12650 (eval "$ac_compile") 2>conftest.er1
12652 grep -v '^ *+' conftest.er1 >conftest.err
12654 cat conftest.err >&5
12655 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12656 (exit $ac_status); } && {
12657 test -z "$ac_c_werror_flag" ||
12658 test ! -s conftest.err
12659 } && test -s conftest.$ac_objext; then
12660 ac_header_compiler=yes
12662 echo "$as_me: failed program was
:" >&5
12663 sed 's/^/| /' conftest.$ac_ext >&5
12665 ac_header_compiler=no
12668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12669 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12670 echo "${ECHO_T}$ac_header_compiler" >&6; }
12672 # Is the header present?
12673 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12674 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12675 cat >conftest.$ac_ext <<_ACEOF
12678 cat confdefs.h >>conftest.$ac_ext
12679 cat >>conftest.$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 #include <$ac_header>
12683 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12684 case "(($ac_try" in
12685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12686 *) ac_try_echo=$ac_try;;
12688 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12689 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12691 grep -v '^ *+' conftest.er1 >conftest.err
12693 cat conftest.err >&5
12694 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12695 (exit $ac_status); } >/dev/null && {
12696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12697 test ! -s conftest.err
12699 ac_header_preproc=yes
12701 echo "$as_me: failed program was
:" >&5
12702 sed 's/^/| /' conftest.$ac_ext >&5
12704 ac_header_preproc=no
12707 rm -f conftest.err conftest.$ac_ext
12708 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12709 echo "${ECHO_T}$ac_header_preproc" >&6; }
12711 # So? What about this header?
12712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12714 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12715 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12716 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12717 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12718 ac_header_preproc=yes
12721 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12722 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12723 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12724 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12725 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12726 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12727 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12728 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12729 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12731 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12732 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12736 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12737 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12738 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12739 echo $ECHO_N "(cached
) $ECHO_C" >&6
12741 eval "$as_ac_Header=\
$ac_header_preproc"
12743 ac_res=`eval echo '${'$as_ac_Header'}'`
12744 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12745 echo "${ECHO_T}$ac_res" >&6; }
12748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12749 cat >>confdefs.h <<_ACEOF
12750 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12758 for ac_func in getpagesize
12760 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12761 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12762 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12763 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12764 echo $ECHO_N "(cached
) $ECHO_C" >&6
12766 cat >conftest.$ac_ext <<_ACEOF
12769 cat confdefs.h >>conftest.$ac_ext
12770 cat >>conftest.$ac_ext <<_ACEOF
12771 /* end confdefs.h. */
12772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12774 #define $ac_func innocuous_$ac_func
12776 /* System header to define __stub macros and hopefully few prototypes,
12777 which can conflict with char $ac_func (); below.
12778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12779 <limits.h> exists even on freestanding compilers. */
12782 # include <limits.h>
12784 # include <assert.h>
12789 /* Override any GCC internal prototype to avoid an error.
12790 Use char because int might match the return type of a GCC
12791 builtin and then its argument prototype would still apply. */
12796 /* The GNU C library defines this for functions which it implements
12797 to always fail with ENOSYS. Some functions are actually named
12798 something starting with __ and the normal name is an alias. */
12799 #if defined __stub_$ac_func || defined __stub___$ac_func
12806 return $ac_func ();
12811 rm -f conftest.$ac_objext conftest$ac_exeext
12812 if { (ac_try="$ac_link"
12813 case "(($ac_try" in
12814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12815 *) ac_try_echo=$ac_try;;
12817 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12818 (eval "$ac_link") 2>conftest.er1
12820 grep -v '^ *+' conftest.er1 >conftest.err
12822 cat conftest.err >&5
12823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12824 (exit $ac_status); } && {
12825 test -z "$ac_c_werror_flag" ||
12826 test ! -s conftest.err
12827 } && test -s conftest$ac_exeext &&
12828 $as_test_x conftest$ac_exeext; then
12829 eval "$as_ac_var=yes"
12831 echo "$as_me: failed program was
:" >&5
12832 sed 's/^/| /' conftest.$ac_ext >&5
12834 eval "$as_ac_var=no
"
12837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12838 conftest$ac_exeext conftest.$ac_ext
12840 ac_res=`eval echo '${'$as_ac_var'}'`
12841 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12842 echo "${ECHO_T}$ac_res" >&6; }
12843 if test `eval echo '${'$as_ac_var'}'` = yes; then
12844 cat >>confdefs.h <<_ACEOF
12845 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12851 { echo "$as_me:$LINENO: checking
for working mmap
" >&5
12852 echo $ECHO_N "checking
for working mmap...
$ECHO_C" >&6; }
12853 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12854 echo $ECHO_N "(cached
) $ECHO_C" >&6
12856 if test "$cross_compiling" = yes; then
12857 ac_cv_func_mmap_fixed_mapped=no
12859 cat >conftest.$ac_ext <<_ACEOF
12862 cat confdefs.h >>conftest.$ac_ext
12863 cat >>conftest.$ac_ext <<_ACEOF
12864 /* end confdefs.h. */
12865 $ac_includes_default
12866 /* malloc might have been renamed as rpl_malloc. */
12869 /* Thanks to Mike Haertel and Jim Avera for this test.
12870 Here is a matrix of mmap possibilities:
12871 mmap private not fixed
12872 mmap private fixed at somewhere currently unmapped
12873 mmap private fixed at somewhere already mapped
12874 mmap shared not fixed
12875 mmap shared fixed at somewhere currently unmapped
12876 mmap shared fixed at somewhere already mapped
12877 For private mappings, we should verify that changes cannot be read()
12878 back from the file, nor mmap's back from the file at a different
12879 address. (There have been systems where private was not correctly
12880 implemented like the infamous i386 svr4.0, and systems where the
12881 VM page cache was not coherent with the file system buffer cache
12882 like early versions of FreeBSD and possibly contemporary NetBSD.)
12883 For shared mappings, we should conversely verify that changes get
12884 propagated back to all the places they're supposed to be.
12886 Grep wants private fixed already mapped.
12887 The main things grep needs to know about mmap are:
12888 * does it exist and is it safe to write into the mmap'd area
12889 * how to use it (BSD variants) */
12892 #include <sys/mman.h>
12894 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12898 /* This mess was copied from the GNU getpagesize.h. */
12899 #ifndef HAVE_GETPAGESIZE
12900 /* Assume that all systems that can run configure have sys/param.h. */
12901 # ifndef HAVE_SYS_PARAM_H
12902 # define HAVE_SYS_PARAM_H 1
12905 # ifdef _SC_PAGESIZE
12906 # define getpagesize() sysconf(_SC_PAGESIZE)
12907 # else /* no _SC_PAGESIZE */
12908 # ifdef HAVE_SYS_PARAM_H
12909 # include <sys/param.h>
12910 # ifdef EXEC_PAGESIZE
12911 # define getpagesize() EXEC_PAGESIZE
12912 # else /* no EXEC_PAGESIZE */
12914 # define getpagesize() NBPG * CLSIZE
12917 # endif /* no CLSIZE */
12918 # else /* no NBPG */
12920 # define getpagesize() NBPC
12921 # else /* no NBPC */
12923 # define getpagesize() PAGESIZE
12924 # endif /* PAGESIZE */
12925 # endif /* no NBPC */
12926 # endif /* no NBPG */
12927 # endif /* no EXEC_PAGESIZE */
12928 # else /* no HAVE_SYS_PARAM_H */
12929 # define getpagesize() 8192 /* punt totally */
12930 # endif /* no HAVE_SYS_PARAM_H */
12931 # endif /* no _SC_PAGESIZE */
12933 #endif /* no HAVE_GETPAGESIZE */
12938 char *data, *data2, *data3;
12942 pagesize = getpagesize ();
12944 /* First, make a file with some known garbage in it. */
12945 data = (char *) malloc (pagesize);
12948 for (i = 0; i < pagesize; ++i)
12949 *(data + i) = rand ();
12951 fd = creat ("conftest.mmap
", 0600);
12954 if (write (fd, data, pagesize) != pagesize)
12958 /* Next, try to mmap the file at a fixed address which already has
12959 something else allocated at it. If we can, also make sure that
12960 we see the same garbage. */
12961 fd = open ("conftest.mmap
", O_RDWR);
12964 data2 = (char *) malloc (2 * pagesize);
12967 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
12968 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12969 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12971 for (i = 0; i < pagesize; ++i)
12972 if (*(data + i) != *(data2 + i))
12975 /* Finally, make sure that changes to the mapped area do not
12976 percolate back to the file as seen by read(). (This is a bug on
12977 some variants of i386 svr4.0.) */
12978 for (i = 0; i < pagesize; ++i)
12979 *(data2 + i) = *(data2 + i) + 1;
12980 data3 = (char *) malloc (pagesize);
12983 if (read (fd, data3, pagesize) != pagesize)
12985 for (i = 0; i < pagesize; ++i)
12986 if (*(data + i) != *(data3 + i))
12992 rm -f conftest$ac_exeext
12993 if { (ac_try="$ac_link"
12994 case "(($ac_try" in
12995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12996 *) ac_try_echo=$ac_try;;
12998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12999 (eval "$ac_link") 2>&5
13001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13003 { (case "(($ac_try" in
13004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13005 *) ac_try_echo=$ac_try;;
13007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13008 (eval "$ac_try") 2>&5
13010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13011 (exit $ac_status); }; }; then
13012 ac_cv_func_mmap_fixed_mapped=yes
13014 echo "$as_me: program exited with status
$ac_status" >&5
13015 echo "$as_me: failed program was
:" >&5
13016 sed 's/^/| /' conftest.$ac_ext >&5
13018 ( exit $ac_status )
13019 ac_cv_func_mmap_fixed_mapped=no
13021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13026 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
13027 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
13028 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13030 cat >>confdefs.h <<\_ACEOF
13031 #define HAVE_MMAP 1
13035 rm -f conftest.mmap
13039 for ac_header in sys/select.h sys/socket.h
13041 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
13042 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13043 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
13044 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
13045 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13046 echo $ECHO_N "(cached
) $ECHO_C" >&6
13048 ac_res=`eval echo '${'$as_ac_Header'}'`
13049 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13050 echo "${ECHO_T}$ac_res" >&6; }
13052 # Is the header compilable?
13053 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
13054 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
13055 cat >conftest.$ac_ext <<_ACEOF
13058 cat confdefs.h >>conftest.$ac_ext
13059 cat >>conftest.$ac_ext <<_ACEOF
13060 /* end confdefs.h. */
13061 $ac_includes_default
13062 #include <$ac_header>
13064 rm -f conftest.$ac_objext
13065 if { (ac_try="$ac_compile"
13066 case "(($ac_try" in
13067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13068 *) ac_try_echo=$ac_try;;
13070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13071 (eval "$ac_compile") 2>conftest.er1
13073 grep -v '^ *+' conftest.er1 >conftest.err
13075 cat conftest.err >&5
13076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13077 (exit $ac_status); } && {
13078 test -z "$ac_c_werror_flag" ||
13079 test ! -s conftest.err
13080 } && test -s conftest.$ac_objext; then
13081 ac_header_compiler=yes
13083 echo "$as_me: failed program was
:" >&5
13084 sed 's/^/| /' conftest.$ac_ext >&5
13086 ac_header_compiler=no
13089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13090 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
13091 echo "${ECHO_T}$ac_header_compiler" >&6; }
13093 # Is the header present?
13094 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
13095 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
13096 cat >conftest.$ac_ext <<_ACEOF
13099 cat confdefs.h >>conftest.$ac_ext
13100 cat >>conftest.$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13102 #include <$ac_header>
13104 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13105 case "(($ac_try" in
13106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13107 *) ac_try_echo=$ac_try;;
13109 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13110 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13112 grep -v '^ *+' conftest.er1 >conftest.err
13114 cat conftest.err >&5
13115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13116 (exit $ac_status); } >/dev/null && {
13117 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13118 test ! -s conftest.err
13120 ac_header_preproc=yes
13122 echo "$as_me: failed program was
:" >&5
13123 sed 's/^/| /' conftest.$ac_ext >&5
13125 ac_header_preproc=no
13128 rm -f conftest.err conftest.$ac_ext
13129 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
13130 echo "${ECHO_T}$ac_header_preproc" >&6; }
13132 # So? What about this header?
13133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13135 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
13136 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
13137 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
13138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
13139 ac_header_preproc=yes
13142 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
13143 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
13144 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
13145 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
13146 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
13147 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
13148 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
13149 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
13150 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
13151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
13152 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
13153 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
13157 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
13158 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
13159 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13160 echo $ECHO_N "(cached
) $ECHO_C" >&6
13162 eval "$as_ac_Header=\
$ac_header_preproc"
13164 ac_res=`eval echo '${'$as_ac_Header'}'`
13165 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13166 echo "${ECHO_T}$ac_res" >&6; }
13169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13170 cat >>confdefs.h <<_ACEOF
13171 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
13178 { echo "$as_me:$LINENO: checking types of arguments
for select" >&5
13179 echo $ECHO_N "checking types of arguments
for select...
$ECHO_C" >&6; }
13180 if test "${ac_cv_func_select_args+set}" = set; then
13181 echo $ECHO_N "(cached
) $ECHO_C" >&6
13183 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
13184 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
13185 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
13186 cat >conftest.$ac_ext <<_ACEOF
13189 cat confdefs.h >>conftest.$ac_ext
13190 cat >>conftest.$ac_ext <<_ACEOF
13191 /* end confdefs.h. */
13192 $ac_includes_default
13193 #ifdef HAVE_SYS_SELECT_H
13194 # include <sys/select.h>
13196 #ifdef HAVE_SYS_SOCKET_H
13197 # include <sys/socket.h>
13203 extern int select ($ac_arg1,
13204 $ac_arg234, $ac_arg234, $ac_arg234,
13210 rm -f conftest.$ac_objext
13211 if { (ac_try="$ac_compile"
13212 case "(($ac_try" in
13213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13214 *) ac_try_echo=$ac_try;;
13216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13217 (eval "$ac_compile") 2>conftest.er1
13219 grep -v '^ *+' conftest.er1 >conftest.err
13221 cat conftest.err >&5
13222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13223 (exit $ac_status); } && {
13224 test -z "$ac_c_werror_flag" ||
13225 test ! -s conftest.err
13226 } && test -s conftest.$ac_objext; then
13227 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
13229 echo "$as_me: failed program was
:" >&5
13230 sed 's/^/| /' conftest.$ac_ext >&5
13235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13239 # Provide a safe default value.
13240 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
13243 { echo "$as_me:$LINENO: result
: $ac_cv_func_select_args" >&5
13244 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
13245 ac_save_IFS=$IFS; IFS=','
13246 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
13250 cat >>confdefs.h <<_ACEOF
13251 #define SELECT_TYPE_ARG1 $1
13255 cat >>confdefs.h <<_ACEOF
13256 #define SELECT_TYPE_ARG234 ($2)
13260 cat >>confdefs.h <<_ACEOF
13261 #define SELECT_TYPE_ARG5 ($3)
13266 { echo "$as_me:$LINENO: checking
for function prototypes
" >&5
13267 echo $ECHO_N "checking
for function prototypes...
$ECHO_C" >&6; }
13268 if test "$ac_cv_prog_cc_c89" != no; then
13269 { echo "$as_me:$LINENO: result
: yes" >&5
13270 echo "${ECHO_T}yes" >&6; }
13272 cat >>confdefs.h <<\_ACEOF
13273 #define PROTOTYPES 1
13277 cat >>confdefs.h <<\_ACEOF
13278 #define __PROTOTYPES 1
13282 { echo "$as_me:$LINENO: result
: no
" >&5
13283 echo "${ECHO_T}no
" >&6; }
13286 { echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed
" >&5
13287 echo $ECHO_N "checking whether setvbuf arguments are reversed...
$ECHO_C" >&6; }
13288 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
13289 echo $ECHO_N "(cached
) $ECHO_C" >&6
13291 ac_cv_func_setvbuf_reversed=no
13292 cat >conftest.$ac_ext <<_ACEOF
13295 cat confdefs.h >>conftest.$ac_ext
13296 cat >>conftest.$ac_ext <<_ACEOF
13297 /* end confdefs.h. */
13300 int (setvbuf) (FILE *, int, char *, size_t);
13305 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
13310 rm -f conftest.$ac_objext conftest$ac_exeext
13311 if { (ac_try="$ac_link"
13312 case "(($ac_try" in
13313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13314 *) ac_try_echo=$ac_try;;
13316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13317 (eval "$ac_link") 2>conftest.er1
13319 grep -v '^ *+' conftest.er1 >conftest.err
13321 cat conftest.err >&5
13322 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13323 (exit $ac_status); } && {
13324 test -z "$ac_c_werror_flag" ||
13325 test ! -s conftest.err
13326 } && test -s conftest$ac_exeext &&
13327 $as_test_x conftest$ac_exeext; then
13328 cat >conftest.$ac_ext <<_ACEOF
13331 cat confdefs.h >>conftest.$ac_ext
13332 cat >>conftest.$ac_ext <<_ACEOF
13333 /* end confdefs.h. */
13336 int (setvbuf) (FILE *, int, char *, size_t);
13341 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
13346 rm -f conftest.$ac_objext conftest$ac_exeext
13347 if { (ac_try="$ac_link"
13348 case "(($ac_try" in
13349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13350 *) ac_try_echo=$ac_try;;
13352 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13353 (eval "$ac_link") 2>conftest.er1
13355 grep -v '^ *+' conftest.er1 >conftest.err
13357 cat conftest.err >&5
13358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13359 (exit $ac_status); } && {
13360 test -z "$ac_c_werror_flag" ||
13361 test ! -s conftest.err
13362 } && test -s conftest$ac_exeext &&
13363 $as_test_x conftest$ac_exeext; then
13364 # It compiles and links either way, so it must not be declared
13365 # with a prototype and most likely this is a K&R C compiler.
13367 if test "$cross_compiling" = yes; then
13368 : # Assume setvbuf is not reversed when cross-compiling.
13370 cat >conftest.$ac_ext <<_ACEOF
13373 cat confdefs.h >>conftest.$ac_ext
13374 cat >>conftest.$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13376 $ac_includes_default
13380 /* This call has the arguments reversed.
13381 A reversed system may check and see that the address of buf
13382 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
13384 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
13387 return 0; /* Non-reversed systems SEGV here. */
13392 rm -f conftest$ac_exeext
13393 if { (ac_try="$ac_link"
13394 case "(($ac_try" in
13395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13396 *) ac_try_echo=$ac_try;;
13398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13399 (eval "$ac_link") 2>&5
13401 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13403 { (case "(($ac_try" in
13404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13405 *) ac_try_echo=$ac_try;;
13407 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13408 (eval "$ac_try") 2>&5
13410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13411 (exit $ac_status); }; }; then
13412 ac_cv_func_setvbuf_reversed=yes
13414 echo "$as_me: program exited with status
$ac_status" >&5
13415 echo "$as_me: failed program was
:" >&5
13416 sed 's/^/| /' conftest.$ac_ext >&5
13419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13423 ac_cv_func_setvbuf_reversed=yes
13425 echo "$as_me: failed program was
:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13432 conftest$ac_exeext conftest.$ac_ext
13434 echo "$as_me: failed program was
:" >&5
13435 sed 's/^/| /' conftest.$ac_ext >&5
13440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13441 conftest$ac_exeext conftest.$ac_ext
13443 { echo "$as_me:$LINENO: result
: $ac_cv_func_setvbuf_reversed" >&5
13444 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6; }
13445 if test $ac_cv_func_setvbuf_reversed = yes; then
13447 cat >>confdefs.h <<\_ACEOF
13448 #define SETVBUF_REVERSED 1
13453 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
13454 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
13455 if test "${ac_cv_type_signal+set}" = set; then
13456 echo $ECHO_N "(cached
) $ECHO_C" >&6
13458 cat >conftest.$ac_ext <<_ACEOF
13461 cat confdefs.h >>conftest.$ac_ext
13462 cat >>conftest.$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464 #include <sys/types.h>
13465 #include <signal.h>
13470 return *(signal (0, 0)) (0) == 1;
13475 rm -f conftest.$ac_objext
13476 if { (ac_try="$ac_compile"
13477 case "(($ac_try" in
13478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13479 *) ac_try_echo=$ac_try;;
13481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13482 (eval "$ac_compile") 2>conftest.er1
13484 grep -v '^ *+' conftest.er1 >conftest.err
13486 cat conftest.err >&5
13487 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13488 (exit $ac_status); } && {
13489 test -z "$ac_c_werror_flag" ||
13490 test ! -s conftest.err
13491 } && test -s conftest.$ac_objext; then
13492 ac_cv_type_signal=int
13494 echo "$as_me: failed program was
:" >&5
13495 sed 's/^/| /' conftest.$ac_ext >&5
13497 ac_cv_type_signal=void
13500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13502 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
13503 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
13505 cat >>confdefs.h <<_ACEOF
13506 #define RETSIGTYPE $ac_cv_type_signal
13510 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
13511 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash...
$ECHO_C" >&6; }
13512 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
13513 echo $ECHO_N "(cached
) $ECHO_C" >&6
13515 rm -f conftest.sym conftest.file
13516 echo >conftest.file
13517 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
13518 if test "$cross_compiling" = yes; then
13519 ac_cv_func_lstat_dereferences_slashed_symlink=no
13521 cat >conftest.$ac_ext <<_ACEOF
13524 cat confdefs.h >>conftest.$ac_ext
13525 cat >>conftest.$ac_ext <<_ACEOF
13526 /* end confdefs.h. */
13527 $ac_includes_default
13532 /* Linux will dereference the symlink and fail.
13533 That is better in the sense that it means we will not
13534 have to compile and use the lstat wrapper. */
13535 return lstat ("conftest.sym
/", &sbuf) == 0;
13540 rm -f conftest$ac_exeext
13541 if { (ac_try="$ac_link"
13542 case "(($ac_try" in
13543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13544 *) ac_try_echo=$ac_try;;
13546 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13547 (eval "$ac_link") 2>&5
13549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13551 { (case "(($ac_try" in
13552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13553 *) ac_try_echo=$ac_try;;
13555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13556 (eval "$ac_try") 2>&5
13558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 ac_cv_func_lstat_dereferences_slashed_symlink=yes
13562 echo "$as_me: program exited with status
$ac_status" >&5
13563 echo "$as_me: failed program was
:" >&5
13564 sed 's/^/| /' conftest.$ac_ext >&5
13566 ( exit $ac_status )
13567 ac_cv_func_lstat_dereferences_slashed_symlink=no
13569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13574 # If the `ln -s' command failed, then we probably don't even
13575 # have an lstat function.
13576 ac_cv_func_lstat_dereferences_slashed_symlink=no
13578 rm -f conftest.sym conftest.file
13581 { echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
13582 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
13584 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
13586 cat >>confdefs.h <<_ACEOF
13587 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
13591 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
13592 case " $LIBOBJS " in
13593 *" lstat.
$ac_objext "* ) ;;
13594 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
13600 { echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
13601 echo $ECHO_N "checking whether stat accepts an empty string...
$ECHO_C" >&6; }
13602 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
13603 echo $ECHO_N "(cached
) $ECHO_C" >&6
13605 if test "$cross_compiling" = yes; then
13606 ac_cv_func_stat_empty_string_bug=yes
13608 cat >conftest.$ac_ext <<_ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13614 $ac_includes_default
13619 return stat ("", &sbuf) == 0;
13624 rm -f conftest$ac_exeext
13625 if { (ac_try="$ac_link"
13626 case "(($ac_try" in
13627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13628 *) ac_try_echo=$ac_try;;
13630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13631 (eval "$ac_link") 2>&5
13633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13635 { (case "(($ac_try" in
13636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13637 *) ac_try_echo=$ac_try;;
13639 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13640 (eval "$ac_try") 2>&5
13642 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13643 (exit $ac_status); }; }; then
13644 ac_cv_func_stat_empty_string_bug=no
13646 echo "$as_me: program exited with status
$ac_status" >&5
13647 echo "$as_me: failed program was
:" >&5
13648 sed 's/^/| /' conftest.$ac_ext >&5
13650 ( exit $ac_status )
13651 ac_cv_func_stat_empty_string_bug=yes
13653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13658 { echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
13659 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
13660 if test $ac_cv_func_stat_empty_string_bug = yes; then
13661 case " $LIBOBJS " in
13662 *" stat.
$ac_objext "* ) ;;
13663 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
13668 cat >>confdefs.h <<_ACEOF
13669 #define HAVE_STAT_EMPTY_STRING_BUG 1
13674 { echo "$as_me:$LINENO: checking
for working strcoll
" >&5
13675 echo $ECHO_N "checking
for working strcoll...
$ECHO_C" >&6; }
13676 if test "${ac_cv_func_strcoll_works+set}" = set; then
13677 echo $ECHO_N "(cached
) $ECHO_C" >&6
13679 if test "$cross_compiling" = yes; then
13680 ac_cv_func_strcoll_works=no
13682 cat >conftest.$ac_ext <<_ACEOF
13685 cat confdefs.h >>conftest.$ac_ext
13686 cat >>conftest.$ac_ext <<_ACEOF
13687 /* end confdefs.h. */
13688 $ac_includes_default
13692 return (strcoll ("abc
", "def
") >= 0 ||
13693 strcoll ("ABC
", "DEF
") >= 0 ||
13694 strcoll ("123", "456") >= 0)
13699 rm -f conftest$ac_exeext
13700 if { (ac_try="$ac_link"
13701 case "(($ac_try" in
13702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13703 *) ac_try_echo=$ac_try;;
13705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13706 (eval "$ac_link") 2>&5
13708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13710 { (case "(($ac_try" in
13711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13712 *) ac_try_echo=$ac_try;;
13714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13715 (eval "$ac_try") 2>&5
13717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13718 (exit $ac_status); }; }; then
13719 ac_cv_func_strcoll_works=yes
13721 echo "$as_me: program exited with status
$ac_status" >&5
13722 echo "$as_me: failed program was
:" >&5
13723 sed 's/^/| /' conftest.$ac_ext >&5
13725 ( exit $ac_status )
13726 ac_cv_func_strcoll_works=no
13728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13733 { echo "$as_me:$LINENO: result
: $ac_cv_func_strcoll_works" >&5
13734 echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6; }
13735 if test $ac_cv_func_strcoll_works = yes; then
13737 cat >>confdefs.h <<\_ACEOF
13738 #define HAVE_STRCOLL 1
13744 for ac_func in strftime
13746 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13747 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
13748 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
13749 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
13750 echo $ECHO_N "(cached
) $ECHO_C" >&6
13752 cat >conftest.$ac_ext <<_ACEOF
13755 cat confdefs.h >>conftest.$ac_ext
13756 cat >>conftest.$ac_ext <<_ACEOF
13757 /* end confdefs.h. */
13758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13760 #define $ac_func innocuous_$ac_func
13762 /* System header to define __stub macros and hopefully few prototypes,
13763 which can conflict with char $ac_func (); below.
13764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13765 <limits.h> exists even on freestanding compilers. */
13768 # include <limits.h>
13770 # include <assert.h>
13775 /* Override any GCC internal prototype to avoid an error.
13776 Use char because int might match the return type of a GCC
13777 builtin and then its argument prototype would still apply. */
13782 /* The GNU C library defines this for functions which it implements
13783 to always fail with ENOSYS. Some functions are actually named
13784 something starting with __ and the normal name is an alias. */
13785 #if defined __stub_$ac_func || defined __stub___$ac_func
13792 return $ac_func ();
13797 rm -f conftest.$ac_objext conftest$ac_exeext
13798 if { (ac_try="$ac_link"
13799 case "(($ac_try" in
13800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13801 *) ac_try_echo=$ac_try;;
13803 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13804 (eval "$ac_link") 2>conftest.er1
13806 grep -v '^ *+' conftest.er1 >conftest.err
13808 cat conftest.err >&5
13809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13810 (exit $ac_status); } && {
13811 test -z "$ac_c_werror_flag" ||
13812 test ! -s conftest.err
13813 } && test -s conftest$ac_exeext &&
13814 $as_test_x conftest$ac_exeext; then
13815 eval "$as_ac_var=yes"
13817 echo "$as_me: failed program was
:" >&5
13818 sed 's/^/| /' conftest.$ac_ext >&5
13820 eval "$as_ac_var=no
"
13823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13824 conftest$ac_exeext conftest.$ac_ext
13826 ac_res=`eval echo '${'$as_ac_var'}'`
13827 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13828 echo "${ECHO_T}$ac_res" >&6; }
13829 if test `eval echo '${'$as_ac_var'}'` = yes; then
13830 cat >>confdefs.h <<_ACEOF
13831 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13835 # strftime is in -lintl on SCO UNIX.
13836 { echo "$as_me:$LINENO: checking
for strftime
in -lintl" >&5
13837 echo $ECHO_N "checking
for strftime
in -lintl...
$ECHO_C" >&6; }
13838 if test "${ac_cv_lib_intl_strftime+set}" = set; then
13839 echo $ECHO_N "(cached
) $ECHO_C" >&6
13841 ac_check_lib_save_LIBS=$LIBS
13842 LIBS="-lintl $LIBS"
13843 cat >conftest.$ac_ext <<_ACEOF
13846 cat confdefs.h >>conftest.$ac_ext
13847 cat >>conftest.$ac_ext <<_ACEOF
13848 /* end confdefs.h. */
13850 /* Override any GCC internal prototype to avoid an error.
13851 Use char because int might match the return type of a GCC
13852 builtin and then its argument prototype would still apply. */
13860 return strftime ();
13865 rm -f conftest.$ac_objext conftest$ac_exeext
13866 if { (ac_try="$ac_link"
13867 case "(($ac_try" in
13868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13869 *) ac_try_echo=$ac_try;;
13871 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13872 (eval "$ac_link") 2>conftest.er1
13874 grep -v '^ *+' conftest.er1 >conftest.err
13876 cat conftest.err >&5
13877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13878 (exit $ac_status); } && {
13879 test -z "$ac_c_werror_flag" ||
13880 test ! -s conftest.err
13881 } && test -s conftest$ac_exeext &&
13882 $as_test_x conftest$ac_exeext; then
13883 ac_cv_lib_intl_strftime=yes
13885 echo "$as_me: failed program was
:" >&5
13886 sed 's/^/| /' conftest.$ac_ext >&5
13888 ac_cv_lib_intl_strftime=no
13891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13892 conftest$ac_exeext conftest.$ac_ext
13893 LIBS=$ac_check_lib_save_LIBS
13895 { echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_strftime" >&5
13896 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
13897 if test $ac_cv_lib_intl_strftime = yes; then
13898 cat >>confdefs.h <<\_ACEOF
13899 #define HAVE_STRFTIME 1
13902 LIBS="-lintl $LIBS"
13908 { echo "$as_me:$LINENO: checking
for working strnlen
" >&5
13909 echo $ECHO_N "checking
for working strnlen...
$ECHO_C" >&6; }
13910 if test "${ac_cv_func_strnlen_working+set}" = set; then
13911 echo $ECHO_N "(cached
) $ECHO_C" >&6
13913 if test "$cross_compiling" = yes; then
13914 ac_cv_func_strnlen_working=no
13916 cat >conftest.$ac_ext <<_ACEOF
13919 cat confdefs.h >>conftest.$ac_ext
13920 cat >>conftest.$ac_ext <<_ACEOF
13921 /* end confdefs.h. */
13922 $ac_includes_default
13928 #define S_LEN (sizeof S - 1)
13930 /* At least one implementation is buggy: that of AIX 4.3 would
13931 give strnlen (S, 1) == 3. */
13934 for (i = 0; i < S_LEN + 1; ++i)
13936 int expected = i <= S_LEN ? i : S_LEN;
13937 if (strnlen (S, i) != expected)
13946 rm -f conftest$ac_exeext
13947 if { (ac_try="$ac_link"
13948 case "(($ac_try" in
13949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13950 *) ac_try_echo=$ac_try;;
13952 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13953 (eval "$ac_link") 2>&5
13955 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13957 { (case "(($ac_try" in
13958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13959 *) ac_try_echo=$ac_try;;
13961 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13962 (eval "$ac_try") 2>&5
13964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13965 (exit $ac_status); }; }; then
13966 ac_cv_func_strnlen_working=yes
13968 echo "$as_me: program exited with status
$ac_status" >&5
13969 echo "$as_me: failed program was
:" >&5
13970 sed 's/^/| /' conftest.$ac_ext >&5
13972 ( exit $ac_status )
13973 ac_cv_func_strnlen_working=no
13975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13980 { echo "$as_me:$LINENO: result
: $ac_cv_func_strnlen_working" >&5
13981 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6; }
13982 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
13983 *" strnlen.
$ac_objext "* ) ;;
13984 *) LIBOBJS="$LIBOBJS strnlen.
$ac_objext"
13989 { echo "$as_me:$LINENO: checking
for working strtod
" >&5
13990 echo $ECHO_N "checking
for working strtod...
$ECHO_C" >&6; }
13991 if test "${ac_cv_func_strtod+set}" = set; then
13992 echo $ECHO_N "(cached
) $ECHO_C" >&6
13994 if test "$cross_compiling" = yes; then
13995 ac_cv_func_strtod=no
13997 cat >conftest.$ac_ext <<_ACEOF
14000 cat confdefs.h >>conftest.$ac_ext
14001 cat >>conftest.$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14004 $ac_includes_default
14012 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
14013 char *string = " +69";
14016 value = strtod (string, &term);
14017 if (value != 69 || term != (string + 4))
14022 /* Under Solaris 2.4, strtod returns the wrong value for the
14023 terminating character under some conditions. */
14024 char *string = "NaN
";
14026 strtod (string, &term);
14027 if (term != string && *(term - 1) == 0)
14034 rm -f conftest$ac_exeext
14035 if { (ac_try="$ac_link"
14036 case "(($ac_try" in
14037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14038 *) ac_try_echo=$ac_try;;
14040 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14041 (eval "$ac_link") 2>&5
14043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14044 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14045 { (case "(($ac_try" in
14046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14047 *) ac_try_echo=$ac_try;;
14049 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14050 (eval "$ac_try") 2>&5
14052 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14053 (exit $ac_status); }; }; then
14054 ac_cv_func_strtod=yes
14056 echo "$as_me: program exited with status
$ac_status" >&5
14057 echo "$as_me: failed program was
:" >&5
14058 sed 's/^/| /' conftest.$ac_ext >&5
14060 ( exit $ac_status )
14061 ac_cv_func_strtod=no
14063 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14068 { echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
14069 echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
14070 if test $ac_cv_func_strtod = no; then
14071 case " $LIBOBJS " in
14072 *" strtod.
$ac_objext "* ) ;;
14073 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
14077 { echo "$as_me:$LINENO: checking
for pow
" >&5
14078 echo $ECHO_N "checking
for pow...
$ECHO_C" >&6; }
14079 if test "${ac_cv_func_pow+set}" = set; then
14080 echo $ECHO_N "(cached
) $ECHO_C" >&6
14082 cat >conftest.$ac_ext <<_ACEOF
14085 cat confdefs.h >>conftest.$ac_ext
14086 cat >>conftest.$ac_ext <<_ACEOF
14087 /* end confdefs.h. */
14088 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
14089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14090 #define pow innocuous_pow
14092 /* System header to define __stub macros and hopefully few prototypes,
14093 which can conflict with char pow (); below.
14094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14095 <limits.h> exists even on freestanding compilers. */
14098 # include <limits.h>
14100 # include <assert.h>
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14112 /* The GNU C library defines this for functions which it implements
14113 to always fail with ENOSYS. Some functions are actually named
14114 something starting with __ and the normal name is an alias. */
14115 #if defined __stub_pow || defined __stub___pow
14127 rm -f conftest.$ac_objext conftest$ac_exeext
14128 if { (ac_try="$ac_link"
14129 case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14134 (eval "$ac_link") 2>conftest.er1
14136 grep -v '^ *+' conftest.er1 >conftest.err
14138 cat conftest.err >&5
14139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14140 (exit $ac_status); } && {
14141 test -z "$ac_c_werror_flag" ||
14142 test ! -s conftest.err
14143 } && test -s conftest$ac_exeext &&
14144 $as_test_x conftest$ac_exeext; then
14147 echo "$as_me: failed program was
:" >&5
14148 sed 's/^/| /' conftest.$ac_ext >&5
14153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14154 conftest$ac_exeext conftest.$ac_ext
14156 { echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
14157 echo "${ECHO_T}$ac_cv_func_pow" >&6; }
14159 if test $ac_cv_func_pow = no; then
14160 { echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
14161 echo $ECHO_N "checking
for pow
in -lm...
$ECHO_C" >&6; }
14162 if test "${ac_cv_lib_m_pow+set}" = set; then
14163 echo $ECHO_N "(cached
) $ECHO_C" >&6
14165 ac_check_lib_save_LIBS=$LIBS
14167 cat >conftest.$ac_ext <<_ACEOF
14170 cat confdefs.h >>conftest.$ac_ext
14171 cat >>conftest.$ac_ext <<_ACEOF
14172 /* end confdefs.h. */
14174 /* Override any GCC internal prototype to avoid an error.
14175 Use char because int might match the return type of a GCC
14176 builtin and then its argument prototype would still apply. */
14189 rm -f conftest.$ac_objext conftest$ac_exeext
14190 if { (ac_try="$ac_link"
14191 case "(($ac_try" in
14192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14193 *) ac_try_echo=$ac_try;;
14195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14196 (eval "$ac_link") 2>conftest.er1
14198 grep -v '^ *+' conftest.er1 >conftest.err
14200 cat conftest.err >&5
14201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14202 (exit $ac_status); } && {
14203 test -z "$ac_c_werror_flag" ||
14204 test ! -s conftest.err
14205 } && test -s conftest$ac_exeext &&
14206 $as_test_x conftest$ac_exeext; then
14207 ac_cv_lib_m_pow=yes
14209 echo "$as_me: failed program was
:" >&5
14210 sed 's/^/| /' conftest.$ac_ext >&5
14215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14216 conftest$ac_exeext conftest.$ac_ext
14217 LIBS=$ac_check_lib_save_LIBS
14219 { echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
14220 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
14221 if test $ac_cv_lib_m_pow = yes; then
14224 { echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
14225 echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
14240 { echo "$as_me:$LINENO: checking whether utime accepts a null argument
" >&5
14241 echo $ECHO_N "checking whether utime accepts a null argument...
$ECHO_C" >&6; }
14242 if test "${ac_cv_func_utime_null+set}" = set; then
14243 echo $ECHO_N "(cached
) $ECHO_C" >&6
14245 rm -f conftest.data; >conftest.data
14246 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
14247 if test "$cross_compiling" = yes; then
14248 ac_cv_func_utime_null=no
14250 cat >conftest.$ac_ext <<_ACEOF
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14256 $ac_includes_default
14257 #ifdef HAVE_UTIME_H
14258 # include <utime.h>
14264 return ! (stat ("conftest.data
", &s) == 0
14265 && utime ("conftest.data
", 0) == 0
14266 && stat ("conftest.data
", &t) == 0
14267 && t.st_mtime >= s.st_mtime
14268 && t.st_mtime - s.st_mtime < 120);
14273 rm -f conftest$ac_exeext
14274 if { (ac_try="$ac_link"
14275 case "(($ac_try" in
14276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14277 *) ac_try_echo=$ac_try;;
14279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14280 (eval "$ac_link") 2>&5
14282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14284 { (case "(($ac_try" in
14285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14286 *) ac_try_echo=$ac_try;;
14288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14289 (eval "$ac_try") 2>&5
14291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_cv_func_utime_null=yes
14295 echo "$as_me: program exited with status
$ac_status" >&5
14296 echo "$as_me: failed program was
:" >&5
14297 sed 's/^/| /' conftest.$ac_ext >&5
14299 ( exit $ac_status )
14300 ac_cv_func_utime_null=no
14302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14307 { echo "$as_me:$LINENO: result
: $ac_cv_func_utime_null" >&5
14308 echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
14309 if test $ac_cv_func_utime_null = yes; then
14311 cat >>confdefs.h <<\_ACEOF
14312 #define HAVE_UTIME_NULL 1
14316 rm -f conftest.data
14319 for ac_func in vprintf
14321 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14322 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
14323 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
14324 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
14325 echo $ECHO_N "(cached
) $ECHO_C" >&6
14327 cat >conftest.$ac_ext <<_ACEOF
14330 cat confdefs.h >>conftest.$ac_ext
14331 cat >>conftest.$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14335 #define $ac_func innocuous_$ac_func
14337 /* System header to define __stub macros and hopefully few prototypes,
14338 which can conflict with char $ac_func (); below.
14339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14340 <limits.h> exists even on freestanding compilers. */
14343 # include <limits.h>
14345 # include <assert.h>
14350 /* Override any GCC internal prototype to avoid an error.
14351 Use char because int might match the return type of a GCC
14352 builtin and then its argument prototype would still apply. */
14357 /* The GNU C library defines this for functions which it implements
14358 to always fail with ENOSYS. Some functions are actually named
14359 something starting with __ and the normal name is an alias. */
14360 #if defined __stub_$ac_func || defined __stub___$ac_func
14367 return $ac_func ();
14372 rm -f conftest.$ac_objext conftest$ac_exeext
14373 if { (ac_try="$ac_link"
14374 case "(($ac_try" in
14375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14376 *) ac_try_echo=$ac_try;;
14378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14379 (eval "$ac_link") 2>conftest.er1
14381 grep -v '^ *+' conftest.er1 >conftest.err
14383 cat conftest.err >&5
14384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14385 (exit $ac_status); } && {
14386 test -z "$ac_c_werror_flag" ||
14387 test ! -s conftest.err
14388 } && test -s conftest$ac_exeext &&
14389 $as_test_x conftest$ac_exeext; then
14390 eval "$as_ac_var=yes"
14392 echo "$as_me: failed program was
:" >&5
14393 sed 's/^/| /' conftest.$ac_ext >&5
14395 eval "$as_ac_var=no
"
14398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14399 conftest$ac_exeext conftest.$ac_ext
14401 ac_res=`eval echo '${'$as_ac_var'}'`
14402 { echo "$as_me:$LINENO: result
: $ac_res" >&5
14403 echo "${ECHO_T}$ac_res" >&6; }
14404 if test `eval echo '${'$as_ac_var'}'` = yes; then
14405 cat >>confdefs.h <<_ACEOF
14406 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14409 { echo "$as_me:$LINENO: checking
for _doprnt
" >&5
14410 echo $ECHO_N "checking
for _doprnt...
$ECHO_C" >&6; }
14411 if test "${ac_cv_func__doprnt+set}" = set; then
14412 echo $ECHO_N "(cached
) $ECHO_C" >&6
14414 cat >conftest.$ac_ext <<_ACEOF
14417 cat confdefs.h >>conftest.$ac_ext
14418 cat >>conftest.$ac_ext <<_ACEOF
14419 /* end confdefs.h. */
14420 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
14421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14422 #define _doprnt innocuous__doprnt
14424 /* System header to define __stub macros and hopefully few prototypes,
14425 which can conflict with char _doprnt (); below.
14426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14427 <limits.h> exists even on freestanding compilers. */
14430 # include <limits.h>
14432 # include <assert.h>
14437 /* Override any GCC internal prototype to avoid an error.
14438 Use char because int might match the return type of a GCC
14439 builtin and then its argument prototype would still apply. */
14444 /* The GNU C library defines this for functions which it implements
14445 to always fail with ENOSYS. Some functions are actually named
14446 something starting with __ and the normal name is an alias. */
14447 #if defined __stub__doprnt || defined __stub____doprnt
14459 rm -f conftest.$ac_objext conftest$ac_exeext
14460 if { (ac_try="$ac_link"
14461 case "(($ac_try" in
14462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14463 *) ac_try_echo=$ac_try;;
14465 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14466 (eval "$ac_link") 2>conftest.er1
14468 grep -v '^ *+' conftest.er1 >conftest.err
14470 cat conftest.err >&5
14471 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14472 (exit $ac_status); } && {
14473 test -z "$ac_c_werror_flag" ||
14474 test ! -s conftest.err
14475 } && test -s conftest$ac_exeext &&
14476 $as_test_x conftest$ac_exeext; then
14477 ac_cv_func__doprnt=yes
14479 echo "$as_me: failed program was
:" >&5
14480 sed 's/^/| /' conftest.$ac_ext >&5
14482 ac_cv_func__doprnt=no
14485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14486 conftest$ac_exeext conftest.$ac_ext
14488 { echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
14489 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
14490 if test $ac_cv_func__doprnt = yes; then
14492 cat >>confdefs.h <<\_ACEOF
14493 #define HAVE_DOPRNT 1
14551 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
14553 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14554 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
14555 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
14556 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
14557 echo $ECHO_N "(cached
) $ECHO_C" >&6
14559 cat >conftest.$ac_ext <<_ACEOF
14562 cat confdefs.h >>conftest.$ac_ext
14563 cat >>conftest.$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14567 #define $ac_func innocuous_$ac_func
14569 /* System header to define __stub macros and hopefully few prototypes,
14570 which can conflict with char $ac_func (); below.
14571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14572 <limits.h> exists even on freestanding compilers. */
14575 # include <limits.h>
14577 # include <assert.h>
14582 /* Override any GCC internal prototype to avoid an error.
14583 Use char because int might match the return type of a GCC
14584 builtin and then its argument prototype would still apply. */
14589 /* The GNU C library defines this for functions which it implements
14590 to always fail with ENOSYS. Some functions are actually named
14591 something starting with __ and the normal name is an alias. */
14592 #if defined __stub_$ac_func || defined __stub___$ac_func
14599 return $ac_func ();
14604 rm -f conftest.$ac_objext conftest$ac_exeext
14605 if { (ac_try="$ac_link"
14606 case "(($ac_try" in
14607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14608 *) ac_try_echo=$ac_try;;
14610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14611 (eval "$ac_link") 2>conftest.er1
14613 grep -v '^ *+' conftest.er1 >conftest.err
14615 cat conftest.err >&5
14616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14617 (exit $ac_status); } && {
14618 test -z "$ac_c_werror_flag" ||
14619 test ! -s conftest.err
14620 } && test -s conftest$ac_exeext &&
14621 $as_test_x conftest$ac_exeext; then
14622 eval "$as_ac_var=yes"
14624 echo "$as_me: failed program was
:" >&5
14625 sed 's/^/| /' conftest.$ac_ext >&5
14627 eval "$as_ac_var=no
"
14630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14631 conftest$ac_exeext conftest.$ac_ext
14633 ac_res=`eval echo '${'$as_ac_var'}'`
14634 { echo "$as_me:$LINENO: result
: $ac_res" >&5
14635 echo "${ECHO_T}$ac_res" >&6; }
14636 if test `eval echo '${'$as_ac_var'}'` = yes; then
14637 cat >>confdefs.h <<_ACEOF
14638 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14645 # some systems already have gethostbyname_r so we don't need to build ours in main/utils.c
14647 for ac_func in gethostbyname_r
14649 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14650 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
14651 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
14652 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
14653 echo $ECHO_N "(cached
) $ECHO_C" >&6
14655 cat >conftest.$ac_ext <<_ACEOF
14658 cat confdefs.h >>conftest.$ac_ext
14659 cat >>conftest.$ac_ext <<_ACEOF
14660 /* end confdefs.h. */
14661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14663 #define $ac_func innocuous_$ac_func
14665 /* System header to define __stub macros and hopefully few prototypes,
14666 which can conflict with char $ac_func (); below.
14667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14668 <limits.h> exists even on freestanding compilers. */
14671 # include <limits.h>
14673 # include <assert.h>
14678 /* Override any GCC internal prototype to avoid an error.
14679 Use char because int might match the return type of a GCC
14680 builtin and then its argument prototype would still apply. */
14685 /* The GNU C library defines this for functions which it implements
14686 to always fail with ENOSYS. Some functions are actually named
14687 something starting with __ and the normal name is an alias. */
14688 #if defined __stub_$ac_func || defined __stub___$ac_func
14695 return $ac_func ();
14700 rm -f conftest.$ac_objext conftest$ac_exeext
14701 if { (ac_try="$ac_link"
14702 case "(($ac_try" in
14703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14704 *) ac_try_echo=$ac_try;;
14706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14707 (eval "$ac_link") 2>conftest.er1
14709 grep -v '^ *+' conftest.er1 >conftest.err
14711 cat conftest.err >&5
14712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14713 (exit $ac_status); } && {
14714 test -z "$ac_c_werror_flag" ||
14715 test ! -s conftest.err
14716 } && test -s conftest$ac_exeext &&
14717 $as_test_x conftest$ac_exeext; then
14718 eval "$as_ac_var=yes"
14720 echo "$as_me: failed program was
:" >&5
14721 sed 's/^/| /' conftest.$ac_ext >&5
14723 eval "$as_ac_var=no
"
14726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14727 conftest$ac_exeext conftest.$ac_ext
14729 ac_res=`eval echo '${'$as_ac_var'}'`
14730 { echo "$as_me:$LINENO: result
: $ac_res" >&5
14731 echo "${ECHO_T}$ac_res" >&6; }
14732 if test `eval echo '${'$as_ac_var'}'` = yes; then
14733 cat >>confdefs.h <<_ACEOF
14734 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14741 { echo "$as_me:$LINENO: checking
for PTHREAD_RWLOCK_INITIALIZER
" >&5
14742 echo $ECHO_N "checking
for PTHREAD_RWLOCK_INITIALIZER...
$ECHO_C" >&6; }
14743 cat >conftest.$ac_ext <<_ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14749 #include <pthread.h>
14753 int foo = PTHREAD_RWLOCK_INITIALIZER;
14758 rm -f conftest.$ac_objext conftest$ac_exeext
14759 if { (ac_try="$ac_link"
14760 case "(($ac_try" in
14761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14762 *) ac_try_echo=$ac_try;;
14764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14765 (eval "$ac_link") 2>conftest.er1
14767 grep -v '^ *+' conftest.er1 >conftest.err
14769 cat conftest.err >&5
14770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14771 (exit $ac_status); } && {
14772 test -z "$ac_c_werror_flag" ||
14773 test ! -s conftest.err
14774 } && test -s conftest$ac_exeext &&
14775 $as_test_x conftest$ac_exeext; then
14776 { echo "$as_me:$LINENO: result
: yes" >&5
14777 echo "${ECHO_T}yes" >&6; }
14779 cat >>confdefs.h <<\_ACEOF
14780 #define HAVE_PTHREAD_RWLOCK_INITIALIZER 1
14784 echo "$as_me: failed program was
:" >&5
14785 sed 's/^/| /' conftest.$ac_ext >&5
14787 { echo "$as_me:$LINENO: result
: no
" >&5
14788 echo "${ECHO_T}no
" >&6; }
14792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14793 conftest$ac_exeext conftest.$ac_ext
14795 { echo "$as_me:$LINENO: checking
for PTHREAD_RWLOCK_PREFER_WRITER_NP
" >&5
14796 echo $ECHO_N "checking
for PTHREAD_RWLOCK_PREFER_WRITER_NP...
$ECHO_C" >&6; }
14797 cat >conftest.$ac_ext <<_ACEOF
14800 cat confdefs.h >>conftest.$ac_ext
14801 cat >>conftest.$ac_ext <<_ACEOF
14802 /* end confdefs.h. */
14803 #include <pthread.h>
14807 int foo = PTHREAD_RWLOCK_PREFER_WRITER_NP;
14812 rm -f conftest.$ac_objext conftest$ac_exeext
14813 if { (ac_try="$ac_link"
14814 case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14818 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14819 (eval "$ac_link") 2>conftest.er1
14821 grep -v '^ *+' conftest.er1 >conftest.err
14823 cat conftest.err >&5
14824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14825 (exit $ac_status); } && {
14826 test -z "$ac_c_werror_flag" ||
14827 test ! -s conftest.err
14828 } && test -s conftest$ac_exeext &&
14829 $as_test_x conftest$ac_exeext; then
14830 { echo "$as_me:$LINENO: result
: yes" >&5
14831 echo "${ECHO_T}yes" >&6; }
14833 cat >>confdefs.h <<\_ACEOF
14834 #define HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP 1
14838 echo "$as_me: failed program was
:" >&5
14839 sed 's/^/| /' conftest.$ac_ext >&5
14841 { echo "$as_me:$LINENO: result
: no
" >&5
14842 echo "${ECHO_T}no
" >&6; }
14846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14847 conftest$ac_exeext conftest.$ac_ext
14849 { echo "$as_me:$LINENO: checking
for compiler atomic operations
" >&5
14850 echo $ECHO_N "checking
for compiler atomic operations...
$ECHO_C" >&6; }
14851 cat >conftest.$ac_ext <<_ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14861 int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);
14866 rm -f conftest.$ac_objext conftest$ac_exeext
14867 if { (ac_try="$ac_link"
14868 case "(($ac_try" in
14869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14870 *) ac_try_echo=$ac_try;;
14872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14873 (eval "$ac_link") 2>conftest.er1
14875 grep -v '^ *+' conftest.er1 >conftest.err
14877 cat conftest.err >&5
14878 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14879 (exit $ac_status); } && {
14880 test -z "$ac_c_werror_flag" ||
14881 test ! -s conftest.err
14882 } && test -s conftest$ac_exeext &&
14883 $as_test_x conftest$ac_exeext; then
14884 { echo "$as_me:$LINENO: result
: yes" >&5
14885 echo "${ECHO_T}yes" >&6; }
14887 cat >>confdefs.h <<\_ACEOF
14888 #define HAVE_GCC_ATOMICS 1
14892 echo "$as_me: failed program was
:" >&5
14893 sed 's/^/| /' conftest.$ac_ext >&5
14895 { echo "$as_me:$LINENO: result
: no
" >&5
14896 echo "${ECHO_T}no
" >&6; }
14900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14901 conftest$ac_exeext conftest.$ac_ext
14904 { echo "$as_me:$LINENO: checking
for compiler
'attribute pure' support
" >&5
14905 echo $ECHO_N "checking
for compiler
'attribute pure' support...
$ECHO_C" >&6; }
14906 cat >conftest.$ac_ext <<_ACEOF
14909 cat confdefs.h >>conftest.$ac_ext
14910 cat >>conftest.$ac_ext <<_ACEOF
14911 /* end confdefs.h. */
14912 static int __attribute__((pure)) test(void) {}
14921 rm -f conftest.$ac_objext
14922 if { (ac_try="$ac_compile"
14923 case "(($ac_try" in
14924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14925 *) ac_try_echo=$ac_try;;
14927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14928 (eval "$ac_compile") 2>conftest.er1
14930 grep -v '^ *+' conftest.er1 >conftest.err
14932 cat conftest.err >&5
14933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14934 (exit $ac_status); } && {
14935 test -z "$ac_c_werror_flag" ||
14936 test ! -s conftest.err
14937 } && test -s conftest.$ac_objext; then
14938 { echo "$as_me:$LINENO: result
: yes" >&5
14939 echo "${ECHO_T}yes" >&6; }
14941 cat >>confdefs.h <<_ACEOF
14942 #define HAVE_ATTRIBUTE_pure 1
14946 echo "$as_me: failed program was
:" >&5
14947 sed 's/^/| /' conftest.$ac_ext >&5
14949 { echo "$as_me:$LINENO: result
: no
" >&5
14950 echo "${ECHO_T}no
" >&6; }
14953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14956 { echo "$as_me:$LINENO: checking
for compiler
'attribute malloc' support
" >&5
14957 echo $ECHO_N "checking
for compiler
'attribute malloc' support...
$ECHO_C" >&6; }
14958 cat >conftest.$ac_ext <<_ACEOF
14961 cat confdefs.h >>conftest.$ac_ext
14962 cat >>conftest.$ac_ext <<_ACEOF
14963 /* end confdefs.h. */
14964 static int __attribute__((malloc)) test(void) {}
14973 rm -f conftest.$ac_objext
14974 if { (ac_try="$ac_compile"
14975 case "(($ac_try" in
14976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14977 *) ac_try_echo=$ac_try;;
14979 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14980 (eval "$ac_compile") 2>conftest.er1
14982 grep -v '^ *+' conftest.er1 >conftest.err
14984 cat conftest.err >&5
14985 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14986 (exit $ac_status); } && {
14987 test -z "$ac_c_werror_flag" ||
14988 test ! -s conftest.err
14989 } && test -s conftest.$ac_objext; then
14990 { echo "$as_me:$LINENO: result
: yes" >&5
14991 echo "${ECHO_T}yes" >&6; }
14993 cat >>confdefs.h <<_ACEOF
14994 #define HAVE_ATTRIBUTE_malloc 1
14998 echo "$as_me: failed program was
:" >&5
14999 sed 's/^/| /' conftest.$ac_ext >&5
15001 { echo "$as_me:$LINENO: result
: no
" >&5
15002 echo "${ECHO_T}no
" >&6; }
15005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15008 { echo "$as_me:$LINENO: checking
for compiler
'attribute const' support
" >&5
15009 echo $ECHO_N "checking
for compiler
'attribute const' support...
$ECHO_C" >&6; }
15010 cat >conftest.$ac_ext <<_ACEOF
15013 cat confdefs.h >>conftest.$ac_ext
15014 cat >>conftest.$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15016 static int __attribute__((const)) test(void) {}
15025 rm -f conftest.$ac_objext
15026 if { (ac_try="$ac_compile"
15027 case "(($ac_try" in
15028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15029 *) ac_try_echo=$ac_try;;
15031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15032 (eval "$ac_compile") 2>conftest.er1
15034 grep -v '^ *+' conftest.er1 >conftest.err
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15038 (exit $ac_status); } && {
15039 test -z "$ac_c_werror_flag" ||
15040 test ! -s conftest.err
15041 } && test -s conftest.$ac_objext; then
15042 { echo "$as_me:$LINENO: result
: yes" >&5
15043 echo "${ECHO_T}yes" >&6; }
15045 cat >>confdefs.h <<_ACEOF
15046 #define HAVE_ATTRIBUTE_const 1
15050 echo "$as_me: failed program was
:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15053 { echo "$as_me:$LINENO: result
: no
" >&5
15054 echo "${ECHO_T}no
" >&6; }
15057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15060 { echo "$as_me:$LINENO: checking
for compiler
'attribute unused' support
" >&5
15061 echo $ECHO_N "checking
for compiler
'attribute unused' support...
$ECHO_C" >&6; }
15062 cat >conftest.$ac_ext <<_ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15068 static int __attribute__((unused)) test(void) {}
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15086 grep -v '^ *+' conftest.er1 >conftest.err
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 { echo "$as_me:$LINENO: result
: yes" >&5
15095 echo "${ECHO_T}yes" >&6; }
15097 cat >>confdefs.h <<_ACEOF
15098 #define HAVE_ATTRIBUTE_unused 1
15102 echo "$as_me: failed program was
:" >&5
15103 sed 's/^/| /' conftest.$ac_ext >&5
15105 { echo "$as_me:$LINENO: result
: no
" >&5
15106 echo "${ECHO_T}no
" >&6; }
15109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15112 { echo "$as_me:$LINENO: checking
for compiler
'attribute always_inline' support
" >&5
15113 echo $ECHO_N "checking
for compiler
'attribute always_inline' support...
$ECHO_C" >&6; }
15114 cat >conftest.$ac_ext <<_ACEOF
15117 cat confdefs.h >>conftest.$ac_ext
15118 cat >>conftest.$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15120 static int __attribute__((always_inline)) test(void) {}
15129 rm -f conftest.$ac_objext
15130 if { (ac_try="$ac_compile"
15131 case "(($ac_try" in
15132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15133 *) ac_try_echo=$ac_try;;
15135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15136 (eval "$ac_compile") 2>conftest.er1
15138 grep -v '^ *+' conftest.er1 >conftest.err
15140 cat conftest.err >&5
15141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15142 (exit $ac_status); } && {
15143 test -z "$ac_c_werror_flag" ||
15144 test ! -s conftest.err
15145 } && test -s conftest.$ac_objext; then
15146 { echo "$as_me:$LINENO: result
: yes" >&5
15147 echo "${ECHO_T}yes" >&6; }
15149 cat >>confdefs.h <<_ACEOF
15150 #define HAVE_ATTRIBUTE_always_inline 1
15154 echo "$as_me: failed program was
:" >&5
15155 sed 's/^/| /' conftest.$ac_ext >&5
15157 { echo "$as_me:$LINENO: result
: no
" >&5
15158 echo "${ECHO_T}no
" >&6; }
15161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15164 { echo "$as_me:$LINENO: checking
for -ffunction-sections support
" >&5
15165 echo $ECHO_N "checking
for -ffunction-sections support...
$ECHO_C" >&6; }
15166 saved_CFLAGS="${CFLAGS}"
15167 CFLAGS="${CFLAGS} -ffunction-sections"
15168 cat >conftest.$ac_ext <<_ACEOF
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15183 rm -f conftest.$ac_objext
15184 if { (ac_try="$ac_compile"
15185 case "(($ac_try" in
15186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15187 *) ac_try_echo=$ac_try;;
15189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15190 (eval "$ac_compile") 2>conftest.er1
15192 grep -v '^ *+' conftest.er1 >conftest.err
15194 cat conftest.err >&5
15195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15196 (exit $ac_status); } && {
15197 test -z "$ac_c_werror_flag" ||
15198 test ! -s conftest.err
15199 } && test -s conftest.$ac_objext; then
15200 { echo "$as_me:$LINENO: result
: yes" >&5
15201 echo "${ECHO_T}yes" >&6; }
15202 saved_LDFLAGS="${LDFLAGS}"
15203 LDFLAGS="${LDFLAGS} -Wl,--gc-sections"
15204 { echo "$as_me:$LINENO: checking
for --gc-sections support
" >&5
15205 echo $ECHO_N "checking
for --gc-sections support...
$ECHO_C" >&6; }
15206 cat >conftest.$ac_ext <<_ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15221 rm -f conftest.$ac_objext conftest$ac_exeext
15222 if { (ac_try="$ac_link"
15223 case "(($ac_try" in
15224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15225 *) ac_try_echo=$ac_try;;
15227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15228 (eval "$ac_link") 2>conftest.er1
15230 grep -v '^ *+' conftest.er1 >conftest.err
15232 cat conftest.err >&5
15233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15234 (exit $ac_status); } && {
15235 test -z "$ac_c_werror_flag" ||
15236 test ! -s conftest.err
15237 } && test -s conftest$ac_exeext &&
15238 $as_test_x conftest$ac_exeext; then
15239 { echo "$as_me:$LINENO: result
: yes" >&5
15240 echo "${ECHO_T}yes" >&6; }
15241 GC_CFLAGS="-ffunction-sections"
15242 GC_LDFLAGS="-Wl,--gc-sections"
15244 echo "$as_me: failed program was
:" >&5
15245 sed 's/^/| /' conftest.$ac_ext >&5
15247 { echo "$as_me:$LINENO: result
: no
" >&5
15248 echo "${ECHO_T}no
" >&6; }
15252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15253 conftest$ac_exeext conftest.$ac_ext
15254 LDFLAGS="${saved_LDFLAGS}"
15256 echo "$as_me: failed program was
:" >&5
15257 sed 's/^/| /' conftest.$ac_ext >&5
15259 { echo "$as_me:$LINENO: result
: no
" >&5
15260 echo "${ECHO_T}no
" >&6; }
15264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15265 CFLAGS="${saved_CFLAGS}"
15269 { echo "$as_me:$LINENO: checking
for -Wdeclaration-after-statement support
" >&5
15270 echo $ECHO_N "checking
for -Wdeclaration-after-statement support...
$ECHO_C" >&6; }
15271 if $(${CC} -Wdeclaration-after-statement -S -o /dev/null -xc /dev/null > /dev/null 2>&1); then
15272 { echo "$as_me:$LINENO: result
: yes" >&5
15273 echo "${ECHO_T}yes" >&6; }
15274 AST_DECLARATION_AFTER_STATEMENT=-Wdeclaration-after-statement
15276 { echo "$as_me:$LINENO: result
: no
" >&5
15277 echo "${ECHO_T}no
" >&6; }
15278 AST_DECLARATION_AFTER_STATEMENT=
15282 { echo "$as_me:$LINENO: checking
for res_ninit
" >&5
15283 echo $ECHO_N "checking
for res_ninit...
$ECHO_C" >&6; }
15284 cat >conftest.$ac_ext <<_ACEOF
15287 cat confdefs.h >>conftest.$ac_ext
15288 cat >>conftest.$ac_ext <<_ACEOF
15289 /* end confdefs.h. */
15290 #include <resolv.h>
15294 int foo = res_ninit(NULL);
15299 rm -f conftest.$ac_objext conftest$ac_exeext
15300 if { (ac_try="$ac_link"
15301 case "(($ac_try" in
15302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303 *) ac_try_echo=$ac_try;;
15305 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15306 (eval "$ac_link") 2>conftest.er1
15308 grep -v '^ *+' conftest.er1 >conftest.err
15310 cat conftest.err >&5
15311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15312 (exit $ac_status); } && {
15313 test -z "$ac_c_werror_flag" ||
15314 test ! -s conftest.err
15315 } && test -s conftest$ac_exeext &&
15316 $as_test_x conftest$ac_exeext; then
15317 { echo "$as_me:$LINENO: result
: yes" >&5
15318 echo "${ECHO_T}yes" >&6; }
15320 cat >>confdefs.h <<\_ACEOF
15321 #define HAVE_RES_NINIT 1
15324 { echo "$as_me:$LINENO: checking
for res_ndestroy
" >&5
15325 echo $ECHO_N "checking
for res_ndestroy...
$ECHO_C" >&6; }
15326 cat >conftest.$ac_ext <<_ACEOF
15329 cat confdefs.h >>conftest.$ac_ext
15330 cat >>conftest.$ac_ext <<_ACEOF
15331 /* end confdefs.h. */
15332 #include <resolv.h>
15336 int foo = res_ndestroy(NULL);
15341 rm -f conftest.$ac_objext conftest$ac_exeext
15342 if { (ac_try="$ac_link"
15343 case "(($ac_try" in
15344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15345 *) ac_try_echo=$ac_try;;
15347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15348 (eval "$ac_link") 2>conftest.er1
15350 grep -v '^ *+' conftest.er1 >conftest.err
15352 cat conftest.err >&5
15353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15354 (exit $ac_status); } && {
15355 test -z "$ac_c_werror_flag" ||
15356 test ! -s conftest.err
15357 } && test -s conftest$ac_exeext &&
15358 $as_test_x conftest$ac_exeext; then
15359 { echo "$as_me:$LINENO: result
: yes" >&5
15360 echo "${ECHO_T}yes" >&6; }
15362 cat >>confdefs.h <<\_ACEOF
15363 #define HAVE_RES_NDESTROY 1
15367 echo "$as_me: failed program was
:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15370 { echo "$as_me:$LINENO: result
: no
" >&5
15371 echo "${ECHO_T}no
" >&6; }
15375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15376 conftest$ac_exeext conftest.$ac_ext
15378 echo "$as_me: failed program was
:" >&5
15379 sed 's/^/| /' conftest.$ac_ext >&5
15381 { echo "$as_me:$LINENO: result
: no
" >&5
15382 echo "${ECHO_T}no
" >&6; }
15386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15387 conftest$ac_exeext conftest.$ac_ext
15389 { echo "$as_me:$LINENO: checking
for RTLD_NOLOAD
" >&5
15390 echo $ECHO_N "checking
for RTLD_NOLOAD...
$ECHO_C" >&6; }
15391 cat >conftest.$ac_ext <<_ACEOF
15394 cat confdefs.h >>conftest.$ac_ext
15395 cat >>conftest.$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15401 int foo = RTLD_NOLOAD;
15406 rm -f conftest.$ac_objext conftest$ac_exeext
15407 if { (ac_try="$ac_link"
15408 case "(($ac_try" in
15409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15410 *) ac_try_echo=$ac_try;;
15412 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15413 (eval "$ac_link") 2>conftest.er1
15415 grep -v '^ *+' conftest.er1 >conftest.err
15417 cat conftest.err >&5
15418 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15419 (exit $ac_status); } && {
15420 test -z "$ac_c_werror_flag" ||
15421 test ! -s conftest.err
15422 } && test -s conftest$ac_exeext &&
15423 $as_test_x conftest$ac_exeext; then
15424 { echo "$as_me:$LINENO: result
: yes" >&5
15425 echo "${ECHO_T}yes" >&6; }
15427 cat >>confdefs.h <<\_ACEOF
15428 #define HAVE_RTLD_NOLOAD 1
15432 echo "$as_me: failed program was
:" >&5
15433 sed 's/^/| /' conftest.$ac_ext >&5
15435 { echo "$as_me:$LINENO: result
: no
" >&5
15436 echo "${ECHO_T}no
" >&6; }
15440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15441 conftest$ac_exeext conftest.$ac_ext
15443 { echo "$as_me:$LINENO: checking
for IP_MTU_DISCOVER
" >&5
15444 echo $ECHO_N "checking
for IP_MTU_DISCOVER...
$ECHO_C" >&6; }
15445 cat >conftest.$ac_ext <<_ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15451 #include <netinet/in.h>
15455 int foo = IP_MTU_DISCOVER;
15460 rm -f conftest.$ac_objext conftest$ac_exeext
15461 if { (ac_try="$ac_link"
15462 case "(($ac_try" in
15463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15464 *) ac_try_echo=$ac_try;;
15466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15467 (eval "$ac_link") 2>conftest.er1
15469 grep -v '^ *+' conftest.er1 >conftest.err
15471 cat conftest.err >&5
15472 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15473 (exit $ac_status); } && {
15474 test -z "$ac_c_werror_flag" ||
15475 test ! -s conftest.err
15476 } && test -s conftest$ac_exeext &&
15477 $as_test_x conftest$ac_exeext; then
15478 { echo "$as_me:$LINENO: result
: yes" >&5
15479 echo "${ECHO_T}yes" >&6; }
15481 cat >>confdefs.h <<\_ACEOF
15482 #define HAVE_IP_MTU_DISCOVER 1
15486 echo "$as_me: failed program was
:" >&5
15487 sed 's/^/| /' conftest.$ac_ext >&5
15489 { echo "$as_me:$LINENO: result
: no
" >&5
15490 echo "${ECHO_T}no
" >&6; }
15494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15495 conftest$ac_exeext conftest.$ac_ext
15497 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15498 { echo "$as_me:$LINENO: checking
for libkern
/OSAtomic.h
" >&5
15499 echo $ECHO_N "checking
for libkern
/OSAtomic.h...
$ECHO_C" >&6; }
15500 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15501 echo $ECHO_N "(cached
) $ECHO_C" >&6
15503 { echo "$as_me:$LINENO: result
: $ac_cv_header_libkern_OSAtomic_h" >&5
15504 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
15506 # Is the header compilable?
15507 { echo "$as_me:$LINENO: checking libkern
/OSAtomic.h usability
" >&5
15508 echo $ECHO_N "checking libkern
/OSAtomic.h usability...
$ECHO_C" >&6; }
15509 cat >conftest.$ac_ext <<_ACEOF
15512 cat confdefs.h >>conftest.$ac_ext
15513 cat >>conftest.$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15515 $ac_includes_default
15516 #include <libkern/OSAtomic.h>
15518 rm -f conftest.$ac_objext
15519 if { (ac_try="$ac_compile"
15520 case "(($ac_try" in
15521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15522 *) ac_try_echo=$ac_try;;
15524 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15525 (eval "$ac_compile") 2>conftest.er1
15527 grep -v '^ *+' conftest.er1 >conftest.err
15529 cat conftest.err >&5
15530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15531 (exit $ac_status); } && {
15532 test -z "$ac_c_werror_flag" ||
15533 test ! -s conftest.err
15534 } && test -s conftest.$ac_objext; then
15535 ac_header_compiler=yes
15537 echo "$as_me: failed program was
:" >&5
15538 sed 's/^/| /' conftest.$ac_ext >&5
15540 ac_header_compiler=no
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15544 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
15545 echo "${ECHO_T}$ac_header_compiler" >&6; }
15547 # Is the header present?
15548 { echo "$as_me:$LINENO: checking libkern
/OSAtomic.h presence
" >&5
15549 echo $ECHO_N "checking libkern
/OSAtomic.h presence...
$ECHO_C" >&6; }
15550 cat >conftest.$ac_ext <<_ACEOF
15553 cat confdefs.h >>conftest.$ac_ext
15554 cat >>conftest.$ac_ext <<_ACEOF
15555 /* end confdefs.h. */
15556 #include <libkern/OSAtomic.h>
15558 if { (ac_try="$ac_cpp conftest.
$ac_ext"
15559 case "(($ac_try" in
15560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15561 *) ac_try_echo=$ac_try;;
15563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15564 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
15566 grep -v '^ *+' conftest.er1 >conftest.err
15568 cat conftest.err >&5
15569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15570 (exit $ac_status); } >/dev/null && {
15571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15572 test ! -s conftest.err
15574 ac_header_preproc=yes
15576 echo "$as_me: failed program was
:" >&5
15577 sed 's/^/| /' conftest.$ac_ext >&5
15579 ac_header_preproc=no
15582 rm -f conftest.err conftest.$ac_ext
15583 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
15584 echo "${ECHO_T}$ac_header_preproc" >&6; }
15586 # So? What about this header?
15587 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15589 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
15590 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
15591 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: proceeding with the compiler
's result" >&5
15592 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the compiler's result
" >&2;}
15593 ac_header_preproc=yes
15596 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: present but cannot be compiled
" >&5
15597 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: present but cannot be compiled
" >&2;}
15598 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: check
for missing prerequisite headers?
" >&5
15599 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: check
for missing prerequisite headers?
" >&2;}
15600 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: see the Autoconf documentation
" >&5
15601 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: see the Autoconf documentation
" >&2;}
15602 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: section
\"Present But Cannot Be Compiled
\"" >&5
15603 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
15604 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: proceeding with the preprocessor
's result" >&5
15605 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the preprocessor's result
" >&2;}
15606 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: in the future
, the compiler will take precedence
" >&5
15607 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: in the future
, the compiler will take precedence
" >&2;}
15611 { echo "$as_me:$LINENO: checking
for libkern
/OSAtomic.h
" >&5
15612 echo $ECHO_N "checking
for libkern
/OSAtomic.h...
$ECHO_C" >&6; }
15613 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15614 echo $ECHO_N "(cached
) $ECHO_C" >&6
15616 ac_cv_header_libkern_OSAtomic_h=$ac_header_preproc
15618 { echo "$as_me:$LINENO: result
: $ac_cv_header_libkern_OSAtomic_h" >&5
15619 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
15622 if test $ac_cv_header_libkern_OSAtomic_h = yes; then
15624 cat >>confdefs.h <<_ACEOF
15625 #define HAVE_OSX_ATOMICS 1
15632 { echo "$as_me:$LINENO: checking
for int
" >&5
15633 echo $ECHO_N "checking
for int...
$ECHO_C" >&6; }
15634 if test "${ac_cv_type_int+set}" = set; then
15635 echo $ECHO_N "(cached
) $ECHO_C" >&6
15637 cat >conftest.$ac_ext <<_ACEOF
15640 cat confdefs.h >>conftest.$ac_ext
15641 cat >>conftest.$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15643 $ac_includes_default
15644 typedef int ac__type_new_;
15648 if ((ac__type_new_ *) 0)
15650 if (sizeof (ac__type_new_))
15656 rm -f conftest.$ac_objext
15657 if { (ac_try="$ac_compile"
15658 case "(($ac_try" in
15659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15660 *) ac_try_echo=$ac_try;;
15662 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15663 (eval "$ac_compile") 2>conftest.er1
15665 grep -v '^ *+' conftest.er1 >conftest.err
15667 cat conftest.err >&5
15668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15669 (exit $ac_status); } && {
15670 test -z "$ac_c_werror_flag" ||
15671 test ! -s conftest.err
15672 } && test -s conftest.$ac_objext; then
15675 echo "$as_me: failed program was
:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15683 { echo "$as_me:$LINENO: result
: $ac_cv_type_int" >&5
15684 echo "${ECHO_T}$ac_cv_type_int" >&6; }
15686 # The cast to long int works around a bug in the HP C Compiler
15687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15689 # This bug is HP SR number 8606223364.
15690 { echo "$as_me:$LINENO: checking size of int
" >&5
15691 echo $ECHO_N "checking size of int...
$ECHO_C" >&6; }
15692 if test "${ac_cv_sizeof_int+set}" = set; then
15693 echo $ECHO_N "(cached
) $ECHO_C" >&6
15695 if test "$cross_compiling" = yes; then
15696 # Depending upon the size, compute the lo and hi bounds.
15697 cat >conftest.$ac_ext <<_ACEOF
15700 cat confdefs.h >>conftest.$ac_ext
15701 cat >>conftest.$ac_ext <<_ACEOF
15702 /* end confdefs.h. */
15703 $ac_includes_default
15704 typedef int ac__type_sizeof_;
15708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
15715 rm -f conftest.$ac_objext
15716 if { (ac_try="$ac_compile"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_compile") 2>conftest.er1
15724 grep -v '^ *+' conftest.er1 >conftest.err
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15728 (exit $ac_status); } && {
15729 test -z "$ac_c_werror_flag" ||
15730 test ! -s conftest.err
15731 } && test -s conftest.$ac_objext; then
15734 cat >conftest.$ac_ext <<_ACEOF
15737 cat confdefs.h >>conftest.$ac_ext
15738 cat >>conftest.$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740 $ac_includes_default
15741 typedef int ac__type_sizeof_;
15745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15752 rm -f conftest.$ac_objext
15753 if { (ac_try="$ac_compile"
15754 case "(($ac_try" in
15755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15756 *) ac_try_echo=$ac_try;;
15758 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15759 (eval "$ac_compile") 2>conftest.er1
15761 grep -v '^ *+' conftest.er1 >conftest.err
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15765 (exit $ac_status); } && {
15766 test -z "$ac_c_werror_flag" ||
15767 test ! -s conftest.err
15768 } && test -s conftest.$ac_objext; then
15769 ac_hi=$ac_mid; break
15771 echo "$as_me: failed program was
:" >&5
15772 sed 's/^/| /' conftest.$ac_ext >&5
15774 ac_lo=`expr $ac_mid + 1`
15775 if test $ac_lo -le $ac_mid; then
15779 ac_mid=`expr 2 '*' $ac_mid + 1`
15782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15785 echo "$as_me: failed program was
:" >&5
15786 sed 's/^/| /' conftest.$ac_ext >&5
15788 cat >conftest.$ac_ext <<_ACEOF
15791 cat confdefs.h >>conftest.$ac_ext
15792 cat >>conftest.$ac_ext <<_ACEOF
15793 /* end confdefs.h. */
15794 $ac_includes_default
15795 typedef int ac__type_sizeof_;
15799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
15806 rm -f conftest.$ac_objext
15807 if { (ac_try="$ac_compile"
15808 case "(($ac_try" in
15809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15810 *) ac_try_echo=$ac_try;;
15812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15813 (eval "$ac_compile") 2>conftest.er1
15815 grep -v '^ *+' conftest.er1 >conftest.err
15817 cat conftest.err >&5
15818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15819 (exit $ac_status); } && {
15820 test -z "$ac_c_werror_flag" ||
15821 test ! -s conftest.err
15822 } && test -s conftest.$ac_objext; then
15825 cat >conftest.$ac_ext <<_ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15831 $ac_includes_default
15832 typedef int ac__type_sizeof_;
15836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
15843 rm -f conftest.$ac_objext
15844 if { (ac_try="$ac_compile"
15845 case "(($ac_try" in
15846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15847 *) ac_try_echo=$ac_try;;
15849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15850 (eval "$ac_compile") 2>conftest.er1
15852 grep -v '^ *+' conftest.er1 >conftest.err
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15856 (exit $ac_status); } && {
15857 test -z "$ac_c_werror_flag" ||
15858 test ! -s conftest.err
15859 } && test -s conftest.$ac_objext; then
15860 ac_lo=$ac_mid; break
15862 echo "$as_me: failed program was
:" >&5
15863 sed 's/^/| /' conftest.$ac_ext >&5
15865 ac_hi=`expr '(' $ac_mid ')' - 1`
15866 if test $ac_mid -le $ac_hi; then
15870 ac_mid=`expr 2 '*' $ac_mid`
15873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15876 echo "$as_me: failed program was
:" >&5
15877 sed 's/^/| /' conftest.$ac_ext >&5
15882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15886 # Binary search between lo and hi bounds.
15887 while test "x
$ac_lo" != "x
$ac_hi"; do
15888 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15889 cat >conftest.$ac_ext <<_ACEOF
15892 cat confdefs.h >>conftest.$ac_ext
15893 cat >>conftest.$ac_ext <<_ACEOF
15894 /* end confdefs.h. */
15895 $ac_includes_default
15896 typedef int ac__type_sizeof_;
15900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15907 rm -f conftest.$ac_objext
15908 if { (ac_try="$ac_compile"
15909 case "(($ac_try" in
15910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15911 *) ac_try_echo=$ac_try;;
15913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15914 (eval "$ac_compile") 2>conftest.er1
15916 grep -v '^ *+' conftest.er1 >conftest.err
15918 cat conftest.err >&5
15919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15920 (exit $ac_status); } && {
15921 test -z "$ac_c_werror_flag" ||
15922 test ! -s conftest.err
15923 } && test -s conftest.$ac_objext; then
15926 echo "$as_me: failed program was
:" >&5
15927 sed 's/^/| /' conftest.$ac_ext >&5
15929 ac_lo=`expr '(' $ac_mid ')' + 1`
15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 ?*) ac_cv_sizeof_int=$ac_lo;;
15936 '') if test "$ac_cv_type_int" = yes; then
15937 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
15938 See \
`config.log' for more details." >&5
15939 echo "$as_me: error: cannot compute sizeof (int)
15940 See \`config.log
' for more details." >&2;}
15941 { (exit 77); exit 77; }; }
15947 cat >conftest.$ac_ext <<_ACEOF
15950 cat confdefs.h >>conftest.$ac_ext
15951 cat >>conftest.$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15953 $ac_includes_default
15954 typedef int ac__type_sizeof_;
15955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
15956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
15958 #include <stdlib.h>
15963 FILE *f = fopen ("conftest.val", "w");
15966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
15968 long int i = longval ();
15969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
15971 fprintf (f, "%ld\n", i);
15975 unsigned long int i = ulongval ();
15976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
15978 fprintf (f, "%lu\n", i);
15980 return ferror (f) || fclose (f) != 0;
15986 rm -f conftest$ac_exeext
15987 if { (ac_try="$ac_link"
15988 case "(($ac_try" in
15989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15990 *) ac_try_echo=$ac_try;;
15992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15993 (eval "$ac_link") 2>&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
15997 { (case "(($ac_try" in
15998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15999 *) ac_try_echo=$ac_try;;
16001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16002 (eval "$ac_try") 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16006 ac_cv_sizeof_int=`cat conftest.val`
16008 echo "$as_me: program exited with status $ac_status" >&5
16009 echo "$as_me: failed program was:" >&5
16010 sed 's
/^
/|
/' conftest.$ac_ext >&5
16012 ( exit $ac_status )
16013 if test "$ac_cv_type_int" = yes; then
16014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
16015 See \`config.log' for more details.
" >&5
16016 echo "$as_me: error
: cannot compute sizeof
(int
)
16017 See \
`config.log' for more details." >&2;}
16018 { (exit 77); exit 77; }; }
16023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16028 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
16032 cat >>confdefs.h <<_ACEOF
16033 #define SIZEOF_INT $ac_cv_sizeof_int
16038 # do the package library checks now
16041 if test "${USE_ALSA}" != "no"; then
16043 if test "x${ALSA_DIR}" != "x"; then
16044 if test -d ${ALSA_DIR}/lib; then
16045 pbxlibdir="-L${ALSA_DIR}/lib"
16047 pbxlibdir="-L${ALSA_DIR}"
16050 { echo "$as_me:$LINENO: checking for snd_spcm_init in -lasound" >&5
16051 echo $ECHO_N "checking for snd_spcm_init in -lasound... $ECHO_C" >&6; }
16052 if test "${ac_cv_lib_asound_snd_spcm_init+set}" = set; then
16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16055 ac_check_lib_save_LIBS=$LIBS
16056 LIBS="-lasound ${pbxlibdir} -lm -ldl $LIBS"
16057 cat >conftest.$ac_ext <<_ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16070 char snd_spcm_init ();
16074 return snd_spcm_init ();
16079 rm -f conftest.$ac_objext conftest$ac_exeext
16080 if { (ac_try="$ac_link"
16081 case "(($ac_try" in
16082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16083 *) ac_try_echo
=$ac_try;;
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_link") 2>conftest.er1
16088 grep -v '^ *+' conftest.er1
>conftest.err
16090 cat conftest.err
>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } && {
16093 test -z "$ac_c_werror_flag" ||
16094 test ! -s conftest.err
16095 } && test -s conftest
$ac_exeext &&
16096 $as_test_x conftest
$ac_exeext; then
16097 ac_cv_lib_asound_snd_spcm_init
=yes
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.
$ac_ext >&5
16102 ac_cv_lib_asound_snd_spcm_init
=no
16105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16106 conftest
$ac_exeext conftest.
$ac_ext
16107 LIBS
=$ac_check_lib_save_LIBS
16109 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_spcm_init" >&5
16110 echo "${ECHO_T}$ac_cv_lib_asound_snd_spcm_init" >&6; }
16111 if test $ac_cv_lib_asound_snd_spcm_init = yes; then
16118 if test "${AST_ALSA_FOUND}" = "yes"; then
16119 ALSA_LIB
="-lasound -lm -ldl"
16120 ALSA_HEADER_FOUND
="1"
16121 if test "x${ALSA_DIR}" != "x"; then
16122 ALSA_LIB
="${pbxlibdir} ${ALSA_LIB}"
16123 ALSA_INCLUDE
="-I${ALSA_DIR}/include"
16124 saved_cppflags
="${CPPFLAGS}"
16125 CPPFLAGS
="${CPPFLAGS} -I${ALSA_DIR}/include"
16126 if test "xalsa/asoundlib.h" != "x" ; then
16127 as_ac_Header
=`echo "ac_cv_header_${ALSA_DIR}/include/alsa/asoundlib.h" | $as_tr_sh`
16128 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16129 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
16130 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
16131 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 ac_res
=`eval echo '${'$as_ac_Header'}'`
16135 { echo "$as_me:$LINENO: result: $ac_res" >&5
16136 echo "${ECHO_T}$ac_res" >&6; }
16138 # Is the header compilable?
16139 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h usability" >&5
16140 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h usability... $ECHO_C" >&6; }
16141 cat >conftest.
$ac_ext <<_ACEOF
16144 cat confdefs.h
>>conftest.
$ac_ext
16145 cat >>conftest.
$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16147 $ac_includes_default
16148 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
16150 rm -f conftest.
$ac_objext
16151 if { (ac_try
="$ac_compile"
16152 case "(($ac_try" in
16153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16154 *) ac_try_echo=$ac_try;;
16156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16157 (eval "$ac_compile") 2>conftest.er1
16159 grep -v '^ *+' conftest.er1 >conftest.err
16161 cat conftest.err >&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } && {
16164 test -z "$ac_c_werror_flag" ||
16165 test ! -s conftest.err
16166 } && test -s conftest.$ac_objext; then
16167 ac_header_compiler=yes
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16172 ac_header_compiler=no
16175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16176 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16177 echo "${ECHO_T}$ac_header_compiler" >&6; }
16179 # Is the header present?
16180 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h presence" >&5
16181 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h presence... $ECHO_C" >&6; }
16182 cat >conftest.$ac_ext <<_ACEOF
16185 cat confdefs.h >>conftest.$ac_ext
16186 cat >>conftest.$ac_ext <<_ACEOF
16187 /* end confdefs.h. */
16188 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
16190 if { (ac_try="$ac_cpp conftest.$ac_ext"
16191 case "(($ac_try" in
16192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16193 *) ac_try_echo
=$ac_try;;
16195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16196 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16198 grep -v '^ *+' conftest.er1
>conftest.err
16200 cat conftest.err
>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); } >/dev
/null
&& {
16203 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16204 test ! -s conftest.err
16206 ac_header_preproc
=yes
16208 echo "$as_me: failed program was:" >&5
16209 sed 's/^/| /' conftest.
$ac_ext >&5
16211 ac_header_preproc
=no
16214 rm -f conftest.err conftest.
$ac_ext
16215 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16216 echo "${ECHO_T}$ac_header_preproc" >&6; }
16218 # So? What about this header?
16219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16221 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16222 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16223 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the compiler's result" >&5
16224 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
16225 ac_header_preproc
=yes
16228 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&5
16229 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&2;}
16230 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&5
16231 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
16232 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&5
16233 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&2;}
16234 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
16235 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16236 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
16237 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
16238 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
16239 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
16243 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
16244 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
16245 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16246 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 eval "$as_ac_Header=\$ac_header_preproc"
16250 ac_res
=`eval echo '${'$as_ac_Header'}'`
16251 { echo "$as_me:$LINENO: result: $ac_res" >&5
16252 echo "${ECHO_T}$ac_res" >&6; }
16255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16256 ALSA_HEADER_FOUND
=1
16258 ALSA_HEADER_FOUND
=0
16263 CPPFLAGS
="${saved_cppflags}"
16265 if test "xalsa/asoundlib.h" != "x" ; then
16266 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16267 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
16268 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
16269 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16270 echo $ECHO_N "(cached) $ECHO_C" >&6
16272 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
16273 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
16275 # Is the header compilable?
16276 { echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
16277 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6; }
16278 cat >conftest.
$ac_ext <<_ACEOF
16281 cat confdefs.h
>>conftest.
$ac_ext
16282 cat >>conftest.
$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 $ac_includes_default
16285 #include <alsa/asoundlib.h>
16287 rm -f conftest.
$ac_objext
16288 if { (ac_try
="$ac_compile"
16289 case "(($ac_try" in
16290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16291 *) ac_try_echo=$ac_try;;
16293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16294 (eval "$ac_compile") 2>conftest.er1
16296 grep -v '^ *+' conftest.er1 >conftest.err
16298 cat conftest.err >&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } && {
16301 test -z "$ac_c_werror_flag" ||
16302 test ! -s conftest.err
16303 } && test -s conftest.$ac_objext; then
16304 ac_header_compiler=yes
16306 echo "$as_me: failed program was:" >&5
16307 sed 's/^/| /' conftest.$ac_ext >&5
16309 ac_header_compiler=no
16312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16313 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16314 echo "${ECHO_T}$ac_header_compiler" >&6; }
16316 # Is the header present?
16317 { echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
16318 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6; }
16319 cat >conftest.$ac_ext <<_ACEOF
16322 cat confdefs.h >>conftest.$ac_ext
16323 cat >>conftest.$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16325 #include <alsa/asoundlib.h>
16327 if { (ac_try="$ac_cpp conftest.$ac_ext"
16328 case "(($ac_try" in
16329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16330 *) ac_try_echo
=$ac_try;;
16332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16333 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16335 grep -v '^ *+' conftest.er1
>conftest.err
16337 cat conftest.err
>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); } >/dev
/null
&& {
16340 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16341 test ! -s conftest.err
16343 ac_header_preproc
=yes
16345 echo "$as_me: failed program was:" >&5
16346 sed 's/^/| /' conftest.
$ac_ext >&5
16348 ac_header_preproc
=no
16351 rm -f conftest.err conftest.
$ac_ext
16352 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16353 echo "${ECHO_T}$ac_header_preproc" >&6; }
16355 # So? What about this header?
16356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16358 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16359 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16360 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
16361 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
16362 ac_header_preproc
=yes
16365 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
16366 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
16367 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
16368 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
16369 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
16370 echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
16371 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
16372 echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16373 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
16374 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
16375 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
16376 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
16380 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
16381 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
16382 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16385 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
16387 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
16388 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
16391 if test $ac_cv_header_alsa_asoundlib_h = yes; then
16392 ALSA_HEADER_FOUND
=1
16394 ALSA_HEADER_FOUND
=0
16400 if test "x${ALSA_HEADER_FOUND}" = "x0" ; then
16401 if test -n "${ALSA_MANDATORY}" ;
16403 { echo "$as_me:$LINENO: ***" >&5
16404 echo "$as_me: ***" >&6;}
16405 { echo "$as_me:$LINENO: *** It appears that you do not have the asound development package installed." >&5
16406 echo "$as_me: *** It appears that you do not have the asound development package installed." >&6;}
16407 { echo "$as_me:$LINENO: *** Please install it to include ${ALSA_DESCRIP} support, or re-run configure" >&5
16408 echo "$as_me: *** Please install it to include ${ALSA_DESCRIP} support, or re-run configure" >&6;}
16409 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
16410 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
16419 cat >>confdefs.h
<<_ACEOF
16420 #define HAVE_ALSA 1
16424 elif test -n "${ALSA_MANDATORY}";
16426 { echo "$as_me:$LINENO: ***" >&5
16427 echo "$as_me: ***" >&6;}
16428 { echo "$as_me:$LINENO: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&5
16429 echo "$as_me: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&6;}
16430 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
16431 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
16432 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
16433 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
16440 if test "${USE_CURSES}" != "no"; then
16442 if test "x${CURSES_DIR}" != "x"; then
16443 if test -d ${CURSES_DIR}/lib
; then
16444 pbxlibdir
="-L${CURSES_DIR}/lib"
16446 pbxlibdir
="-L${CURSES_DIR}"
16449 { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
16450 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
16451 if test "${ac_cv_lib_curses_initscr+set}" = set; then
16452 echo $ECHO_N "(cached) $ECHO_C" >&6
16454 ac_check_lib_save_LIBS
=$LIBS
16455 LIBS
="-lcurses ${pbxlibdir} $LIBS"
16456 cat >conftest.
$ac_ext <<_ACEOF
16459 cat confdefs.h
>>conftest.
$ac_ext
16460 cat >>conftest.
$ac_ext <<_ACEOF
16461 /* end confdefs.h. */
16463 /* Override any GCC internal prototype to avoid an error.
16464 Use char because int might match the return type of a GCC
16465 builtin and then its argument prototype would still apply. */
16478 rm -f conftest.
$ac_objext conftest
$ac_exeext
16479 if { (ac_try
="$ac_link"
16480 case "(($ac_try" in
16481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16482 *) ac_try_echo=$ac_try;;
16484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16485 (eval "$ac_link") 2>conftest.er1
16487 grep -v '^ *+' conftest.er1 >conftest.err
16489 cat conftest.err >&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } && {
16492 test -z "$ac_c_werror_flag" ||
16493 test ! -s conftest.err
16494 } && test -s conftest$ac_exeext &&
16495 $as_test_x conftest$ac_exeext; then
16496 ac_cv_lib_curses_initscr=yes
16498 echo "$as_me: failed program was:" >&5
16499 sed 's/^/| /' conftest.$ac_ext >&5
16501 ac_cv_lib_curses_initscr=no
16504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16505 conftest$ac_exeext conftest.$ac_ext
16506 LIBS=$ac_check_lib_save_LIBS
16508 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
16509 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
16510 if test $ac_cv_lib_curses_initscr = yes; then
16511 AST_CURSES_FOUND=yes
16513 AST_CURSES_FOUND=no
16517 if test "${AST_CURSES_FOUND}" = "yes"; then
16518 CURSES_LIB="-lcurses "
16519 CURSES_HEADER_FOUND="1"
16520 if test "x${CURSES_DIR}" != "x"; then
16521 CURSES_LIB="${pbxlibdir} ${CURSES_LIB}"
16522 CURSES_INCLUDE="-I${CURSES_DIR}/include"
16523 saved_cppflags="${CPPFLAGS}"
16524 CPPFLAGS="${CPPFLAGS} -I${CURSES_DIR}/include"
16525 if test "xcurses.h" != "x" ; then
16526 as_ac_Header=`echo "ac_cv_header_${CURSES_DIR}/include/curses.h" |
$as_tr_sh`
16527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16528 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
16529 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
16530 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16531 echo $ECHO_N "(cached) $ECHO_C" >&6
16533 ac_res=`eval echo '${'$as_ac_Header'}'`
16534 { echo "$as_me:$LINENO: result: $ac_res" >&5
16535 echo "${ECHO_T}$ac_res" >&6; }
16537 # Is the header compilable?
16538 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h usability" >&5
16539 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h usability... $ECHO_C" >&6; }
16540 cat >conftest.$ac_ext <<_ACEOF
16543 cat confdefs.h >>conftest.$ac_ext
16544 cat >>conftest.$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 $ac_includes_default
16547 #include <${CURSES_DIR}/include/curses.h>
16549 rm -f conftest.$ac_objext
16550 if { (ac_try="$ac_compile"
16551 case "(($ac_try" in
16552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16553 *) ac_try_echo
=$ac_try;;
16555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16556 (eval "$ac_compile") 2>conftest.er1
16558 grep -v '^ *+' conftest.er1
>conftest.err
16560 cat conftest.err
>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); } && {
16563 test -z "$ac_c_werror_flag" ||
16564 test ! -s conftest.err
16565 } && test -s conftest.
$ac_objext; then
16566 ac_header_compiler
=yes
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.
$ac_ext >&5
16571 ac_header_compiler
=no
16574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16575 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16576 echo "${ECHO_T}$ac_header_compiler" >&6; }
16578 # Is the header present?
16579 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h presence" >&5
16580 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h presence... $ECHO_C" >&6; }
16581 cat >conftest.
$ac_ext <<_ACEOF
16584 cat confdefs.h
>>conftest.
$ac_ext
16585 cat >>conftest.
$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 #include <${CURSES_DIR}/include/curses.h>
16589 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16590 case "(($ac_try" in
16591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16592 *) ac_try_echo=$ac_try;;
16594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16597 grep -v '^ *+' conftest.er1 >conftest.err
16599 cat conftest.err >&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } >/dev/null && {
16602 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16603 test ! -s conftest.err
16605 ac_header_preproc=yes
16607 echo "$as_me: failed program was:" >&5
16608 sed 's/^/| /' conftest.$ac_ext >&5
16610 ac_header_preproc=no
16613 rm -f conftest.err conftest.$ac_ext
16614 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16615 echo "${ECHO_T}$ac_header_preproc" >&6; }
16617 # So? What about this header?
16618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16620 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
16621 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16622 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the compiler's result" >&5
16623 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the compiler's result" >&2;}
16624 ac_header_preproc=yes
16627 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&5
16628 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&2;}
16629 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&5
16630 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&2;}
16631 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&5
16632 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&2;}
16633 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&5
16634 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
16635 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the preprocessor's result" >&5
16636 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the preprocessor's result" >&2;}
16637 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&5
16638 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&2;}
16642 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
16643 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
16644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16645 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 eval "$as_ac_Header=\$ac_header_preproc"
16649 ac_res=`eval echo '${'$as_ac_Header'}'`
16650 { echo "$as_me:$LINENO: result: $ac_res" >&5
16651 echo "${ECHO_T}$ac_res" >&6; }
16654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16655 CURSES_HEADER_FOUND=1
16657 CURSES_HEADER_FOUND=0
16662 CPPFLAGS="${saved_cppflags}"
16664 if test "xcurses.h" != "x" ; then
16665 if test "${ac_cv_header_curses_h+set}" = set; then
16666 { echo "$as_me:$LINENO: checking for curses.h" >&5
16667 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
16668 if test "${ac_cv_header_curses_h+set}" = set; then
16669 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
16672 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
16674 # Is the header compilable?
16675 { echo "$as_me:$LINENO: checking curses.h usability" >&5
16676 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
16677 cat >conftest.$ac_ext <<_ACEOF
16680 cat confdefs.h >>conftest.$ac_ext
16681 cat >>conftest.$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16683 $ac_includes_default
16684 #include <curses.h>
16686 rm -f conftest.$ac_objext
16687 if { (ac_try="$ac_compile"
16688 case "(($ac_try" in
16689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16690 *) ac_try_echo
=$ac_try;;
16692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16693 (eval "$ac_compile") 2>conftest.er1
16695 grep -v '^ *+' conftest.er1
>conftest.err
16697 cat conftest.err
>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } && {
16700 test -z "$ac_c_werror_flag" ||
16701 test ! -s conftest.err
16702 } && test -s conftest.
$ac_objext; then
16703 ac_header_compiler
=yes
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.
$ac_ext >&5
16708 ac_header_compiler
=no
16711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16712 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16713 echo "${ECHO_T}$ac_header_compiler" >&6; }
16715 # Is the header present?
16716 { echo "$as_me:$LINENO: checking curses.h presence" >&5
16717 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
16718 cat >conftest.
$ac_ext <<_ACEOF
16721 cat confdefs.h
>>conftest.
$ac_ext
16722 cat >>conftest.
$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16724 #include <curses.h>
16726 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16727 case "(($ac_try" in
16728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16734 grep -v '^ *+' conftest.er1 >conftest.err
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } >/dev/null && {
16739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16740 test ! -s conftest.err
16742 ac_header_preproc=yes
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16747 ac_header_preproc=no
16750 rm -f conftest.err conftest.$ac_ext
16751 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16752 echo "${ECHO_T}$ac_header_preproc" >&6; }
16754 # So? What about this header?
16755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16757 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
16758 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16759 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result" >&5
16760 echo "$as_me: WARNING: curses.h: proceeding with the compiler's result" >&2;}
16761 ac_header_preproc=yes
16764 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
16765 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
16766 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
16767 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
16768 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
16769 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
16770 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
16771 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
16772 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result" >&5
16773 echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result" >&2;}
16774 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
16775 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
16779 { echo "$as_me:$LINENO: checking for curses.h" >&5
16780 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
16781 if test "${ac_cv_header_curses_h+set}" = set; then
16782 echo $ECHO_N "(cached) $ECHO_C" >&6
16784 ac_cv_header_curses_h=$ac_header_preproc
16786 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
16787 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
16790 if test $ac_cv_header_curses_h = yes; then
16791 CURSES_HEADER_FOUND=1
16793 CURSES_HEADER_FOUND=0
16799 if test "x${CURSES_HEADER_FOUND}" = "x0" ; then
16800 if test -n "${CURSES_MANDATORY}" ;
16802 { echo "$as_me:$LINENO: ***" >&5
16803 echo "$as_me: ***" >&6;}
16804 { echo "$as_me:$LINENO: *** It appears that you do not have the curses development package installed." >&5
16805 echo "$as_me: *** It appears that you do not have the curses development package installed." >&6;}
16806 { echo "$as_me:$LINENO: *** Please install it to include ${CURSES_DESCRIP} support, or re-run configure" >&5
16807 echo "$as_me: *** Please install it to include ${CURSES_DESCRIP} support, or re-run configure" >&6;}
16808 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
16809 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_CURSES 1
16823 elif test -n "${CURSES_MANDATORY}";
16825 { echo "$as_me:$LINENO: ***" >&5
16826 echo "$as_me: ***" >&6;}
16827 { echo "$as_me:$LINENO: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&5
16828 echo "$as_me: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&6;}
16829 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
16830 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
16831 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
16832 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
16841 if test "${USE_GSM}" != "no"; then
16842 if test "${GSM_DIR}" = "internal"; then
16844 elif test "${GSM_DIR}" != ""; then
16847 if test "${GSM_SYSTEM}" = "yes"; then
16849 if test "x${GSM_DIR}" != "x"; then
16850 if test -d ${GSM_DIR}/lib; then
16851 gsmlibdir="-L${GSM_DIR}/lib"
16853 gsmlibdir="-L${GSM_DIR}"
16856 { echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5
16857 echo $ECHO_N "checking for gsm_create in -lgsm... $ECHO_C" >&6; }
16858 if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 ac_check_lib_save_LIBS=$LIBS
16862 LIBS="-lgsm ${gsmlibdir} $LIBS"
16863 cat >conftest.$ac_ext <<_ACEOF
16866 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16870 /* Override any GCC internal prototype to avoid an error.
16871 Use char because int might match the return type of a GCC
16872 builtin and then its argument prototype would still apply. */
16876 char gsm_create ();
16880 return gsm_create ();
16885 rm -f conftest.$ac_objext conftest$ac_exeext
16886 if { (ac_try="$ac_link"
16887 case "(($ac_try" in
16888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16889 *) ac_try_echo
=$ac_try;;
16891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16892 (eval "$ac_link") 2>conftest.er1
16894 grep -v '^ *+' conftest.er1
>conftest.err
16896 cat conftest.err
>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } && {
16899 test -z "$ac_c_werror_flag" ||
16900 test ! -s conftest.err
16901 } && test -s conftest
$ac_exeext &&
16902 $as_test_x conftest
$ac_exeext; then
16903 ac_cv_lib_gsm_gsm_create
=yes
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 ac_cv_lib_gsm_gsm_create
=no
16911 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16912 conftest
$ac_exeext conftest.
$ac_ext
16913 LIBS
=$ac_check_lib_save_LIBS
16915 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5
16916 echo "${ECHO_T}$ac_cv_lib_gsm_gsm_create" >&6; }
16917 if test $ac_cv_lib_gsm_gsm_create = yes; then
16919 cat >>confdefs.h
<<_ACEOF
16925 if test "${ac_cv_lib_gsm_gsm_create}" = "yes"; then
16926 if test "x${GSM_DIR}" != "x" ; then
16927 as_ac_Header
=`echo "ac_cv_header_${GSM_DIR}/include/gsm.h" | $as_tr_sh`
16928 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16929 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm.h" >&5
16930 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm.h... $ECHO_C" >&6; }
16931 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 ac_res
=`eval echo '${'$as_ac_Header'}'`
16935 { echo "$as_me:$LINENO: result: $ac_res" >&5
16936 echo "${ECHO_T}$ac_res" >&6; }
16938 # Is the header compilable?
16939 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm.h usability" >&5
16940 echo $ECHO_N "checking ${GSM_DIR}/include/gsm.h usability... $ECHO_C" >&6; }
16941 cat >conftest.
$ac_ext <<_ACEOF
16944 cat confdefs.h
>>conftest.
$ac_ext
16945 cat >>conftest.
$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 $ac_includes_default
16948 #include <${GSM_DIR}/include/gsm.h>
16950 rm -f conftest.
$ac_objext
16951 if { (ac_try
="$ac_compile"
16952 case "(($ac_try" in
16953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16954 *) ac_try_echo=$ac_try;;
16956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16957 (eval "$ac_compile") 2>conftest.er1
16959 grep -v '^ *+' conftest.er1 >conftest.err
16961 cat conftest.err >&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } && {
16964 test -z "$ac_c_werror_flag" ||
16965 test ! -s conftest.err
16966 } && test -s conftest.$ac_objext; then
16967 ac_header_compiler=yes
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.$ac_ext >&5
16972 ac_header_compiler=no
16975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16976 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16977 echo "${ECHO_T}$ac_header_compiler" >&6; }
16979 # Is the header present?
16980 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm.h presence" >&5
16981 echo $ECHO_N "checking ${GSM_DIR}/include/gsm.h presence... $ECHO_C" >&6; }
16982 cat >conftest.$ac_ext <<_ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 #include <${GSM_DIR}/include/gsm.h>
16990 if { (ac_try="$ac_cpp conftest.$ac_ext"
16991 case "(($ac_try" in
16992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16993 *) ac_try_echo
=$ac_try;;
16995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16998 grep -v '^ *+' conftest.er1
>conftest.err
17000 cat conftest.err
>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } >/dev
/null
&& {
17003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17004 test ! -s conftest.err
17006 ac_header_preproc
=yes
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.
$ac_ext >&5
17011 ac_header_preproc
=no
17014 rm -f conftest.err conftest.
$ac_ext
17015 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17016 echo "${ECHO_T}$ac_header_preproc" >&6; }
17018 # So? What about this header?
17019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17021 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17022 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17023 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the compiler's result" >&5
17024 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the compiler's result" >&2;}
17025 ac_header_preproc
=yes
17028 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: present but cannot be compiled" >&5
17029 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: present but cannot be compiled" >&2;}
17030 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: check for missing prerequisite headers?" >&5
17031 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: check for missing prerequisite headers?" >&2;}
17032 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: see the Autoconf documentation" >&5
17033 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: see the Autoconf documentation" >&2;}
17034 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17035 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17036 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the preprocessor's result" >&5
17037 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the preprocessor's result" >&2;}
17038 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: in the future, the compiler will take precedence" >&5
17039 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: in the future, the compiler will take precedence" >&2;}
17043 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm.h" >&5
17044 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm.h... $ECHO_C" >&6; }
17045 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 eval "$as_ac_Header=\$ac_header_preproc"
17050 ac_res
=`eval echo '${'$as_ac_Header'}'`
17051 { echo "$as_me:$LINENO: result: $ac_res" >&5
17052 echo "${ECHO_T}$ac_res" >&6; }
17055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17062 as_ac_Header
=`echo "ac_cv_header_${GSM_DIR}/include/gsm/gsm.h" | $as_tr_sh`
17063 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17064 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm/gsm.h" >&5
17065 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm/gsm.h... $ECHO_C" >&6; }
17066 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 ac_res
=`eval echo '${'$as_ac_Header'}'`
17070 { echo "$as_me:$LINENO: result: $ac_res" >&5
17071 echo "${ECHO_T}$ac_res" >&6; }
17073 # Is the header compilable?
17074 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm/gsm.h usability" >&5
17075 echo $ECHO_N "checking ${GSM_DIR}/include/gsm/gsm.h usability... $ECHO_C" >&6; }
17076 cat >conftest.
$ac_ext <<_ACEOF
17079 cat confdefs.h
>>conftest.
$ac_ext
17080 cat >>conftest.
$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082 $ac_includes_default
17083 #include <${GSM_DIR}/include/gsm/gsm.h>
17085 rm -f conftest.
$ac_objext
17086 if { (ac_try
="$ac_compile"
17087 case "(($ac_try" in
17088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17089 *) ac_try_echo=$ac_try;;
17091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17092 (eval "$ac_compile") 2>conftest.er1
17094 grep -v '^ *+' conftest.er1 >conftest.err
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } && {
17099 test -z "$ac_c_werror_flag" ||
17100 test ! -s conftest.err
17101 } && test -s conftest.$ac_objext; then
17102 ac_header_compiler=yes
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17107 ac_header_compiler=no
17110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17112 echo "${ECHO_T}$ac_header_compiler" >&6; }
17114 # Is the header present?
17115 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm/gsm.h presence" >&5
17116 echo $ECHO_N "checking ${GSM_DIR}/include/gsm/gsm.h presence... $ECHO_C" >&6; }
17117 cat >conftest.$ac_ext <<_ACEOF
17120 cat confdefs.h >>conftest.$ac_ext
17121 cat >>conftest.$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17123 #include <${GSM_DIR}/include/gsm/gsm.h>
17125 if { (ac_try="$ac_cpp conftest.$ac_ext"
17126 case "(($ac_try" in
17127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17128 *) ac_try_echo
=$ac_try;;
17130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17133 grep -v '^ *+' conftest.er1
>conftest.err
17135 cat conftest.err
>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); } >/dev
/null
&& {
17138 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17139 test ! -s conftest.err
17141 ac_header_preproc
=yes
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.
$ac_ext >&5
17146 ac_header_preproc
=no
17149 rm -f conftest.err conftest.
$ac_ext
17150 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17151 echo "${ECHO_T}$ac_header_preproc" >&6; }
17153 # So? What about this header?
17154 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17156 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17157 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17158 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the compiler's result" >&5
17159 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the compiler's result" >&2;}
17160 ac_header_preproc
=yes
17163 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: present but cannot be compiled" >&5
17164 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: present but cannot be compiled" >&2;}
17165 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: check for missing prerequisite headers?" >&5
17166 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: check for missing prerequisite headers?" >&2;}
17167 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: see the Autoconf documentation" >&5
17168 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: see the Autoconf documentation" >&2;}
17169 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17170 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17171 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the preprocessor's result" >&5
17172 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the preprocessor's result" >&2;}
17173 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: in the future, the compiler will take precedence" >&5
17174 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: in the future, the compiler will take precedence" >&2;}
17178 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm/gsm.h" >&5
17179 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm/gsm.h... $ECHO_C" >&6; }
17180 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17181 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 eval "$as_ac_Header=\$ac_header_preproc"
17185 ac_res
=`eval echo '${'$as_ac_Header'}'`
17186 { echo "$as_me:$LINENO: result: $ac_res" >&5
17187 echo "${ECHO_T}$ac_res" >&6; }
17190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17191 GSM_GSM_HEADER_FOUND
=1
17193 GSM_GSM_HEADER_FOUND
=0
17198 if test "${ac_cv_header_gsm_h+set}" = set; then
17199 { echo "$as_me:$LINENO: checking for gsm.h" >&5
17200 echo $ECHO_N "checking for gsm.h... $ECHO_C" >&6; }
17201 if test "${ac_cv_header_gsm_h+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_h" >&5
17205 echo "${ECHO_T}$ac_cv_header_gsm_h" >&6; }
17207 # Is the header compilable?
17208 { echo "$as_me:$LINENO: checking gsm.h usability" >&5
17209 echo $ECHO_N "checking gsm.h usability... $ECHO_C" >&6; }
17210 cat >conftest.
$ac_ext <<_ACEOF
17213 cat confdefs.h
>>conftest.
$ac_ext
17214 cat >>conftest.
$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17216 $ac_includes_default
17219 rm -f conftest.
$ac_objext
17220 if { (ac_try
="$ac_compile"
17221 case "(($ac_try" in
17222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17223 *) ac_try_echo=$ac_try;;
17225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17226 (eval "$ac_compile") 2>conftest.er1
17228 grep -v '^ *+' conftest.er1 >conftest.err
17230 cat conftest.err >&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } && {
17233 test -z "$ac_c_werror_flag" ||
17234 test ! -s conftest.err
17235 } && test -s conftest.$ac_objext; then
17236 ac_header_compiler=yes
17238 echo "$as_me: failed program was:" >&5
17239 sed 's/^/| /' conftest.$ac_ext >&5
17241 ac_header_compiler=no
17244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17245 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17246 echo "${ECHO_T}$ac_header_compiler" >&6; }
17248 # Is the header present?
17249 { echo "$as_me:$LINENO: checking gsm.h presence" >&5
17250 echo $ECHO_N "checking gsm.h presence... $ECHO_C" >&6; }
17251 cat >conftest.$ac_ext <<_ACEOF
17254 cat confdefs.h >>conftest.$ac_ext
17255 cat >>conftest.$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17259 if { (ac_try="$ac_cpp conftest.$ac_ext"
17260 case "(($ac_try" in
17261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17262 *) ac_try_echo
=$ac_try;;
17264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17267 grep -v '^ *+' conftest.er1
>conftest.err
17269 cat conftest.err
>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } >/dev
/null
&& {
17272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17273 test ! -s conftest.err
17275 ac_header_preproc
=yes
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.
$ac_ext >&5
17280 ac_header_preproc
=no
17283 rm -f conftest.err conftest.
$ac_ext
17284 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17285 echo "${ECHO_T}$ac_header_preproc" >&6; }
17287 # So? What about this header?
17288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17290 { echo "$as_me:$LINENO: WARNING: gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17291 echo "$as_me: WARNING: gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17292 { echo "$as_me:$LINENO: WARNING: gsm.h: proceeding with the compiler's result" >&5
17293 echo "$as_me: WARNING: gsm.h: proceeding with the compiler's result" >&2;}
17294 ac_header_preproc
=yes
17297 { echo "$as_me:$LINENO: WARNING: gsm.h: present but cannot be compiled" >&5
17298 echo "$as_me: WARNING: gsm.h: present but cannot be compiled" >&2;}
17299 { echo "$as_me:$LINENO: WARNING: gsm.h: check for missing prerequisite headers?" >&5
17300 echo "$as_me: WARNING: gsm.h: check for missing prerequisite headers?" >&2;}
17301 { echo "$as_me:$LINENO: WARNING: gsm.h: see the Autoconf documentation" >&5
17302 echo "$as_me: WARNING: gsm.h: see the Autoconf documentation" >&2;}
17303 { echo "$as_me:$LINENO: WARNING: gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17304 echo "$as_me: WARNING: gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17305 { echo "$as_me:$LINENO: WARNING: gsm.h: proceeding with the preprocessor's result" >&5
17306 echo "$as_me: WARNING: gsm.h: proceeding with the preprocessor's result" >&2;}
17307 { echo "$as_me:$LINENO: WARNING: gsm.h: in the future, the compiler will take precedence" >&5
17308 echo "$as_me: WARNING: gsm.h: in the future, the compiler will take precedence" >&2;}
17312 { echo "$as_me:$LINENO: checking for gsm.h" >&5
17313 echo $ECHO_N "checking for gsm.h... $ECHO_C" >&6; }
17314 if test "${ac_cv_header_gsm_h+set}" = set; then
17315 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 ac_cv_header_gsm_h
=$ac_header_preproc
17319 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_h" >&5
17320 echo "${ECHO_T}$ac_cv_header_gsm_h" >&6; }
17323 if test $ac_cv_header_gsm_h = yes; then
17330 if test "${ac_cv_header_gsm_gsm_h+set}" = set; then
17331 { echo "$as_me:$LINENO: checking for gsm/gsm.h" >&5
17332 echo $ECHO_N "checking for gsm/gsm.h... $ECHO_C" >&6; }
17333 if test "${ac_cv_header_gsm_gsm_h+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17336 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_gsm_h" >&5
17337 echo "${ECHO_T}$ac_cv_header_gsm_gsm_h" >&6; }
17339 # Is the header compilable?
17340 { echo "$as_me:$LINENO: checking gsm/gsm.h usability" >&5
17341 echo $ECHO_N "checking gsm/gsm.h usability... $ECHO_C" >&6; }
17342 cat >conftest.
$ac_ext <<_ACEOF
17345 cat confdefs.h
>>conftest.
$ac_ext
17346 cat >>conftest.
$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17348 $ac_includes_default
17349 #include <gsm/gsm.h>
17351 rm -f conftest.
$ac_objext
17352 if { (ac_try
="$ac_compile"
17353 case "(($ac_try" in
17354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17355 *) ac_try_echo=$ac_try;;
17357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17358 (eval "$ac_compile") 2>conftest.er1
17360 grep -v '^ *+' conftest.er1 >conftest.err
17362 cat conftest.err >&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } && {
17365 test -z "$ac_c_werror_flag" ||
17366 test ! -s conftest.err
17367 } && test -s conftest.$ac_objext; then
17368 ac_header_compiler=yes
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17373 ac_header_compiler=no
17376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17378 echo "${ECHO_T}$ac_header_compiler" >&6; }
17380 # Is the header present?
17381 { echo "$as_me:$LINENO: checking gsm/gsm.h presence" >&5
17382 echo $ECHO_N "checking gsm/gsm.h presence... $ECHO_C" >&6; }
17383 cat >conftest.$ac_ext <<_ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389 #include <gsm/gsm.h>
17391 if { (ac_try="$ac_cpp conftest.$ac_ext"
17392 case "(($ac_try" in
17393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17394 *) ac_try_echo
=$ac_try;;
17396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17399 grep -v '^ *+' conftest.er1
>conftest.err
17401 cat conftest.err
>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } >/dev
/null
&& {
17404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17405 test ! -s conftest.err
17407 ac_header_preproc
=yes
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.
$ac_ext >&5
17412 ac_header_preproc
=no
17415 rm -f conftest.err conftest.
$ac_ext
17416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17417 echo "${ECHO_T}$ac_header_preproc" >&6; }
17419 # So? What about this header?
17420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17422 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17423 echo "$as_me: WARNING: gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17424 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: proceeding with the compiler's result" >&5
17425 echo "$as_me: WARNING: gsm/gsm.h: proceeding with the compiler's result" >&2;}
17426 ac_header_preproc
=yes
17429 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: present but cannot be compiled" >&5
17430 echo "$as_me: WARNING: gsm/gsm.h: present but cannot be compiled" >&2;}
17431 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: check for missing prerequisite headers?" >&5
17432 echo "$as_me: WARNING: gsm/gsm.h: check for missing prerequisite headers?" >&2;}
17433 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: see the Autoconf documentation" >&5
17434 echo "$as_me: WARNING: gsm/gsm.h: see the Autoconf documentation" >&2;}
17435 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17436 echo "$as_me: WARNING: gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17437 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: proceeding with the preprocessor's result" >&5
17438 echo "$as_me: WARNING: gsm/gsm.h: proceeding with the preprocessor's result" >&2;}
17439 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&5
17440 echo "$as_me: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&2;}
17444 { echo "$as_me:$LINENO: checking for gsm/gsm.h" >&5
17445 echo $ECHO_N "checking for gsm/gsm.h... $ECHO_C" >&6; }
17446 if test "${ac_cv_header_gsm_gsm_h+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 ac_cv_header_gsm_gsm_h
=$ac_header_preproc
17451 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_gsm_h" >&5
17452 echo "${ECHO_T}$ac_cv_header_gsm_gsm_h" >&6; }
17455 if test $ac_cv_header_gsm_gsm_h = yes; then
17456 GSM_GSM_HEADER_FOUND
=1
17458 GSM_GSM_HEADER_FOUND
=0
17463 if test "${GSM_HEADER_FOUND}" = "0" ; then
17464 if test "{GSM_GSM_HEADER_FOUND}" = "0" ; then
17465 if test "x${GSM_MANDATORY}" = "xyes" ; then
17466 { echo "$as_me:$LINENO: ***" >&5
17467 echo "$as_me: ***" >&6;}
17468 { echo "$as_me:$LINENO: *** It appears that you do not have the gsm development package installed." >&5
17469 echo "$as_me: *** It appears that you do not have the gsm development package installed." >&6;}
17470 { echo "$as_me:$LINENO: *** Please install it to include ${GSM_DESCRIP} support, or re-run configure" >&5
17471 echo "$as_me: *** Please install it to include ${GSM_DESCRIP} support, or re-run configure" >&6;}
17472 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GSM_OPTION}" >&5
17473 echo "$as_me: *** without explicitly specifying --with-${GSM_OPTION}" >&6;}
17479 if test "${GSM_HEADER_FOUND}" = "1" ; then
17481 cat >>confdefs.h
<<_ACEOF
17482 #define HAVE_GSM_HEADER 1
17487 if test "${GSM_GSM_HEADER_FOUND}" = "1" ; then
17489 cat >>confdefs.h
<<_ACEOF
17490 #define HAVE_GSM_GSM_HEADER 1
17496 if test "${GSM_OK}" = "1" ; then
17498 if test "x${GSM_DIR}" != "x"; then
17499 GSM_LIB
="${gsmlibdir} ${GSM_LIB}"
17500 GSM_INCLUDE
="-I${GSM_DIR}/include"
17507 if test "${GSM_INTERNAL}" = "yes"; then
17510 cat >>confdefs.h
<<_ACEOF
17511 #define HAVE_GSM_HEADER 1
17518 if test "${USE_IKSEMEL}" != "no"; then
17520 if test "x${IKSEMEL_DIR}" != "x"; then
17521 if test -d ${IKSEMEL_DIR}/lib
; then
17522 pbxlibdir
="-L${IKSEMEL_DIR}/lib"
17524 pbxlibdir
="-L${IKSEMEL_DIR}"
17527 { echo "$as_me:$LINENO: checking for iks_start_sasl in -liksemel" >&5
17528 echo $ECHO_N "checking for iks_start_sasl in -liksemel... $ECHO_C" >&6; }
17529 if test "${ac_cv_lib_iksemel_iks_start_sasl+set}" = set; then
17530 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 ac_check_lib_save_LIBS
=$LIBS
17533 LIBS
="-liksemel ${pbxlibdir} $LIBS"
17534 cat >conftest.
$ac_ext <<_ACEOF
17537 cat confdefs.h
>>conftest.
$ac_ext
17538 cat >>conftest.
$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17541 /* Override any GCC internal prototype to avoid an error.
17542 Use char because int might match the return type of a GCC
17543 builtin and then its argument prototype would still apply. */
17547 char iks_start_sasl ();
17551 return iks_start_sasl ();
17556 rm -f conftest.
$ac_objext conftest
$ac_exeext
17557 if { (ac_try
="$ac_link"
17558 case "(($ac_try" in
17559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17560 *) ac_try_echo=$ac_try;;
17562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17563 (eval "$ac_link") 2>conftest.er1
17565 grep -v '^ *+' conftest.er1 >conftest.err
17567 cat conftest.err >&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } && {
17570 test -z "$ac_c_werror_flag" ||
17571 test ! -s conftest.err
17572 } && test -s conftest$ac_exeext &&
17573 $as_test_x conftest$ac_exeext; then
17574 ac_cv_lib_iksemel_iks_start_sasl=yes
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17579 ac_cv_lib_iksemel_iks_start_sasl=no
17582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17583 conftest$ac_exeext conftest.$ac_ext
17584 LIBS=$ac_check_lib_save_LIBS
17586 { echo "$as_me:$LINENO: result: $ac_cv_lib_iksemel_iks_start_sasl" >&5
17587 echo "${ECHO_T}$ac_cv_lib_iksemel_iks_start_sasl" >&6; }
17588 if test $ac_cv_lib_iksemel_iks_start_sasl = yes; then
17589 AST_IKSEMEL_FOUND=yes
17591 AST_IKSEMEL_FOUND=no
17595 if test "${AST_IKSEMEL_FOUND}" = "yes"; then
17596 IKSEMEL_LIB="-liksemel "
17597 IKSEMEL_HEADER_FOUND="1"
17598 if test "x${IKSEMEL_DIR}" != "x"; then
17599 IKSEMEL_LIB="${pbxlibdir} ${IKSEMEL_LIB}"
17600 IKSEMEL_INCLUDE="-I${IKSEMEL_DIR}/include"
17601 saved_cppflags="${CPPFLAGS}"
17602 CPPFLAGS="${CPPFLAGS} -I${IKSEMEL_DIR}/include"
17603 if test "xiksemel.h" != "x" ; then
17604 as_ac_Header=`echo "ac_cv_header_${IKSEMEL_DIR}/include/iksemel.h" |
$as_tr_sh`
17605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17606 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
17607 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
17608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17609 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 ac_res=`eval echo '${'$as_ac_Header'}'`
17612 { echo "$as_me:$LINENO: result: $ac_res" >&5
17613 echo "${ECHO_T}$ac_res" >&6; }
17615 # Is the header compilable?
17616 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h usability" >&5
17617 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h usability... $ECHO_C" >&6; }
17618 cat >conftest.$ac_ext <<_ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624 $ac_includes_default
17625 #include <${IKSEMEL_DIR}/include/iksemel.h>
17627 rm -f conftest.$ac_objext
17628 if { (ac_try="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17631 *) ac_try_echo
=$ac_try;;
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17636 grep -v '^ *+' conftest.er1
>conftest.err
17638 cat conftest.err
>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_c_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.
$ac_objext; then
17644 ac_header_compiler
=yes
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.
$ac_ext >&5
17649 ac_header_compiler
=no
17652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17654 echo "${ECHO_T}$ac_header_compiler" >&6; }
17656 # Is the header present?
17657 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h presence" >&5
17658 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h presence... $ECHO_C" >&6; }
17659 cat >conftest.
$ac_ext <<_ACEOF
17662 cat confdefs.h
>>conftest.
$ac_ext
17663 cat >>conftest.
$ac_ext <<_ACEOF
17664 /* end confdefs.h. */
17665 #include <${IKSEMEL_DIR}/include/iksemel.h>
17667 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17668 case "(($ac_try" in
17669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17670 *) ac_try_echo=$ac_try;;
17672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17675 grep -v '^ *+' conftest.er1 >conftest.err
17677 cat conftest.err >&5
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); } >/dev/null && {
17680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17681 test ! -s conftest.err
17683 ac_header_preproc=yes
17685 echo "$as_me: failed program was:" >&5
17686 sed 's/^/| /' conftest.$ac_ext >&5
17688 ac_header_preproc=no
17691 rm -f conftest.err conftest.$ac_ext
17692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17693 echo "${ECHO_T}$ac_header_preproc" >&6; }
17695 # So? What about this header?
17696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17698 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
17699 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17700 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the compiler's result" >&5
17701 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the compiler's result" >&2;}
17702 ac_header_preproc=yes
17705 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&5
17706 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&2;}
17707 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&5
17708 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&2;}
17709 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&5
17710 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&2;}
17711 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
17712 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
17713 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the preprocessor's result" >&5
17714 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the preprocessor's result" >&2;}
17715 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&5
17716 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&2;}
17720 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
17721 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
17722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17723 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 eval "$as_ac_Header=\$ac_header_preproc"
17727 ac_res=`eval echo '${'$as_ac_Header'}'`
17728 { echo "$as_me:$LINENO: result: $ac_res" >&5
17729 echo "${ECHO_T}$ac_res" >&6; }
17732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17733 IKSEMEL_HEADER_FOUND=1
17735 IKSEMEL_HEADER_FOUND=0
17740 CPPFLAGS="${saved_cppflags}"
17742 if test "xiksemel.h" != "x" ; then
17743 if test "${ac_cv_header_iksemel_h+set}" = set; then
17744 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
17745 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
17746 if test "${ac_cv_header_iksemel_h+set}" = set; then
17747 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
17750 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
17752 # Is the header compilable?
17753 { echo "$as_me:$LINENO: checking iksemel.h usability" >&5
17754 echo $ECHO_N "checking iksemel.h usability... $ECHO_C" >&6; }
17755 cat >conftest.$ac_ext <<_ACEOF
17758 cat confdefs.h >>conftest.$ac_ext
17759 cat >>conftest.$ac_ext <<_ACEOF
17760 /* end confdefs.h. */
17761 $ac_includes_default
17762 #include <iksemel.h>
17764 rm -f conftest.$ac_objext
17765 if { (ac_try="$ac_compile"
17766 case "(($ac_try" in
17767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17768 *) ac_try_echo
=$ac_try;;
17770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17771 (eval "$ac_compile") 2>conftest.er1
17773 grep -v '^ *+' conftest.er1
>conftest.err
17775 cat conftest.err
>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); } && {
17778 test -z "$ac_c_werror_flag" ||
17779 test ! -s conftest.err
17780 } && test -s conftest.
$ac_objext; then
17781 ac_header_compiler
=yes
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.
$ac_ext >&5
17786 ac_header_compiler
=no
17789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17790 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17791 echo "${ECHO_T}$ac_header_compiler" >&6; }
17793 # Is the header present?
17794 { echo "$as_me:$LINENO: checking iksemel.h presence" >&5
17795 echo $ECHO_N "checking iksemel.h presence... $ECHO_C" >&6; }
17796 cat >conftest.
$ac_ext <<_ACEOF
17799 cat confdefs.h
>>conftest.
$ac_ext
17800 cat >>conftest.
$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 #include <iksemel.h>
17804 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17805 case "(($ac_try" in
17806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17812 grep -v '^ *+' conftest.er1 >conftest.err
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } >/dev/null && {
17817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17818 test ! -s conftest.err
17820 ac_header_preproc=yes
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5
17825 ac_header_preproc=no
17828 rm -f conftest.err conftest.$ac_ext
17829 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17830 echo "${ECHO_T}$ac_header_preproc" >&6; }
17832 # So? What about this header?
17833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17835 { echo "$as_me:$LINENO: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
17836 echo "$as_me: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17837 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the compiler's result" >&5
17838 echo "$as_me: WARNING: iksemel.h: proceeding with the compiler's result" >&2;}
17839 ac_header_preproc=yes
17842 { echo "$as_me:$LINENO: WARNING: iksemel.h: present but cannot be compiled" >&5
17843 echo "$as_me: WARNING: iksemel.h: present but cannot be compiled" >&2;}
17844 { echo "$as_me:$LINENO: WARNING: iksemel.h: check for missing prerequisite headers?" >&5
17845 echo "$as_me: WARNING: iksemel.h: check for missing prerequisite headers?" >&2;}
17846 { echo "$as_me:$LINENO: WARNING: iksemel.h: see the Autoconf documentation" >&5
17847 echo "$as_me: WARNING: iksemel.h: see the Autoconf documentation" >&2;}
17848 { echo "$as_me:$LINENO: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
17849 echo "$as_me: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
17850 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the preprocessor's result" >&5
17851 echo "$as_me: WARNING: iksemel.h: proceeding with the preprocessor's result" >&2;}
17852 { echo "$as_me:$LINENO: WARNING: iksemel.h: in the future, the compiler will take precedence" >&5
17853 echo "$as_me: WARNING: iksemel.h: in the future, the compiler will take precedence" >&2;}
17857 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
17858 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
17859 if test "${ac_cv_header_iksemel_h+set}" = set; then
17860 echo $ECHO_N "(cached) $ECHO_C" >&6
17862 ac_cv_header_iksemel_h=$ac_header_preproc
17864 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
17865 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
17868 if test $ac_cv_header_iksemel_h = yes; then
17869 IKSEMEL_HEADER_FOUND=1
17871 IKSEMEL_HEADER_FOUND=0
17877 if test "x${IKSEMEL_HEADER_FOUND}" = "x0" ; then
17878 if test -n "${IKSEMEL_MANDATORY}" ;
17880 { echo "$as_me:$LINENO: ***" >&5
17881 echo "$as_me: ***" >&6;}
17882 { echo "$as_me:$LINENO: *** It appears that you do not have the iksemel development package installed." >&5
17883 echo "$as_me: *** It appears that you do not have the iksemel development package installed." >&6;}
17884 { echo "$as_me:$LINENO: *** Please install it to include ${IKSEMEL_DESCRIP} support, or re-run configure" >&5
17885 echo "$as_me: *** Please install it to include ${IKSEMEL_DESCRIP} support, or re-run configure" >&6;}
17886 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
17887 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
17896 cat >>confdefs.h <<_ACEOF
17897 #define HAVE_IKSEMEL 1
17901 elif test -n "${IKSEMEL_MANDATORY}";
17903 { echo "$as_me:$LINENO: ***" >&5
17904 echo "$as_me: ***" >&6;}
17905 { echo "$as_me:$LINENO: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&5
17906 echo "$as_me: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&6;}
17907 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
17908 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
17909 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
17910 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
17916 if test "${PBX_IKSEMEL}" = 1; then
17918 if test "${USE_GNUTLS}" != "no"; then
17920 if test "x${GNUTLS_DIR}" != "x"; then
17921 if test -d ${GNUTLS_DIR}/lib; then
17922 pbxlibdir="-L${GNUTLS_DIR}/lib"
17924 pbxlibdir="-L${GNUTLS_DIR}"
17927 { echo "$as_me:$LINENO: checking for gnutls_bye in -lgnutls" >&5
17928 echo $ECHO_N "checking for gnutls_bye in -lgnutls... $ECHO_C" >&6; }
17929 if test "${ac_cv_lib_gnutls_gnutls_bye+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17932 ac_check_lib_save_LIBS=$LIBS
17933 LIBS="-lgnutls ${pbxlibdir} -lz -lgcrypt -lgpg-error $LIBS"
17934 cat >conftest.$ac_ext <<_ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17941 /* Override any GCC internal prototype to avoid an error.
17942 Use char because int might match the return type of a GCC
17943 builtin and then its argument prototype would still apply. */
17947 char gnutls_bye ();
17951 return gnutls_bye ();
17956 rm -f conftest.$ac_objext conftest$ac_exeext
17957 if { (ac_try="$ac_link"
17958 case "(($ac_try" in
17959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17960 *) ac_try_echo
=$ac_try;;
17962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17963 (eval "$ac_link") 2>conftest.er1
17965 grep -v '^ *+' conftest.er1
>conftest.err
17967 cat conftest.err
>&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } && {
17970 test -z "$ac_c_werror_flag" ||
17971 test ! -s conftest.err
17972 } && test -s conftest
$ac_exeext &&
17973 $as_test_x conftest
$ac_exeext; then
17974 ac_cv_lib_gnutls_gnutls_bye
=yes
17976 echo "$as_me: failed program was:" >&5
17977 sed 's/^/| /' conftest.
$ac_ext >&5
17979 ac_cv_lib_gnutls_gnutls_bye
=no
17982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17983 conftest
$ac_exeext conftest.
$ac_ext
17984 LIBS
=$ac_check_lib_save_LIBS
17986 { echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_bye" >&5
17987 echo "${ECHO_T}$ac_cv_lib_gnutls_gnutls_bye" >&6; }
17988 if test $ac_cv_lib_gnutls_gnutls_bye = yes; then
17989 AST_GNUTLS_FOUND
=yes
17991 AST_GNUTLS_FOUND
=no
17995 if test "${AST_GNUTLS_FOUND}" = "yes"; then
17996 GNUTLS_LIB
="-lgnutls -lz -lgcrypt -lgpg-error"
17997 GNUTLS_HEADER_FOUND
="1"
17998 if test "x${GNUTLS_DIR}" != "x"; then
17999 GNUTLS_LIB
="${pbxlibdir} ${GNUTLS_LIB}"
18000 GNUTLS_INCLUDE
="-I${GNUTLS_DIR}/include"
18001 saved_cppflags
="${CPPFLAGS}"
18002 CPPFLAGS
="${CPPFLAGS} -I${GNUTLS_DIR}/include"
18003 if test "xgnutls/gnutls.h" != "x" ; then
18004 as_ac_Header
=`echo "ac_cv_header_${GNUTLS_DIR}/include/gnutls/gnutls.h" | $as_tr_sh`
18005 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18006 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h" >&5
18007 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h... $ECHO_C" >&6; }
18008 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 ac_res
=`eval echo '${'$as_ac_Header'}'`
18012 { echo "$as_me:$LINENO: result: $ac_res" >&5
18013 echo "${ECHO_T}$ac_res" >&6; }
18015 # Is the header compilable?
18016 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/gnutls/gnutls.h usability" >&5
18017 echo $ECHO_N "checking ${GNUTLS_DIR}/include/gnutls/gnutls.h usability... $ECHO_C" >&6; }
18018 cat >conftest.
$ac_ext <<_ACEOF
18021 cat confdefs.h
>>conftest.
$ac_ext
18022 cat >>conftest.
$ac_ext <<_ACEOF
18023 /* end confdefs.h. */
18024 $ac_includes_default
18025 #include <${GNUTLS_DIR}/include/gnutls/gnutls.h>
18027 rm -f conftest.
$ac_objext
18028 if { (ac_try
="$ac_compile"
18029 case "(($ac_try" in
18030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18031 *) ac_try_echo=$ac_try;;
18033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18034 (eval "$ac_compile") 2>conftest.er1
18036 grep -v '^ *+' conftest.er1 >conftest.err
18038 cat conftest.err >&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } && {
18041 test -z "$ac_c_werror_flag" ||
18042 test ! -s conftest.err
18043 } && test -s conftest.$ac_objext; then
18044 ac_header_compiler=yes
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.$ac_ext >&5
18049 ac_header_compiler=no
18052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18053 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18054 echo "${ECHO_T}$ac_header_compiler" >&6; }
18056 # Is the header present?
18057 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/gnutls/gnutls.h presence" >&5
18058 echo $ECHO_N "checking ${GNUTLS_DIR}/include/gnutls/gnutls.h presence... $ECHO_C" >&6; }
18059 cat >conftest.$ac_ext <<_ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065 #include <${GNUTLS_DIR}/include/gnutls/gnutls.h>
18067 if { (ac_try="$ac_cpp conftest.$ac_ext"
18068 case "(($ac_try" in
18069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18070 *) ac_try_echo
=$ac_try;;
18072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18075 grep -v '^ *+' conftest.er1
>conftest.err
18077 cat conftest.err
>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } >/dev
/null
&& {
18080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18081 test ! -s conftest.err
18083 ac_header_preproc
=yes
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.
$ac_ext >&5
18088 ac_header_preproc
=no
18091 rm -f conftest.err conftest.
$ac_ext
18092 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18093 echo "${ECHO_T}$ac_header_preproc" >&6; }
18095 # So? What about this header?
18096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18098 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&5
18099 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18100 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the compiler's result" >&5
18101 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the compiler's result" >&2;}
18102 ac_header_preproc
=yes
18105 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: present but cannot be compiled" >&5
18106 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: present but cannot be compiled" >&2;}
18107 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: check for missing prerequisite headers?" >&5
18108 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: check for missing prerequisite headers?" >&2;}
18109 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: see the Autoconf documentation" >&5
18110 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: see the Autoconf documentation" >&2;}
18111 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&5
18112 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&2;}
18113 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the preprocessor's result" >&5
18114 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the preprocessor's result" >&2;}
18115 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: in the future, the compiler will take precedence" >&5
18116 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;}
18120 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h" >&5
18121 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h... $ECHO_C" >&6; }
18122 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 eval "$as_ac_Header=\$ac_header_preproc"
18127 ac_res
=`eval echo '${'$as_ac_Header'}'`
18128 { echo "$as_me:$LINENO: result: $ac_res" >&5
18129 echo "${ECHO_T}$ac_res" >&6; }
18132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18133 GNUTLS_HEADER_FOUND
=1
18135 GNUTLS_HEADER_FOUND
=0
18140 CPPFLAGS
="${saved_cppflags}"
18142 if test "xgnutls/gnutls.h" != "x" ; then
18143 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
18144 { echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5
18145 echo $ECHO_N "checking for gnutls/gnutls.h... $ECHO_C" >&6; }
18146 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 { echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5
18150 echo "${ECHO_T}$ac_cv_header_gnutls_gnutls_h" >&6; }
18152 # Is the header compilable?
18153 { echo "$as_me:$LINENO: checking gnutls/gnutls.h usability" >&5
18154 echo $ECHO_N "checking gnutls/gnutls.h usability... $ECHO_C" >&6; }
18155 cat >conftest.
$ac_ext <<_ACEOF
18158 cat confdefs.h
>>conftest.
$ac_ext
18159 cat >>conftest.
$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18161 $ac_includes_default
18162 #include <gnutls/gnutls.h>
18164 rm -f conftest.
$ac_objext
18165 if { (ac_try
="$ac_compile"
18166 case "(($ac_try" in
18167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18168 *) ac_try_echo=$ac_try;;
18170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18171 (eval "$ac_compile") 2>conftest.er1
18173 grep -v '^ *+' conftest.er1 >conftest.err
18175 cat conftest.err >&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } && {
18178 test -z "$ac_c_werror_flag" ||
18179 test ! -s conftest.err
18180 } && test -s conftest.$ac_objext; then
18181 ac_header_compiler=yes
18183 echo "$as_me: failed program was:" >&5
18184 sed 's/^/| /' conftest.$ac_ext >&5
18186 ac_header_compiler=no
18189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18191 echo "${ECHO_T}$ac_header_compiler" >&6; }
18193 # Is the header present?
18194 { echo "$as_me:$LINENO: checking gnutls/gnutls.h presence" >&5
18195 echo $ECHO_N "checking gnutls/gnutls.h presence... $ECHO_C" >&6; }
18196 cat >conftest.$ac_ext <<_ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 #include <gnutls/gnutls.h>
18204 if { (ac_try="$ac_cpp conftest.$ac_ext"
18205 case "(($ac_try" in
18206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18207 *) ac_try_echo
=$ac_try;;
18209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18212 grep -v '^ *+' conftest.er1
>conftest.err
18214 cat conftest.err
>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } >/dev
/null
&& {
18217 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18218 test ! -s conftest.err
18220 ac_header_preproc
=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 ac_header_preproc
=no
18228 rm -f conftest.err conftest.
$ac_ext
18229 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18230 echo "${ECHO_T}$ac_header_preproc" >&6; }
18232 # So? What about this header?
18233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18235 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&5
18236 echo "$as_me: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18237 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&5
18238 echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&2;}
18239 ac_header_preproc
=yes
18242 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&5
18243 echo "$as_me: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&2;}
18244 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&5
18245 echo "$as_me: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&2;}
18246 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&5
18247 echo "$as_me: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&2;}
18248 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&5
18249 echo "$as_me: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&2;}
18250 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&5
18251 echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&2;}
18252 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&5
18253 echo "$as_me: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;}
18257 { echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5
18258 echo $ECHO_N "checking for gnutls/gnutls.h... $ECHO_C" >&6; }
18259 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18262 ac_cv_header_gnutls_gnutls_h
=$ac_header_preproc
18264 { echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5
18265 echo "${ECHO_T}$ac_cv_header_gnutls_gnutls_h" >&6; }
18268 if test $ac_cv_header_gnutls_gnutls_h = yes; then
18269 GNUTLS_HEADER_FOUND
=1
18271 GNUTLS_HEADER_FOUND
=0
18277 if test "x${GNUTLS_HEADER_FOUND}" = "x0" ; then
18278 if test -n "${GNUTLS_MANDATORY}" ;
18280 { echo "$as_me:$LINENO: ***" >&5
18281 echo "$as_me: ***" >&6;}
18282 { echo "$as_me:$LINENO: *** It appears that you do not have the gnutls development package installed." >&5
18283 echo "$as_me: *** It appears that you do not have the gnutls development package installed." >&6;}
18284 { echo "$as_me:$LINENO: *** Please install it to include ${GNUTLS_DESCRIP} support, or re-run configure" >&5
18285 echo "$as_me: *** Please install it to include ${GNUTLS_DESCRIP} support, or re-run configure" >&6;}
18286 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
18287 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
18296 cat >>confdefs.h
<<_ACEOF
18297 #define HAVE_GNUTLS 1
18301 elif test -n "${GNUTLS_MANDATORY}";
18303 { echo "$as_me:$LINENO: ***" >&5
18304 echo "$as_me: ***" >&6;}
18305 { echo "$as_me:$LINENO: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&5
18306 echo "$as_me: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&6;}
18307 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
18308 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
18309 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
18310 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
18317 if test "${USE_IMAP_TK}" != "no"; then
18318 if test "${IMAP_TK_DIR}" = ""; then
18319 IMAP_TK_DIR
=`pwd`"/../imap-2004g"
18320 if test -n "${IMAP_TK_MANDATORY}"; then
18321 { echo "$as_me:$LINENO: The --with-imap option does not search your system for installed" >&5
18322 echo "$as_me: The --with-imap option does not search your system for installed" >&6;}
18323 { echo "$as_me:$LINENO: c-client library/header files. Since you did not provide a path" >&5
18324 echo "$as_me: c-client library/header files. Since you did not provide a path" >&6;}
18325 { echo "$as_me:$LINENO: the configure script will assume you have placed built the c-client" >&5
18326 echo "$as_me: the configure script will assume you have placed built the c-client" >&6;}
18327 { echo "$as_me:$LINENO: files at ${IMAP_TK_DIR}, as outlined in the doc/imapstorage.txt file." >&5
18328 echo "$as_me: files at ${IMAP_TK_DIR}, as outlined in the doc/imapstorage.txt file." >&6;}
18331 { echo "$as_me:$LINENO: checking for UW IMAP Toolkit c-client library" >&5
18332 echo $ECHO_N "checking for UW IMAP Toolkit c-client library... $ECHO_C" >&6; }
18333 saved_cppflags
="${CPPFLAGS}"
18334 saved_libs
="${LIBS}"
18335 if test -f ${IMAP_TK_DIR}/c-client
/LDFLAGS
; then
18336 imap_ldflags
=`cat ${IMAP_TK_DIR}/c-client/LDFLAGS`
18338 CPPFLAGS
="${CPPFLAGS} -I${IMAP_TK_DIR}/c-client"
18339 LIBS
="${LIBS} ${IMAP_TK_DIR}/c-client/c-client.a "`echo ${imap_ldflags}`
18340 cat >conftest.$ac_ext <<_ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 #include "c-client.h
"
18347 void mm_searched (MAILSTREAM *stream,unsigned long number)
18350 void mm_exists (MAILSTREAM *stream,unsigned long number)
18353 void mm_expunged (MAILSTREAM *stream,unsigned long number)
18356 void mm_flags (MAILSTREAM *stream,unsigned long number)
18359 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
18362 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18365 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18368 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
18371 void mm_log (char *string,long errflg)
18374 void mm_dlog (char *string)
18377 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
18380 void mm_critical (MAILSTREAM *stream)
18383 void mm_nocritical (MAILSTREAM *stream)
18386 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
18389 void mm_fatal (char *string)
18396 MAILSTREAM *foo = mail_open(NULL, "", 0);
18403 rm -f conftest.$ac_objext conftest$ac_exeext
18404 if { (ac_try="$ac_link"
18405 case "(($ac_try" in
18406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18407 *) ac_try_echo=$ac_try;;
18409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18410 (eval "$ac_link") 2>conftest.er1
18412 grep -v '^ *+' conftest.er1 >conftest.err
18414 cat conftest.err >&5
18415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18416 (exit $ac_status); } && {
18417 test -z "$ac_c_werror_flag" ||
18418 test ! -s conftest.err
18419 } && test -s conftest$ac_exeext &&
18420 $as_test_x conftest$ac_exeext; then
18421 ac_cv_imap_tk="yes"
18423 echo "$as_me: failed program was
:" >&5
18424 sed 's/^/| /' conftest.$ac_ext >&5
18430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18431 conftest$ac_exeext conftest.$ac_ext
18432 if test "${ac_cv_imap_tk}" = "yes"; then
18433 cat >conftest.$ac_ext <<_ACEOF
18436 cat confdefs.h >>conftest.$ac_ext
18437 cat >>conftest.$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439 #include "c-client.h
"
18440 void mm_searched (MAILSTREAM *stream,unsigned long number)
18443 void mm_exists (MAILSTREAM *stream,unsigned long number)
18446 void mm_expunged (MAILSTREAM *stream,unsigned long number)
18449 void mm_flags (MAILSTREAM *stream,unsigned long number)
18452 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
18455 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18458 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18461 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
18464 void mm_log (char *string,long errflg)
18467 void mm_dlog (char *string)
18470 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
18473 void mm_critical (MAILSTREAM *stream)
18476 void mm_nocritical (MAILSTREAM *stream)
18479 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
18482 void mm_fatal (char *string)
18489 long check = mail_expunge_full(NULL, "", 0);
18496 rm -f conftest.$ac_objext conftest$ac_exeext
18497 if { (ac_try="$ac_link"
18498 case "(($ac_try" in
18499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18500 *) ac_try_echo=$ac_try;;
18502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18503 (eval "$ac_link") 2>conftest.er1
18505 grep -v '^ *+' conftest.er1 >conftest.err
18507 cat conftest.err >&5
18508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18509 (exit $ac_status); } && {
18510 test -z "$ac_c_werror_flag" ||
18511 test ! -s conftest.err
18512 } && test -s conftest$ac_exeext &&
18513 $as_test_x conftest$ac_exeext; then
18514 ac_cv_imap_tk2006="yes"
18516 echo "$as_me: failed program was
:" >&5
18517 sed 's/^/| /' conftest.$ac_ext >&5
18519 ac_cv_imap_tk2006="no
"
18523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18524 conftest$ac_exeext conftest.$ac_ext
18526 CPPFLAGS="${saved_cppflags}"
18527 LIBS="${saved_libs}"
18528 if test "${ac_cv_imap_tk}" = "yes"; then
18529 { echo "$as_me:$LINENO: result
: yes" >&5
18530 echo "${ECHO_T}yes" >&6; }
18531 IMAP_TK_LIB="${IMAP_TK_DIR}/c-client
/c-client.a
"`echo ${imap_ldflags}`
18532 IMAP_TK_INCLUDE="-I${IMAP_TK_DIR}/c-client
"
18535 cat >>confdefs.h <<\_ACEOF
18536 #define HAVE_IMAP_TK 1
18539 if test "${ac_cv_imap_tk2006}" = "yes"; then
18541 cat >>confdefs.h <<\_ACEOF
18542 #define HAVE_IMAP_TK2006 1
18546 elif test -n "${IMAP_TK_MANDATORY}"; then
18547 { echo "$as_me:$LINENO: result
: no
" >&5
18548 echo "${ECHO_T}no
" >&6; }
18549 { echo "$as_me:$LINENO: ***" >&5
18550 echo "$as_me: ***" >&6;}
18551 { echo "$as_me:$LINENO: *** The UW IMAP Toolkit installation on this system appears to be broken.
" >&5
18552 echo "$as_me: *** The UW IMAP Toolkit installation on this system appears to be broken.
" >&6;}
18553 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
18554 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
18555 { echo "$as_me:$LINENO: *** including
--without-imap.
" >&5
18556 echo "$as_me: *** including
--without-imap.
" >&6;}
18559 { echo "$as_me:$LINENO: result
: no
" >&5
18560 echo "${ECHO_T}no
" >&6; }
18564 # Needed by unixodbc
18566 if test "${USE_LTDL}" != "no
"; then
18568 if test "x
${LTDL_DIR}" != "x
"; then
18569 if test -d ${LTDL_DIR}/lib; then
18570 pbxlibdir="-L${LTDL_DIR}/lib
"
18572 pbxlibdir="-L${LTDL_DIR}"
18575 { echo "$as_me:$LINENO: checking
for lt_dlinit
in -lltdl" >&5
18576 echo $ECHO_N "checking
for lt_dlinit
in -lltdl...
$ECHO_C" >&6; }
18577 if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
18578 echo $ECHO_N "(cached
) $ECHO_C" >&6
18580 ac_check_lib_save_LIBS=$LIBS
18581 LIBS="-lltdl ${pbxlibdir} $LIBS"
18582 cat >conftest.$ac_ext <<_ACEOF
18585 cat confdefs.h >>conftest.$ac_ext
18586 cat >>conftest.$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18589 /* Override any GCC internal prototype to avoid an error.
18590 Use char because int might match the return type of a GCC
18591 builtin and then its argument prototype would still apply. */
18599 return lt_dlinit ();
18604 rm -f conftest.$ac_objext conftest$ac_exeext
18605 if { (ac_try="$ac_link"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_link") 2>conftest.er1
18613 grep -v '^ *+' conftest.er1 >conftest.err
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_c_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest$ac_exeext &&
18621 $as_test_x conftest$ac_exeext; then
18622 ac_cv_lib_ltdl_lt_dlinit=yes
18624 echo "$as_me: failed program was
:" >&5
18625 sed 's/^/| /' conftest.$ac_ext >&5
18627 ac_cv_lib_ltdl_lt_dlinit=no
18630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18631 conftest$ac_exeext conftest.$ac_ext
18632 LIBS=$ac_check_lib_save_LIBS
18634 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ltdl_lt_dlinit" >&5
18635 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6; }
18636 if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
18643 if test "${AST_LTDL_FOUND}" = "yes"; then
18645 LTDL_HEADER_FOUND="1"
18646 if test "x
${LTDL_DIR}" != "x
"; then
18647 LTDL_LIB="${pbxlibdir} ${LTDL_LIB}"
18648 LTDL_INCLUDE="-I${LTDL_DIR}/include
"
18649 saved_cppflags="${CPPFLAGS}"
18650 CPPFLAGS="${CPPFLAGS} -I${LTDL_DIR}/include
"
18651 if test "xltdl.h
" != "x
" ; then
18652 as_ac_Header=`echo "ac_cv_header_
${LTDL_DIR}/include
/ltdl.h
" | $as_tr_sh`
18653 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18654 { echo "$as_me:$LINENO: checking
for ${LTDL_DIR}/include
/ltdl.h
" >&5
18655 echo $ECHO_N "checking
for ${LTDL_DIR}/include
/ltdl.h...
$ECHO_C" >&6; }
18656 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18657 echo $ECHO_N "(cached
) $ECHO_C" >&6
18659 ac_res=`eval echo '${'$as_ac_Header'}'`
18660 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18661 echo "${ECHO_T}$ac_res" >&6; }
18663 # Is the header compilable?
18664 { echo "$as_me:$LINENO: checking
${LTDL_DIR}/include
/ltdl.h usability
" >&5
18665 echo $ECHO_N "checking
${LTDL_DIR}/include
/ltdl.h usability...
$ECHO_C" >&6; }
18666 cat >conftest.$ac_ext <<_ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18672 $ac_includes_default
18673 #include <${LTDL_DIR}/include/ltdl.h>
18675 rm -f conftest.$ac_objext
18676 if { (ac_try="$ac_compile"
18677 case "(($ac_try" in
18678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18679 *) ac_try_echo=$ac_try;;
18681 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18682 (eval "$ac_compile") 2>conftest.er1
18684 grep -v '^ *+' conftest.er1 >conftest.err
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18688 (exit $ac_status); } && {
18689 test -z "$ac_c_werror_flag" ||
18690 test ! -s conftest.err
18691 } && test -s conftest.$ac_objext; then
18692 ac_header_compiler=yes
18694 echo "$as_me: failed program was
:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18697 ac_header_compiler=no
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18702 echo "${ECHO_T}$ac_header_compiler" >&6; }
18704 # Is the header present?
18705 { echo "$as_me:$LINENO: checking
${LTDL_DIR}/include
/ltdl.h presence
" >&5
18706 echo $ECHO_N "checking
${LTDL_DIR}/include
/ltdl.h presence...
$ECHO_C" >&6; }
18707 cat >conftest.$ac_ext <<_ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 #include <${LTDL_DIR}/include/ltdl.h>
18715 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18716 case "(($ac_try" in
18717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18723 grep -v '^ *+' conftest.er1 >conftest.err
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18727 (exit $ac_status); } >/dev/null && {
18728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18729 test ! -s conftest.err
18731 ac_header_preproc=yes
18733 echo "$as_me: failed program was
:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18736 ac_header_preproc=no
18739 rm -f conftest.err conftest.$ac_ext
18740 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18741 echo "${ECHO_T}$ac_header_preproc" >&6; }
18743 # So? What about this header?
18744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18746 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18747 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18748 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: proceeding with the compiler
's result" >&5
18749 echo "$as_me: WARNING: ${LTDL_DIR}/include/ltdl.h: proceeding with the compiler's result
" >&2;}
18750 ac_header_preproc=yes
18753 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: present but cannot be compiled
" >&5
18754 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: present but cannot be compiled
" >&2;}
18755 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: check
for missing prerequisite headers?
" >&5
18756 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: check
for missing prerequisite headers?
" >&2;}
18757 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: see the Autoconf documentation
" >&5
18758 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: see the Autoconf documentation
" >&2;}
18759 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18760 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18761 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: proceeding with the preprocessor
's result" >&5
18762 echo "$as_me: WARNING: ${LTDL_DIR}/include/ltdl.h: proceeding with the preprocessor's result
" >&2;}
18763 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: in the future
, the compiler will take precedence
" >&5
18764 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: in the future
, the compiler will take precedence
" >&2;}
18768 { echo "$as_me:$LINENO: checking
for ${LTDL_DIR}/include
/ltdl.h
" >&5
18769 echo $ECHO_N "checking
for ${LTDL_DIR}/include
/ltdl.h...
$ECHO_C" >&6; }
18770 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18771 echo $ECHO_N "(cached
) $ECHO_C" >&6
18773 eval "$as_ac_Header=\
$ac_header_preproc"
18775 ac_res=`eval echo '${'$as_ac_Header'}'`
18776 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18777 echo "${ECHO_T}$ac_res" >&6; }
18780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18781 LTDL_HEADER_FOUND=1
18783 LTDL_HEADER_FOUND=0
18788 CPPFLAGS="${saved_cppflags}"
18790 if test "xltdl.h
" != "x
" ; then
18791 if test "${ac_cv_header_ltdl_h+set}" = set; then
18792 { echo "$as_me:$LINENO: checking
for ltdl.h
" >&5
18793 echo $ECHO_N "checking
for ltdl.h...
$ECHO_C" >&6; }
18794 if test "${ac_cv_header_ltdl_h+set}" = set; then
18795 echo $ECHO_N "(cached
) $ECHO_C" >&6
18797 { echo "$as_me:$LINENO: result
: $ac_cv_header_ltdl_h" >&5
18798 echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
18800 # Is the header compilable?
18801 { echo "$as_me:$LINENO: checking ltdl.h usability
" >&5
18802 echo $ECHO_N "checking ltdl.h usability...
$ECHO_C" >&6; }
18803 cat >conftest.$ac_ext <<_ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 $ac_includes_default
18812 rm -f conftest.$ac_objext
18813 if { (ac_try="$ac_compile"
18814 case "(($ac_try" in
18815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18816 *) ac_try_echo=$ac_try;;
18818 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18819 (eval "$ac_compile") 2>conftest.er1
18821 grep -v '^ *+' conftest.er1 >conftest.err
18823 cat conftest.err >&5
18824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18825 (exit $ac_status); } && {
18826 test -z "$ac_c_werror_flag" ||
18827 test ! -s conftest.err
18828 } && test -s conftest.$ac_objext; then
18829 ac_header_compiler=yes
18831 echo "$as_me: failed program was
:" >&5
18832 sed 's/^/| /' conftest.$ac_ext >&5
18834 ac_header_compiler=no
18837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18838 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18839 echo "${ECHO_T}$ac_header_compiler" >&6; }
18841 # Is the header present?
18842 { echo "$as_me:$LINENO: checking ltdl.h presence
" >&5
18843 echo $ECHO_N "checking ltdl.h presence...
$ECHO_C" >&6; }
18844 cat >conftest.$ac_ext <<_ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18852 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18853 case "(($ac_try" in
18854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18855 *) ac_try_echo=$ac_try;;
18857 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18860 grep -v '^ *+' conftest.er1 >conftest.err
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18864 (exit $ac_status); } >/dev/null && {
18865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18866 test ! -s conftest.err
18868 ac_header_preproc=yes
18870 echo "$as_me: failed program was
:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18873 ac_header_preproc=no
18876 rm -f conftest.err conftest.$ac_ext
18877 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18878 echo "${ECHO_T}$ac_header_preproc" >&6; }
18880 # So? What about this header?
18881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18883 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18884 echo "$as_me: WARNING
: ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18885 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: proceeding with the compiler
's result" >&5
18886 echo "$as_me: WARNING: ltdl.h: proceeding with the compiler's result
" >&2;}
18887 ac_header_preproc=yes
18890 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: present but cannot be compiled
" >&5
18891 echo "$as_me: WARNING
: ltdl.h
: present but cannot be compiled
" >&2;}
18892 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: check
for missing prerequisite headers?
" >&5
18893 echo "$as_me: WARNING
: ltdl.h
: check
for missing prerequisite headers?
" >&2;}
18894 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: see the Autoconf documentation
" >&5
18895 echo "$as_me: WARNING
: ltdl.h
: see the Autoconf documentation
" >&2;}
18896 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18897 echo "$as_me: WARNING
: ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18898 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: proceeding with the preprocessor
's result" >&5
18899 echo "$as_me: WARNING: ltdl.h: proceeding with the preprocessor's result
" >&2;}
18900 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: in the future
, the compiler will take precedence
" >&5
18901 echo "$as_me: WARNING
: ltdl.h
: in the future
, the compiler will take precedence
" >&2;}
18905 { echo "$as_me:$LINENO: checking
for ltdl.h
" >&5
18906 echo $ECHO_N "checking
for ltdl.h...
$ECHO_C" >&6; }
18907 if test "${ac_cv_header_ltdl_h+set}" = set; then
18908 echo $ECHO_N "(cached
) $ECHO_C" >&6
18910 ac_cv_header_ltdl_h=$ac_header_preproc
18912 { echo "$as_me:$LINENO: result
: $ac_cv_header_ltdl_h" >&5
18913 echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
18916 if test $ac_cv_header_ltdl_h = yes; then
18917 LTDL_HEADER_FOUND=1
18919 LTDL_HEADER_FOUND=0
18925 if test "x
${LTDL_HEADER_FOUND}" = "x0
" ; then
18926 if test -n "${LTDL_MANDATORY}" ;
18928 { echo "$as_me:$LINENO: ***" >&5
18929 echo "$as_me: ***" >&6;}
18930 { echo "$as_me:$LINENO: *** It appears that you
do not have the ltdl development package installed.
" >&5
18931 echo "$as_me: *** It appears that you
do not have the ltdl development package installed.
" >&6;}
18932 { echo "$as_me:$LINENO: *** Please
install it to include
${LTDL_DESCRIP} support
, or re-run configure
" >&5
18933 echo "$as_me: *** Please
install it to include
${LTDL_DESCRIP} support
, or re-run configure
" >&6;}
18934 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${LTDL_OPTION}" >&5
18935 echo "$as_me: *** without explicitly specifying
--with-${LTDL_OPTION}" >&6;}
18944 cat >>confdefs.h <<_ACEOF
18945 #define HAVE_LTDL 1
18949 elif test -n "${LTDL_MANDATORY}";
18951 { echo "$as_me:$LINENO: ***" >&5
18952 echo "$as_me: ***" >&6;}
18953 { echo "$as_me:$LINENO: *** The
${LTDL_DESCRIP} installation on this system appears to be broken.
" >&5
18954 echo "$as_me: *** The
${LTDL_DESCRIP} installation on this system appears to be broken.
" >&6;}
18955 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
18956 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
18957 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${LTDL_OPTION}" >&5
18958 echo "$as_me: *** without explicitly specifying
--with-${LTDL_OPTION}" >&6;}
18965 ac_cpp='$CXXCPP $CPPFLAGS'
18966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18971 if test "${USE_KDE}" != "no
"; then
18972 { echo "$as_me:$LINENO: checking
for crashHandler
in -lkdecore" >&5
18973 echo $ECHO_N "checking
for crashHandler
in -lkdecore...
$ECHO_C" >&6; }
18974 saved_libs="${LIBS}"
18975 saved_cppflags="${CPPFLAGS}"
18976 CPPFLAGS="${CPPFLAGS} -I${KDE_DIR}/include
"
18977 if test -d ${KDE_DIR}/lib; then
18978 kdelibdir="${KDE_DIR}/lib
"
18980 kdelibdir="${KDE_DIR}"
18982 LIBS="${LIBS} -L${kdelibdir} -lkdecore"
18985 cat >conftest.$ac_ext <<_ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 #include "kcrash.h
"
18995 KCrash::defaultCrashHandler(1);
19001 rm -f conftest.$ac_objext conftest$ac_exeext
19002 if { (ac_try="$ac_link"
19003 case "(($ac_try" in
19004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_link") 2>conftest.er1
19010 grep -v '^ *+' conftest.er1 >conftest.err
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19014 (exit $ac_status); } && {
19015 test -z "$ac_cxx_werror_flag" ||
19016 test ! -s conftest.err
19017 } && test -s conftest$ac_exeext &&
19018 $as_test_x conftest$ac_exeext; then
19019 ac_cv_lib_kde_crash="yes"
19021 echo "$as_me: failed program was
:" >&5
19022 sed 's/^/| /' conftest.$ac_ext >&5
19024 ac_cv_lib_kde_crash="no
"
19027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19028 conftest$ac_exeext conftest.$ac_ext
19030 LIBS="${saved_libs}"
19031 CPPFLAGS="${saved_cppflags}"
19033 if test "${ac_cv_lib_kde_crash}" = "yes"; then
19034 { echo "$as_me:$LINENO: result
: yes" >&5
19035 echo "${ECHO_T}yes" >&6; }
19036 KDE_LIB="-lkdecore -lkdeui"
19037 if test "${KDE_DIR}" != ""; then
19038 KDE_LIB="-L${kdelibdir} ${KDE_LIB}"
19039 KDE_INCLUDE="-I${KDE_DIR}/include
"
19043 cat >>confdefs.h <<\_ACEOF
19044 #define HAVE_LIBKDE 1
19047 elif test -n "${KDE_MANDATORY}"; then
19048 { echo "$as_me:$LINENO: result
: no
" >&5
19049 echo "${ECHO_T}no
" >&6; }
19050 { echo "$as_me:$LINENO: ***" >&5
19051 echo "$as_me: ***" >&6;}
19052 { echo "$as_me:$LINENO: *** The KDE installation on this system appears to be broken.
" >&5
19053 echo "$as_me: *** The KDE installation on this system appears to be broken.
" >&6;}
19054 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19055 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19056 { echo "$as_me:$LINENO: *** including
--without-kde.
" >&5
19057 echo "$as_me: *** including
--without-kde.
" >&6;}
19060 { echo "$as_me:$LINENO: result
: no
" >&5
19061 echo "${ECHO_T}no
" >&6; }
19064 if test "${PBX_KDE}" = 1; then
19065 if test -n "$ac_tool_prefix"; then
19066 # Extract the first word of "${ac_tool_prefix}kdeinit
", so it can be a program name with args.
19067 set dummy ${ac_tool_prefix}kdeinit; ac_word=$2
19068 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
19069 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
19070 if test "${ac_cv_path_KDEINIT+set}" = set; then
19071 echo $ECHO_N "(cached
) $ECHO_C" >&6
19075 ac_cv_path_KDEINIT="$KDEINIT" # Let the user override the test with a path.
19078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19079 for as_dir in $PATH
19082 test -z "$as_dir" && as_dir=.
19083 for ac_exec_ext in '' $ac_executable_extensions; do
19084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19085 ac_cv_path_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
19086 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
19096 KDEINIT=$ac_cv_path_KDEINIT
19097 if test -n "$KDEINIT"; then
19098 { echo "$as_me:$LINENO: result
: $KDEINIT" >&5
19099 echo "${ECHO_T}$KDEINIT" >&6; }
19101 { echo "$as_me:$LINENO: result
: no
" >&5
19102 echo "${ECHO_T}no
" >&6; }
19107 if test -z "$ac_cv_path_KDEINIT"; then
19108 ac_pt_KDEINIT=$KDEINIT
19109 # Extract the first word of "kdeinit
", so it can be a program name with args.
19110 set dummy kdeinit; ac_word=$2
19111 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
19112 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
19113 if test "${ac_cv_path_ac_pt_KDEINIT+set}" = set; then
19114 echo $ECHO_N "(cached
) $ECHO_C" >&6
19116 case $ac_pt_KDEINIT in
19118 ac_cv_path_ac_pt_KDEINIT="$ac_pt_KDEINIT" # Let the user override the test with a path.
19121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19122 for as_dir in $PATH
19125 test -z "$as_dir" && as_dir=.
19126 for ac_exec_ext in '' $ac_executable_extensions; do
19127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19128 ac_cv_path_ac_pt_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
19129 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
19139 ac_pt_KDEINIT=$ac_cv_path_ac_pt_KDEINIT
19140 if test -n "$ac_pt_KDEINIT"; then
19141 { echo "$as_me:$LINENO: result
: $ac_pt_KDEINIT" >&5
19142 echo "${ECHO_T}$ac_pt_KDEINIT" >&6; }
19144 { echo "$as_me:$LINENO: result
: no
" >&5
19145 echo "${ECHO_T}no
" >&6; }
19148 if test "x
$ac_pt_KDEINIT" = x; then
19151 case $cross_compiling:$ac_tool_warned in
19153 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
19154 whose name does not start with the
host triplet. If you think this
19155 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
19156 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
19157 whose name does not start with the
host triplet. If you think this
19158 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
19159 ac_tool_warned=yes ;;
19161 KDEINIT=$ac_pt_KDEINIT
19164 KDEINIT="$ac_cv_path_KDEINIT"
19167 if test ! x"${KDEINIT}" = xNo; then
19168 KDEDIR=$(${DIRNAME} ${KDEINIT})
19169 KDEDIR=$(${DIRNAME} ${KDEDIR})
19175 ac_cpp='$CPP $CPPFLAGS'
19176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19182 if test "${USE_MISDN}" != "no
"; then
19184 if test "x
${MISDN_DIR}" != "x
"; then
19185 if test -d ${MISDN_DIR}/lib; then
19186 pbxlibdir="-L${MISDN_DIR}/lib
"
19188 pbxlibdir="-L${MISDN_DIR}"
19191 { echo "$as_me:$LINENO: checking
for mISDN_open
in -lmISDN" >&5
19192 echo $ECHO_N "checking
for mISDN_open
in -lmISDN...
$ECHO_C" >&6; }
19193 if test "${ac_cv_lib_mISDN_mISDN_open+set}" = set; then
19194 echo $ECHO_N "(cached
) $ECHO_C" >&6
19196 ac_check_lib_save_LIBS=$LIBS
19197 LIBS="-lmISDN ${pbxlibdir} $LIBS"
19198 cat >conftest.$ac_ext <<_ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19205 /* Override any GCC internal prototype to avoid an error.
19206 Use char because int might match the return type of a GCC
19207 builtin and then its argument prototype would still apply. */
19211 char mISDN_open ();
19215 return mISDN_open ();
19220 rm -f conftest.$ac_objext conftest$ac_exeext
19221 if { (ac_try="$ac_link"
19222 case "(($ac_try" in
19223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19224 *) ac_try_echo=$ac_try;;
19226 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19227 (eval "$ac_link") 2>conftest.er1
19229 grep -v '^ *+' conftest.er1 >conftest.err
19231 cat conftest.err >&5
19232 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19233 (exit $ac_status); } && {
19234 test -z "$ac_c_werror_flag" ||
19235 test ! -s conftest.err
19236 } && test -s conftest$ac_exeext &&
19237 $as_test_x conftest$ac_exeext; then
19238 ac_cv_lib_mISDN_mISDN_open=yes
19240 echo "$as_me: failed program was
:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19243 ac_cv_lib_mISDN_mISDN_open=no
19246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19247 conftest$ac_exeext conftest.$ac_ext
19248 LIBS=$ac_check_lib_save_LIBS
19250 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mISDN_mISDN_open" >&5
19251 echo "${ECHO_T}$ac_cv_lib_mISDN_mISDN_open" >&6; }
19252 if test $ac_cv_lib_mISDN_mISDN_open = yes; then
19253 AST_MISDN_FOUND=yes
19259 if test "${AST_MISDN_FOUND}" = "yes"; then
19260 MISDN_LIB="-lmISDN "
19261 MISDN_HEADER_FOUND="1"
19262 if test "x
${MISDN_DIR}" != "x
"; then
19263 MISDN_LIB="${pbxlibdir} ${MISDN_LIB}"
19264 MISDN_INCLUDE="-I${MISDN_DIR}/include
"
19265 saved_cppflags="${CPPFLAGS}"
19266 CPPFLAGS="${CPPFLAGS} -I${MISDN_DIR}/include
"
19267 if test "xmISDNuser
/mISDNlib.h
" != "x
" ; then
19268 as_ac_Header=`echo "ac_cv_header_
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" | $as_tr_sh`
19269 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19270 { echo "$as_me:$LINENO: checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" >&5
19271 echo $ECHO_N "checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19272 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19273 echo $ECHO_N "(cached
) $ECHO_C" >&6
19275 ac_res=`eval echo '${'$as_ac_Header'}'`
19276 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19277 echo "${ECHO_T}$ac_res" >&6; }
19279 # Is the header compilable?
19280 { echo "$as_me:$LINENO: checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h usability
" >&5
19281 echo $ECHO_N "checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h usability...
$ECHO_C" >&6; }
19282 cat >conftest.$ac_ext <<_ACEOF
19285 cat confdefs.h >>conftest.$ac_ext
19286 cat >>conftest.$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19288 $ac_includes_default
19289 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
19291 rm -f conftest.$ac_objext
19292 if { (ac_try="$ac_compile"
19293 case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19297 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_compile") 2>conftest.er1
19300 grep -v '^ *+' conftest.er1 >conftest.err
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19304 (exit $ac_status); } && {
19305 test -z "$ac_c_werror_flag" ||
19306 test ! -s conftest.err
19307 } && test -s conftest.$ac_objext; then
19308 ac_header_compiler=yes
19310 echo "$as_me: failed program was
:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19313 ac_header_compiler=no
19316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19317 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19318 echo "${ECHO_T}$ac_header_compiler" >&6; }
19320 # Is the header present?
19321 { echo "$as_me:$LINENO: checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h presence
" >&5
19322 echo $ECHO_N "checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h presence...
$ECHO_C" >&6; }
19323 cat >conftest.$ac_ext <<_ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
19331 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19332 case "(($ac_try" in
19333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19334 *) ac_try_echo=$ac_try;;
19336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19337 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19339 grep -v '^ *+' conftest.er1 >conftest.err
19341 cat conftest.err >&5
19342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19343 (exit $ac_status); } >/dev/null && {
19344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19345 test ! -s conftest.err
19347 ac_header_preproc=yes
19349 echo "$as_me: failed program was
:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 ac_header_preproc=no
19355 rm -f conftest.err conftest.$ac_ext
19356 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19357 echo "${ECHO_T}$ac_header_preproc" >&6; }
19359 # So? What about this header?
19360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19362 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19363 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19364 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&5
19365 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&2;}
19366 ac_header_preproc=yes
19369 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&5
19370 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&2;}
19371 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&5
19372 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&2;}
19373 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&5
19374 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&2;}
19375 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19376 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19377 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&5
19378 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&2;}
19379 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&5
19380 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&2;}
19384 { echo "$as_me:$LINENO: checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" >&5
19385 echo $ECHO_N "checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19386 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19387 echo $ECHO_N "(cached
) $ECHO_C" >&6
19389 eval "$as_ac_Header=\
$ac_header_preproc"
19391 ac_res=`eval echo '${'$as_ac_Header'}'`
19392 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19393 echo "${ECHO_T}$ac_res" >&6; }
19396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19397 MISDN_HEADER_FOUND=1
19399 MISDN_HEADER_FOUND=0
19404 CPPFLAGS="${saved_cppflags}"
19406 if test "xmISDNuser
/mISDNlib.h
" != "x
" ; then
19407 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
19408 { echo "$as_me:$LINENO: checking
for mISDNuser
/mISDNlib.h
" >&5
19409 echo $ECHO_N "checking
for mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19410 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
19411 echo $ECHO_N "(cached
) $ECHO_C" >&6
19413 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
19414 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
19416 # Is the header compilable?
19417 { echo "$as_me:$LINENO: checking mISDNuser
/mISDNlib.h usability
" >&5
19418 echo $ECHO_N "checking mISDNuser
/mISDNlib.h usability...
$ECHO_C" >&6; }
19419 cat >conftest.$ac_ext <<_ACEOF
19422 cat confdefs.h >>conftest.$ac_ext
19423 cat >>conftest.$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 $ac_includes_default
19426 #include <mISDNuser/mISDNlib.h>
19428 rm -f conftest.$ac_objext
19429 if { (ac_try="$ac_compile"
19430 case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_compile") 2>conftest.er1
19437 grep -v '^ *+' conftest.er1 >conftest.err
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19441 (exit $ac_status); } && {
19442 test -z "$ac_c_werror_flag" ||
19443 test ! -s conftest.err
19444 } && test -s conftest.$ac_objext; then
19445 ac_header_compiler=yes
19447 echo "$as_me: failed program was
:" >&5
19448 sed 's/^/| /' conftest.$ac_ext >&5
19450 ac_header_compiler=no
19453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19455 echo "${ECHO_T}$ac_header_compiler" >&6; }
19457 # Is the header present?
19458 { echo "$as_me:$LINENO: checking mISDNuser
/mISDNlib.h presence
" >&5
19459 echo $ECHO_N "checking mISDNuser
/mISDNlib.h presence...
$ECHO_C" >&6; }
19460 cat >conftest.$ac_ext <<_ACEOF
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 #include <mISDNuser/mISDNlib.h>
19468 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19469 case "(($ac_try" in
19470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19471 *) ac_try_echo=$ac_try;;
19473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19474 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19476 grep -v '^ *+' conftest.er1 >conftest.err
19478 cat conftest.err >&5
19479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19480 (exit $ac_status); } >/dev/null && {
19481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19482 test ! -s conftest.err
19484 ac_header_preproc=yes
19486 echo "$as_me: failed program was
:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19489 ac_header_preproc=no
19492 rm -f conftest.err conftest.$ac_ext
19493 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19494 echo "${ECHO_T}$ac_header_preproc" >&6; }
19496 # So? What about this header?
19497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19499 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19500 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19501 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&5
19502 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&2;}
19503 ac_header_preproc=yes
19506 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&5
19507 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&2;}
19508 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&5
19509 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&2;}
19510 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&5
19511 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&2;}
19512 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19513 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19514 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&5
19515 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&2;}
19516 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&5
19517 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&2;}
19521 { echo "$as_me:$LINENO: checking
for mISDNuser
/mISDNlib.h
" >&5
19522 echo $ECHO_N "checking
for mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19523 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
19524 echo $ECHO_N "(cached
) $ECHO_C" >&6
19526 ac_cv_header_mISDNuser_mISDNlib_h=$ac_header_preproc
19528 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
19529 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
19532 if test $ac_cv_header_mISDNuser_mISDNlib_h = yes; then
19533 MISDN_HEADER_FOUND=1
19535 MISDN_HEADER_FOUND=0
19541 if test "x
${MISDN_HEADER_FOUND}" = "x0
" ; then
19542 if test -n "${MISDN_MANDATORY}" ;
19544 { echo "$as_me:$LINENO: ***" >&5
19545 echo "$as_me: ***" >&6;}
19546 { echo "$as_me:$LINENO: *** It appears that you
do not have the mISDN development package installed.
" >&5
19547 echo "$as_me: *** It appears that you
do not have the mISDN development package installed.
" >&6;}
19548 { echo "$as_me:$LINENO: *** Please
install it to include
${MISDN_DESCRIP} support
, or re-run configure
" >&5
19549 echo "$as_me: *** Please
install it to include
${MISDN_DESCRIP} support
, or re-run configure
" >&6;}
19550 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${MISDN_OPTION}" >&5
19551 echo "$as_me: *** without explicitly specifying
--with-${MISDN_OPTION}" >&6;}
19560 cat >>confdefs.h <<_ACEOF
19561 #define HAVE_MISDN 1
19565 elif test -n "${MISDN_MANDATORY}";
19567 { echo "$as_me:$LINENO: ***" >&5
19568 echo "$as_me: ***" >&6;}
19569 { echo "$as_me:$LINENO: *** The
${MISDN_DESCRIP} installation on this system appears to be broken.
" >&5
19570 echo "$as_me: *** The
${MISDN_DESCRIP} installation on this system appears to be broken.
" >&6;}
19571 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19572 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19573 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${MISDN_OPTION}" >&5
19574 echo "$as_me: *** without explicitly specifying
--with-${MISDN_OPTION}" >&6;}
19580 if test "${PBX_MISDN}" = 1; then
19582 if test "${USE_ISDNNET}" != "no
"; then
19584 if test "x
${ISDNNET_DIR}" != "x
"; then
19585 if test -d ${ISDNNET_DIR}/lib; then
19586 pbxlibdir="-L${ISDNNET_DIR}/lib
"
19588 pbxlibdir="-L${ISDNNET_DIR}"
19591 { echo "$as_me:$LINENO: checking
for init_manager
in -lisdnnet" >&5
19592 echo $ECHO_N "checking
for init_manager
in -lisdnnet...
$ECHO_C" >&6; }
19593 if test "${ac_cv_lib_isdnnet_init_manager+set}" = set; then
19594 echo $ECHO_N "(cached
) $ECHO_C" >&6
19596 ac_check_lib_save_LIBS=$LIBS
19597 LIBS="-lisdnnet ${pbxlibdir} -lmISDN -lpthread $LIBS"
19598 cat >conftest.$ac_ext <<_ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19605 /* Override any GCC internal prototype to avoid an error.
19606 Use char because int might match the return type of a GCC
19607 builtin and then its argument prototype would still apply. */
19611 char init_manager ();
19615 return init_manager ();
19620 rm -f conftest.$ac_objext conftest$ac_exeext
19621 if { (ac_try="$ac_link"
19622 case "(($ac_try" in
19623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19624 *) ac_try_echo=$ac_try;;
19626 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19627 (eval "$ac_link") 2>conftest.er1
19629 grep -v '^ *+' conftest.er1 >conftest.err
19631 cat conftest.err >&5
19632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19633 (exit $ac_status); } && {
19634 test -z "$ac_c_werror_flag" ||
19635 test ! -s conftest.err
19636 } && test -s conftest$ac_exeext &&
19637 $as_test_x conftest$ac_exeext; then
19638 ac_cv_lib_isdnnet_init_manager=yes
19640 echo "$as_me: failed program was
:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19643 ac_cv_lib_isdnnet_init_manager=no
19646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19647 conftest$ac_exeext conftest.$ac_ext
19648 LIBS=$ac_check_lib_save_LIBS
19650 { echo "$as_me:$LINENO: result
: $ac_cv_lib_isdnnet_init_manager" >&5
19651 echo "${ECHO_T}$ac_cv_lib_isdnnet_init_manager" >&6; }
19652 if test $ac_cv_lib_isdnnet_init_manager = yes; then
19653 AST_ISDNNET_FOUND=yes
19655 AST_ISDNNET_FOUND=no
19659 if test "${AST_ISDNNET_FOUND}" = "yes"; then
19660 ISDNNET_LIB="-lisdnnet -lmISDN -lpthread"
19661 ISDNNET_HEADER_FOUND="1"
19662 if test "x
${ISDNNET_DIR}" != "x
"; then
19663 ISDNNET_LIB="${pbxlibdir} ${ISDNNET_LIB}"
19664 ISDNNET_INCLUDE="-I${ISDNNET_DIR}/include
"
19665 saved_cppflags="${CPPFLAGS}"
19666 CPPFLAGS="${CPPFLAGS} -I${ISDNNET_DIR}/include
"
19667 if test "xmISDNuser
/isdn_net.h
" != "x
" ; then
19668 as_ac_Header=`echo "ac_cv_header_
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" | $as_tr_sh`
19669 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19670 { echo "$as_me:$LINENO: checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" >&5
19671 echo $ECHO_N "checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19672 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19673 echo $ECHO_N "(cached
) $ECHO_C" >&6
19675 ac_res=`eval echo '${'$as_ac_Header'}'`
19676 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19677 echo "${ECHO_T}$ac_res" >&6; }
19679 # Is the header compilable?
19680 { echo "$as_me:$LINENO: checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h usability
" >&5
19681 echo $ECHO_N "checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h usability...
$ECHO_C" >&6; }
19682 cat >conftest.$ac_ext <<_ACEOF
19685 cat confdefs.h >>conftest.$ac_ext
19686 cat >>conftest.$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19688 $ac_includes_default
19689 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
19691 rm -f conftest.$ac_objext
19692 if { (ac_try="$ac_compile"
19693 case "(($ac_try" in
19694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19695 *) ac_try_echo=$ac_try;;
19697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_compile") 2>conftest.er1
19700 grep -v '^ *+' conftest.er1 >conftest.err
19702 cat conftest.err >&5
19703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19704 (exit $ac_status); } && {
19705 test -z "$ac_c_werror_flag" ||
19706 test ! -s conftest.err
19707 } && test -s conftest.$ac_objext; then
19708 ac_header_compiler=yes
19710 echo "$as_me: failed program was
:" >&5
19711 sed 's/^/| /' conftest.$ac_ext >&5
19713 ac_header_compiler=no
19716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19717 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19718 echo "${ECHO_T}$ac_header_compiler" >&6; }
19720 # Is the header present?
19721 { echo "$as_me:$LINENO: checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h presence
" >&5
19722 echo $ECHO_N "checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h presence...
$ECHO_C" >&6; }
19723 cat >conftest.$ac_ext <<_ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
19731 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19732 case "(($ac_try" in
19733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19734 *) ac_try_echo=$ac_try;;
19736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19739 grep -v '^ *+' conftest.er1 >conftest.err
19741 cat conftest.err >&5
19742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19743 (exit $ac_status); } >/dev/null && {
19744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19745 test ! -s conftest.err
19747 ac_header_preproc=yes
19749 echo "$as_me: failed program was
:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19752 ac_header_preproc=no
19755 rm -f conftest.err conftest.$ac_ext
19756 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19757 echo "${ECHO_T}$ac_header_preproc" >&6; }
19759 # So? What about this header?
19760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19762 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19763 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19764 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&5
19765 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&2;}
19766 ac_header_preproc=yes
19769 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&5
19770 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&2;}
19771 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&5
19772 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&2;}
19773 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&5
19774 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&2;}
19775 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19776 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19777 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&5
19778 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&2;}
19779 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&5
19780 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&2;}
19784 { echo "$as_me:$LINENO: checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" >&5
19785 echo $ECHO_N "checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19786 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19787 echo $ECHO_N "(cached
) $ECHO_C" >&6
19789 eval "$as_ac_Header=\
$ac_header_preproc"
19791 ac_res=`eval echo '${'$as_ac_Header'}'`
19792 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19793 echo "${ECHO_T}$ac_res" >&6; }
19796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19797 ISDNNET_HEADER_FOUND=1
19799 ISDNNET_HEADER_FOUND=0
19804 CPPFLAGS="${saved_cppflags}"
19806 if test "xmISDNuser
/isdn_net.h
" != "x
" ; then
19807 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
19808 { echo "$as_me:$LINENO: checking
for mISDNuser
/isdn_net.h
" >&5
19809 echo $ECHO_N "checking
for mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19810 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
19811 echo $ECHO_N "(cached
) $ECHO_C" >&6
19813 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_isdn_net_h" >&5
19814 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
19816 # Is the header compilable?
19817 { echo "$as_me:$LINENO: checking mISDNuser
/isdn_net.h usability
" >&5
19818 echo $ECHO_N "checking mISDNuser
/isdn_net.h usability...
$ECHO_C" >&6; }
19819 cat >conftest.$ac_ext <<_ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19825 $ac_includes_default
19826 #include <mISDNuser/isdn_net.h>
19828 rm -f conftest.$ac_objext
19829 if { (ac_try="$ac_compile"
19830 case "(($ac_try" in
19831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832 *) ac_try_echo=$ac_try;;
19834 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19835 (eval "$ac_compile") 2>conftest.er1
19837 grep -v '^ *+' conftest.er1 >conftest.err
19839 cat conftest.err >&5
19840 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19841 (exit $ac_status); } && {
19842 test -z "$ac_c_werror_flag" ||
19843 test ! -s conftest.err
19844 } && test -s conftest.$ac_objext; then
19845 ac_header_compiler=yes
19847 echo "$as_me: failed program was
:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19850 ac_header_compiler=no
19853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19854 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19855 echo "${ECHO_T}$ac_header_compiler" >&6; }
19857 # Is the header present?
19858 { echo "$as_me:$LINENO: checking mISDNuser
/isdn_net.h presence
" >&5
19859 echo $ECHO_N "checking mISDNuser
/isdn_net.h presence...
$ECHO_C" >&6; }
19860 cat >conftest.$ac_ext <<_ACEOF
19863 cat confdefs.h >>conftest.$ac_ext
19864 cat >>conftest.$ac_ext <<_ACEOF
19865 /* end confdefs.h. */
19866 #include <mISDNuser/isdn_net.h>
19868 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19869 case "(($ac_try" in
19870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19871 *) ac_try_echo=$ac_try;;
19873 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19874 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19876 grep -v '^ *+' conftest.er1 >conftest.err
19878 cat conftest.err >&5
19879 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19880 (exit $ac_status); } >/dev/null && {
19881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19882 test ! -s conftest.err
19884 ac_header_preproc=yes
19886 echo "$as_me: failed program was
:" >&5
19887 sed 's/^/| /' conftest.$ac_ext >&5
19889 ac_header_preproc=no
19892 rm -f conftest.err conftest.$ac_ext
19893 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19894 echo "${ECHO_T}$ac_header_preproc" >&6; }
19896 # So? What about this header?
19897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19899 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19900 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19901 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&5
19902 echo "$as_me: WARNING: mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&2;}
19903 ac_header_preproc=yes
19906 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&5
19907 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&2;}
19908 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&5
19909 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&2;}
19910 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&5
19911 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&2;}
19912 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19913 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19914 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&5
19915 echo "$as_me: WARNING: mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&2;}
19916 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&5
19917 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&2;}
19921 { echo "$as_me:$LINENO: checking
for mISDNuser
/isdn_net.h
" >&5
19922 echo $ECHO_N "checking
for mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19923 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
19924 echo $ECHO_N "(cached
) $ECHO_C" >&6
19926 ac_cv_header_mISDNuser_isdn_net_h=$ac_header_preproc
19928 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_isdn_net_h" >&5
19929 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
19932 if test $ac_cv_header_mISDNuser_isdn_net_h = yes; then
19933 ISDNNET_HEADER_FOUND=1
19935 ISDNNET_HEADER_FOUND=0
19941 if test "x
${ISDNNET_HEADER_FOUND}" = "x0
" ; then
19942 if test -n "${ISDNNET_MANDATORY}" ;
19944 { echo "$as_me:$LINENO: ***" >&5
19945 echo "$as_me: ***" >&6;}
19946 { echo "$as_me:$LINENO: *** It appears that you
do not have the isdnnet development package installed.
" >&5
19947 echo "$as_me: *** It appears that you
do not have the isdnnet development package installed.
" >&6;}
19948 { echo "$as_me:$LINENO: *** Please
install it to include
${ISDNNET_DESCRIP} support
, or re-run configure
" >&5
19949 echo "$as_me: *** Please
install it to include
${ISDNNET_DESCRIP} support
, or re-run configure
" >&6;}
19950 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&5
19951 echo "$as_me: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&6;}
19960 cat >>confdefs.h <<_ACEOF
19961 #define HAVE_ISDNNET 1
19965 elif test -n "${ISDNNET_MANDATORY}";
19967 { echo "$as_me:$LINENO: ***" >&5
19968 echo "$as_me: ***" >&6;}
19969 { echo "$as_me:$LINENO: *** The
${ISDNNET_DESCRIP} installation on this system appears to be broken.
" >&5
19970 echo "$as_me: *** The
${ISDNNET_DESCRIP} installation on this system appears to be broken.
" >&6;}
19971 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19972 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19973 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&5
19974 echo "$as_me: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&6;}
19980 if test "${USE_SUPPSERV}" != "no
"; then
19982 if test "x
${SUPPSERV_DIR}" != "x
"; then
19983 if test -d ${SUPPSERV_DIR}/lib; then
19984 pbxlibdir="-L${SUPPSERV_DIR}/lib
"
19986 pbxlibdir="-L${SUPPSERV_DIR}"
19989 { echo "$as_me:$LINENO: checking
for encodeFac
in -lsuppserv" >&5
19990 echo $ECHO_N "checking
for encodeFac
in -lsuppserv...
$ECHO_C" >&6; }
19991 if test "${ac_cv_lib_suppserv_encodeFac+set}" = set; then
19992 echo $ECHO_N "(cached
) $ECHO_C" >&6
19994 ac_check_lib_save_LIBS=$LIBS
19995 LIBS="-lsuppserv ${pbxlibdir} $LIBS"
19996 cat >conftest.$ac_ext <<_ACEOF
19999 cat confdefs.h >>conftest.$ac_ext
20000 cat >>conftest.$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20003 /* Override any GCC internal prototype to avoid an error.
20004 Use char because int might match the return type of a GCC
20005 builtin and then its argument prototype would still apply. */
20013 return encodeFac ();
20018 rm -f conftest.$ac_objext conftest$ac_exeext
20019 if { (ac_try="$ac_link"
20020 case "(($ac_try" in
20021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20022 *) ac_try_echo=$ac_try;;
20024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20025 (eval "$ac_link") 2>conftest.er1
20027 grep -v '^ *+' conftest.er1 >conftest.err
20029 cat conftest.err >&5
20030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20031 (exit $ac_status); } && {
20032 test -z "$ac_c_werror_flag" ||
20033 test ! -s conftest.err
20034 } && test -s conftest$ac_exeext &&
20035 $as_test_x conftest$ac_exeext; then
20036 ac_cv_lib_suppserv_encodeFac=yes
20038 echo "$as_me: failed program was
:" >&5
20039 sed 's/^/| /' conftest.$ac_ext >&5
20041 ac_cv_lib_suppserv_encodeFac=no
20044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20045 conftest$ac_exeext conftest.$ac_ext
20046 LIBS=$ac_check_lib_save_LIBS
20048 { echo "$as_me:$LINENO: result
: $ac_cv_lib_suppserv_encodeFac" >&5
20049 echo "${ECHO_T}$ac_cv_lib_suppserv_encodeFac" >&6; }
20050 if test $ac_cv_lib_suppserv_encodeFac = yes; then
20051 AST_SUPPSERV_FOUND=yes
20053 AST_SUPPSERV_FOUND=no
20057 if test "${AST_SUPPSERV_FOUND}" = "yes"; then
20058 SUPPSERV_LIB="-lsuppserv "
20059 SUPPSERV_HEADER_FOUND="1"
20060 if test "x
${SUPPSERV_DIR}" != "x
"; then
20061 SUPPSERV_LIB="${pbxlibdir} ${SUPPSERV_LIB}"
20062 SUPPSERV_INCLUDE="-I${SUPPSERV_DIR}/include
"
20063 saved_cppflags="${CPPFLAGS}"
20064 CPPFLAGS="${CPPFLAGS} -I${SUPPSERV_DIR}/include
"
20065 if test "xmISDNuser
/suppserv.h
" != "x
" ; then
20066 as_ac_Header=`echo "ac_cv_header_
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" | $as_tr_sh`
20067 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20068 { echo "$as_me:$LINENO: checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" >&5
20069 echo $ECHO_N "checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20070 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20071 echo $ECHO_N "(cached
) $ECHO_C" >&6
20073 ac_res=`eval echo '${'$as_ac_Header'}'`
20074 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20075 echo "${ECHO_T}$ac_res" >&6; }
20077 # Is the header compilable?
20078 { echo "$as_me:$LINENO: checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h usability
" >&5
20079 echo $ECHO_N "checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h usability...
$ECHO_C" >&6; }
20080 cat >conftest.$ac_ext <<_ACEOF
20083 cat confdefs.h >>conftest.$ac_ext
20084 cat >>conftest.$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 $ac_includes_default
20087 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
20089 rm -f conftest.$ac_objext
20090 if { (ac_try="$ac_compile"
20091 case "(($ac_try" in
20092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20093 *) ac_try_echo=$ac_try;;
20095 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20096 (eval "$ac_compile") 2>conftest.er1
20098 grep -v '^ *+' conftest.er1 >conftest.err
20100 cat conftest.err >&5
20101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20102 (exit $ac_status); } && {
20103 test -z "$ac_c_werror_flag" ||
20104 test ! -s conftest.err
20105 } && test -s conftest.$ac_objext; then
20106 ac_header_compiler=yes
20108 echo "$as_me: failed program was
:" >&5
20109 sed 's/^/| /' conftest.$ac_ext >&5
20111 ac_header_compiler=no
20114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20116 echo "${ECHO_T}$ac_header_compiler" >&6; }
20118 # Is the header present?
20119 { echo "$as_me:$LINENO: checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h presence
" >&5
20120 echo $ECHO_N "checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h presence...
$ECHO_C" >&6; }
20121 cat >conftest.$ac_ext <<_ACEOF
20124 cat confdefs.h >>conftest.$ac_ext
20125 cat >>conftest.$ac_ext <<_ACEOF
20126 /* end confdefs.h. */
20127 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
20129 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20130 case "(($ac_try" in
20131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20132 *) ac_try_echo=$ac_try;;
20134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20135 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20137 grep -v '^ *+' conftest.er1 >conftest.err
20139 cat conftest.err >&5
20140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20141 (exit $ac_status); } >/dev/null && {
20142 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20143 test ! -s conftest.err
20145 ac_header_preproc=yes
20147 echo "$as_me: failed program was
:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20150 ac_header_preproc=no
20153 rm -f conftest.err conftest.$ac_ext
20154 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20155 echo "${ECHO_T}$ac_header_preproc" >&6; }
20157 # So? What about this header?
20158 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20160 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20161 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20162 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&5
20163 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the compiler's result
" >&2;}
20164 ac_header_preproc=yes
20167 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: present but cannot be compiled
" >&5
20168 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: present but cannot be compiled
" >&2;}
20169 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&5
20170 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&2;}
20171 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&5
20172 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&2;}
20173 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20174 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20175 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&5
20176 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&2;}
20177 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&5
20178 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&2;}
20182 { echo "$as_me:$LINENO: checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" >&5
20183 echo $ECHO_N "checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20184 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20185 echo $ECHO_N "(cached
) $ECHO_C" >&6
20187 eval "$as_ac_Header=\
$ac_header_preproc"
20189 ac_res=`eval echo '${'$as_ac_Header'}'`
20190 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20191 echo "${ECHO_T}$ac_res" >&6; }
20194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20195 SUPPSERV_HEADER_FOUND=1
20197 SUPPSERV_HEADER_FOUND=0
20202 CPPFLAGS="${saved_cppflags}"
20204 if test "xmISDNuser
/suppserv.h
" != "x
" ; then
20205 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
20206 { echo "$as_me:$LINENO: checking
for mISDNuser
/suppserv.h
" >&5
20207 echo $ECHO_N "checking
for mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20208 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
20209 echo $ECHO_N "(cached
) $ECHO_C" >&6
20211 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_suppserv_h" >&5
20212 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
20214 # Is the header compilable?
20215 { echo "$as_me:$LINENO: checking mISDNuser
/suppserv.h usability
" >&5
20216 echo $ECHO_N "checking mISDNuser
/suppserv.h usability...
$ECHO_C" >&6; }
20217 cat >conftest.$ac_ext <<_ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 $ac_includes_default
20224 #include <mISDNuser/suppserv.h>
20226 rm -f conftest.$ac_objext
20227 if { (ac_try="$ac_compile"
20228 case "(($ac_try" in
20229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20230 *) ac_try_echo=$ac_try;;
20232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20233 (eval "$ac_compile") 2>conftest.er1
20235 grep -v '^ *+' conftest.er1 >conftest.err
20237 cat conftest.err >&5
20238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20239 (exit $ac_status); } && {
20240 test -z "$ac_c_werror_flag" ||
20241 test ! -s conftest.err
20242 } && test -s conftest.$ac_objext; then
20243 ac_header_compiler=yes
20245 echo "$as_me: failed program was
:" >&5
20246 sed 's/^/| /' conftest.$ac_ext >&5
20248 ac_header_compiler=no
20251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20252 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20253 echo "${ECHO_T}$ac_header_compiler" >&6; }
20255 # Is the header present?
20256 { echo "$as_me:$LINENO: checking mISDNuser
/suppserv.h presence
" >&5
20257 echo $ECHO_N "checking mISDNuser
/suppserv.h presence...
$ECHO_C" >&6; }
20258 cat >conftest.$ac_ext <<_ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 #include <mISDNuser/suppserv.h>
20266 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20267 case "(($ac_try" in
20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20271 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20274 grep -v '^ *+' conftest.er1 >conftest.err
20276 cat conftest.err >&5
20277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20278 (exit $ac_status); } >/dev/null && {
20279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20280 test ! -s conftest.err
20282 ac_header_preproc=yes
20284 echo "$as_me: failed program was
:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20287 ac_header_preproc=no
20290 rm -f conftest.err conftest.$ac_ext
20291 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20292 echo "${ECHO_T}$ac_header_preproc" >&6; }
20294 # So? What about this header?
20295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20297 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20298 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20299 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&5
20300 echo "$as_me: WARNING: mISDNuser/suppserv.h: proceeding with the compiler's result
" >&2;}
20301 ac_header_preproc=yes
20304 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: present but cannot be compiled
" >&5
20305 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: present but cannot be compiled
" >&2;}
20306 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&5
20307 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&2;}
20308 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&5
20309 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&2;}
20310 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20311 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20312 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&5
20313 echo "$as_me: WARNING: mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&2;}
20314 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&5
20315 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&2;}
20319 { echo "$as_me:$LINENO: checking
for mISDNuser
/suppserv.h
" >&5
20320 echo $ECHO_N "checking
for mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20321 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
20322 echo $ECHO_N "(cached
) $ECHO_C" >&6
20324 ac_cv_header_mISDNuser_suppserv_h=$ac_header_preproc
20326 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_suppserv_h" >&5
20327 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
20330 if test $ac_cv_header_mISDNuser_suppserv_h = yes; then
20331 SUPPSERV_HEADER_FOUND=1
20333 SUPPSERV_HEADER_FOUND=0
20339 if test "x
${SUPPSERV_HEADER_FOUND}" = "x0
" ; then
20340 if test -n "${SUPPSERV_MANDATORY}" ;
20342 { echo "$as_me:$LINENO: ***" >&5
20343 echo "$as_me: ***" >&6;}
20344 { echo "$as_me:$LINENO: *** It appears that you
do not have the suppserv development package installed.
" >&5
20345 echo "$as_me: *** It appears that you
do not have the suppserv development package installed.
" >&6;}
20346 { echo "$as_me:$LINENO: *** Please
install it to include
${SUPPSERV_DESCRIP} support
, or re-run configure
" >&5
20347 echo "$as_me: *** Please
install it to include
${SUPPSERV_DESCRIP} support
, or re-run configure
" >&6;}
20348 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&5
20349 echo "$as_me: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&6;}
20353 SUPPSERV_INCLUDE=""
20358 cat >>confdefs.h <<_ACEOF
20359 #define HAVE_SUPPSERV 1
20363 elif test -n "${SUPPSERV_MANDATORY}";
20365 { echo "$as_me:$LINENO: ***" >&5
20366 echo "$as_me: ***" >&6;}
20367 { echo "$as_me:$LINENO: *** The
${SUPPSERV_DESCRIP} installation on this system appears to be broken.
" >&5
20368 echo "$as_me: *** The
${SUPPSERV_DESCRIP} installation on this system appears to be broken.
" >&6;}
20369 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20370 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20371 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&5
20372 echo "$as_me: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&6;}
20377 if test "${ac_cv_header_linux_mISDNdsp_h+set}" = set; then
20378 { echo "$as_me:$LINENO: checking
for linux
/mISDNdsp.h
" >&5
20379 echo $ECHO_N "checking
for linux
/mISDNdsp.h...
$ECHO_C" >&6; }
20380 if test "${ac_cv_header_linux_mISDNdsp_h+set}" = set; then
20381 echo $ECHO_N "(cached
) $ECHO_C" >&6
20383 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_mISDNdsp_h" >&5
20384 echo "${ECHO_T}$ac_cv_header_linux_mISDNdsp_h" >&6; }
20386 # Is the header compilable?
20387 { echo "$as_me:$LINENO: checking linux
/mISDNdsp.h usability
" >&5
20388 echo $ECHO_N "checking linux
/mISDNdsp.h usability...
$ECHO_C" >&6; }
20389 cat >conftest.$ac_ext <<_ACEOF
20392 cat confdefs.h >>conftest.$ac_ext
20393 cat >>conftest.$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20395 $ac_includes_default
20396 #include <linux/mISDNdsp.h>
20398 rm -f conftest.$ac_objext
20399 if { (ac_try="$ac_compile"
20400 case "(($ac_try" in
20401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_compile") 2>conftest.er1
20407 grep -v '^ *+' conftest.er1 >conftest.err
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20411 (exit $ac_status); } && {
20412 test -z "$ac_c_werror_flag" ||
20413 test ! -s conftest.err
20414 } && test -s conftest.$ac_objext; then
20415 ac_header_compiler=yes
20417 echo "$as_me: failed program was
:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20420 ac_header_compiler=no
20423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20424 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20425 echo "${ECHO_T}$ac_header_compiler" >&6; }
20427 # Is the header present?
20428 { echo "$as_me:$LINENO: checking linux
/mISDNdsp.h presence
" >&5
20429 echo $ECHO_N "checking linux
/mISDNdsp.h presence...
$ECHO_C" >&6; }
20430 cat >conftest.$ac_ext <<_ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 #include <linux/mISDNdsp.h>
20438 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20439 case "(($ac_try" in
20440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20441 *) ac_try_echo=$ac_try;;
20443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20444 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20446 grep -v '^ *+' conftest.er1 >conftest.err
20448 cat conftest.err >&5
20449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20450 (exit $ac_status); } >/dev/null && {
20451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20452 test ! -s conftest.err
20454 ac_header_preproc=yes
20456 echo "$as_me: failed program was
:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20459 ac_header_preproc=no
20462 rm -f conftest.err conftest.$ac_ext
20463 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20464 echo "${ECHO_T}$ac_header_preproc" >&6; }
20466 # So? What about this header?
20467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20469 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20470 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20471 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: proceeding with the compiler
's result" >&5
20472 echo "$as_me: WARNING: linux/mISDNdsp.h: proceeding with the compiler's result
" >&2;}
20473 ac_header_preproc=yes
20476 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: present but cannot be compiled
" >&5
20477 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: present but cannot be compiled
" >&2;}
20478 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: check
for missing prerequisite headers?
" >&5
20479 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: check
for missing prerequisite headers?
" >&2;}
20480 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: see the Autoconf documentation
" >&5
20481 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: see the Autoconf documentation
" >&2;}
20482 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20483 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20484 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: proceeding with the preprocessor
's result" >&5
20485 echo "$as_me: WARNING: linux/mISDNdsp.h: proceeding with the preprocessor's result
" >&2;}
20486 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: in the future
, the compiler will take precedence
" >&5
20487 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: in the future
, the compiler will take precedence
" >&2;}
20491 { echo "$as_me:$LINENO: checking
for linux
/mISDNdsp.h
" >&5
20492 echo $ECHO_N "checking
for linux
/mISDNdsp.h...
$ECHO_C" >&6; }
20493 if test "${ac_cv_header_linux_mISDNdsp_h+set}" = set; then
20494 echo $ECHO_N "(cached
) $ECHO_C" >&6
20496 ac_cv_header_linux_mISDNdsp_h=$ac_header_preproc
20498 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_mISDNdsp_h" >&5
20499 echo "${ECHO_T}$ac_cv_header_linux_mISDNdsp_h" >&6; }
20502 if test $ac_cv_header_linux_mISDNdsp_h = yes; then
20504 cat >>confdefs.h <<_ACEOF
20505 #define MISDN_1_2 1
20514 if test "${USE_NBS}" != "no
"; then
20516 if test "x
${NBS_DIR}" != "x
"; then
20517 if test -d ${NBS_DIR}/lib; then
20518 pbxlibdir="-L${NBS_DIR}/lib
"
20520 pbxlibdir="-L${NBS_DIR}"
20523 { echo "$as_me:$LINENO: checking
for nbs_connect
in -lnbs" >&5
20524 echo $ECHO_N "checking
for nbs_connect
in -lnbs...
$ECHO_C" >&6; }
20525 if test "${ac_cv_lib_nbs_nbs_connect+set}" = set; then
20526 echo $ECHO_N "(cached
) $ECHO_C" >&6
20528 ac_check_lib_save_LIBS=$LIBS
20529 LIBS="-lnbs ${pbxlibdir} $LIBS"
20530 cat >conftest.$ac_ext <<_ACEOF
20533 cat confdefs.h >>conftest.$ac_ext
20534 cat >>conftest.$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20537 /* Override any GCC internal prototype to avoid an error.
20538 Use char because int might match the return type of a GCC
20539 builtin and then its argument prototype would still apply. */
20543 char nbs_connect ();
20547 return nbs_connect ();
20552 rm -f conftest.$ac_objext conftest$ac_exeext
20553 if { (ac_try="$ac_link"
20554 case "(($ac_try" in
20555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20556 *) ac_try_echo=$ac_try;;
20558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20559 (eval "$ac_link") 2>conftest.er1
20561 grep -v '^ *+' conftest.er1 >conftest.err
20563 cat conftest.err >&5
20564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20565 (exit $ac_status); } && {
20566 test -z "$ac_c_werror_flag" ||
20567 test ! -s conftest.err
20568 } && test -s conftest$ac_exeext &&
20569 $as_test_x conftest$ac_exeext; then
20570 ac_cv_lib_nbs_nbs_connect=yes
20572 echo "$as_me: failed program was
:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20575 ac_cv_lib_nbs_nbs_connect=no
20578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20579 conftest$ac_exeext conftest.$ac_ext
20580 LIBS=$ac_check_lib_save_LIBS
20582 { echo "$as_me:$LINENO: result
: $ac_cv_lib_nbs_nbs_connect" >&5
20583 echo "${ECHO_T}$ac_cv_lib_nbs_nbs_connect" >&6; }
20584 if test $ac_cv_lib_nbs_nbs_connect = yes; then
20591 if test "${AST_NBS_FOUND}" = "yes"; then
20593 NBS_HEADER_FOUND="1"
20594 if test "x
${NBS_DIR}" != "x
"; then
20595 NBS_LIB="${pbxlibdir} ${NBS_LIB}"
20596 NBS_INCLUDE="-I${NBS_DIR}/include
"
20597 saved_cppflags="${CPPFLAGS}"
20598 CPPFLAGS="${CPPFLAGS} -I${NBS_DIR}/include
"
20599 if test "xnbs.h
" != "x
" ; then
20600 as_ac_Header=`echo "ac_cv_header_
${NBS_DIR}/include
/nbs.h
" | $as_tr_sh`
20601 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20602 { echo "$as_me:$LINENO: checking
for ${NBS_DIR}/include
/nbs.h
" >&5
20603 echo $ECHO_N "checking
for ${NBS_DIR}/include
/nbs.h...
$ECHO_C" >&6; }
20604 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20605 echo $ECHO_N "(cached
) $ECHO_C" >&6
20607 ac_res=`eval echo '${'$as_ac_Header'}'`
20608 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20609 echo "${ECHO_T}$ac_res" >&6; }
20611 # Is the header compilable?
20612 { echo "$as_me:$LINENO: checking
${NBS_DIR}/include
/nbs.h usability
" >&5
20613 echo $ECHO_N "checking
${NBS_DIR}/include
/nbs.h usability...
$ECHO_C" >&6; }
20614 cat >conftest.$ac_ext <<_ACEOF
20617 cat confdefs.h >>conftest.$ac_ext
20618 cat >>conftest.$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620 $ac_includes_default
20621 #include <${NBS_DIR}/include/nbs.h>
20623 rm -f conftest.$ac_objext
20624 if { (ac_try="$ac_compile"
20625 case "(($ac_try" in
20626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20627 *) ac_try_echo=$ac_try;;
20629 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20630 (eval "$ac_compile") 2>conftest.er1
20632 grep -v '^ *+' conftest.er1 >conftest.err
20634 cat conftest.err >&5
20635 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20636 (exit $ac_status); } && {
20637 test -z "$ac_c_werror_flag" ||
20638 test ! -s conftest.err
20639 } && test -s conftest.$ac_objext; then
20640 ac_header_compiler=yes
20642 echo "$as_me: failed program was
:" >&5
20643 sed 's/^/| /' conftest.$ac_ext >&5
20645 ac_header_compiler=no
20648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20649 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20650 echo "${ECHO_T}$ac_header_compiler" >&6; }
20652 # Is the header present?
20653 { echo "$as_me:$LINENO: checking
${NBS_DIR}/include
/nbs.h presence
" >&5
20654 echo $ECHO_N "checking
${NBS_DIR}/include
/nbs.h presence...
$ECHO_C" >&6; }
20655 cat >conftest.$ac_ext <<_ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 #include <${NBS_DIR}/include/nbs.h>
20663 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20664 case "(($ac_try" in
20665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20666 *) ac_try_echo=$ac_try;;
20668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20669 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20671 grep -v '^ *+' conftest.er1 >conftest.err
20673 cat conftest.err >&5
20674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20675 (exit $ac_status); } >/dev/null && {
20676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20677 test ! -s conftest.err
20679 ac_header_preproc=yes
20681 echo "$as_me: failed program was
:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20684 ac_header_preproc=no
20687 rm -f conftest.err conftest.$ac_ext
20688 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20689 echo "${ECHO_T}$ac_header_preproc" >&6; }
20691 # So? What about this header?
20692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20694 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20695 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20696 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the compiler
's result" >&5
20697 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the compiler's result
" >&2;}
20698 ac_header_preproc=yes
20701 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: present but cannot be compiled
" >&5
20702 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: present but cannot be compiled
" >&2;}
20703 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: check
for missing prerequisite headers?
" >&5
20704 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: check
for missing prerequisite headers?
" >&2;}
20705 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: see the Autoconf documentation
" >&5
20706 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: see the Autoconf documentation
" >&2;}
20707 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20708 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20709 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the preprocessor
's result" >&5
20710 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the preprocessor's result
" >&2;}
20711 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: in the future
, the compiler will take precedence
" >&5
20712 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: in the future
, the compiler will take precedence
" >&2;}
20716 { echo "$as_me:$LINENO: checking
for ${NBS_DIR}/include
/nbs.h
" >&5
20717 echo $ECHO_N "checking
for ${NBS_DIR}/include
/nbs.h...
$ECHO_C" >&6; }
20718 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20719 echo $ECHO_N "(cached
) $ECHO_C" >&6
20721 eval "$as_ac_Header=\
$ac_header_preproc"
20723 ac_res=`eval echo '${'$as_ac_Header'}'`
20724 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20725 echo "${ECHO_T}$ac_res" >&6; }
20728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20736 CPPFLAGS="${saved_cppflags}"
20738 if test "xnbs.h
" != "x
" ; then
20739 if test "${ac_cv_header_nbs_h+set}" = set; then
20740 { echo "$as_me:$LINENO: checking
for nbs.h
" >&5
20741 echo $ECHO_N "checking
for nbs.h...
$ECHO_C" >&6; }
20742 if test "${ac_cv_header_nbs_h+set}" = set; then
20743 echo $ECHO_N "(cached
) $ECHO_C" >&6
20745 { echo "$as_me:$LINENO: result
: $ac_cv_header_nbs_h" >&5
20746 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
20748 # Is the header compilable?
20749 { echo "$as_me:$LINENO: checking nbs.h usability
" >&5
20750 echo $ECHO_N "checking nbs.h usability...
$ECHO_C" >&6; }
20751 cat >conftest.$ac_ext <<_ACEOF
20754 cat confdefs.h >>conftest.$ac_ext
20755 cat >>conftest.$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 $ac_includes_default
20760 rm -f conftest.$ac_objext
20761 if { (ac_try="$ac_compile"
20762 case "(($ac_try" in
20763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20764 *) ac_try_echo=$ac_try;;
20766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20767 (eval "$ac_compile") 2>conftest.er1
20769 grep -v '^ *+' conftest.er1 >conftest.err
20771 cat conftest.err >&5
20772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20773 (exit $ac_status); } && {
20774 test -z "$ac_c_werror_flag" ||
20775 test ! -s conftest.err
20776 } && test -s conftest.$ac_objext; then
20777 ac_header_compiler=yes
20779 echo "$as_me: failed program was
:" >&5
20780 sed 's/^/| /' conftest.$ac_ext >&5
20782 ac_header_compiler=no
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20786 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20787 echo "${ECHO_T}$ac_header_compiler" >&6; }
20789 # Is the header present?
20790 { echo "$as_me:$LINENO: checking nbs.h presence
" >&5
20791 echo $ECHO_N "checking nbs.h presence...
$ECHO_C" >&6; }
20792 cat >conftest.$ac_ext <<_ACEOF
20795 cat confdefs.h >>conftest.$ac_ext
20796 cat >>conftest.$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20800 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20801 case "(($ac_try" in
20802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20803 *) ac_try_echo=$ac_try;;
20805 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20806 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20808 grep -v '^ *+' conftest.er1 >conftest.err
20810 cat conftest.err >&5
20811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20812 (exit $ac_status); } >/dev/null && {
20813 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20814 test ! -s conftest.err
20816 ac_header_preproc=yes
20818 echo "$as_me: failed program was
:" >&5
20819 sed 's/^/| /' conftest.$ac_ext >&5
20821 ac_header_preproc=no
20824 rm -f conftest.err conftest.$ac_ext
20825 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20826 echo "${ECHO_T}$ac_header_preproc" >&6; }
20828 # So? What about this header?
20829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20831 { echo "$as_me:$LINENO: WARNING
: nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20832 echo "$as_me: WARNING
: nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20833 { echo "$as_me:$LINENO: WARNING
: nbs.h
: proceeding with the compiler
's result" >&5
20834 echo "$as_me: WARNING: nbs.h: proceeding with the compiler's result
" >&2;}
20835 ac_header_preproc=yes
20838 { echo "$as_me:$LINENO: WARNING
: nbs.h
: present but cannot be compiled
" >&5
20839 echo "$as_me: WARNING
: nbs.h
: present but cannot be compiled
" >&2;}
20840 { echo "$as_me:$LINENO: WARNING
: nbs.h
: check
for missing prerequisite headers?
" >&5
20841 echo "$as_me: WARNING
: nbs.h
: check
for missing prerequisite headers?
" >&2;}
20842 { echo "$as_me:$LINENO: WARNING
: nbs.h
: see the Autoconf documentation
" >&5
20843 echo "$as_me: WARNING
: nbs.h
: see the Autoconf documentation
" >&2;}
20844 { echo "$as_me:$LINENO: WARNING
: nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20845 echo "$as_me: WARNING
: nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20846 { echo "$as_me:$LINENO: WARNING
: nbs.h
: proceeding with the preprocessor
's result" >&5
20847 echo "$as_me: WARNING: nbs.h: proceeding with the preprocessor's result
" >&2;}
20848 { echo "$as_me:$LINENO: WARNING
: nbs.h
: in the future
, the compiler will take precedence
" >&5
20849 echo "$as_me: WARNING
: nbs.h
: in the future
, the compiler will take precedence
" >&2;}
20853 { echo "$as_me:$LINENO: checking
for nbs.h
" >&5
20854 echo $ECHO_N "checking
for nbs.h...
$ECHO_C" >&6; }
20855 if test "${ac_cv_header_nbs_h+set}" = set; then
20856 echo $ECHO_N "(cached
) $ECHO_C" >&6
20858 ac_cv_header_nbs_h=$ac_header_preproc
20860 { echo "$as_me:$LINENO: result
: $ac_cv_header_nbs_h" >&5
20861 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
20864 if test $ac_cv_header_nbs_h = yes; then
20873 if test "x
${NBS_HEADER_FOUND}" = "x0
" ; then
20874 if test -n "${NBS_MANDATORY}" ;
20876 { echo "$as_me:$LINENO: ***" >&5
20877 echo "$as_me: ***" >&6;}
20878 { echo "$as_me:$LINENO: *** It appears that you
do not have the nbs development package installed.
" >&5
20879 echo "$as_me: *** It appears that you
do not have the nbs development package installed.
" >&6;}
20880 { echo "$as_me:$LINENO: *** Please
install it to include
${NBS_DESCRIP} support
, or re-run configure
" >&5
20881 echo "$as_me: *** Please
install it to include
${NBS_DESCRIP} support
, or re-run configure
" >&6;}
20882 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NBS_OPTION}" >&5
20883 echo "$as_me: *** without explicitly specifying
--with-${NBS_OPTION}" >&6;}
20892 cat >>confdefs.h <<_ACEOF
20897 elif test -n "${NBS_MANDATORY}";
20899 { echo "$as_me:$LINENO: ***" >&5
20900 echo "$as_me: ***" >&6;}
20901 { echo "$as_me:$LINENO: *** The
${NBS_DESCRIP} installation on this system appears to be broken.
" >&5
20902 echo "$as_me: *** The
${NBS_DESCRIP} installation on this system appears to be broken.
" >&6;}
20903 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20904 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20905 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NBS_OPTION}" >&5
20906 echo "$as_me: *** without explicitly specifying
--with-${NBS_OPTION}" >&6;}
20913 if test "${USE_NCURSES}" != "no
"; then
20915 if test "x
${NCURSES_DIR}" != "x
"; then
20916 if test -d ${NCURSES_DIR}/lib; then
20917 pbxlibdir="-L${NCURSES_DIR}/lib
"
20919 pbxlibdir="-L${NCURSES_DIR}"
20922 { echo "$as_me:$LINENO: checking
for initscr
in -lncurses" >&5
20923 echo $ECHO_N "checking
for initscr
in -lncurses...
$ECHO_C" >&6; }
20924 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
20925 echo $ECHO_N "(cached
) $ECHO_C" >&6
20927 ac_check_lib_save_LIBS=$LIBS
20928 LIBS="-lncurses ${pbxlibdir} $LIBS"
20929 cat >conftest.$ac_ext <<_ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20936 /* Override any GCC internal prototype to avoid an error.
20937 Use char because int might match the return type of a GCC
20938 builtin and then its argument prototype would still apply. */
20951 rm -f conftest.$ac_objext conftest$ac_exeext
20952 if { (ac_try="$ac_link"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_link") 2>conftest.er1
20960 grep -v '^ *+' conftest.er1 >conftest.err
20962 cat conftest.err >&5
20963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20964 (exit $ac_status); } && {
20965 test -z "$ac_c_werror_flag" ||
20966 test ! -s conftest.err
20967 } && test -s conftest$ac_exeext &&
20968 $as_test_x conftest$ac_exeext; then
20969 ac_cv_lib_ncurses_initscr=yes
20971 echo "$as_me: failed program was
:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 ac_cv_lib_ncurses_initscr=no
20977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20978 conftest$ac_exeext conftest.$ac_ext
20979 LIBS=$ac_check_lib_save_LIBS
20981 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ncurses_initscr" >&5
20982 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
20983 if test $ac_cv_lib_ncurses_initscr = yes; then
20984 AST_NCURSES_FOUND=yes
20986 AST_NCURSES_FOUND=no
20990 if test "${AST_NCURSES_FOUND}" = "yes"; then
20991 NCURSES_LIB="-lncurses "
20992 NCURSES_HEADER_FOUND="1"
20993 if test "x
${NCURSES_DIR}" != "x
"; then
20994 NCURSES_LIB="${pbxlibdir} ${NCURSES_LIB}"
20995 NCURSES_INCLUDE="-I${NCURSES_DIR}/include
"
20996 saved_cppflags="${CPPFLAGS}"
20997 CPPFLAGS="${CPPFLAGS} -I${NCURSES_DIR}/include
"
20998 if test "xcurses.h
" != "x
" ; then
20999 as_ac_Header=`echo "ac_cv_header_
${NCURSES_DIR}/include
/curses.h
" | $as_tr_sh`
21000 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21001 { echo "$as_me:$LINENO: checking
for ${NCURSES_DIR}/include
/curses.h
" >&5
21002 echo $ECHO_N "checking
for ${NCURSES_DIR}/include
/curses.h...
$ECHO_C" >&6; }
21003 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21004 echo $ECHO_N "(cached
) $ECHO_C" >&6
21006 ac_res=`eval echo '${'$as_ac_Header'}'`
21007 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21008 echo "${ECHO_T}$ac_res" >&6; }
21010 # Is the header compilable?
21011 { echo "$as_me:$LINENO: checking
${NCURSES_DIR}/include
/curses.h usability
" >&5
21012 echo $ECHO_N "checking
${NCURSES_DIR}/include
/curses.h usability...
$ECHO_C" >&6; }
21013 cat >conftest.$ac_ext <<_ACEOF
21016 cat confdefs.h >>conftest.$ac_ext
21017 cat >>conftest.$ac_ext <<_ACEOF
21018 /* end confdefs.h. */
21019 $ac_includes_default
21020 #include <${NCURSES_DIR}/include/curses.h>
21022 rm -f conftest.$ac_objext
21023 if { (ac_try="$ac_compile"
21024 case "(($ac_try" in
21025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21026 *) ac_try_echo=$ac_try;;
21028 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21029 (eval "$ac_compile") 2>conftest.er1
21031 grep -v '^ *+' conftest.er1 >conftest.err
21033 cat conftest.err >&5
21034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21035 (exit $ac_status); } && {
21036 test -z "$ac_c_werror_flag" ||
21037 test ! -s conftest.err
21038 } && test -s conftest.$ac_objext; then
21039 ac_header_compiler=yes
21041 echo "$as_me: failed program was
:" >&5
21042 sed 's/^/| /' conftest.$ac_ext >&5
21044 ac_header_compiler=no
21047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21048 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21049 echo "${ECHO_T}$ac_header_compiler" >&6; }
21051 # Is the header present?
21052 { echo "$as_me:$LINENO: checking
${NCURSES_DIR}/include
/curses.h presence
" >&5
21053 echo $ECHO_N "checking
${NCURSES_DIR}/include
/curses.h presence...
$ECHO_C" >&6; }
21054 cat >conftest.$ac_ext <<_ACEOF
21057 cat confdefs.h >>conftest.$ac_ext
21058 cat >>conftest.$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21060 #include <${NCURSES_DIR}/include/curses.h>
21062 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21063 case "(($ac_try" in
21064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21065 *) ac_try_echo=$ac_try;;
21067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21068 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21070 grep -v '^ *+' conftest.er1 >conftest.err
21072 cat conftest.err >&5
21073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21074 (exit $ac_status); } >/dev/null && {
21075 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21076 test ! -s conftest.err
21078 ac_header_preproc=yes
21080 echo "$as_me: failed program was
:" >&5
21081 sed 's/^/| /' conftest.$ac_ext >&5
21083 ac_header_preproc=no
21086 rm -f conftest.err conftest.$ac_ext
21087 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21088 echo "${ECHO_T}$ac_header_preproc" >&6; }
21090 # So? What about this header?
21091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21093 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21094 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21095 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the compiler
's result" >&5
21096 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the compiler's result
" >&2;}
21097 ac_header_preproc=yes
21100 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: present but cannot be compiled
" >&5
21101 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: present but cannot be compiled
" >&2;}
21102 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: check
for missing prerequisite headers?
" >&5
21103 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: check
for missing prerequisite headers?
" >&2;}
21104 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: see the Autoconf documentation
" >&5
21105 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: see the Autoconf documentation
" >&2;}
21106 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21107 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21108 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the preprocessor
's result" >&5
21109 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the preprocessor's result
" >&2;}
21110 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: in the future
, the compiler will take precedence
" >&5
21111 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: in the future
, the compiler will take precedence
" >&2;}
21115 { echo "$as_me:$LINENO: checking
for ${NCURSES_DIR}/include
/curses.h
" >&5
21116 echo $ECHO_N "checking
for ${NCURSES_DIR}/include
/curses.h...
$ECHO_C" >&6; }
21117 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21118 echo $ECHO_N "(cached
) $ECHO_C" >&6
21120 eval "$as_ac_Header=\
$ac_header_preproc"
21122 ac_res=`eval echo '${'$as_ac_Header'}'`
21123 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21124 echo "${ECHO_T}$ac_res" >&6; }
21127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21128 NCURSES_HEADER_FOUND=1
21130 NCURSES_HEADER_FOUND=0
21135 CPPFLAGS="${saved_cppflags}"
21137 if test "xcurses.h
" != "x
" ; then
21138 if test "${ac_cv_header_curses_h+set}" = set; then
21139 { echo "$as_me:$LINENO: checking
for curses.h
" >&5
21140 echo $ECHO_N "checking
for curses.h...
$ECHO_C" >&6; }
21141 if test "${ac_cv_header_curses_h+set}" = set; then
21142 echo $ECHO_N "(cached
) $ECHO_C" >&6
21144 { echo "$as_me:$LINENO: result
: $ac_cv_header_curses_h" >&5
21145 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
21147 # Is the header compilable?
21148 { echo "$as_me:$LINENO: checking curses.h usability
" >&5
21149 echo $ECHO_N "checking curses.h usability...
$ECHO_C" >&6; }
21150 cat >conftest.$ac_ext <<_ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 $ac_includes_default
21157 #include <curses.h>
21159 rm -f conftest.$ac_objext
21160 if { (ac_try="$ac_compile"
21161 case "(($ac_try" in
21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21165 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_compile") 2>conftest.er1
21168 grep -v '^ *+' conftest.er1 >conftest.err
21170 cat conftest.err >&5
21171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21172 (exit $ac_status); } && {
21173 test -z "$ac_c_werror_flag" ||
21174 test ! -s conftest.err
21175 } && test -s conftest.$ac_objext; then
21176 ac_header_compiler=yes
21178 echo "$as_me: failed program was
:" >&5
21179 sed 's/^/| /' conftest.$ac_ext >&5
21181 ac_header_compiler=no
21184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21185 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21186 echo "${ECHO_T}$ac_header_compiler" >&6; }
21188 # Is the header present?
21189 { echo "$as_me:$LINENO: checking curses.h presence
" >&5
21190 echo $ECHO_N "checking curses.h presence...
$ECHO_C" >&6; }
21191 cat >conftest.$ac_ext <<_ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 #include <curses.h>
21199 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21200 case "(($ac_try" in
21201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21202 *) ac_try_echo=$ac_try;;
21204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21205 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21207 grep -v '^ *+' conftest.er1 >conftest.err
21209 cat conftest.err >&5
21210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21211 (exit $ac_status); } >/dev/null && {
21212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21213 test ! -s conftest.err
21215 ac_header_preproc=yes
21217 echo "$as_me: failed program was
:" >&5
21218 sed 's/^/| /' conftest.$ac_ext >&5
21220 ac_header_preproc=no
21223 rm -f conftest.err conftest.$ac_ext
21224 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21225 echo "${ECHO_T}$ac_header_preproc" >&6; }
21227 # So? What about this header?
21228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21230 { echo "$as_me:$LINENO: WARNING
: curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21231 echo "$as_me: WARNING
: curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21232 { echo "$as_me:$LINENO: WARNING
: curses.h
: proceeding with the compiler
's result" >&5
21233 echo "$as_me: WARNING: curses.h: proceeding with the compiler's result
" >&2;}
21234 ac_header_preproc=yes
21237 { echo "$as_me:$LINENO: WARNING
: curses.h
: present but cannot be compiled
" >&5
21238 echo "$as_me: WARNING
: curses.h
: present but cannot be compiled
" >&2;}
21239 { echo "$as_me:$LINENO: WARNING
: curses.h
: check
for missing prerequisite headers?
" >&5
21240 echo "$as_me: WARNING
: curses.h
: check
for missing prerequisite headers?
" >&2;}
21241 { echo "$as_me:$LINENO: WARNING
: curses.h
: see the Autoconf documentation
" >&5
21242 echo "$as_me: WARNING
: curses.h
: see the Autoconf documentation
" >&2;}
21243 { echo "$as_me:$LINENO: WARNING
: curses.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21244 echo "$as_me: WARNING
: curses.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21245 { echo "$as_me:$LINENO: WARNING
: curses.h
: proceeding with the preprocessor
's result" >&5
21246 echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result
" >&2;}
21247 { echo "$as_me:$LINENO: WARNING
: curses.h
: in the future
, the compiler will take precedence
" >&5
21248 echo "$as_me: WARNING
: curses.h
: in the future
, the compiler will take precedence
" >&2;}
21252 { echo "$as_me:$LINENO: checking
for curses.h
" >&5
21253 echo $ECHO_N "checking
for curses.h...
$ECHO_C" >&6; }
21254 if test "${ac_cv_header_curses_h+set}" = set; then
21255 echo $ECHO_N "(cached
) $ECHO_C" >&6
21257 ac_cv_header_curses_h=$ac_header_preproc
21259 { echo "$as_me:$LINENO: result
: $ac_cv_header_curses_h" >&5
21260 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
21263 if test $ac_cv_header_curses_h = yes; then
21264 NCURSES_HEADER_FOUND=1
21266 NCURSES_HEADER_FOUND=0
21272 if test "x
${NCURSES_HEADER_FOUND}" = "x0
" ; then
21273 if test -n "${NCURSES_MANDATORY}" ;
21275 { echo "$as_me:$LINENO: ***" >&5
21276 echo "$as_me: ***" >&6;}
21277 { echo "$as_me:$LINENO: *** It appears that you
do not have the ncurses development package installed.
" >&5
21278 echo "$as_me: *** It appears that you
do not have the ncurses development package installed.
" >&6;}
21279 { echo "$as_me:$LINENO: *** Please
install it to include
${NCURSES_DESCRIP} support
, or re-run configure
" >&5
21280 echo "$as_me: *** Please
install it to include
${NCURSES_DESCRIP} support
, or re-run configure
" >&6;}
21281 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&5
21282 echo "$as_me: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&6;}
21291 cat >>confdefs.h <<_ACEOF
21292 #define HAVE_NCURSES 1
21296 elif test -n "${NCURSES_MANDATORY}";
21298 { echo "$as_me:$LINENO: ***" >&5
21299 echo "$as_me: ***" >&6;}
21300 { echo "$as_me:$LINENO: *** The
${NCURSES_DESCRIP} installation on this system appears to be broken.
" >&5
21301 echo "$as_me: *** The
${NCURSES_DESCRIP} installation on this system appears to be broken.
" >&6;}
21302 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21303 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21304 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&5
21305 echo "$as_me: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&6;}
21312 if test "${USE_NETSNMP}" != "no
"; then
21313 if test "x
${NETSNMP_DIR}" != "x
"; then
21314 if test -n "$ac_tool_prefix"; then
21315 # Extract the first word of "${ac_tool_prefix}net-snmp-config
", so it can be a program name with args.
21316 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
21317 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21318 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21319 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
21320 echo $ECHO_N "(cached
) $ECHO_C" >&6
21322 case $NETSNMP_CONFIG in
21324 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
21327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21328 for as_dir in ${NETSNMP_DIR}/bin
21331 test -z "$as_dir" && as_dir=.
21332 for ac_exec_ext in '' $ac_executable_extensions; do
21333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21334 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21335 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21345 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
21346 if test -n "$NETSNMP_CONFIG"; then
21347 { echo "$as_me:$LINENO: result
: $NETSNMP_CONFIG" >&5
21348 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
21350 { echo "$as_me:$LINENO: result
: no
" >&5
21351 echo "${ECHO_T}no
" >&6; }
21356 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
21357 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
21358 # Extract the first word of "net-snmp-config
", so it can be a program name with args.
21359 set dummy net-snmp-config; ac_word=$2
21360 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21361 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21362 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
21363 echo $ECHO_N "(cached
) $ECHO_C" >&6
21365 case $ac_pt_NETSNMP_CONFIG in
21367 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
21370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21371 for as_dir in ${NETSNMP_DIR}/bin
21374 test -z "$as_dir" && as_dir=.
21375 for ac_exec_ext in '' $ac_executable_extensions; do
21376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21377 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21378 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21388 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
21389 if test -n "$ac_pt_NETSNMP_CONFIG"; then
21390 { echo "$as_me:$LINENO: result
: $ac_pt_NETSNMP_CONFIG" >&5
21391 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
21393 { echo "$as_me:$LINENO: result
: no
" >&5
21394 echo "${ECHO_T}no
" >&6; }
21397 if test "x
$ac_pt_NETSNMP_CONFIG" = x; then
21398 NETSNMP_CONFIG="No
"
21400 case $cross_compiling:$ac_tool_warned in
21402 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
21403 whose name does not start with the
host triplet. If you think this
21404 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
21405 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
21406 whose name does not start with the
host triplet. If you think this
21407 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
21408 ac_tool_warned=yes ;;
21410 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
21413 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
21416 if test x"${NETSNMP_CONFIG}" = xNo; then
21417 { echo "$as_me:$LINENO: ***" >&5
21418 echo "$as_me: ***" >&6;}
21419 { echo "$as_me:$LINENO: *** net-snmp-config was not found
in the path you specified
:" >&5
21420 echo "$as_me: *** net-snmp-config was not found
in the path you specified
:" >&6;}
21421 { echo "$as_me:$LINENO: *** ${NETSNMP_DIR}/bin
" >&5
21422 echo "$as_me: *** ${NETSNMP_DIR}/bin
" >&6;}
21423 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21424 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21425 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
21426 echo "$as_me: *** including
--without-netsnmp" >&6;}
21430 if test -n "$ac_tool_prefix"; then
21431 # Extract the first word of "${ac_tool_prefix}net-snmp-config
", so it can be a program name with args.
21432 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
21433 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21434 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21435 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
21436 echo $ECHO_N "(cached
) $ECHO_C" >&6
21438 case $NETSNMP_CONFIG in
21440 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
21443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21444 for as_dir in $PATH
21447 test -z "$as_dir" && as_dir=.
21448 for ac_exec_ext in '' $ac_executable_extensions; do
21449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21450 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21451 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21461 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
21462 if test -n "$NETSNMP_CONFIG"; then
21463 { echo "$as_me:$LINENO: result
: $NETSNMP_CONFIG" >&5
21464 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
21466 { echo "$as_me:$LINENO: result
: no
" >&5
21467 echo "${ECHO_T}no
" >&6; }
21472 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
21473 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
21474 # Extract the first word of "net-snmp-config
", so it can be a program name with args.
21475 set dummy net-snmp-config; ac_word=$2
21476 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21477 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21478 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
21479 echo $ECHO_N "(cached
) $ECHO_C" >&6
21481 case $ac_pt_NETSNMP_CONFIG in
21483 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
21486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21487 for as_dir in $PATH
21490 test -z "$as_dir" && as_dir=.
21491 for ac_exec_ext in '' $ac_executable_extensions; do
21492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21493 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21504 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
21505 if test -n "$ac_pt_NETSNMP_CONFIG"; then
21506 { echo "$as_me:$LINENO: result
: $ac_pt_NETSNMP_CONFIG" >&5
21507 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
21509 { echo "$as_me:$LINENO: result
: no
" >&5
21510 echo "${ECHO_T}no
" >&6; }
21513 if test "x
$ac_pt_NETSNMP_CONFIG" = x; then
21514 NETSNMP_CONFIG="No
"
21516 case $cross_compiling:$ac_tool_warned in
21518 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
21519 whose name does not start with the
host triplet. If you think this
21520 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
21521 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
21522 whose name does not start with the
host triplet. If you think this
21523 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
21524 ac_tool_warned=yes ;;
21526 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
21529 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
21534 if test x"${NETSNMP_CONFIG}" != xNo; then
21535 NETSNMP_libs=`${NETSNMP_CONFIG} --agent-libs`
21537 { echo "$as_me:$LINENO: checking
for snmp_register_callback
in -lnetsnmp" >&5
21538 echo $ECHO_N "checking
for snmp_register_callback
in -lnetsnmp...
$ECHO_C" >&6; }
21539 if test "${ac_cv_lib_netsnmp_snmp_register_callback+set}" = set; then
21540 echo $ECHO_N "(cached
) $ECHO_C" >&6
21542 ac_check_lib_save_LIBS=$LIBS
21543 LIBS="-lnetsnmp ${NETSNMP_libs} $LIBS"
21544 cat >conftest.$ac_ext <<_ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21551 /* Override any GCC internal prototype to avoid an error.
21552 Use char because int might match the return type of a GCC
21553 builtin and then its argument prototype would still apply. */
21557 char snmp_register_callback ();
21561 return snmp_register_callback ();
21566 rm -f conftest.$ac_objext conftest$ac_exeext
21567 if { (ac_try="$ac_link"
21568 case "(($ac_try" in
21569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21570 *) ac_try_echo=$ac_try;;
21572 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21573 (eval "$ac_link") 2>conftest.er1
21575 grep -v '^ *+' conftest.er1 >conftest.err
21577 cat conftest.err >&5
21578 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21579 (exit $ac_status); } && {
21580 test -z "$ac_c_werror_flag" ||
21581 test ! -s conftest.err
21582 } && test -s conftest$ac_exeext &&
21583 $as_test_x conftest$ac_exeext; then
21584 ac_cv_lib_netsnmp_snmp_register_callback=yes
21586 echo "$as_me: failed program was
:" >&5
21587 sed 's/^/| /' conftest.$ac_ext >&5
21589 ac_cv_lib_netsnmp_snmp_register_callback=no
21592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21593 conftest$ac_exeext conftest.$ac_ext
21594 LIBS=$ac_check_lib_save_LIBS
21596 { echo "$as_me:$LINENO: result
: $ac_cv_lib_netsnmp_snmp_register_callback" >&5
21597 echo "${ECHO_T}$ac_cv_lib_netsnmp_snmp_register_callback" >&6; }
21598 if test $ac_cv_lib_netsnmp_snmp_register_callback = yes; then
21600 cat >>confdefs.h <<_ACEOF
21601 #define HAVE_NETSNMP 1
21607 if test "${ac_cv_lib_netsnmp_snmp_register_callback}" = "yes"; then
21608 NETSNMP_LIB="${NETSNMP_libs}"
21610 elif test -n "${NETSNMP_MANDATORY}";
21612 { echo "$as_me:$LINENO: ***" >&5
21613 echo "$as_me: ***" >&6;}
21614 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken.
" >&5
21615 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken.
" >&6;}
21616 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21617 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21618 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
21619 echo "$as_me: *** including
--without-netsnmp" >&6;}
21622 elif test -n "${NETSNMP_MANDATORY}";
21624 { echo "$as_me:$LINENO: ***" >&5
21625 echo "$as_me: ***" >&6;}
21626 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken.
" >&5
21627 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken.
" >&6;}
21628 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21629 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21630 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
21631 echo "$as_me: *** including
--without-netsnmp" >&6;}
21636 if test "${USE_NEWT}" != "no
"; then
21638 if test "x
${NEWT_DIR}" != "x
"; then
21639 if test -d ${NEWT_DIR}/lib; then
21640 pbxlibdir="-L${NEWT_DIR}/lib
"
21642 pbxlibdir="-L${NEWT_DIR}"
21645 { echo "$as_me:$LINENO: checking
for newtBell
in -lnewt" >&5
21646 echo $ECHO_N "checking
for newtBell
in -lnewt...
$ECHO_C" >&6; }
21647 if test "${ac_cv_lib_newt_newtBell+set}" = set; then
21648 echo $ECHO_N "(cached
) $ECHO_C" >&6
21650 ac_check_lib_save_LIBS=$LIBS
21651 LIBS="-lnewt ${pbxlibdir} $LIBS"
21652 cat >conftest.$ac_ext <<_ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21659 /* Override any GCC internal prototype to avoid an error.
21660 Use char because int might match the return type of a GCC
21661 builtin and then its argument prototype would still apply. */
21669 return newtBell ();
21674 rm -f conftest.$ac_objext conftest$ac_exeext
21675 if { (ac_try="$ac_link"
21676 case "(($ac_try" in
21677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21680 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_link") 2>conftest.er1
21683 grep -v '^ *+' conftest.er1 >conftest.err
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest$ac_exeext &&
21691 $as_test_x conftest$ac_exeext; then
21692 ac_cv_lib_newt_newtBell=yes
21694 echo "$as_me: failed program was
:" >&5
21695 sed 's/^/| /' conftest.$ac_ext >&5
21697 ac_cv_lib_newt_newtBell=no
21700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21701 conftest$ac_exeext conftest.$ac_ext
21702 LIBS=$ac_check_lib_save_LIBS
21704 { echo "$as_me:$LINENO: result
: $ac_cv_lib_newt_newtBell" >&5
21705 echo "${ECHO_T}$ac_cv_lib_newt_newtBell" >&6; }
21706 if test $ac_cv_lib_newt_newtBell = yes; then
21713 if test "${AST_NEWT_FOUND}" = "yes"; then
21715 NEWT_HEADER_FOUND="1"
21716 if test "x
${NEWT_DIR}" != "x
"; then
21717 NEWT_LIB="${pbxlibdir} ${NEWT_LIB}"
21718 NEWT_INCLUDE="-I${NEWT_DIR}/include
"
21719 saved_cppflags="${CPPFLAGS}"
21720 CPPFLAGS="${CPPFLAGS} -I${NEWT_DIR}/include
"
21721 if test "xnewt.h
" != "x
" ; then
21722 as_ac_Header=`echo "ac_cv_header_
${NEWT_DIR}/include
/newt.h
" | $as_tr_sh`
21723 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21724 { echo "$as_me:$LINENO: checking
for ${NEWT_DIR}/include
/newt.h
" >&5
21725 echo $ECHO_N "checking
for ${NEWT_DIR}/include
/newt.h...
$ECHO_C" >&6; }
21726 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21727 echo $ECHO_N "(cached
) $ECHO_C" >&6
21729 ac_res=`eval echo '${'$as_ac_Header'}'`
21730 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21731 echo "${ECHO_T}$ac_res" >&6; }
21733 # Is the header compilable?
21734 { echo "$as_me:$LINENO: checking
${NEWT_DIR}/include
/newt.h usability
" >&5
21735 echo $ECHO_N "checking
${NEWT_DIR}/include
/newt.h usability...
$ECHO_C" >&6; }
21736 cat >conftest.$ac_ext <<_ACEOF
21739 cat confdefs.h >>conftest.$ac_ext
21740 cat >>conftest.$ac_ext <<_ACEOF
21741 /* end confdefs.h. */
21742 $ac_includes_default
21743 #include <${NEWT_DIR}/include/newt.h>
21745 rm -f conftest.$ac_objext
21746 if { (ac_try="$ac_compile"
21747 case "(($ac_try" in
21748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21749 *) ac_try_echo=$ac_try;;
21751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21752 (eval "$ac_compile") 2>conftest.er1
21754 grep -v '^ *+' conftest.er1 >conftest.err
21756 cat conftest.err >&5
21757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21758 (exit $ac_status); } && {
21759 test -z "$ac_c_werror_flag" ||
21760 test ! -s conftest.err
21761 } && test -s conftest.$ac_objext; then
21762 ac_header_compiler=yes
21764 echo "$as_me: failed program was
:" >&5
21765 sed 's/^/| /' conftest.$ac_ext >&5
21767 ac_header_compiler=no
21770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21771 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21772 echo "${ECHO_T}$ac_header_compiler" >&6; }
21774 # Is the header present?
21775 { echo "$as_me:$LINENO: checking
${NEWT_DIR}/include
/newt.h presence
" >&5
21776 echo $ECHO_N "checking
${NEWT_DIR}/include
/newt.h presence...
$ECHO_C" >&6; }
21777 cat >conftest.$ac_ext <<_ACEOF
21780 cat confdefs.h >>conftest.$ac_ext
21781 cat >>conftest.$ac_ext <<_ACEOF
21782 /* end confdefs.h. */
21783 #include <${NEWT_DIR}/include/newt.h>
21785 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21786 case "(($ac_try" in
21787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21788 *) ac_try_echo=$ac_try;;
21790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21791 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21793 grep -v '^ *+' conftest.er1 >conftest.err
21795 cat conftest.err >&5
21796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21797 (exit $ac_status); } >/dev/null && {
21798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21799 test ! -s conftest.err
21801 ac_header_preproc=yes
21803 echo "$as_me: failed program was
:" >&5
21804 sed 's/^/| /' conftest.$ac_ext >&5
21806 ac_header_preproc=no
21809 rm -f conftest.err conftest.$ac_ext
21810 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21811 echo "${ECHO_T}$ac_header_preproc" >&6; }
21813 # So? What about this header?
21814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21816 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21817 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21818 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the compiler
's result" >&5
21819 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the compiler's result
" >&2;}
21820 ac_header_preproc=yes
21823 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: present but cannot be compiled
" >&5
21824 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: present but cannot be compiled
" >&2;}
21825 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: check
for missing prerequisite headers?
" >&5
21826 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: check
for missing prerequisite headers?
" >&2;}
21827 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: see the Autoconf documentation
" >&5
21828 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: see the Autoconf documentation
" >&2;}
21829 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21830 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21831 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the preprocessor
's result" >&5
21832 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the preprocessor's result
" >&2;}
21833 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: in the future
, the compiler will take precedence
" >&5
21834 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: in the future
, the compiler will take precedence
" >&2;}
21838 { echo "$as_me:$LINENO: checking
for ${NEWT_DIR}/include
/newt.h
" >&5
21839 echo $ECHO_N "checking
for ${NEWT_DIR}/include
/newt.h...
$ECHO_C" >&6; }
21840 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21841 echo $ECHO_N "(cached
) $ECHO_C" >&6
21843 eval "$as_ac_Header=\
$ac_header_preproc"
21845 ac_res=`eval echo '${'$as_ac_Header'}'`
21846 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21847 echo "${ECHO_T}$ac_res" >&6; }
21850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21851 NEWT_HEADER_FOUND=1
21853 NEWT_HEADER_FOUND=0
21858 CPPFLAGS="${saved_cppflags}"
21860 if test "xnewt.h
" != "x
" ; then
21861 if test "${ac_cv_header_newt_h+set}" = set; then
21862 { echo "$as_me:$LINENO: checking
for newt.h
" >&5
21863 echo $ECHO_N "checking
for newt.h...
$ECHO_C" >&6; }
21864 if test "${ac_cv_header_newt_h+set}" = set; then
21865 echo $ECHO_N "(cached
) $ECHO_C" >&6
21867 { echo "$as_me:$LINENO: result
: $ac_cv_header_newt_h" >&5
21868 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
21870 # Is the header compilable?
21871 { echo "$as_me:$LINENO: checking newt.h usability
" >&5
21872 echo $ECHO_N "checking newt.h usability...
$ECHO_C" >&6; }
21873 cat >conftest.$ac_ext <<_ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 $ac_includes_default
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21891 grep -v '^ *+' conftest.er1 >conftest.err
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21895 (exit $ac_status); } && {
21896 test -z "$ac_c_werror_flag" ||
21897 test ! -s conftest.err
21898 } && test -s conftest.$ac_objext; then
21899 ac_header_compiler=yes
21901 echo "$as_me: failed program was
:" >&5
21902 sed 's/^/| /' conftest.$ac_ext >&5
21904 ac_header_compiler=no
21907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21908 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21909 echo "${ECHO_T}$ac_header_compiler" >&6; }
21911 # Is the header present?
21912 { echo "$as_me:$LINENO: checking newt.h presence
" >&5
21913 echo $ECHO_N "checking newt.h presence...
$ECHO_C" >&6; }
21914 cat >conftest.$ac_ext <<_ACEOF
21917 cat confdefs.h >>conftest.$ac_ext
21918 cat >>conftest.$ac_ext <<_ACEOF
21919 /* end confdefs.h. */
21922 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21923 case "(($ac_try" in
21924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21925 *) ac_try_echo=$ac_try;;
21927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21928 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21930 grep -v '^ *+' conftest.er1 >conftest.err
21932 cat conftest.err >&5
21933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21934 (exit $ac_status); } >/dev/null && {
21935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21936 test ! -s conftest.err
21938 ac_header_preproc=yes
21940 echo "$as_me: failed program was
:" >&5
21941 sed 's/^/| /' conftest.$ac_ext >&5
21943 ac_header_preproc=no
21946 rm -f conftest.err conftest.$ac_ext
21947 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21948 echo "${ECHO_T}$ac_header_preproc" >&6; }
21950 # So? What about this header?
21951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21953 { echo "$as_me:$LINENO: WARNING
: newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21954 echo "$as_me: WARNING
: newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21955 { echo "$as_me:$LINENO: WARNING
: newt.h
: proceeding with the compiler
's result" >&5
21956 echo "$as_me: WARNING: newt.h: proceeding with the compiler's result
" >&2;}
21957 ac_header_preproc=yes
21960 { echo "$as_me:$LINENO: WARNING
: newt.h
: present but cannot be compiled
" >&5
21961 echo "$as_me: WARNING
: newt.h
: present but cannot be compiled
" >&2;}
21962 { echo "$as_me:$LINENO: WARNING
: newt.h
: check
for missing prerequisite headers?
" >&5
21963 echo "$as_me: WARNING
: newt.h
: check
for missing prerequisite headers?
" >&2;}
21964 { echo "$as_me:$LINENO: WARNING
: newt.h
: see the Autoconf documentation
" >&5
21965 echo "$as_me: WARNING
: newt.h
: see the Autoconf documentation
" >&2;}
21966 { echo "$as_me:$LINENO: WARNING
: newt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21967 echo "$as_me: WARNING
: newt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21968 { echo "$as_me:$LINENO: WARNING
: newt.h
: proceeding with the preprocessor
's result" >&5
21969 echo "$as_me: WARNING: newt.h: proceeding with the preprocessor's result
" >&2;}
21970 { echo "$as_me:$LINENO: WARNING
: newt.h
: in the future
, the compiler will take precedence
" >&5
21971 echo "$as_me: WARNING
: newt.h
: in the future
, the compiler will take precedence
" >&2;}
21975 { echo "$as_me:$LINENO: checking
for newt.h
" >&5
21976 echo $ECHO_N "checking
for newt.h...
$ECHO_C" >&6; }
21977 if test "${ac_cv_header_newt_h+set}" = set; then
21978 echo $ECHO_N "(cached
) $ECHO_C" >&6
21980 ac_cv_header_newt_h=$ac_header_preproc
21982 { echo "$as_me:$LINENO: result
: $ac_cv_header_newt_h" >&5
21983 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
21986 if test $ac_cv_header_newt_h = yes; then
21987 NEWT_HEADER_FOUND=1
21989 NEWT_HEADER_FOUND=0
21995 if test "x
${NEWT_HEADER_FOUND}" = "x0
" ; then
21996 if test -n "${NEWT_MANDATORY}" ;
21998 { echo "$as_me:$LINENO: ***" >&5
21999 echo "$as_me: ***" >&6;}
22000 { echo "$as_me:$LINENO: *** It appears that you
do not have the newt development package installed.
" >&5
22001 echo "$as_me: *** It appears that you
do not have the newt development package installed.
" >&6;}
22002 { echo "$as_me:$LINENO: *** Please
install it to include
${NEWT_DESCRIP} support
, or re-run configure
" >&5
22003 echo "$as_me: *** Please
install it to include
${NEWT_DESCRIP} support
, or re-run configure
" >&6;}
22004 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NEWT_OPTION}" >&5
22005 echo "$as_me: *** without explicitly specifying
--with-${NEWT_OPTION}" >&6;}
22014 cat >>confdefs.h <<_ACEOF
22015 #define HAVE_NEWT 1
22019 elif test -n "${NEWT_MANDATORY}";
22021 { echo "$as_me:$LINENO: ***" >&5
22022 echo "$as_me: ***" >&6;}
22023 { echo "$as_me:$LINENO: *** The
${NEWT_DESCRIP} installation on this system appears to be broken.
" >&5
22024 echo "$as_me: *** The
${NEWT_DESCRIP} installation on this system appears to be broken.
" >&6;}
22025 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22026 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22027 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NEWT_OPTION}" >&5
22028 echo "$as_me: *** without explicitly specifying
--with-${NEWT_OPTION}" >&6;}
22035 if test "${USE_UNIXODBC}" != "no
"; then
22037 if test "x
${UNIXODBC_DIR}" != "x
"; then
22038 if test -d ${UNIXODBC_DIR}/lib; then
22039 pbxlibdir="-L${UNIXODBC_DIR}/lib
"
22041 pbxlibdir="-L${UNIXODBC_DIR}"
22044 { echo "$as_me:$LINENO: checking
for SQLConnect
in -lodbc" >&5
22045 echo $ECHO_N "checking
for SQLConnect
in -lodbc...
$ECHO_C" >&6; }
22046 if test "${ac_cv_lib_odbc_SQLConnect+set}" = set; then
22047 echo $ECHO_N "(cached
) $ECHO_C" >&6
22049 ac_check_lib_save_LIBS=$LIBS
22050 LIBS="-lodbc ${pbxlibdir} $LIBS"
22051 cat >conftest.$ac_ext <<_ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22058 /* Override any GCC internal prototype to avoid an error.
22059 Use char because int might match the return type of a GCC
22060 builtin and then its argument prototype would still apply. */
22064 char SQLConnect ();
22068 return SQLConnect ();
22073 rm -f conftest.$ac_objext conftest$ac_exeext
22074 if { (ac_try="$ac_link"
22075 case "(($ac_try" in
22076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22077 *) ac_try_echo=$ac_try;;
22079 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22080 (eval "$ac_link") 2>conftest.er1
22082 grep -v '^ *+' conftest.er1 >conftest.err
22084 cat conftest.err >&5
22085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22086 (exit $ac_status); } && {
22087 test -z "$ac_c_werror_flag" ||
22088 test ! -s conftest.err
22089 } && test -s conftest$ac_exeext &&
22090 $as_test_x conftest$ac_exeext; then
22091 ac_cv_lib_odbc_SQLConnect=yes
22093 echo "$as_me: failed program was
:" >&5
22094 sed 's/^/| /' conftest.$ac_ext >&5
22096 ac_cv_lib_odbc_SQLConnect=no
22099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22100 conftest$ac_exeext conftest.$ac_ext
22101 LIBS=$ac_check_lib_save_LIBS
22103 { echo "$as_me:$LINENO: result
: $ac_cv_lib_odbc_SQLConnect" >&5
22104 echo "${ECHO_T}$ac_cv_lib_odbc_SQLConnect" >&6; }
22105 if test $ac_cv_lib_odbc_SQLConnect = yes; then
22106 AST_UNIXODBC_FOUND=yes
22108 AST_UNIXODBC_FOUND=no
22112 if test "${AST_UNIXODBC_FOUND}" = "yes"; then
22113 UNIXODBC_LIB="-lodbc "
22114 UNIXODBC_HEADER_FOUND="1"
22115 if test "x
${UNIXODBC_DIR}" != "x
"; then
22116 UNIXODBC_LIB="${pbxlibdir} ${UNIXODBC_LIB}"
22117 UNIXODBC_INCLUDE="-I${UNIXODBC_DIR}/include
"
22118 saved_cppflags="${CPPFLAGS}"
22119 CPPFLAGS="${CPPFLAGS} -I${UNIXODBC_DIR}/include
"
22120 if test "xsql.h
" != "x
" ; then
22121 as_ac_Header=`echo "ac_cv_header_
${UNIXODBC_DIR}/include
/sql.h
" | $as_tr_sh`
22122 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22123 { echo "$as_me:$LINENO: checking
for ${UNIXODBC_DIR}/include
/sql.h
" >&5
22124 echo $ECHO_N "checking
for ${UNIXODBC_DIR}/include
/sql.h...
$ECHO_C" >&6; }
22125 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22126 echo $ECHO_N "(cached
) $ECHO_C" >&6
22128 ac_res=`eval echo '${'$as_ac_Header'}'`
22129 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22130 echo "${ECHO_T}$ac_res" >&6; }
22132 # Is the header compilable?
22133 { echo "$as_me:$LINENO: checking
${UNIXODBC_DIR}/include
/sql.h usability
" >&5
22134 echo $ECHO_N "checking
${UNIXODBC_DIR}/include
/sql.h usability...
$ECHO_C" >&6; }
22135 cat >conftest.$ac_ext <<_ACEOF
22138 cat confdefs.h >>conftest.$ac_ext
22139 cat >>conftest.$ac_ext <<_ACEOF
22140 /* end confdefs.h. */
22141 $ac_includes_default
22142 #include <${UNIXODBC_DIR}/include/sql.h>
22144 rm -f conftest.$ac_objext
22145 if { (ac_try="$ac_compile"
22146 case "(($ac_try" in
22147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22148 *) ac_try_echo=$ac_try;;
22150 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22151 (eval "$ac_compile") 2>conftest.er1
22153 grep -v '^ *+' conftest.er1 >conftest.err
22155 cat conftest.err >&5
22156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22157 (exit $ac_status); } && {
22158 test -z "$ac_c_werror_flag" ||
22159 test ! -s conftest.err
22160 } && test -s conftest.$ac_objext; then
22161 ac_header_compiler=yes
22163 echo "$as_me: failed program was
:" >&5
22164 sed 's/^/| /' conftest.$ac_ext >&5
22166 ac_header_compiler=no
22169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22170 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22171 echo "${ECHO_T}$ac_header_compiler" >&6; }
22173 # Is the header present?
22174 { echo "$as_me:$LINENO: checking
${UNIXODBC_DIR}/include
/sql.h presence
" >&5
22175 echo $ECHO_N "checking
${UNIXODBC_DIR}/include
/sql.h presence...
$ECHO_C" >&6; }
22176 cat >conftest.$ac_ext <<_ACEOF
22179 cat confdefs.h >>conftest.$ac_ext
22180 cat >>conftest.$ac_ext <<_ACEOF
22181 /* end confdefs.h. */
22182 #include <${UNIXODBC_DIR}/include/sql.h>
22184 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22185 case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22192 grep -v '^ *+' conftest.er1 >conftest.err
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22196 (exit $ac_status); } >/dev/null && {
22197 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22198 test ! -s conftest.err
22200 ac_header_preproc=yes
22202 echo "$as_me: failed program was
:" >&5
22203 sed 's/^/| /' conftest.$ac_ext >&5
22205 ac_header_preproc=no
22208 rm -f conftest.err conftest.$ac_ext
22209 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22210 echo "${ECHO_T}$ac_header_preproc" >&6; }
22212 # So? What about this header?
22213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22215 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22216 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22217 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the compiler
's result" >&5
22218 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the compiler's result
" >&2;}
22219 ac_header_preproc=yes
22222 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: present but cannot be compiled
" >&5
22223 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: present but cannot be compiled
" >&2;}
22224 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: check
for missing prerequisite headers?
" >&5
22225 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: check
for missing prerequisite headers?
" >&2;}
22226 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: see the Autoconf documentation
" >&5
22227 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: see the Autoconf documentation
" >&2;}
22228 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22229 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22230 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the preprocessor
's result" >&5
22231 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the preprocessor's result
" >&2;}
22232 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: in the future
, the compiler will take precedence
" >&5
22233 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: in the future
, the compiler will take precedence
" >&2;}
22237 { echo "$as_me:$LINENO: checking
for ${UNIXODBC_DIR}/include
/sql.h
" >&5
22238 echo $ECHO_N "checking
for ${UNIXODBC_DIR}/include
/sql.h...
$ECHO_C" >&6; }
22239 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22240 echo $ECHO_N "(cached
) $ECHO_C" >&6
22242 eval "$as_ac_Header=\
$ac_header_preproc"
22244 ac_res=`eval echo '${'$as_ac_Header'}'`
22245 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22246 echo "${ECHO_T}$ac_res" >&6; }
22249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22250 UNIXODBC_HEADER_FOUND=1
22252 UNIXODBC_HEADER_FOUND=0
22257 CPPFLAGS="${saved_cppflags}"
22259 if test "xsql.h
" != "x
" ; then
22260 if test "${ac_cv_header_sql_h+set}" = set; then
22261 { echo "$as_me:$LINENO: checking
for sql.h
" >&5
22262 echo $ECHO_N "checking
for sql.h...
$ECHO_C" >&6; }
22263 if test "${ac_cv_header_sql_h+set}" = set; then
22264 echo $ECHO_N "(cached
) $ECHO_C" >&6
22266 { echo "$as_me:$LINENO: result
: $ac_cv_header_sql_h" >&5
22267 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
22269 # Is the header compilable?
22270 { echo "$as_me:$LINENO: checking sql.h usability
" >&5
22271 echo $ECHO_N "checking sql.h usability...
$ECHO_C" >&6; }
22272 cat >conftest.$ac_ext <<_ACEOF
22275 cat confdefs.h >>conftest.$ac_ext
22276 cat >>conftest.$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22278 $ac_includes_default
22281 rm -f conftest.$ac_objext
22282 if { (ac_try="$ac_compile"
22283 case "(($ac_try" in
22284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22285 *) ac_try_echo=$ac_try;;
22287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22288 (eval "$ac_compile") 2>conftest.er1
22290 grep -v '^ *+' conftest.er1 >conftest.err
22292 cat conftest.err >&5
22293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22294 (exit $ac_status); } && {
22295 test -z "$ac_c_werror_flag" ||
22296 test ! -s conftest.err
22297 } && test -s conftest.$ac_objext; then
22298 ac_header_compiler=yes
22300 echo "$as_me: failed program was
:" >&5
22301 sed 's/^/| /' conftest.$ac_ext >&5
22303 ac_header_compiler=no
22306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22307 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22308 echo "${ECHO_T}$ac_header_compiler" >&6; }
22310 # Is the header present?
22311 { echo "$as_me:$LINENO: checking sql.h presence
" >&5
22312 echo $ECHO_N "checking sql.h presence...
$ECHO_C" >&6; }
22313 cat >conftest.$ac_ext <<_ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22321 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22322 case "(($ac_try" in
22323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22324 *) ac_try_echo=$ac_try;;
22326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22327 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22329 grep -v '^ *+' conftest.er1 >conftest.err
22331 cat conftest.err >&5
22332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22333 (exit $ac_status); } >/dev/null && {
22334 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22335 test ! -s conftest.err
22337 ac_header_preproc=yes
22339 echo "$as_me: failed program was
:" >&5
22340 sed 's/^/| /' conftest.$ac_ext >&5
22342 ac_header_preproc=no
22345 rm -f conftest.err conftest.$ac_ext
22346 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22347 echo "${ECHO_T}$ac_header_preproc" >&6; }
22349 # So? What about this header?
22350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22352 { echo "$as_me:$LINENO: WARNING
: sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22353 echo "$as_me: WARNING
: sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22354 { echo "$as_me:$LINENO: WARNING
: sql.h
: proceeding with the compiler
's result" >&5
22355 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result
" >&2;}
22356 ac_header_preproc=yes
22359 { echo "$as_me:$LINENO: WARNING
: sql.h
: present but cannot be compiled
" >&5
22360 echo "$as_me: WARNING
: sql.h
: present but cannot be compiled
" >&2;}
22361 { echo "$as_me:$LINENO: WARNING
: sql.h
: check
for missing prerequisite headers?
" >&5
22362 echo "$as_me: WARNING
: sql.h
: check
for missing prerequisite headers?
" >&2;}
22363 { echo "$as_me:$LINENO: WARNING
: sql.h
: see the Autoconf documentation
" >&5
22364 echo "$as_me: WARNING
: sql.h
: see the Autoconf documentation
" >&2;}
22365 { echo "$as_me:$LINENO: WARNING
: sql.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22366 echo "$as_me: WARNING
: sql.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22367 { echo "$as_me:$LINENO: WARNING
: sql.h
: proceeding with the preprocessor
's result" >&5
22368 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result
" >&2;}
22369 { echo "$as_me:$LINENO: WARNING
: sql.h
: in the future
, the compiler will take precedence
" >&5
22370 echo "$as_me: WARNING
: sql.h
: in the future
, the compiler will take precedence
" >&2;}
22374 { echo "$as_me:$LINENO: checking
for sql.h
" >&5
22375 echo $ECHO_N "checking
for sql.h...
$ECHO_C" >&6; }
22376 if test "${ac_cv_header_sql_h+set}" = set; then
22377 echo $ECHO_N "(cached
) $ECHO_C" >&6
22379 ac_cv_header_sql_h=$ac_header_preproc
22381 { echo "$as_me:$LINENO: result
: $ac_cv_header_sql_h" >&5
22382 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
22385 if test $ac_cv_header_sql_h = yes; then
22386 UNIXODBC_HEADER_FOUND=1
22388 UNIXODBC_HEADER_FOUND=0
22394 if test "x
${UNIXODBC_HEADER_FOUND}" = "x0
" ; then
22395 if test -n "${UNIXODBC_MANDATORY}" ;
22397 { echo "$as_me:$LINENO: ***" >&5
22398 echo "$as_me: ***" >&6;}
22399 { echo "$as_me:$LINENO: *** It appears that you
do not have the odbc development package installed.
" >&5
22400 echo "$as_me: *** It appears that you
do not have the odbc development package installed.
" >&6;}
22401 { echo "$as_me:$LINENO: *** Please
install it to include
${UNIXODBC_DESCRIP} support
, or re-run configure
" >&5
22402 echo "$as_me: *** Please
install it to include
${UNIXODBC_DESCRIP} support
, or re-run configure
" >&6;}
22403 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&5
22404 echo "$as_me: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&6;}
22408 UNIXODBC_INCLUDE=""
22413 cat >>confdefs.h <<_ACEOF
22414 #define HAVE_UNIXODBC 1
22418 elif test -n "${UNIXODBC_MANDATORY}";
22420 { echo "$as_me:$LINENO: ***" >&5
22421 echo "$as_me: ***" >&6;}
22422 { echo "$as_me:$LINENO: *** The
${UNIXODBC_DESCRIP} installation on this system appears to be broken.
" >&5
22423 echo "$as_me: *** The
${UNIXODBC_DESCRIP} installation on this system appears to be broken.
" >&6;}
22424 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22425 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22426 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&5
22427 echo "$as_me: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&6;}
22434 if test "${USE_OGG}" != "no
"; then
22436 if test "x
${OGG_DIR}" != "x
"; then
22437 if test -d ${OGG_DIR}/lib; then
22438 pbxlibdir="-L${OGG_DIR}/lib
"
22440 pbxlibdir="-L${OGG_DIR}"
22443 { echo "$as_me:$LINENO: checking
for ogg_sync_init
in -logg" >&5
22444 echo $ECHO_N "checking
for ogg_sync_init
in -logg...
$ECHO_C" >&6; }
22445 if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
22446 echo $ECHO_N "(cached
) $ECHO_C" >&6
22448 ac_check_lib_save_LIBS=$LIBS
22449 LIBS="-logg ${pbxlibdir} $LIBS"
22450 cat >conftest.$ac_ext <<_ACEOF
22453 cat confdefs.h >>conftest.$ac_ext
22454 cat >>conftest.$ac_ext <<_ACEOF
22455 /* end confdefs.h. */
22457 /* Override any GCC internal prototype to avoid an error.
22458 Use char because int might match the return type of a GCC
22459 builtin and then its argument prototype would still apply. */
22463 char ogg_sync_init ();
22467 return ogg_sync_init ();
22472 rm -f conftest.$ac_objext conftest$ac_exeext
22473 if { (ac_try="$ac_link"
22474 case "(($ac_try" in
22475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22476 *) ac_try_echo=$ac_try;;
22478 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22479 (eval "$ac_link") 2>conftest.er1
22481 grep -v '^ *+' conftest.er1 >conftest.err
22483 cat conftest.err >&5
22484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22485 (exit $ac_status); } && {
22486 test -z "$ac_c_werror_flag" ||
22487 test ! -s conftest.err
22488 } && test -s conftest$ac_exeext &&
22489 $as_test_x conftest$ac_exeext; then
22490 ac_cv_lib_ogg_ogg_sync_init=yes
22492 echo "$as_me: failed program was
:" >&5
22493 sed 's/^/| /' conftest.$ac_ext >&5
22495 ac_cv_lib_ogg_ogg_sync_init=no
22498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22499 conftest$ac_exeext conftest.$ac_ext
22500 LIBS=$ac_check_lib_save_LIBS
22502 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ogg_ogg_sync_init" >&5
22503 echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
22504 if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
22511 if test "${AST_OGG_FOUND}" = "yes"; then
22513 OGG_HEADER_FOUND="1"
22514 if test "x
${OGG_DIR}" != "x
"; then
22515 OGG_LIB="${pbxlibdir} ${OGG_LIB}"
22516 OGG_INCLUDE="-I${OGG_DIR}/include
"
22517 saved_cppflags="${CPPFLAGS}"
22518 CPPFLAGS="${CPPFLAGS} -I${OGG_DIR}/include
"
22519 if test "x
" != "x
" ; then
22520 as_ac_Header=`echo "ac_cv_header_
${OGG_DIR}/include
/" | $as_tr_sh`
22521 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22522 { echo "$as_me:$LINENO: checking
for ${OGG_DIR}/include
/" >&5
22523 echo $ECHO_N "checking
for ${OGG_DIR}/include
/...
$ECHO_C" >&6; }
22524 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22525 echo $ECHO_N "(cached
) $ECHO_C" >&6
22527 ac_res=`eval echo '${'$as_ac_Header'}'`
22528 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22529 echo "${ECHO_T}$ac_res" >&6; }
22531 # Is the header compilable?
22532 { echo "$as_me:$LINENO: checking
${OGG_DIR}/include
/ usability
" >&5
22533 echo $ECHO_N "checking
${OGG_DIR}/include
/ usability...
$ECHO_C" >&6; }
22534 cat >conftest.$ac_ext <<_ACEOF
22537 cat confdefs.h >>conftest.$ac_ext
22538 cat >>conftest.$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540 $ac_includes_default
22541 #include <${OGG_DIR}/include/>
22543 rm -f conftest.$ac_objext
22544 if { (ac_try="$ac_compile"
22545 case "(($ac_try" in
22546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22547 *) ac_try_echo=$ac_try;;
22549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22550 (eval "$ac_compile") 2>conftest.er1
22552 grep -v '^ *+' conftest.er1 >conftest.err
22554 cat conftest.err >&5
22555 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22556 (exit $ac_status); } && {
22557 test -z "$ac_c_werror_flag" ||
22558 test ! -s conftest.err
22559 } && test -s conftest.$ac_objext; then
22560 ac_header_compiler=yes
22562 echo "$as_me: failed program was
:" >&5
22563 sed 's/^/| /' conftest.$ac_ext >&5
22565 ac_header_compiler=no
22568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22570 echo "${ECHO_T}$ac_header_compiler" >&6; }
22572 # Is the header present?
22573 { echo "$as_me:$LINENO: checking
${OGG_DIR}/include
/ presence
" >&5
22574 echo $ECHO_N "checking
${OGG_DIR}/include
/ presence...
$ECHO_C" >&6; }
22575 cat >conftest.$ac_ext <<_ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22581 #include <${OGG_DIR}/include/>
22583 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22584 case "(($ac_try" in
22585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22586 *) ac_try_echo=$ac_try;;
22588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22589 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22591 grep -v '^ *+' conftest.er1 >conftest.err
22593 cat conftest.err >&5
22594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22595 (exit $ac_status); } >/dev/null && {
22596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22597 test ! -s conftest.err
22599 ac_header_preproc=yes
22601 echo "$as_me: failed program was
:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22604 ac_header_preproc=no
22607 rm -f conftest.err conftest.$ac_ext
22608 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22609 echo "${ECHO_T}$ac_header_preproc" >&6; }
22611 # So? What about this header?
22612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22614 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: accepted by the compiler
, rejected by the preprocessor
!" >&5
22615 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22616 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: proceeding with the compiler
's result" >&5
22617 echo "$as_me: WARNING: ${OGG_DIR}/include/: proceeding with the compiler's result
" >&2;}
22618 ac_header_preproc=yes
22621 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: present but cannot be compiled
" >&5
22622 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: present but cannot be compiled
" >&2;}
22623 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: check
for missing prerequisite headers?
" >&5
22624 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: check
for missing prerequisite headers?
" >&2;}
22625 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: see the Autoconf documentation
" >&5
22626 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: see the Autoconf documentation
" >&2;}
22627 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: section
\"Present But Cannot Be Compiled
\"" >&5
22628 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: section
\"Present But Cannot Be Compiled
\"" >&2;}
22629 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: proceeding with the preprocessor
's result" >&5
22630 echo "$as_me: WARNING: ${OGG_DIR}/include/: proceeding with the preprocessor's result
" >&2;}
22631 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: in the future
, the compiler will take precedence
" >&5
22632 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: in the future
, the compiler will take precedence
" >&2;}
22636 { echo "$as_me:$LINENO: checking
for ${OGG_DIR}/include
/" >&5
22637 echo $ECHO_N "checking
for ${OGG_DIR}/include
/...
$ECHO_C" >&6; }
22638 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22639 echo $ECHO_N "(cached
) $ECHO_C" >&6
22641 eval "$as_ac_Header=\
$ac_header_preproc"
22643 ac_res=`eval echo '${'$as_ac_Header'}'`
22644 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22645 echo "${ECHO_T}$ac_res" >&6; }
22648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22656 CPPFLAGS="${saved_cppflags}"
22658 if test "x
" != "x
" ; then
22659 if test "${ac_cv_header_+set}" = set; then
22660 { echo "$as_me:$LINENO: checking
for " >&5
22661 echo $ECHO_N "checking
for ...
$ECHO_C" >&6; }
22662 if test "${ac_cv_header_+set}" = set; then
22663 echo $ECHO_N "(cached
) $ECHO_C" >&6
22665 { echo "$as_me:$LINENO: result
: $ac_cv_header_" >&5
22666 echo "${ECHO_T}$ac_cv_header_" >&6; }
22668 # Is the header compilable?
22669 { echo "$as_me:$LINENO: checking usability
" >&5
22670 echo $ECHO_N "checking usability...
$ECHO_C" >&6; }
22671 cat >conftest.$ac_ext <<_ACEOF
22674 cat confdefs.h >>conftest.$ac_ext
22675 cat >>conftest.$ac_ext <<_ACEOF
22676 /* end confdefs.h. */
22677 $ac_includes_default
22680 rm -f conftest.$ac_objext
22681 if { (ac_try="$ac_compile"
22682 case "(($ac_try" in
22683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22684 *) ac_try_echo=$ac_try;;
22686 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22687 (eval "$ac_compile") 2>conftest.er1
22689 grep -v '^ *+' conftest.er1 >conftest.err
22691 cat conftest.err >&5
22692 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22693 (exit $ac_status); } && {
22694 test -z "$ac_c_werror_flag" ||
22695 test ! -s conftest.err
22696 } && test -s conftest.$ac_objext; then
22697 ac_header_compiler=yes
22699 echo "$as_me: failed program was
:" >&5
22700 sed 's/^/| /' conftest.$ac_ext >&5
22702 ac_header_compiler=no
22705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22706 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22707 echo "${ECHO_T}$ac_header_compiler" >&6; }
22709 # Is the header present?
22710 { echo "$as_me:$LINENO: checking presence
" >&5
22711 echo $ECHO_N "checking presence...
$ECHO_C" >&6; }
22712 cat >conftest.$ac_ext <<_ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22720 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22721 case "(($ac_try" in
22722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22723 *) ac_try_echo=$ac_try;;
22725 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22726 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22728 grep -v '^ *+' conftest.er1 >conftest.err
22730 cat conftest.err >&5
22731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22732 (exit $ac_status); } >/dev/null && {
22733 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22734 test ! -s conftest.err
22736 ac_header_preproc=yes
22738 echo "$as_me: failed program was
:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22741 ac_header_preproc=no
22744 rm -f conftest.err conftest.$ac_ext
22745 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22746 echo "${ECHO_T}$ac_header_preproc" >&6; }
22748 # So? What about this header?
22749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22751 { echo "$as_me:$LINENO: WARNING
: : accepted by the compiler
, rejected by the preprocessor
!" >&5
22752 echo "$as_me: WARNING
: : accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22753 { echo "$as_me:$LINENO: WARNING
: : proceeding with the compiler
's result" >&5
22754 echo "$as_me: WARNING: : proceeding with the compiler's result
" >&2;}
22755 ac_header_preproc=yes
22758 { echo "$as_me:$LINENO: WARNING
: : present but cannot be compiled
" >&5
22759 echo "$as_me: WARNING
: : present but cannot be compiled
" >&2;}
22760 { echo "$as_me:$LINENO: WARNING
: : check
for missing prerequisite headers?
" >&5
22761 echo "$as_me: WARNING
: : check
for missing prerequisite headers?
" >&2;}
22762 { echo "$as_me:$LINENO: WARNING
: : see the Autoconf documentation
" >&5
22763 echo "$as_me: WARNING
: : see the Autoconf documentation
" >&2;}
22764 { echo "$as_me:$LINENO: WARNING
: : section
\"Present But Cannot Be Compiled
\"" >&5
22765 echo "$as_me: WARNING
: : section
\"Present But Cannot Be Compiled
\"" >&2;}
22766 { echo "$as_me:$LINENO: WARNING
: : proceeding with the preprocessor
's result" >&5
22767 echo "$as_me: WARNING: : proceeding with the preprocessor's result
" >&2;}
22768 { echo "$as_me:$LINENO: WARNING
: : in the future
, the compiler will take precedence
" >&5
22769 echo "$as_me: WARNING
: : in the future
, the compiler will take precedence
" >&2;}
22773 { echo "$as_me:$LINENO: checking
for " >&5
22774 echo $ECHO_N "checking
for ...
$ECHO_C" >&6; }
22775 if test "${ac_cv_header_+set}" = set; then
22776 echo $ECHO_N "(cached
) $ECHO_C" >&6
22778 ac_cv_header_=$ac_header_preproc
22780 { echo "$as_me:$LINENO: result
: $ac_cv_header_" >&5
22781 echo "${ECHO_T}$ac_cv_header_" >&6; }
22784 if test $ac_cv_header_ = yes; then
22793 if test "x
${OGG_HEADER_FOUND}" = "x0
" ; then
22794 if test -n "${OGG_MANDATORY}" ;
22796 { echo "$as_me:$LINENO: ***" >&5
22797 echo "$as_me: ***" >&6;}
22798 { echo "$as_me:$LINENO: *** It appears that you
do not have the ogg development package installed.
" >&5
22799 echo "$as_me: *** It appears that you
do not have the ogg development package installed.
" >&6;}
22800 { echo "$as_me:$LINENO: *** Please
install it to include
${OGG_DESCRIP} support
, or re-run configure
" >&5
22801 echo "$as_me: *** Please
install it to include
${OGG_DESCRIP} support
, or re-run configure
" >&6;}
22802 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OGG_OPTION}" >&5
22803 echo "$as_me: *** without explicitly specifying
--with-${OGG_OPTION}" >&6;}
22812 cat >>confdefs.h <<_ACEOF
22817 elif test -n "${OGG_MANDATORY}";
22819 { echo "$as_me:$LINENO: ***" >&5
22820 echo "$as_me: ***" >&6;}
22821 { echo "$as_me:$LINENO: *** The
${OGG_DESCRIP} installation on this system appears to be broken.
" >&5
22822 echo "$as_me: *** The
${OGG_DESCRIP} installation on this system appears to be broken.
" >&6;}
22823 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22824 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22825 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OGG_OPTION}" >&5
22826 echo "$as_me: *** without explicitly specifying
--with-${OGG_OPTION}" >&6;}
22832 if test "${USE_OSS}" != "no
"; then
22834 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22835 { echo "$as_me:$LINENO: checking
for linux
/soundcard.h
" >&5
22836 echo $ECHO_N "checking
for linux
/soundcard.h...
$ECHO_C" >&6; }
22837 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22838 echo $ECHO_N "(cached
) $ECHO_C" >&6
22840 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_soundcard_h" >&5
22841 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
22843 # Is the header compilable?
22844 { echo "$as_me:$LINENO: checking linux
/soundcard.h usability
" >&5
22845 echo $ECHO_N "checking linux
/soundcard.h usability...
$ECHO_C" >&6; }
22846 cat >conftest.$ac_ext <<_ACEOF
22849 cat confdefs.h >>conftest.$ac_ext
22850 cat >>conftest.$ac_ext <<_ACEOF
22851 /* end confdefs.h. */
22852 $ac_includes_default
22853 #include <linux/soundcard.h>
22855 rm -f conftest.$ac_objext
22856 if { (ac_try="$ac_compile"
22857 case "(($ac_try" in
22858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22859 *) ac_try_echo=$ac_try;;
22861 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22862 (eval "$ac_compile") 2>conftest.er1
22864 grep -v '^ *+' conftest.er1 >conftest.err
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22868 (exit $ac_status); } && {
22869 test -z "$ac_c_werror_flag" ||
22870 test ! -s conftest.err
22871 } && test -s conftest.$ac_objext; then
22872 ac_header_compiler=yes
22874 echo "$as_me: failed program was
:" >&5
22875 sed 's/^/| /' conftest.$ac_ext >&5
22877 ac_header_compiler=no
22880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22881 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22882 echo "${ECHO_T}$ac_header_compiler" >&6; }
22884 # Is the header present?
22885 { echo "$as_me:$LINENO: checking linux
/soundcard.h presence
" >&5
22886 echo $ECHO_N "checking linux
/soundcard.h presence...
$ECHO_C" >&6; }
22887 cat >conftest.$ac_ext <<_ACEOF
22890 cat confdefs.h >>conftest.$ac_ext
22891 cat >>conftest.$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893 #include <linux/soundcard.h>
22895 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22900 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22903 grep -v '^ *+' conftest.er1 >conftest.err
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22907 (exit $ac_status); } >/dev/null && {
22908 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22909 test ! -s conftest.err
22911 ac_header_preproc=yes
22913 echo "$as_me: failed program was
:" >&5
22914 sed 's/^/| /' conftest.$ac_ext >&5
22916 ac_header_preproc=no
22919 rm -f conftest.err conftest.$ac_ext
22920 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22921 echo "${ECHO_T}$ac_header_preproc" >&6; }
22923 # So? What about this header?
22924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22926 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22927 echo "$as_me: WARNING
: linux
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22928 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: proceeding with the compiler
's result" >&5
22929 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result
" >&2;}
22930 ac_header_preproc=yes
22933 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: present but cannot be compiled
" >&5
22934 echo "$as_me: WARNING
: linux
/soundcard.h
: present but cannot be compiled
" >&2;}
22935 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: check
for missing prerequisite headers?
" >&5
22936 echo "$as_me: WARNING
: linux
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
22937 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: see the Autoconf documentation
" >&5
22938 echo "$as_me: WARNING
: linux
/soundcard.h
: see the Autoconf documentation
" >&2;}
22939 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22940 echo "$as_me: WARNING
: linux
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22941 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: proceeding with the preprocessor
's result" >&5
22942 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result
" >&2;}
22943 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
22944 echo "$as_me: WARNING
: linux
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
22948 { echo "$as_me:$LINENO: checking
for linux
/soundcard.h
" >&5
22949 echo $ECHO_N "checking
for linux
/soundcard.h...
$ECHO_C" >&6; }
22950 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22951 echo $ECHO_N "(cached
) $ECHO_C" >&6
22953 ac_cv_header_linux_soundcard_h=$ac_header_preproc
22955 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_soundcard_h" >&5
22956 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
22959 if test $ac_cv_header_linux_soundcard_h = yes; then
22963 cat >>confdefs.h <<_ACEOF
22971 if test "$PBX_OSS" = "0"; then
22972 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22973 { echo "$as_me:$LINENO: checking
for sys
/soundcard.h
" >&5
22974 echo $ECHO_N "checking
for sys
/soundcard.h...
$ECHO_C" >&6; }
22975 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22976 echo $ECHO_N "(cached
) $ECHO_C" >&6
22978 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_soundcard_h" >&5
22979 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
22981 # Is the header compilable?
22982 { echo "$as_me:$LINENO: checking sys
/soundcard.h usability
" >&5
22983 echo $ECHO_N "checking sys
/soundcard.h usability...
$ECHO_C" >&6; }
22984 cat >conftest.$ac_ext <<_ACEOF
22987 cat confdefs.h >>conftest.$ac_ext
22988 cat >>conftest.$ac_ext <<_ACEOF
22989 /* end confdefs.h. */
22990 $ac_includes_default
22991 #include <sys/soundcard.h>
22993 rm -f conftest.$ac_objext
22994 if { (ac_try="$ac_compile"
22995 case "(($ac_try" in
22996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22997 *) ac_try_echo=$ac_try;;
22999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23000 (eval "$ac_compile") 2>conftest.er1
23002 grep -v '^ *+' conftest.er1 >conftest.err
23004 cat conftest.err >&5
23005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23006 (exit $ac_status); } && {
23007 test -z "$ac_c_werror_flag" ||
23008 test ! -s conftest.err
23009 } && test -s conftest.$ac_objext; then
23010 ac_header_compiler=yes
23012 echo "$as_me: failed program was
:" >&5
23013 sed 's/^/| /' conftest.$ac_ext >&5
23015 ac_header_compiler=no
23018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23019 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23020 echo "${ECHO_T}$ac_header_compiler" >&6; }
23022 # Is the header present?
23023 { echo "$as_me:$LINENO: checking sys
/soundcard.h presence
" >&5
23024 echo $ECHO_N "checking sys
/soundcard.h presence...
$ECHO_C" >&6; }
23025 cat >conftest.$ac_ext <<_ACEOF
23028 cat confdefs.h >>conftest.$ac_ext
23029 cat >>conftest.$ac_ext <<_ACEOF
23030 /* end confdefs.h. */
23031 #include <sys/soundcard.h>
23033 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23034 case "(($ac_try" in
23035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23036 *) ac_try_echo=$ac_try;;
23038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23039 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23041 grep -v '^ *+' conftest.er1 >conftest.err
23043 cat conftest.err >&5
23044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23045 (exit $ac_status); } >/dev/null && {
23046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23047 test ! -s conftest.err
23049 ac_header_preproc=yes
23051 echo "$as_me: failed program was
:" >&5
23052 sed 's/^/| /' conftest.$ac_ext >&5
23054 ac_header_preproc=no
23057 rm -f conftest.err conftest.$ac_ext
23058 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23059 echo "${ECHO_T}$ac_header_preproc" >&6; }
23061 # So? What about this header?
23062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23064 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23065 echo "$as_me: WARNING
: sys
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23066 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: proceeding with the compiler
's result" >&5
23067 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result
" >&2;}
23068 ac_header_preproc=yes
23071 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: present but cannot be compiled
" >&5
23072 echo "$as_me: WARNING
: sys
/soundcard.h
: present but cannot be compiled
" >&2;}
23073 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: check
for missing prerequisite headers?
" >&5
23074 echo "$as_me: WARNING
: sys
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
23075 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: see the Autoconf documentation
" >&5
23076 echo "$as_me: WARNING
: sys
/soundcard.h
: see the Autoconf documentation
" >&2;}
23077 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23078 echo "$as_me: WARNING
: sys
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23079 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: proceeding with the preprocessor
's result" >&5
23080 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result
" >&2;}
23081 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
23082 echo "$as_me: WARNING
: sys
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
23086 { echo "$as_me:$LINENO: checking
for sys
/soundcard.h
" >&5
23087 echo $ECHO_N "checking
for sys
/soundcard.h...
$ECHO_C" >&6; }
23088 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
23089 echo $ECHO_N "(cached
) $ECHO_C" >&6
23091 ac_cv_header_sys_soundcard_h=$ac_header_preproc
23093 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_soundcard_h" >&5
23094 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
23097 if test $ac_cv_header_sys_soundcard_h = yes; then
23101 cat >>confdefs.h <<_ACEOF
23110 if test "$PBX_OSS" = "0"; then
23112 if test "${USE_OSS}" != "no
"; then
23114 if test "x
${OSS_DIR}" != "x
"; then
23115 if test -d ${OSS_DIR}/lib; then
23116 pbxlibdir="-L${OSS_DIR}/lib
"
23118 pbxlibdir="-L${OSS_DIR}"
23121 { echo "$as_me:$LINENO: checking
for oss_ioctl_mixer
in -lossaudio" >&5
23122 echo $ECHO_N "checking
for oss_ioctl_mixer
in -lossaudio...
$ECHO_C" >&6; }
23123 if test "${ac_cv_lib_ossaudio_oss_ioctl_mixer+set}" = set; then
23124 echo $ECHO_N "(cached
) $ECHO_C" >&6
23126 ac_check_lib_save_LIBS=$LIBS
23127 LIBS="-lossaudio ${pbxlibdir} $LIBS"
23128 cat >conftest.$ac_ext <<_ACEOF
23131 cat confdefs.h >>conftest.$ac_ext
23132 cat >>conftest.$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23135 /* Override any GCC internal prototype to avoid an error.
23136 Use char because int might match the return type of a GCC
23137 builtin and then its argument prototype would still apply. */
23141 char oss_ioctl_mixer ();
23145 return oss_ioctl_mixer ();
23150 rm -f conftest.$ac_objext conftest$ac_exeext
23151 if { (ac_try="$ac_link"
23152 case "(($ac_try" in
23153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23154 *) ac_try_echo=$ac_try;;
23156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23157 (eval "$ac_link") 2>conftest.er1
23159 grep -v '^ *+' conftest.er1 >conftest.err
23161 cat conftest.err >&5
23162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23163 (exit $ac_status); } && {
23164 test -z "$ac_c_werror_flag" ||
23165 test ! -s conftest.err
23166 } && test -s conftest$ac_exeext &&
23167 $as_test_x conftest$ac_exeext; then
23168 ac_cv_lib_ossaudio_oss_ioctl_mixer=yes
23170 echo "$as_me: failed program was
:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23173 ac_cv_lib_ossaudio_oss_ioctl_mixer=no
23176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23177 conftest$ac_exeext conftest.$ac_ext
23178 LIBS=$ac_check_lib_save_LIBS
23180 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ossaudio_oss_ioctl_mixer" >&5
23181 echo "${ECHO_T}$ac_cv_lib_ossaudio_oss_ioctl_mixer" >&6; }
23182 if test $ac_cv_lib_ossaudio_oss_ioctl_mixer = yes; then
23189 if test "${AST_OSS_FOUND}" = "yes"; then
23190 OSS_LIB="-lossaudio "
23191 OSS_HEADER_FOUND="1"
23192 if test "x
${OSS_DIR}" != "x
"; then
23193 OSS_LIB="${pbxlibdir} ${OSS_LIB}"
23194 OSS_INCLUDE="-I${OSS_DIR}/include
"
23195 saved_cppflags="${CPPFLAGS}"
23196 CPPFLAGS="${CPPFLAGS} -I${OSS_DIR}/include
"
23197 if test "xsoundcard.h
" != "x
" ; then
23198 as_ac_Header=`echo "ac_cv_header_
${OSS_DIR}/include
/soundcard.h
" | $as_tr_sh`
23199 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23200 { echo "$as_me:$LINENO: checking
for ${OSS_DIR}/include
/soundcard.h
" >&5
23201 echo $ECHO_N "checking
for ${OSS_DIR}/include
/soundcard.h...
$ECHO_C" >&6; }
23202 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23203 echo $ECHO_N "(cached
) $ECHO_C" >&6
23205 ac_res=`eval echo '${'$as_ac_Header'}'`
23206 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23207 echo "${ECHO_T}$ac_res" >&6; }
23209 # Is the header compilable?
23210 { echo "$as_me:$LINENO: checking
${OSS_DIR}/include
/soundcard.h usability
" >&5
23211 echo $ECHO_N "checking
${OSS_DIR}/include
/soundcard.h usability...
$ECHO_C" >&6; }
23212 cat >conftest.$ac_ext <<_ACEOF
23215 cat confdefs.h >>conftest.$ac_ext
23216 cat >>conftest.$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23218 $ac_includes_default
23219 #include <${OSS_DIR}/include/soundcard.h>
23221 rm -f conftest.$ac_objext
23222 if { (ac_try="$ac_compile"
23223 case "(($ac_try" in
23224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23225 *) ac_try_echo=$ac_try;;
23227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23228 (eval "$ac_compile") 2>conftest.er1
23230 grep -v '^ *+' conftest.er1 >conftest.err
23232 cat conftest.err >&5
23233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23234 (exit $ac_status); } && {
23235 test -z "$ac_c_werror_flag" ||
23236 test ! -s conftest.err
23237 } && test -s conftest.$ac_objext; then
23238 ac_header_compiler=yes
23240 echo "$as_me: failed program was
:" >&5
23241 sed 's/^/| /' conftest.$ac_ext >&5
23243 ac_header_compiler=no
23246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23247 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23248 echo "${ECHO_T}$ac_header_compiler" >&6; }
23250 # Is the header present?
23251 { echo "$as_me:$LINENO: checking
${OSS_DIR}/include
/soundcard.h presence
" >&5
23252 echo $ECHO_N "checking
${OSS_DIR}/include
/soundcard.h presence...
$ECHO_C" >&6; }
23253 cat >conftest.$ac_ext <<_ACEOF
23256 cat confdefs.h >>conftest.$ac_ext
23257 cat >>conftest.$ac_ext <<_ACEOF
23258 /* end confdefs.h. */
23259 #include <${OSS_DIR}/include/soundcard.h>
23261 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23262 case "(($ac_try" in
23263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23264 *) ac_try_echo=$ac_try;;
23266 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23267 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23269 grep -v '^ *+' conftest.er1 >conftest.err
23271 cat conftest.err >&5
23272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23273 (exit $ac_status); } >/dev/null && {
23274 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23275 test ! -s conftest.err
23277 ac_header_preproc=yes
23279 echo "$as_me: failed program was
:" >&5
23280 sed 's/^/| /' conftest.$ac_ext >&5
23282 ac_header_preproc=no
23285 rm -f conftest.err conftest.$ac_ext
23286 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23287 echo "${ECHO_T}$ac_header_preproc" >&6; }
23289 # So? What about this header?
23290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23292 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23293 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23294 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the compiler
's result" >&5
23295 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the compiler's result
" >&2;}
23296 ac_header_preproc=yes
23299 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: present but cannot be compiled
" >&5
23300 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: present but cannot be compiled
" >&2;}
23301 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: check
for missing prerequisite headers?
" >&5
23302 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
23303 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: see the Autoconf documentation
" >&5
23304 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: see the Autoconf documentation
" >&2;}
23305 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23306 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23307 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the preprocessor
's result" >&5
23308 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the preprocessor's result
" >&2;}
23309 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
23310 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
23314 { echo "$as_me:$LINENO: checking
for ${OSS_DIR}/include
/soundcard.h
" >&5
23315 echo $ECHO_N "checking
for ${OSS_DIR}/include
/soundcard.h...
$ECHO_C" >&6; }
23316 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23317 echo $ECHO_N "(cached
) $ECHO_C" >&6
23319 eval "$as_ac_Header=\
$ac_header_preproc"
23321 ac_res=`eval echo '${'$as_ac_Header'}'`
23322 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23323 echo "${ECHO_T}$ac_res" >&6; }
23326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23334 CPPFLAGS="${saved_cppflags}"
23336 if test "xsoundcard.h
" != "x
" ; then
23337 if test "${ac_cv_header_soundcard_h+set}" = set; then
23338 { echo "$as_me:$LINENO: checking
for soundcard.h
" >&5
23339 echo $ECHO_N "checking
for soundcard.h...
$ECHO_C" >&6; }
23340 if test "${ac_cv_header_soundcard_h+set}" = set; then
23341 echo $ECHO_N "(cached
) $ECHO_C" >&6
23343 { echo "$as_me:$LINENO: result
: $ac_cv_header_soundcard_h" >&5
23344 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
23346 # Is the header compilable?
23347 { echo "$as_me:$LINENO: checking soundcard.h usability
" >&5
23348 echo $ECHO_N "checking soundcard.h usability...
$ECHO_C" >&6; }
23349 cat >conftest.$ac_ext <<_ACEOF
23352 cat confdefs.h >>conftest.$ac_ext
23353 cat >>conftest.$ac_ext <<_ACEOF
23354 /* end confdefs.h. */
23355 $ac_includes_default
23356 #include <soundcard.h>
23358 rm -f conftest.$ac_objext
23359 if { (ac_try="$ac_compile"
23360 case "(($ac_try" in
23361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23362 *) ac_try_echo=$ac_try;;
23364 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23365 (eval "$ac_compile") 2>conftest.er1
23367 grep -v '^ *+' conftest.er1 >conftest.err
23369 cat conftest.err >&5
23370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23371 (exit $ac_status); } && {
23372 test -z "$ac_c_werror_flag" ||
23373 test ! -s conftest.err
23374 } && test -s conftest.$ac_objext; then
23375 ac_header_compiler=yes
23377 echo "$as_me: failed program was
:" >&5
23378 sed 's/^/| /' conftest.$ac_ext >&5
23380 ac_header_compiler=no
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23384 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23385 echo "${ECHO_T}$ac_header_compiler" >&6; }
23387 # Is the header present?
23388 { echo "$as_me:$LINENO: checking soundcard.h presence
" >&5
23389 echo $ECHO_N "checking soundcard.h presence...
$ECHO_C" >&6; }
23390 cat >conftest.$ac_ext <<_ACEOF
23393 cat confdefs.h >>conftest.$ac_ext
23394 cat >>conftest.$ac_ext <<_ACEOF
23395 /* end confdefs.h. */
23396 #include <soundcard.h>
23398 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23399 case "(($ac_try" in
23400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23401 *) ac_try_echo=$ac_try;;
23403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23404 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23406 grep -v '^ *+' conftest.er1 >conftest.err
23408 cat conftest.err >&5
23409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23410 (exit $ac_status); } >/dev/null && {
23411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23412 test ! -s conftest.err
23414 ac_header_preproc=yes
23416 echo "$as_me: failed program was
:" >&5
23417 sed 's/^/| /' conftest.$ac_ext >&5
23419 ac_header_preproc=no
23422 rm -f conftest.err conftest.$ac_ext
23423 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23424 echo "${ECHO_T}$ac_header_preproc" >&6; }
23426 # So? What about this header?
23427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23429 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23430 echo "$as_me: WARNING
: soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23431 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: proceeding with the compiler
's result" >&5
23432 echo "$as_me: WARNING: soundcard.h: proceeding with the compiler's result
" >&2;}
23433 ac_header_preproc=yes
23436 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: present but cannot be compiled
" >&5
23437 echo "$as_me: WARNING
: soundcard.h
: present but cannot be compiled
" >&2;}
23438 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: check
for missing prerequisite headers?
" >&5
23439 echo "$as_me: WARNING
: soundcard.h
: check
for missing prerequisite headers?
" >&2;}
23440 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: see the Autoconf documentation
" >&5
23441 echo "$as_me: WARNING
: soundcard.h
: see the Autoconf documentation
" >&2;}
23442 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23443 echo "$as_me: WARNING
: soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23444 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: proceeding with the preprocessor
's result" >&5
23445 echo "$as_me: WARNING: soundcard.h: proceeding with the preprocessor's result
" >&2;}
23446 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: in the future
, the compiler will take precedence
" >&5
23447 echo "$as_me: WARNING
: soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
23451 { echo "$as_me:$LINENO: checking
for soundcard.h
" >&5
23452 echo $ECHO_N "checking
for soundcard.h...
$ECHO_C" >&6; }
23453 if test "${ac_cv_header_soundcard_h+set}" = set; then
23454 echo $ECHO_N "(cached
) $ECHO_C" >&6
23456 ac_cv_header_soundcard_h=$ac_header_preproc
23458 { echo "$as_me:$LINENO: result
: $ac_cv_header_soundcard_h" >&5
23459 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
23462 if test $ac_cv_header_soundcard_h = yes; then
23471 if test "x
${OSS_HEADER_FOUND}" = "x0
" ; then
23472 if test -n "${OSS_MANDATORY}" ;
23474 { echo "$as_me:$LINENO: ***" >&5
23475 echo "$as_me: ***" >&6;}
23476 { echo "$as_me:$LINENO: *** It appears that you
do not have the ossaudio development package installed.
" >&5
23477 echo "$as_me: *** It appears that you
do not have the ossaudio development package installed.
" >&6;}
23478 { echo "$as_me:$LINENO: *** Please
install it to include
${OSS_DESCRIP} support
, or re-run configure
" >&5
23479 echo "$as_me: *** Please
install it to include
${OSS_DESCRIP} support
, or re-run configure
" >&6;}
23480 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSS_OPTION}" >&5
23481 echo "$as_me: *** without explicitly specifying
--with-${OSS_OPTION}" >&6;}
23490 cat >>confdefs.h <<_ACEOF
23495 elif test -n "${OSS_MANDATORY}";
23497 { echo "$as_me:$LINENO: ***" >&5
23498 echo "$as_me: ***" >&6;}
23499 { echo "$as_me:$LINENO: *** The
${OSS_DESCRIP} installation on this system appears to be broken.
" >&5
23500 echo "$as_me: *** The
${OSS_DESCRIP} installation on this system appears to be broken.
" >&6;}
23501 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23502 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23503 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSS_OPTION}" >&5
23504 echo "$as_me: *** without explicitly specifying
--with-${OSS_OPTION}" >&6;}
23513 if test "${USE_PGSQL}" != "no
"; then
23514 if test "x
${PGSQL_DIR}" != "x
"; then
23515 if test -n "$ac_tool_prefix"; then
23516 # Extract the first word of "${ac_tool_prefix}pg_config
", so it can be a program name with args.
23517 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
23518 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23519 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23520 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
23521 echo $ECHO_N "(cached
) $ECHO_C" >&6
23525 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
23528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23529 for as_dir in ${PGSQL_DIR}/bin
23532 test -z "$as_dir" && as_dir=.
23533 for ac_exec_ext in '' $ac_executable_extensions; do
23534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23535 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23536 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23546 PG_CONFIG=$ac_cv_path_PG_CONFIG
23547 if test -n "$PG_CONFIG"; then
23548 { echo "$as_me:$LINENO: result
: $PG_CONFIG" >&5
23549 echo "${ECHO_T}$PG_CONFIG" >&6; }
23551 { echo "$as_me:$LINENO: result
: no
" >&5
23552 echo "${ECHO_T}no
" >&6; }
23557 if test -z "$ac_cv_path_PG_CONFIG"; then
23558 ac_pt_PG_CONFIG=$PG_CONFIG
23559 # Extract the first word of "pg_config
", so it can be a program name with args.
23560 set dummy pg_config; ac_word=$2
23561 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23562 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23563 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
23564 echo $ECHO_N "(cached
) $ECHO_C" >&6
23566 case $ac_pt_PG_CONFIG in
23568 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
23571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23572 for as_dir in ${PGSQL_DIR}/bin
23575 test -z "$as_dir" && as_dir=.
23576 for ac_exec_ext in '' $ac_executable_extensions; do
23577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23578 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23579 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23589 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
23590 if test -n "$ac_pt_PG_CONFIG"; then
23591 { echo "$as_me:$LINENO: result
: $ac_pt_PG_CONFIG" >&5
23592 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
23594 { echo "$as_me:$LINENO: result
: no
" >&5
23595 echo "${ECHO_T}no
" >&6; }
23598 if test "x
$ac_pt_PG_CONFIG" = x; then
23601 case $cross_compiling:$ac_tool_warned in
23603 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
23604 whose name does not start with the
host triplet. If you think this
23605 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
23606 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
23607 whose name does not start with the
host triplet. If you think this
23608 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
23609 ac_tool_warned=yes ;;
23611 PG_CONFIG=$ac_pt_PG_CONFIG
23614 PG_CONFIG="$ac_cv_path_PG_CONFIG"
23617 if test x"${PG_CONFIG}" = xNo; then
23618 { echo "$as_me:$LINENO: ***" >&5
23619 echo "$as_me: ***" >&6;}
23620 { echo "$as_me:$LINENO: *** pg_config was not found
in the path you specified
:" >&5
23621 echo "$as_me: *** pg_config was not found
in the path you specified
:" >&6;}
23622 { echo "$as_me:$LINENO: *** ${PGSQL_DIR}/bin
" >&5
23623 echo "$as_me: *** ${PGSQL_DIR}/bin
" >&6;}
23624 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23625 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23626 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23627 echo "$as_me: *** including
--without-postgres" >&6;}
23631 if test -n "$ac_tool_prefix"; then
23632 # Extract the first word of "${ac_tool_prefix}pg_config
", so it can be a program name with args.
23633 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
23634 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23635 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23636 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
23637 echo $ECHO_N "(cached
) $ECHO_C" >&6
23641 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
23644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23645 for as_dir in $PATH
23648 test -z "$as_dir" && as_dir=.
23649 for ac_exec_ext in '' $ac_executable_extensions; do
23650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23651 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23652 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23662 PG_CONFIG=$ac_cv_path_PG_CONFIG
23663 if test -n "$PG_CONFIG"; then
23664 { echo "$as_me:$LINENO: result
: $PG_CONFIG" >&5
23665 echo "${ECHO_T}$PG_CONFIG" >&6; }
23667 { echo "$as_me:$LINENO: result
: no
" >&5
23668 echo "${ECHO_T}no
" >&6; }
23673 if test -z "$ac_cv_path_PG_CONFIG"; then
23674 ac_pt_PG_CONFIG=$PG_CONFIG
23675 # Extract the first word of "pg_config
", so it can be a program name with args.
23676 set dummy pg_config; ac_word=$2
23677 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23678 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23679 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
23680 echo $ECHO_N "(cached
) $ECHO_C" >&6
23682 case $ac_pt_PG_CONFIG in
23684 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
23687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23688 for as_dir in $PATH
23691 test -z "$as_dir" && as_dir=.
23692 for ac_exec_ext in '' $ac_executable_extensions; do
23693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23694 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23695 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23705 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
23706 if test -n "$ac_pt_PG_CONFIG"; then
23707 { echo "$as_me:$LINENO: result
: $ac_pt_PG_CONFIG" >&5
23708 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
23710 { echo "$as_me:$LINENO: result
: no
" >&5
23711 echo "${ECHO_T}no
" >&6; }
23714 if test "x
$ac_pt_PG_CONFIG" = x; then
23717 case $cross_compiling:$ac_tool_warned in
23719 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
23720 whose name does not start with the
host triplet. If you think this
23721 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
23722 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
23723 whose name does not start with the
host triplet. If you think this
23724 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
23725 ac_tool_warned=yes ;;
23727 PG_CONFIG=$ac_pt_PG_CONFIG
23730 PG_CONFIG="$ac_cv_path_PG_CONFIG"
23735 if test "${PG_CONFIG}" != No; then
23736 PGSQL_libdir=`${PG_CONFIG} --libdir`
23737 PGSQL_includedir=`${PG_CONFIG} --includedir`
23739 if test "x$?
" != "x0
" ; then
23740 if test -n "${PGSQL_MANDATORY}" ; then
23741 { echo "$as_me:$LINENO: ***" >&5
23742 echo "$as_me: ***" >&6;}
23743 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
23744 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
23745 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23746 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23747 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23748 echo "$as_me: *** including
--without-postgres" >&6;}
23752 { echo "$as_me:$LINENO: checking
for PQexec
in -lpq" >&5
23753 echo $ECHO_N "checking
for PQexec
in -lpq...
$ECHO_C" >&6; }
23754 if test "${ac_cv_lib_pq_PQexec+set}" = set; then
23755 echo $ECHO_N "(cached
) $ECHO_C" >&6
23757 ac_check_lib_save_LIBS=$LIBS
23758 LIBS="-lpq -L${PGSQL_libdir} -lz $LIBS"
23759 cat >conftest.$ac_ext <<_ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23766 /* Override any GCC internal prototype to avoid an error.
23767 Use char because int might match the return type of a GCC
23768 builtin and then its argument prototype would still apply. */
23781 rm -f conftest.$ac_objext conftest$ac_exeext
23782 if { (ac_try="$ac_link"
23783 case "(($ac_try" in
23784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23785 *) ac_try_echo=$ac_try;;
23787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23788 (eval "$ac_link") 2>conftest.er1
23790 grep -v '^ *+' conftest.er1 >conftest.err
23792 cat conftest.err >&5
23793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23794 (exit $ac_status); } && {
23795 test -z "$ac_c_werror_flag" ||
23796 test ! -s conftest.err
23797 } && test -s conftest$ac_exeext &&
23798 $as_test_x conftest$ac_exeext; then
23799 ac_cv_lib_pq_PQexec=yes
23801 echo "$as_me: failed program was
:" >&5
23802 sed 's/^/| /' conftest.$ac_ext >&5
23804 ac_cv_lib_pq_PQexec=no
23807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23808 conftest$ac_exeext conftest.$ac_ext
23809 LIBS=$ac_check_lib_save_LIBS
23811 { echo "$as_me:$LINENO: result
: $ac_cv_lib_pq_PQexec" >&5
23812 echo "${ECHO_T}$ac_cv_lib_pq_PQexec" >&6; }
23813 if test $ac_cv_lib_pq_PQexec = yes; then
23815 cat >>confdefs.h <<_ACEOF
23816 #define HAVE_PGSQL 1
23822 if test "${ac_cv_lib_pq_PQexec}" = "yes"; then
23823 PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz"
23824 PGSQL_INCLUDE="-I${PGSQL_includedir}"
23826 elif test -n "${PGSQL_MANDATORY}";
23828 { echo "$as_me:$LINENO: ***" >&5
23829 echo "$as_me: ***" >&6;}
23830 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
23831 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
23832 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23833 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23834 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23835 echo "$as_me: *** including
--without-postgres" >&6;}
23839 elif test -n "${PGSQL_MANDATORY}";
23841 { echo "$as_me:$LINENO: ***" >&5
23842 echo "$as_me: ***" >&6;}
23843 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
23844 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
23845 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23846 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23847 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23848 echo "$as_me: *** including
--without-postgres" >&6;}
23853 if test "${USE_POPT}" != "no
"; then
23855 if test "x
${POPT_DIR}" != "x
"; then
23856 if test -d ${POPT_DIR}/lib; then
23857 pbxlibdir="-L${POPT_DIR}/lib
"
23859 pbxlibdir="-L${POPT_DIR}"
23862 { echo "$as_me:$LINENO: checking
for poptStrerror
in -lpopt" >&5
23863 echo $ECHO_N "checking
for poptStrerror
in -lpopt...
$ECHO_C" >&6; }
23864 if test "${ac_cv_lib_popt_poptStrerror+set}" = set; then
23865 echo $ECHO_N "(cached
) $ECHO_C" >&6
23867 ac_check_lib_save_LIBS=$LIBS
23868 LIBS="-lpopt ${pbxlibdir} $LIBS"
23869 cat >conftest.$ac_ext <<_ACEOF
23872 cat confdefs.h >>conftest.$ac_ext
23873 cat >>conftest.$ac_ext <<_ACEOF
23874 /* end confdefs.h. */
23876 /* Override any GCC internal prototype to avoid an error.
23877 Use char because int might match the return type of a GCC
23878 builtin and then its argument prototype would still apply. */
23882 char poptStrerror ();
23886 return poptStrerror ();
23891 rm -f conftest.$ac_objext conftest$ac_exeext
23892 if { (ac_try="$ac_link"
23893 case "(($ac_try" in
23894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23895 *) ac_try_echo=$ac_try;;
23897 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23898 (eval "$ac_link") 2>conftest.er1
23900 grep -v '^ *+' conftest.er1 >conftest.err
23902 cat conftest.err >&5
23903 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23904 (exit $ac_status); } && {
23905 test -z "$ac_c_werror_flag" ||
23906 test ! -s conftest.err
23907 } && test -s conftest$ac_exeext &&
23908 $as_test_x conftest$ac_exeext; then
23909 ac_cv_lib_popt_poptStrerror=yes
23911 echo "$as_me: failed program was
:" >&5
23912 sed 's/^/| /' conftest.$ac_ext >&5
23914 ac_cv_lib_popt_poptStrerror=no
23917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23918 conftest$ac_exeext conftest.$ac_ext
23919 LIBS=$ac_check_lib_save_LIBS
23921 { echo "$as_me:$LINENO: result
: $ac_cv_lib_popt_poptStrerror" >&5
23922 echo "${ECHO_T}$ac_cv_lib_popt_poptStrerror" >&6; }
23923 if test $ac_cv_lib_popt_poptStrerror = yes; then
23930 if test "${AST_POPT_FOUND}" = "yes"; then
23932 POPT_HEADER_FOUND="1"
23933 if test "x
${POPT_DIR}" != "x
"; then
23934 POPT_LIB="${pbxlibdir} ${POPT_LIB}"
23935 POPT_INCLUDE="-I${POPT_DIR}/include
"
23936 saved_cppflags="${CPPFLAGS}"
23937 CPPFLAGS="${CPPFLAGS} -I${POPT_DIR}/include
"
23938 if test "xpopt.h
" != "x
" ; then
23939 as_ac_Header=`echo "ac_cv_header_
${POPT_DIR}/include
/popt.h
" | $as_tr_sh`
23940 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23941 { echo "$as_me:$LINENO: checking
for ${POPT_DIR}/include
/popt.h
" >&5
23942 echo $ECHO_N "checking
for ${POPT_DIR}/include
/popt.h...
$ECHO_C" >&6; }
23943 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23944 echo $ECHO_N "(cached
) $ECHO_C" >&6
23946 ac_res=`eval echo '${'$as_ac_Header'}'`
23947 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23948 echo "${ECHO_T}$ac_res" >&6; }
23950 # Is the header compilable?
23951 { echo "$as_me:$LINENO: checking
${POPT_DIR}/include
/popt.h usability
" >&5
23952 echo $ECHO_N "checking
${POPT_DIR}/include
/popt.h usability...
$ECHO_C" >&6; }
23953 cat >conftest.$ac_ext <<_ACEOF
23956 cat confdefs.h >>conftest.$ac_ext
23957 cat >>conftest.$ac_ext <<_ACEOF
23958 /* end confdefs.h. */
23959 $ac_includes_default
23960 #include <${POPT_DIR}/include/popt.h>
23962 rm -f conftest.$ac_objext
23963 if { (ac_try="$ac_compile"
23964 case "(($ac_try" in
23965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23966 *) ac_try_echo=$ac_try;;
23968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23969 (eval "$ac_compile") 2>conftest.er1
23971 grep -v '^ *+' conftest.er1 >conftest.err
23973 cat conftest.err >&5
23974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23975 (exit $ac_status); } && {
23976 test -z "$ac_c_werror_flag" ||
23977 test ! -s conftest.err
23978 } && test -s conftest.$ac_objext; then
23979 ac_header_compiler=yes
23981 echo "$as_me: failed program was
:" >&5
23982 sed 's/^/| /' conftest.$ac_ext >&5
23984 ac_header_compiler=no
23987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23988 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23989 echo "${ECHO_T}$ac_header_compiler" >&6; }
23991 # Is the header present?
23992 { echo "$as_me:$LINENO: checking
${POPT_DIR}/include
/popt.h presence
" >&5
23993 echo $ECHO_N "checking
${POPT_DIR}/include
/popt.h presence...
$ECHO_C" >&6; }
23994 cat >conftest.$ac_ext <<_ACEOF
23997 cat confdefs.h >>conftest.$ac_ext
23998 cat >>conftest.$ac_ext <<_ACEOF
23999 /* end confdefs.h. */
24000 #include <${POPT_DIR}/include/popt.h>
24002 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24003 case "(($ac_try" in
24004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24005 *) ac_try_echo=$ac_try;;
24007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24008 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24010 grep -v '^ *+' conftest.er1 >conftest.err
24012 cat conftest.err >&5
24013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24014 (exit $ac_status); } >/dev/null && {
24015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24016 test ! -s conftest.err
24018 ac_header_preproc=yes
24020 echo "$as_me: failed program was
:" >&5
24021 sed 's/^/| /' conftest.$ac_ext >&5
24023 ac_header_preproc=no
24026 rm -f conftest.err conftest.$ac_ext
24027 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24028 echo "${ECHO_T}$ac_header_preproc" >&6; }
24030 # So? What about this header?
24031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24033 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24034 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24035 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the compiler
's result" >&5
24036 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the compiler's result
" >&2;}
24037 ac_header_preproc=yes
24040 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: present but cannot be compiled
" >&5
24041 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: present but cannot be compiled
" >&2;}
24042 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: check
for missing prerequisite headers?
" >&5
24043 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: check
for missing prerequisite headers?
" >&2;}
24044 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: see the Autoconf documentation
" >&5
24045 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: see the Autoconf documentation
" >&2;}
24046 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24047 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24048 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the preprocessor
's result" >&5
24049 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the preprocessor's result
" >&2;}
24050 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: in the future
, the compiler will take precedence
" >&5
24051 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: in the future
, the compiler will take precedence
" >&2;}
24055 { echo "$as_me:$LINENO: checking
for ${POPT_DIR}/include
/popt.h
" >&5
24056 echo $ECHO_N "checking
for ${POPT_DIR}/include
/popt.h...
$ECHO_C" >&6; }
24057 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24058 echo $ECHO_N "(cached
) $ECHO_C" >&6
24060 eval "$as_ac_Header=\
$ac_header_preproc"
24062 ac_res=`eval echo '${'$as_ac_Header'}'`
24063 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24064 echo "${ECHO_T}$ac_res" >&6; }
24067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24068 POPT_HEADER_FOUND=1
24070 POPT_HEADER_FOUND=0
24075 CPPFLAGS="${saved_cppflags}"
24077 if test "xpopt.h
" != "x
" ; then
24078 if test "${ac_cv_header_popt_h+set}" = set; then
24079 { echo "$as_me:$LINENO: checking
for popt.h
" >&5
24080 echo $ECHO_N "checking
for popt.h...
$ECHO_C" >&6; }
24081 if test "${ac_cv_header_popt_h+set}" = set; then
24082 echo $ECHO_N "(cached
) $ECHO_C" >&6
24084 { echo "$as_me:$LINENO: result
: $ac_cv_header_popt_h" >&5
24085 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
24087 # Is the header compilable?
24088 { echo "$as_me:$LINENO: checking popt.h usability
" >&5
24089 echo $ECHO_N "checking popt.h usability...
$ECHO_C" >&6; }
24090 cat >conftest.$ac_ext <<_ACEOF
24093 cat confdefs.h >>conftest.$ac_ext
24094 cat >>conftest.$ac_ext <<_ACEOF
24095 /* end confdefs.h. */
24096 $ac_includes_default
24099 rm -f conftest.$ac_objext
24100 if { (ac_try="$ac_compile"
24101 case "(($ac_try" in
24102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24103 *) ac_try_echo=$ac_try;;
24105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24106 (eval "$ac_compile") 2>conftest.er1
24108 grep -v '^ *+' conftest.er1 >conftest.err
24110 cat conftest.err >&5
24111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24112 (exit $ac_status); } && {
24113 test -z "$ac_c_werror_flag" ||
24114 test ! -s conftest.err
24115 } && test -s conftest.$ac_objext; then
24116 ac_header_compiler=yes
24118 echo "$as_me: failed program was
:" >&5
24119 sed 's/^/| /' conftest.$ac_ext >&5
24121 ac_header_compiler=no
24124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24125 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24126 echo "${ECHO_T}$ac_header_compiler" >&6; }
24128 # Is the header present?
24129 { echo "$as_me:$LINENO: checking popt.h presence
" >&5
24130 echo $ECHO_N "checking popt.h presence...
$ECHO_C" >&6; }
24131 cat >conftest.$ac_ext <<_ACEOF
24134 cat confdefs.h >>conftest.$ac_ext
24135 cat >>conftest.$ac_ext <<_ACEOF
24136 /* end confdefs.h. */
24139 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24140 case "(($ac_try" in
24141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24142 *) ac_try_echo=$ac_try;;
24144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24145 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24147 grep -v '^ *+' conftest.er1 >conftest.err
24149 cat conftest.err >&5
24150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24151 (exit $ac_status); } >/dev/null && {
24152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24153 test ! -s conftest.err
24155 ac_header_preproc=yes
24157 echo "$as_me: failed program was
:" >&5
24158 sed 's/^/| /' conftest.$ac_ext >&5
24160 ac_header_preproc=no
24163 rm -f conftest.err conftest.$ac_ext
24164 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24165 echo "${ECHO_T}$ac_header_preproc" >&6; }
24167 # So? What about this header?
24168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24170 { echo "$as_me:$LINENO: WARNING
: popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24171 echo "$as_me: WARNING
: popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24172 { echo "$as_me:$LINENO: WARNING
: popt.h
: proceeding with the compiler
's result" >&5
24173 echo "$as_me: WARNING: popt.h: proceeding with the compiler's result
" >&2;}
24174 ac_header_preproc=yes
24177 { echo "$as_me:$LINENO: WARNING
: popt.h
: present but cannot be compiled
" >&5
24178 echo "$as_me: WARNING
: popt.h
: present but cannot be compiled
" >&2;}
24179 { echo "$as_me:$LINENO: WARNING
: popt.h
: check
for missing prerequisite headers?
" >&5
24180 echo "$as_me: WARNING
: popt.h
: check
for missing prerequisite headers?
" >&2;}
24181 { echo "$as_me:$LINENO: WARNING
: popt.h
: see the Autoconf documentation
" >&5
24182 echo "$as_me: WARNING
: popt.h
: see the Autoconf documentation
" >&2;}
24183 { echo "$as_me:$LINENO: WARNING
: popt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24184 echo "$as_me: WARNING
: popt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24185 { echo "$as_me:$LINENO: WARNING
: popt.h
: proceeding with the preprocessor
's result" >&5
24186 echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result
" >&2;}
24187 { echo "$as_me:$LINENO: WARNING
: popt.h
: in the future
, the compiler will take precedence
" >&5
24188 echo "$as_me: WARNING
: popt.h
: in the future
, the compiler will take precedence
" >&2;}
24192 { echo "$as_me:$LINENO: checking
for popt.h
" >&5
24193 echo $ECHO_N "checking
for popt.h...
$ECHO_C" >&6; }
24194 if test "${ac_cv_header_popt_h+set}" = set; then
24195 echo $ECHO_N "(cached
) $ECHO_C" >&6
24197 ac_cv_header_popt_h=$ac_header_preproc
24199 { echo "$as_me:$LINENO: result
: $ac_cv_header_popt_h" >&5
24200 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
24203 if test $ac_cv_header_popt_h = yes; then
24204 POPT_HEADER_FOUND=1
24206 POPT_HEADER_FOUND=0
24212 if test "x
${POPT_HEADER_FOUND}" = "x0
" ; then
24213 if test -n "${POPT_MANDATORY}" ;
24215 { echo "$as_me:$LINENO: ***" >&5
24216 echo "$as_me: ***" >&6;}
24217 { echo "$as_me:$LINENO: *** It appears that you
do not have the popt development package installed.
" >&5
24218 echo "$as_me: *** It appears that you
do not have the popt development package installed.
" >&6;}
24219 { echo "$as_me:$LINENO: *** Please
install it to include
${POPT_DESCRIP} support
, or re-run configure
" >&5
24220 echo "$as_me: *** Please
install it to include
${POPT_DESCRIP} support
, or re-run configure
" >&6;}
24221 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${POPT_OPTION}" >&5
24222 echo "$as_me: *** without explicitly specifying
--with-${POPT_OPTION}" >&6;}
24231 cat >>confdefs.h <<_ACEOF
24232 #define HAVE_POPT 1
24236 elif test -n "${POPT_MANDATORY}";
24238 { echo "$as_me:$LINENO: ***" >&5
24239 echo "$as_me: ***" >&6;}
24240 { echo "$as_me:$LINENO: *** The
${POPT_DESCRIP} installation on this system appears to be broken.
" >&5
24241 echo "$as_me: *** The
${POPT_DESCRIP} installation on this system appears to be broken.
" >&6;}
24242 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
24243 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
24244 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${POPT_OPTION}" >&5
24245 echo "$as_me: *** without explicitly specifying
--with-${POPT_OPTION}" >&6;}
24252 if test "${USE_PRI}" != "no
"; then
24254 if test "x
${PRI_DIR}" != "x
"; then
24255 if test -d ${PRI_DIR}/lib; then
24256 pbxlibdir="-L${PRI_DIR}/lib
"
24258 pbxlibdir="-L${PRI_DIR}"
24261 { echo "$as_me:$LINENO: checking
for pri_keypad_facility
in -lpri" >&5
24262 echo $ECHO_N "checking
for pri_keypad_facility
in -lpri...
$ECHO_C" >&6; }
24263 if test "${ac_cv_lib_pri_pri_keypad_facility+set}" = set; then
24264 echo $ECHO_N "(cached
) $ECHO_C" >&6
24266 ac_check_lib_save_LIBS=$LIBS
24267 LIBS="-lpri ${pbxlibdir} $LIBS"
24268 cat >conftest.$ac_ext <<_ACEOF
24271 cat confdefs.h >>conftest.$ac_ext
24272 cat >>conftest.$ac_ext <<_ACEOF
24273 /* end confdefs.h. */
24275 /* Override any GCC internal prototype to avoid an error.
24276 Use char because int might match the return type of a GCC
24277 builtin and then its argument prototype would still apply. */
24281 char pri_keypad_facility ();
24285 return pri_keypad_facility ();
24290 rm -f conftest.$ac_objext conftest$ac_exeext
24291 if { (ac_try="$ac_link"
24292 case "(($ac_try" in
24293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24296 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24297 (eval "$ac_link") 2>conftest.er1
24299 grep -v '^ *+' conftest.er1 >conftest.err
24301 cat conftest.err >&5
24302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_c_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest$ac_exeext &&
24307 $as_test_x conftest$ac_exeext; then
24308 ac_cv_lib_pri_pri_keypad_facility=yes
24310 echo "$as_me: failed program was
:" >&5
24311 sed 's/^/| /' conftest.$ac_ext >&5
24313 ac_cv_lib_pri_pri_keypad_facility=no
24316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24317 conftest$ac_exeext conftest.$ac_ext
24318 LIBS=$ac_check_lib_save_LIBS
24320 { echo "$as_me:$LINENO: result
: $ac_cv_lib_pri_pri_keypad_facility" >&5
24321 echo "${ECHO_T}$ac_cv_lib_pri_pri_keypad_facility" >&6; }
24322 if test $ac_cv_lib_pri_pri_keypad_facility = yes; then
24329 if test "${AST_PRI_FOUND}" = "yes"; then
24331 PRI_HEADER_FOUND="1"
24332 if test "x
${PRI_DIR}" != "x
"; then
24333 PRI_LIB="${pbxlibdir} ${PRI_LIB}"
24334 PRI_INCLUDE="-I${PRI_DIR}/include
"
24335 saved_cppflags="${CPPFLAGS}"
24336 CPPFLAGS="${CPPFLAGS} -I${PRI_DIR}/include
"
24337 if test "xlibpri.h
" != "x
" ; then
24338 as_ac_Header=`echo "ac_cv_header_
${PRI_DIR}/include
/libpri.h
" | $as_tr_sh`
24339 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24340 { echo "$as_me:$LINENO: checking
for ${PRI_DIR}/include
/libpri.h
" >&5
24341 echo $ECHO_N "checking
for ${PRI_DIR}/include
/libpri.h...
$ECHO_C" >&6; }
24342 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24343 echo $ECHO_N "(cached
) $ECHO_C" >&6
24345 ac_res=`eval echo '${'$as_ac_Header'}'`
24346 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24347 echo "${ECHO_T}$ac_res" >&6; }
24349 # Is the header compilable?
24350 { echo "$as_me:$LINENO: checking
${PRI_DIR}/include
/libpri.h usability
" >&5
24351 echo $ECHO_N "checking
${PRI_DIR}/include
/libpri.h usability...
$ECHO_C" >&6; }
24352 cat >conftest.$ac_ext <<_ACEOF
24355 cat confdefs.h >>conftest.$ac_ext
24356 cat >>conftest.$ac_ext <<_ACEOF
24357 /* end confdefs.h. */
24358 $ac_includes_default
24359 #include <${PRI_DIR}/include/libpri.h>
24361 rm -f conftest.$ac_objext
24362 if { (ac_try="$ac_compile"
24363 case "(($ac_try" in
24364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24365 *) ac_try_echo=$ac_try;;
24367 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24368 (eval "$ac_compile") 2>conftest.er1
24370 grep -v '^ *+' conftest.er1 >conftest.err
24372 cat conftest.err >&5
24373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24374 (exit $ac_status); } && {
24375 test -z "$ac_c_werror_flag" ||
24376 test ! -s conftest.err
24377 } && test -s conftest.$ac_objext; then
24378 ac_header_compiler=yes
24380 echo "$as_me: failed program was
:" >&5
24381 sed 's/^/| /' conftest.$ac_ext >&5
24383 ac_header_compiler=no
24386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24387 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24388 echo "${ECHO_T}$ac_header_compiler" >&6; }
24390 # Is the header present?
24391 { echo "$as_me:$LINENO: checking
${PRI_DIR}/include
/libpri.h presence
" >&5
24392 echo $ECHO_N "checking
${PRI_DIR}/include
/libpri.h presence...
$ECHO_C" >&6; }
24393 cat >conftest.$ac_ext <<_ACEOF
24396 cat confdefs.h >>conftest.$ac_ext
24397 cat >>conftest.$ac_ext <<_ACEOF
24398 /* end confdefs.h. */
24399 #include <${PRI_DIR}/include/libpri.h>
24401 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24402 case "(($ac_try" in
24403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24404 *) ac_try_echo=$ac_try;;
24406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24407 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24409 grep -v '^ *+' conftest.er1 >conftest.err
24411 cat conftest.err >&5
24412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24413 (exit $ac_status); } >/dev/null && {
24414 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24415 test ! -s conftest.err
24417 ac_header_preproc=yes
24419 echo "$as_me: failed program was
:" >&5
24420 sed 's/^/| /' conftest.$ac_ext >&5
24422 ac_header_preproc=no
24425 rm -f conftest.err conftest.$ac_ext
24426 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24427 echo "${ECHO_T}$ac_header_preproc" >&6; }
24429 # So? What about this header?
24430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24432 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24433 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24434 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the compiler
's result" >&5
24435 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the compiler's result
" >&2;}
24436 ac_header_preproc=yes
24439 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: present but cannot be compiled
" >&5
24440 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: present but cannot be compiled
" >&2;}
24441 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: check
for missing prerequisite headers?
" >&5
24442 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: check
for missing prerequisite headers?
" >&2;}
24443 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: see the Autoconf documentation
" >&5
24444 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: see the Autoconf documentation
" >&2;}
24445 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24446 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24447 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the preprocessor
's result" >&5
24448 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the preprocessor's result
" >&2;}
24449 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: in the future
, the compiler will take precedence
" >&5
24450 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: in the future
, the compiler will take precedence
" >&2;}
24454 { echo "$as_me:$LINENO: checking
for ${PRI_DIR}/include
/libpri.h
" >&5
24455 echo $ECHO_N "checking
for ${PRI_DIR}/include
/libpri.h...
$ECHO_C" >&6; }
24456 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24457 echo $ECHO_N "(cached
) $ECHO_C" >&6
24459 eval "$as_ac_Header=\
$ac_header_preproc"
24461 ac_res=`eval echo '${'$as_ac_Header'}'`
24462 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24463 echo "${ECHO_T}$ac_res" >&6; }
24466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24474 CPPFLAGS="${saved_cppflags}"
24476 if test "xlibpri.h
" != "x
" ; then
24477 if test "${ac_cv_header_libpri_h+set}" = set; then
24478 { echo "$as_me:$LINENO: checking
for libpri.h
" >&5
24479 echo $ECHO_N "checking
for libpri.h...
$ECHO_C" >&6; }
24480 if test "${ac_cv_header_libpri_h+set}" = set; then
24481 echo $ECHO_N "(cached
) $ECHO_C" >&6
24483 { echo "$as_me:$LINENO: result
: $ac_cv_header_libpri_h" >&5
24484 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
24486 # Is the header compilable?
24487 { echo "$as_me:$LINENO: checking libpri.h usability
" >&5
24488 echo $ECHO_N "checking libpri.h usability...
$ECHO_C" >&6; }
24489 cat >conftest.$ac_ext <<_ACEOF
24492 cat confdefs.h >>conftest.$ac_ext
24493 cat >>conftest.$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24495 $ac_includes_default
24496 #include <libpri.h>
24498 rm -f conftest.$ac_objext
24499 if { (ac_try="$ac_compile"
24500 case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_compile") 2>conftest.er1
24507 grep -v '^ *+' conftest.er1 >conftest.err
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24511 (exit $ac_status); } && {
24512 test -z "$ac_c_werror_flag" ||
24513 test ! -s conftest.err
24514 } && test -s conftest.$ac_objext; then
24515 ac_header_compiler=yes
24517 echo "$as_me: failed program was
:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24520 ac_header_compiler=no
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24525 echo "${ECHO_T}$ac_header_compiler" >&6; }
24527 # Is the header present?
24528 { echo "$as_me:$LINENO: checking libpri.h presence
" >&5
24529 echo $ECHO_N "checking libpri.h presence...
$ECHO_C" >&6; }
24530 cat >conftest.$ac_ext <<_ACEOF
24533 cat confdefs.h >>conftest.$ac_ext
24534 cat >>conftest.$ac_ext <<_ACEOF
24535 /* end confdefs.h. */
24536 #include <libpri.h>
24538 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24539 case "(($ac_try" in
24540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24541 *) ac_try_echo=$ac_try;;
24543 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24544 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24546 grep -v '^ *+' conftest.er1 >conftest.err
24548 cat conftest.err >&5
24549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24550 (exit $ac_status); } >/dev/null && {
24551 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24552 test ! -s conftest.err
24554 ac_header_preproc=yes
24556 echo "$as_me: failed program was
:" >&5
24557 sed 's/^/| /' conftest.$ac_ext >&5
24559 ac_header_preproc=no
24562 rm -f conftest.err conftest.$ac_ext
24563 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24564 echo "${ECHO_T}$ac_header_preproc" >&6; }
24566 # So? What about this header?
24567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24569 { echo "$as_me:$LINENO: WARNING
: libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24570 echo "$as_me: WARNING
: libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24571 { echo "$as_me:$LINENO: WARNING
: libpri.h
: proceeding with the compiler
's result" >&5
24572 echo "$as_me: WARNING: libpri.h: proceeding with the compiler's result
" >&2;}
24573 ac_header_preproc=yes
24576 { echo "$as_me:$LINENO: WARNING
: libpri.h
: present but cannot be compiled
" >&5
24577 echo "$as_me: WARNING
: libpri.h
: present but cannot be compiled
" >&2;}
24578 { echo "$as_me:$LINENO: WARNING
: libpri.h
: check
for missing prerequisite headers?
" >&5
24579 echo "$as_me: WARNING
: libpri.h
: check
for missing prerequisite headers?
" >&2;}
24580 { echo "$as_me:$LINENO: WARNING
: libpri.h
: see the Autoconf documentation
" >&5
24581 echo "$as_me: WARNING
: libpri.h
: see the Autoconf documentation
" >&2;}
24582 { echo "$as_me:$LINENO: WARNING
: libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24583 echo "$as_me: WARNING
: libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24584 { echo "$as_me:$LINENO: WARNING
: libpri.h
: proceeding with the preprocessor
's result" >&5
24585 echo "$as_me: WARNING: libpri.h: proceeding with the preprocessor's result
" >&2;}
24586 { echo "$as_me:$LINENO: WARNING
: libpri.h
: in the future
, the compiler will take precedence
" >&5
24587 echo "$as_me: WARNING
: libpri.h
: in the future
, the compiler will take precedence
" >&2;}
24591 { echo "$as_me:$LINENO: checking
for libpri.h
" >&5
24592 echo $ECHO_N "checking
for libpri.h...
$ECHO_C" >&6; }
24593 if test "${ac_cv_header_libpri_h+set}" = set; then
24594 echo $ECHO_N "(cached
) $ECHO_C" >&6
24596 ac_cv_header_libpri_h=$ac_header_preproc
24598 { echo "$as_me:$LINENO: result
: $ac_cv_header_libpri_h" >&5
24599 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
24602 if test $ac_cv_header_libpri_h = yes; then
24611 if test "x
${PRI_HEADER_FOUND}" = "x0
" ; then
24612 if test -n "${PRI_MANDATORY}" ;
24614 { echo "$as_me:$LINENO: ***" >&5
24615 echo "$as_me: ***" >&6;}
24616 { echo "$as_me:$LINENO: *** It appears that you
do not have the pri development package installed.
" >&5
24617 echo "$as_me: *** It appears that you
do not have the pri development package installed.
" >&6;}
24618 { echo "$as_me:$LINENO: *** Please
install it to include
${PRI_DESCRIP} support
, or re-run configure
" >&5
24619 echo "$as_me: *** Please
install it to include
${PRI_DESCRIP} support
, or re-run configure
" >&6;}
24620 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${PRI_OPTION}" >&5
24621 echo "$as_me: *** without explicitly specifying
--with-${PRI_OPTION}" >&6;}
24630 cat >>confdefs.h <<_ACEOF
24635 elif test -n "${PRI_MANDATORY}";
24637 { echo "$as_me:$LINENO: ***" >&5
24638 echo "$as_me: ***" >&6;}
24639 { echo "$as_me:$LINENO: *** The
${PRI_DESCRIP} installation on this system appears to be broken.
" >&5
24640 echo "$as_me: *** The
${PRI_DESCRIP} installation on this system appears to be broken.
" >&6;}
24641 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
24642 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
24643 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${PRI_OPTION}" >&5
24644 echo "$as_me: *** without explicitly specifying
--with-${PRI_OPTION}" >&6;}
24650 if test "${USE_PWLIB}" != "no
"; then
24651 if test -n "${PWLIB_DIR}"; then
24652 PWLIBDIR="${PWLIB_DIR}"
24659 ac_cpp='$CXXCPP $CPPFLAGS'
24660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24664 if test "${PWLIBDIR:-unset}" != "unset" ; then
24665 as_ac_Header=`echo "ac_cv_header_
${PWLIBDIR}/version.h
" | $as_tr_sh`
24666 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24667 { echo "$as_me:$LINENO: checking
for ${PWLIBDIR}/version.h
" >&5
24668 echo $ECHO_N "checking
for ${PWLIBDIR}/version.h...
$ECHO_C" >&6; }
24669 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24670 echo $ECHO_N "(cached
) $ECHO_C" >&6
24672 ac_res=`eval echo '${'$as_ac_Header'}'`
24673 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24674 echo "${ECHO_T}$ac_res" >&6; }
24676 # Is the header compilable?
24677 { echo "$as_me:$LINENO: checking
${PWLIBDIR}/version.h usability
" >&5
24678 echo $ECHO_N "checking
${PWLIBDIR}/version.h usability...
$ECHO_C" >&6; }
24679 cat >conftest.$ac_ext <<_ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 $ac_includes_default
24686 #include <${PWLIBDIR}/version.h>
24688 rm -f conftest.$ac_objext
24689 if { (ac_try="$ac_compile"
24690 case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24694 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_compile") 2>conftest.er1
24697 grep -v '^ *+' conftest.er1 >conftest.err
24699 cat conftest.err >&5
24700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24701 (exit $ac_status); } && {
24702 test -z "$ac_cxx_werror_flag" ||
24703 test ! -s conftest.err
24704 } && test -s conftest.$ac_objext; then
24705 ac_header_compiler=yes
24707 echo "$as_me: failed program was
:" >&5
24708 sed 's/^/| /' conftest.$ac_ext >&5
24710 ac_header_compiler=no
24713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24714 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24715 echo "${ECHO_T}$ac_header_compiler" >&6; }
24717 # Is the header present?
24718 { echo "$as_me:$LINENO: checking
${PWLIBDIR}/version.h presence
" >&5
24719 echo $ECHO_N "checking
${PWLIBDIR}/version.h presence...
$ECHO_C" >&6; }
24720 cat >conftest.$ac_ext <<_ACEOF
24723 cat confdefs.h >>conftest.$ac_ext
24724 cat >>conftest.$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24726 #include <${PWLIBDIR}/version.h>
24728 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24733 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24736 grep -v '^ *+' conftest.er1 >conftest.err
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24740 (exit $ac_status); } >/dev/null && {
24741 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24742 test ! -s conftest.err
24744 ac_header_preproc=yes
24746 echo "$as_me: failed program was
:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24749 ac_header_preproc=no
24752 rm -f conftest.err conftest.$ac_ext
24753 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24754 echo "${ECHO_T}$ac_header_preproc" >&6; }
24756 # So? What about this header?
24757 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24759 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24760 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24761 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: proceeding with the compiler
's result" >&5
24762 echo "$as_me: WARNING: ${PWLIBDIR}/version.h: proceeding with the compiler's result
" >&2;}
24763 ac_header_preproc=yes
24766 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: present but cannot be compiled
" >&5
24767 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: present but cannot be compiled
" >&2;}
24768 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: check
for missing prerequisite headers?
" >&5
24769 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: check
for missing prerequisite headers?
" >&2;}
24770 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: see the Autoconf documentation
" >&5
24771 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: see the Autoconf documentation
" >&2;}
24772 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24773 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24774 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: proceeding with the preprocessor
's result" >&5
24775 echo "$as_me: WARNING: ${PWLIBDIR}/version.h: proceeding with the preprocessor's result
" >&2;}
24776 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: in the future
, the compiler will take precedence
" >&5
24777 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: in the future
, the compiler will take precedence
" >&2;}
24781 { echo "$as_me:$LINENO: checking
for ${PWLIBDIR}/version.h
" >&5
24782 echo $ECHO_N "checking
for ${PWLIBDIR}/version.h...
$ECHO_C" >&6; }
24783 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24784 echo $ECHO_N "(cached
) $ECHO_C" >&6
24786 eval "$as_ac_Header=\
$ac_header_preproc"
24788 ac_res=`eval echo '${'$as_ac_Header'}'`
24789 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24790 echo "${ECHO_T}$ac_res" >&6; }
24793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24799 if test "${HAS_PWLIB:-unset}" = "unset" ; then
24800 if test "${OPENH323DIR:-unset}" != "unset"; then
24801 as_ac_Header=`echo "ac_cv_header_
${OPENH323DIR}/..
/pwlib
/version.h
" | $as_tr_sh`
24802 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24803 { echo "$as_me:$LINENO: checking
for ${OPENH323DIR}/..
/pwlib
/version.h
" >&5
24804 echo $ECHO_N "checking
for ${OPENH323DIR}/..
/pwlib
/version.h...
$ECHO_C" >&6; }
24805 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24806 echo $ECHO_N "(cached
) $ECHO_C" >&6
24808 ac_res=`eval echo '${'$as_ac_Header'}'`
24809 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24810 echo "${ECHO_T}$ac_res" >&6; }
24812 # Is the header compilable?
24813 { echo "$as_me:$LINENO: checking
${OPENH323DIR}/..
/pwlib
/version.h usability
" >&5
24814 echo $ECHO_N "checking
${OPENH323DIR}/..
/pwlib
/version.h usability...
$ECHO_C" >&6; }
24815 cat >conftest.$ac_ext <<_ACEOF
24818 cat confdefs.h >>conftest.$ac_ext
24819 cat >>conftest.$ac_ext <<_ACEOF
24820 /* end confdefs.h. */
24821 $ac_includes_default
24822 #include <${OPENH323DIR}/../pwlib/version.h>
24824 rm -f conftest.$ac_objext
24825 if { (ac_try="$ac_compile"
24826 case "(($ac_try" in
24827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24828 *) ac_try_echo=$ac_try;;
24830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24831 (eval "$ac_compile") 2>conftest.er1
24833 grep -v '^ *+' conftest.er1 >conftest.err
24835 cat conftest.err >&5
24836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24837 (exit $ac_status); } && {
24838 test -z "$ac_cxx_werror_flag" ||
24839 test ! -s conftest.err
24840 } && test -s conftest.$ac_objext; then
24841 ac_header_compiler=yes
24843 echo "$as_me: failed program was
:" >&5
24844 sed 's/^/| /' conftest.$ac_ext >&5
24846 ac_header_compiler=no
24849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24850 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24851 echo "${ECHO_T}$ac_header_compiler" >&6; }
24853 # Is the header present?
24854 { echo "$as_me:$LINENO: checking
${OPENH323DIR}/..
/pwlib
/version.h presence
" >&5
24855 echo $ECHO_N "checking
${OPENH323DIR}/..
/pwlib
/version.h presence...
$ECHO_C" >&6; }
24856 cat >conftest.$ac_ext <<_ACEOF
24859 cat confdefs.h >>conftest.$ac_ext
24860 cat >>conftest.$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24862 #include <${OPENH323DIR}/../pwlib/version.h>
24864 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24865 case "(($ac_try" in
24866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24867 *) ac_try_echo=$ac_try;;
24869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24870 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24872 grep -v '^ *+' conftest.er1 >conftest.err
24874 cat conftest.err >&5
24875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24876 (exit $ac_status); } >/dev/null && {
24877 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24878 test ! -s conftest.err
24880 ac_header_preproc=yes
24882 echo "$as_me: failed program was
:" >&5
24883 sed 's/^/| /' conftest.$ac_ext >&5
24885 ac_header_preproc=no
24888 rm -f conftest.err conftest.$ac_ext
24889 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24890 echo "${ECHO_T}$ac_header_preproc" >&6; }
24892 # So? What about this header?
24893 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24895 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24896 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24897 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: proceeding with the compiler
's result" >&5
24898 echo "$as_me: WARNING: ${OPENH323DIR}/../pwlib/version.h: proceeding with the compiler's result
" >&2;}
24899 ac_header_preproc=yes
24902 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: present but cannot be compiled
" >&5
24903 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: present but cannot be compiled
" >&2;}
24904 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: check
for missing prerequisite headers?
" >&5
24905 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: check
for missing prerequisite headers?
" >&2;}
24906 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: see the Autoconf documentation
" >&5
24907 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: see the Autoconf documentation
" >&2;}
24908 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24909 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24910 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: proceeding with the preprocessor
's result" >&5
24911 echo "$as_me: WARNING: ${OPENH323DIR}/../pwlib/version.h: proceeding with the preprocessor's result
" >&2;}
24912 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: in the future
, the compiler will take precedence
" >&5
24913 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: in the future
, the compiler will take precedence
" >&2;}
24917 { echo "$as_me:$LINENO: checking
for ${OPENH323DIR}/..
/pwlib
/version.h
" >&5
24918 echo $ECHO_N "checking
for ${OPENH323DIR}/..
/pwlib
/version.h...
$ECHO_C" >&6; }
24919 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24920 echo $ECHO_N "(cached
) $ECHO_C" >&6
24922 eval "$as_ac_Header=\
$ac_header_preproc"
24924 ac_res=`eval echo '${'$as_ac_Header'}'`
24925 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24926 echo "${ECHO_T}$ac_res" >&6; }
24929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24935 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24936 PWLIBDIR="${OPENH323DIR}/..
/pwlib
"
24938 as_ac_Header=`echo "ac_cv_header_
${HOME}/pwlib
/include
/ptlib.h
" | $as_tr_sh`
24939 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24940 { echo "$as_me:$LINENO: checking
for ${HOME}/pwlib
/include
/ptlib.h
" >&5
24941 echo $ECHO_N "checking
for ${HOME}/pwlib
/include
/ptlib.h...
$ECHO_C" >&6; }
24942 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24943 echo $ECHO_N "(cached
) $ECHO_C" >&6
24945 ac_res=`eval echo '${'$as_ac_Header'}'`
24946 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24947 echo "${ECHO_T}$ac_res" >&6; }
24949 # Is the header compilable?
24950 { echo "$as_me:$LINENO: checking
${HOME}/pwlib
/include
/ptlib.h usability
" >&5
24951 echo $ECHO_N "checking
${HOME}/pwlib
/include
/ptlib.h usability...
$ECHO_C" >&6; }
24952 cat >conftest.$ac_ext <<_ACEOF
24955 cat confdefs.h >>conftest.$ac_ext
24956 cat >>conftest.$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24958 $ac_includes_default
24959 #include <${HOME}/pwlib/include/ptlib.h>
24961 rm -f conftest.$ac_objext
24962 if { (ac_try="$ac_compile"
24963 case "(($ac_try" in
24964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24965 *) ac_try_echo=$ac_try;;
24967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24968 (eval "$ac_compile") 2>conftest.er1
24970 grep -v '^ *+' conftest.er1 >conftest.err
24972 cat conftest.err >&5
24973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24974 (exit $ac_status); } && {
24975 test -z "$ac_cxx_werror_flag" ||
24976 test ! -s conftest.err
24977 } && test -s conftest.$ac_objext; then
24978 ac_header_compiler=yes
24980 echo "$as_me: failed program was
:" >&5
24981 sed 's/^/| /' conftest.$ac_ext >&5
24983 ac_header_compiler=no
24986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24987 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24988 echo "${ECHO_T}$ac_header_compiler" >&6; }
24990 # Is the header present?
24991 { echo "$as_me:$LINENO: checking
${HOME}/pwlib
/include
/ptlib.h presence
" >&5
24992 echo $ECHO_N "checking
${HOME}/pwlib
/include
/ptlib.h presence...
$ECHO_C" >&6; }
24993 cat >conftest.$ac_ext <<_ACEOF
24996 cat confdefs.h >>conftest.$ac_ext
24997 cat >>conftest.$ac_ext <<_ACEOF
24998 /* end confdefs.h. */
24999 #include <${HOME}/pwlib/include/ptlib.h>
25001 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25002 case "(($ac_try" in
25003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25004 *) ac_try_echo=$ac_try;;
25006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25007 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25009 grep -v '^ *+' conftest.er1 >conftest.err
25011 cat conftest.err >&5
25012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25013 (exit $ac_status); } >/dev/null && {
25014 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25015 test ! -s conftest.err
25017 ac_header_preproc=yes
25019 echo "$as_me: failed program was
:" >&5
25020 sed 's/^/| /' conftest.$ac_ext >&5
25022 ac_header_preproc=no
25025 rm -f conftest.err conftest.$ac_ext
25026 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25027 echo "${ECHO_T}$ac_header_preproc" >&6; }
25029 # So? What about this header?
25030 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25032 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
25033 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25034 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: proceeding with the compiler
's result" >&5
25035 echo "$as_me: WARNING: ${HOME}/pwlib/include/ptlib.h: proceeding with the compiler's result
" >&2;}
25036 ac_header_preproc=yes
25039 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: present but cannot be compiled
" >&5
25040 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: present but cannot be compiled
" >&2;}
25041 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&5
25042 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&2;}
25043 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: see the Autoconf documentation
" >&5
25044 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: see the Autoconf documentation
" >&2;}
25045 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
25046 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
25047 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: proceeding with the preprocessor
's result" >&5
25048 echo "$as_me: WARNING: ${HOME}/pwlib/include/ptlib.h: proceeding with the preprocessor's result
" >&2;}
25049 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&5
25050 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&2;}
25054 { echo "$as_me:$LINENO: checking
for ${HOME}/pwlib
/include
/ptlib.h
" >&5
25055 echo $ECHO_N "checking
for ${HOME}/pwlib
/include
/ptlib.h...
$ECHO_C" >&6; }
25056 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25057 echo $ECHO_N "(cached
) $ECHO_C" >&6
25059 eval "$as_ac_Header=\
$ac_header_preproc"
25061 ac_res=`eval echo '${'$as_ac_Header'}'`
25062 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25063 echo "${ECHO_T}$ac_res" >&6; }
25066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25071 if test "${HAS_PWLIB:-unset}" != "unset" ; then
25072 PWLIBDIR="${HOME}/pwlib
"
25074 if test "${ac_cv_header__usr_local_include_ptlib_h+set}" = set; then
25075 { echo "$as_me:$LINENO: checking
for /usr
/local
/include
/ptlib.h
" >&5
25076 echo $ECHO_N "checking
for /usr
/local
/include
/ptlib.h...
$ECHO_C" >&6; }
25077 if test "${ac_cv_header__usr_local_include_ptlib_h+set}" = set; then
25078 echo $ECHO_N "(cached
) $ECHO_C" >&6
25080 { echo "$as_me:$LINENO: result
: $ac_cv_header__usr_local_include_ptlib_h" >&5
25081 echo "${ECHO_T}$ac_cv_header__usr_local_include_ptlib_h" >&6; }
25083 # Is the header compilable?
25084 { echo "$as_me:$LINENO: checking
/usr
/local
/include
/ptlib.h usability
" >&5
25085 echo $ECHO_N "checking
/usr
/local
/include
/ptlib.h usability...
$ECHO_C" >&6; }
25086 cat >conftest.$ac_ext <<_ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25092 $ac_includes_default
25093 #include </usr/local/include/ptlib.h>
25095 rm -f conftest.$ac_objext
25096 if { (ac_try="$ac_compile"
25097 case "(($ac_try" in
25098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25099 *) ac_try_echo=$ac_try;;
25101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25102 (eval "$ac_compile") 2>conftest.er1
25104 grep -v '^ *+' conftest.er1 >conftest.err
25106 cat conftest.err >&5
25107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25108 (exit $ac_status); } && {
25109 test -z "$ac_cxx_werror_flag" ||
25110 test ! -s conftest.err
25111 } && test -s conftest.$ac_objext; then
25112 ac_header_compiler=yes
25114 echo "$as_me: failed program was
:" >&5
25115 sed 's/^/| /' conftest.$ac_ext >&5
25117 ac_header_compiler=no
25120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25121 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25122 echo "${ECHO_T}$ac_header_compiler" >&6; }
25124 # Is the header present?
25125 { echo "$as_me:$LINENO: checking
/usr
/local
/include
/ptlib.h presence
" >&5
25126 echo $ECHO_N "checking
/usr
/local
/include
/ptlib.h presence...
$ECHO_C" >&6; }
25127 cat >conftest.$ac_ext <<_ACEOF
25130 cat confdefs.h >>conftest.$ac_ext
25131 cat >>conftest.$ac_ext <<_ACEOF
25132 /* end confdefs.h. */
25133 #include </usr/local/include/ptlib.h>
25135 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25136 case "(($ac_try" in
25137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25138 *) ac_try_echo=$ac_try;;
25140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25141 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25143 grep -v '^ *+' conftest.er1 >conftest.err
25145 cat conftest.err >&5
25146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25147 (exit $ac_status); } >/dev/null && {
25148 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25149 test ! -s conftest.err
25151 ac_header_preproc=yes
25153 echo "$as_me: failed program was
:" >&5
25154 sed 's/^/| /' conftest.$ac_ext >&5
25156 ac_header_preproc=no
25159 rm -f conftest.err conftest.$ac_ext
25160 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25161 echo "${ECHO_T}$ac_header_preproc" >&6; }
25163 # So? What about this header?
25164 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25166 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
25167 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25168 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: proceeding with the compiler
's result" >&5
25169 echo "$as_me: WARNING: /usr/local/include/ptlib.h: proceeding with the compiler's result
" >&2;}
25170 ac_header_preproc=yes
25173 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: present but cannot be compiled
" >&5
25174 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: present but cannot be compiled
" >&2;}
25175 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&5
25176 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&2;}
25177 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: see the Autoconf documentation
" >&5
25178 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: see the Autoconf documentation
" >&2;}
25179 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
25180 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
25181 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: proceeding with the preprocessor
's result" >&5
25182 echo "$as_me: WARNING: /usr/local/include/ptlib.h: proceeding with the preprocessor's result
" >&2;}
25183 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&5
25184 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&2;}
25188 { echo "$as_me:$LINENO: checking
for /usr
/local
/include
/ptlib.h
" >&5
25189 echo $ECHO_N "checking
for /usr
/local
/include
/ptlib.h...
$ECHO_C" >&6; }
25190 if test "${ac_cv_header__usr_local_include_ptlib_h+set}" = set; then
25191 echo $ECHO_N "(cached
) $ECHO_C" >&6
25193 ac_cv_header__usr_local_include_ptlib_h=$ac_header_preproc
25195 { echo "$as_me:$LINENO: result
: $ac_cv_header__usr_local_include_ptlib_h" >&5
25196 echo "${ECHO_T}$ac_cv_header__usr_local_include_ptlib_h" >&6; }
25199 if test $ac_cv_header__usr_local_include_ptlib_h = yes; then
25204 if test "${HAS_PWLIB:-unset}" != "unset" ; then
25205 # Extract the first word of "ptlib-config
", so it can be a program name with args.
25206 set dummy ptlib-config; ac_word=$2
25207 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
25208 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
25209 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
25210 echo $ECHO_N "(cached
) $ECHO_C" >&6
25212 case $PTLIB_CONFIG in
25214 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
25217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25218 for as_dir in /usr/local/bin
25221 test -z "$as_dir" && as_dir=.
25222 for ac_exec_ext in '' $ac_executable_extensions; do
25223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25224 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25225 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
25235 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
25236 if test -n "$PTLIB_CONFIG"; then
25237 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
25238 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
25240 { echo "$as_me:$LINENO: result
: no
" >&5
25241 echo "${ECHO_T}no
" >&6; }
25245 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
25246 # Extract the first word of "ptlib-config
", so it can be a program name with args.
25247 set dummy ptlib-config; ac_word=$2
25248 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
25249 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
25250 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
25251 echo $ECHO_N "(cached
) $ECHO_C" >&6
25253 case $PTLIB_CONFIG in
25255 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
25258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25259 for as_dir in /usr/local/share/pwlib/make
25262 test -z "$as_dir" && as_dir=.
25263 for ac_exec_ext in '' $ac_executable_extensions; do
25264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25265 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25266 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
25276 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
25277 if test -n "$PTLIB_CONFIG"; then
25278 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
25279 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
25281 { echo "$as_me:$LINENO: result
: no
" >&5
25282 echo "${ECHO_T}no
" >&6; }
25287 PWLIB_INCDIR="/usr
/local
/include
"
25288 PWLIB_LIBDIR=`${PTLIB_CONFIG} --pwlibdir`
25289 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
25290 if test "x
$LIB64" != "x
"; then
25291 PWLIB_LIBDIR="/usr
/local
/lib64
"
25293 PWLIB_LIBDIR="/usr
/local
/lib
"
25296 PWLIB_LIB=`${PTLIB_CONFIG} --ldflags --libs`
25297 PWLIB_LIB="-L${PWLIB_LIBDIR} `echo ${PWLIB_LIB}`"
25299 if test "${ac_cv_header__usr_include_ptlib_h+set}" = set; then
25300 { echo "$as_me:$LINENO: checking
for /usr
/include
/ptlib.h
" >&5
25301 echo $ECHO_N "checking
for /usr
/include
/ptlib.h...
$ECHO_C" >&6; }
25302 if test "${ac_cv_header__usr_include_ptlib_h+set}" = set; then
25303 echo $ECHO_N "(cached
) $ECHO_C" >&6
25305 { echo "$as_me:$LINENO: result
: $ac_cv_header__usr_include_ptlib_h" >&5
25306 echo "${ECHO_T}$ac_cv_header__usr_include_ptlib_h" >&6; }
25308 # Is the header compilable?
25309 { echo "$as_me:$LINENO: checking
/usr
/include
/ptlib.h usability
" >&5
25310 echo $ECHO_N "checking
/usr
/include
/ptlib.h usability...
$ECHO_C" >&6; }
25311 cat >conftest.$ac_ext <<_ACEOF
25314 cat confdefs.h >>conftest.$ac_ext
25315 cat >>conftest.$ac_ext <<_ACEOF
25316 /* end confdefs.h. */
25317 $ac_includes_default
25318 #include </usr/include/ptlib.h>
25320 rm -f conftest.$ac_objext
25321 if { (ac_try="$ac_compile"
25322 case "(($ac_try" in
25323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25324 *) ac_try_echo=$ac_try;;
25326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25327 (eval "$ac_compile") 2>conftest.er1
25329 grep -v '^ *+' conftest.er1 >conftest.err
25331 cat conftest.err >&5
25332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25333 (exit $ac_status); } && {
25334 test -z "$ac_cxx_werror_flag" ||
25335 test ! -s conftest.err
25336 } && test -s conftest.$ac_objext; then
25337 ac_header_compiler=yes
25339 echo "$as_me: failed program was
:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25342 ac_header_compiler=no
25345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25346 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25347 echo "${ECHO_T}$ac_header_compiler" >&6; }
25349 # Is the header present?
25350 { echo "$as_me:$LINENO: checking
/usr
/include
/ptlib.h presence
" >&5
25351 echo $ECHO_N "checking
/usr
/include
/ptlib.h presence...
$ECHO_C" >&6; }
25352 cat >conftest.$ac_ext <<_ACEOF
25355 cat confdefs.h >>conftest.$ac_ext
25356 cat >>conftest.$ac_ext <<_ACEOF
25357 /* end confdefs.h. */
25358 #include </usr/include/ptlib.h>
25360 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25361 case "(($ac_try" in
25362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25363 *) ac_try_echo=$ac_try;;
25365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25366 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25368 grep -v '^ *+' conftest.er1 >conftest.err
25370 cat conftest.err >&5
25371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25372 (exit $ac_status); } >/dev/null && {
25373 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25374 test ! -s conftest.err
25376 ac_header_preproc=yes
25378 echo "$as_me: failed program was
:" >&5
25379 sed 's/^/| /' conftest.$ac_ext >&5
25381 ac_header_preproc=no
25384 rm -f conftest.err conftest.$ac_ext
25385 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25386 echo "${ECHO_T}$ac_header_preproc" >&6; }
25388 # So? What about this header?
25389 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25391 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
25392 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25393 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: proceeding with the compiler
's result" >&5
25394 echo "$as_me: WARNING: /usr/include/ptlib.h: proceeding with the compiler's result
" >&2;}
25395 ac_header_preproc=yes
25398 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: present but cannot be compiled
" >&5
25399 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: present but cannot be compiled
" >&2;}
25400 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&5
25401 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&2;}
25402 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: see the Autoconf documentation
" >&5
25403 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: see the Autoconf documentation
" >&2;}
25404 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
25405 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
25406 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: proceeding with the preprocessor
's result" >&5
25407 echo "$as_me: WARNING: /usr/include/ptlib.h: proceeding with the preprocessor's result
" >&2;}
25408 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&5
25409 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&2;}
25413 { echo "$as_me:$LINENO: checking
for /usr
/include
/ptlib.h
" >&5
25414 echo $ECHO_N "checking
for /usr
/include
/ptlib.h...
$ECHO_C" >&6; }
25415 if test "${ac_cv_header__usr_include_ptlib_h+set}" = set; then
25416 echo $ECHO_N "(cached
) $ECHO_C" >&6
25418 ac_cv_header__usr_include_ptlib_h=$ac_header_preproc
25420 { echo "$as_me:$LINENO: result
: $ac_cv_header__usr_include_ptlib_h" >&5
25421 echo "${ECHO_T}$ac_cv_header__usr_include_ptlib_h" >&6; }
25424 if test $ac_cv_header__usr_include_ptlib_h = yes; then
25429 if test "${HAS_PWLIB:-unset}" != "unset" ; then
25430 # Extract the first word of "ptlib-config
", so it can be a program name with args.
25431 set dummy ptlib-config; ac_word=$2
25432 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
25433 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
25434 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
25435 echo $ECHO_N "(cached
) $ECHO_C" >&6
25437 case $PTLIB_CONFIG in
25439 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
25442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25443 for as_dir in /usr/share/pwlib/make
25446 test -z "$as_dir" && as_dir=.
25447 for ac_exec_ext in '' $ac_executable_extensions; do
25448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25449 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25450 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
25460 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
25461 if test -n "$PTLIB_CONFIG"; then
25462 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
25463 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
25465 { echo "$as_me:$LINENO: result
: no
" >&5
25466 echo "${ECHO_T}no
" >&6; }
25470 PWLIB_INCDIR="/usr
/include
"
25471 PWLIB_LIBDIR=`${PTLIB_CONFIG} --pwlibdir`
25472 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
25473 if test "x
$LIB64" != "x
"; then
25474 PWLIB_LIBDIR="/usr
/lib64
"
25476 PWLIB_LIBDIR="/usr
/lib
"
25479 PWLIB_LIB=`${PTLIB_CONFIG} --ldflags --libs`
25480 PWLIB_LIB="-L${PWLIB_LIBDIR} `echo ${PWLIB_LIB}`"
25487 #if test "${HAS_PWLIB:-unset}" = "unset" ; then
25488 # echo "Cannot
find pwlib
- please
install or
set PWLIBDIR and try again
"
25492 if test "${HAS_PWLIB:-unset}" != "unset" ; then
25493 if test "${PWLIBDIR:-unset}" = "unset" ; then
25494 if test "${PTLIB_CONFIG:-unset}" != "unset" ; then
25495 PWLIBDIR=`$PTLIB_CONFIG --prefix`
25497 echo "Cannot
find ptlib-config
- please
install and try again
"
25502 if test "x
$PWLIBDIR" = "x
/usr
" -o "x
$PWLIBDIR" = "x
/usr
/"; then
25503 PWLIBDIR="/usr
/share
/pwlib
"
25504 PWLIB_INCDIR="/usr
/include
"
25505 if test "x
$LIB64" != "x
"; then
25506 PWLIB_LIBDIR="/usr
/lib64
"
25508 PWLIB_LIBDIR="/usr
/lib
"
25511 if test "x
$PWLIBDIR" = "x
/usr
/local" -o "x
$PWLIBDIR" = "x
/usr
/"; then
25512 PWLIBDIR="/usr
/local
/share
/pwlib
"
25513 PWLIB_INCDIR="/usr
/local
/include
"
25514 if test "x
$LIB64" != "x
"; then
25515 PWLIB_LIBDIR="/usr
/local
/lib64
"
25517 PWLIB_LIBDIR="/usr
/local
/lib
"
25521 if test "${PWLIB_INCDIR:-unset}" = "unset"; then
25522 PWLIB_INCDIR="${PWLIBDIR}/include
"
25524 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
25525 PWLIB_LIBDIR="${PWLIBDIR}/lib
"
25533 ac_cpp='$CPP $CPPFLAGS'
25534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25540 if test "${HAS_PWLIB:-unset}" != "unset"; then
25541 PWLIB_VERSION=`grep "PWLIB_VERSION
" ${PWLIB_INCDIR}/ptbuildopts.h | cut -f2 -d ' ' | sed -e 's/"//g
'`
25542 PWLIB_MAJOR_VERSION=`echo ${PWLIB_VERSION} | cut -f1 -d.`
25543 PWLIB_MINOR_VERSION=`echo ${PWLIB_VERSION} | cut -f2 -d.`
25544 PWLIB_BUILD_NUMBER=`echo ${PWLIB_VERSION} | cut -f3 -d.`
25545 let PWLIB_VER=${PWLIB_MAJOR_VERSION}*10000+${PWLIB_MINOR_VERSION}*100+${PWLIB_BUILD_NUMBER}
25546 let PWLIB_REQ=1*10000+9*100+2
25548 { echo "$as_me:$LINENO: checking if PWLib version ${PWLIB_VERSION} is compatible with chan_h323" >&5
25549 echo $ECHO_N "checking if PWLib version ${PWLIB_VERSION} is compatible with chan_h323... $ECHO_C" >&6; }
25550 if test ${PWLIB_VER} -lt ${PWLIB_REQ}; then
25551 { echo "$as_me:$LINENO: result: no" >&5
25552 echo "${ECHO_T}no" >&6; }
25555 { echo "$as_me:$LINENO: result: yes" >&5
25556 echo "${ECHO_T}yes" >&6; }
25561 if test "${HAS_PWLIB:-unset}" != "unset"; then
25565 linux*) PWLIB_OSTYPE=linux ;
25567 freebsd* ) PWLIB_OSTYPE=FreeBSD ;
25569 openbsd* ) PWLIB_OSTYPE=OpenBSD ;
25570 ENDLDLIBS="-lossaudio" ;
25572 netbsd* ) PWLIB_OSTYPE=NetBSD ;
25573 ENDLDLIBS="-lossaudio" ;
25575 solaris* | sunos* ) PWLIB_OSTYPE=solaris ;
25577 darwin* ) PWLIB_OSTYPE=Darwin ;
25579 beos*) PWLIB_OSTYPE=beos ;
25580 STDCCFLAGS="$STDCCFLAGS -D__BEOS__"
25582 cygwin*) PWLIB_OSTYPE=cygwin ;
25584 mingw*) PWLIB_OSTYPE=mingw ;
25585 STDCCFLAGS="$STDCCFLAGS -mms-bitfields" ;
25586 ENDLDLIBS="-lwinmm -lwsock32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32" ;
25588 * ) PWLIB_OSTYPE="$host_os" ;
25589 { echo "$as_me:$LINENO: WARNING: \"OS $PWLIB_OSTYPE not recognized - proceed with caution!\"" >&5
25590 echo "$as_me: WARNING: \"OS $PWLIB_OSTYPE not recognized - proceed with caution!\"" >&2;} ;
25595 case "$host_cpu" in
25596 x86 | i686 | i586 | i486 | i386 ) PWLIB_MACHTYPE=x86
25599 x86_64) PWLIB_MACHTYPE=x86_64 ;
25604 alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7) PWLIB_MACHTYPE=alpha ;
25608 sparc ) PWLIB_MACHTYPE=sparc ;
25611 powerpc ) PWLIB_MACHTYPE=ppc ;
25614 ppc ) PWLIB_MACHTYPE=ppc ;
25617 powerpc64 ) PWLIB_MACHTYPE=ppc64 ;
25622 ppc64 ) PWLIB_MACHTYPE=ppc64 ;
25627 ia64) PWLIB_MACHTYPE=ia64 ;
25631 s390x) PWLIB_MACHTYPE=s390x ;
25636 s390) PWLIB_MACHTYPE=s390 ;
25639 * ) PWLIB_MACHTYPE="$host_cpu";
25640 { echo "$as_me:$LINENO: WARNING: \"CPU $PWLIB_MACHTYPE not recognized - proceed with caution!\"" >&5
25641 echo "$as_me: WARNING: \"CPU $PWLIB_MACHTYPE not recognized - proceed with caution!\"" >&2;} ;;
25644 PWLIB_PLATFORM="${PWLIB_OSTYPE}_${PWLIB_MACHTYPE}"
25649 PLATFORM_PWLIB="pt_${PWLIB_PLATFORM}_r"
25652 if test "${HAS_PWLIB:-unset}" != "unset"; then
25653 { echo "$as_me:$LINENO: checking PWLib installation validity" >&5
25654 echo $ECHO_N "checking PWLib installation validity... $ECHO_C" >&6; }
25656 saved_cppflags="${CPPFLAGS}"
25657 saved_libs="${LIBS}"
25658 if test "${PWLIB_LIB:-unset}" != "unset"; then
25659 LIBS="${LIBS} ${PWLIB_LIB} "
25661 LIBS="${LIBS} -L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB} "
25663 CPPFLAGS="${CPPFLAGS} -I${PWLIB_INCDIR} "
25666 ac_cpp='$CXXCPP $CPPFLAGS'
25667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25668 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25672 cat >conftest.$ac_ext <<_ACEOF
25675 cat confdefs.h >>conftest.$ac_ext
25676 cat >>conftest.$ac_ext <<_ACEOF
25677 /* end confdefs.h. */
25682 BOOL q = PTime::IsDaylightSavings();
25687 rm -f conftest.$ac_objext conftest$ac_exeext
25688 if { (ac_try="$ac_link"
25689 case "(($ac_try" in
25690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25691 *) ac_try_echo=$ac_try;;
25693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25694 (eval "$ac_link") 2>conftest.er1
25696 grep -v '^
*+' conftest.er1 >conftest.err
25698 cat conftest.err >&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } && {
25701 test -z "$ac_cxx_werror_flag" ||
25702 test ! -s conftest.err
25703 } && test -s conftest$ac_exeext &&
25704 $as_test_x conftest$ac_exeext; then
25705 { echo "$as_me:$LINENO: result: yes" >&5
25706 echo "${ECHO_T}yes" >&6; }
25707 ac_cv_lib_PWLIB="yes"
25710 echo "$as_me: failed program was:" >&5
25711 sed 's
/^
/|
/' conftest.$ac_ext >&5
25713 { echo "$as_me:$LINENO: result: no" >&5
25714 echo "${ECHO_T}no" >&6; }
25715 ac_cv_lib_PWLIB="no"
25720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25721 conftest$ac_exeext conftest.$ac_ext
25724 ac_cpp='$CPP $CPPFLAGS'
25725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25726 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25730 LIBS="${saved_libs}"
25731 CPPFLAGS="${saved_cppflags}"
25733 if test "${ac_cv_lib_PWLIB}" = "yes"; then
25734 if test "${PWLIB_LIB:-undef}" = "undef"; then
25735 if test "${PWLIB_LIBDIR}" != "" -a "${PWLIB_LIBDIR}" != "/usr/lib"; then
25736 PWLIB_LIB="-L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB}"
25738 PWLIB_LIB="-l${PLATFORM_PWLIB}"
25741 if test "${PWLIB_INCDIR}" != "" -a "${PWLIB_INCDIR}" != "/usr/include"; then
25742 PWLIB_INCLUDE="-I${PWLIB_INCDIR}"
25746 cat >>confdefs.h <<\_ACEOF
25747 #define HAVE_PWLIB 1
25756 if test "${USE_PWLIB}" != "no" -a "x${ac_cv_lib_PWLIB}" != "xyes" -a -n "${PWLIB_MANDATORY}"; then
25757 { echo "$as_me:$LINENO: ***" >&5
25758 echo "$as_me: ***" >&6;}
25759 { echo "$as_me:$LINENO: *** The PWLIB installation on this system appears to be broken." >&5
25760 echo "$as_me: *** The PWLIB installation on this system appears to be broken." >&6;}
25761 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
25762 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
25763 { echo "$as_me:$LINENO: *** including --without-pwlib" >&5
25764 echo "$as_me: *** including --without-pwlib" >&6;}
25768 if test "${PBX_PWLIB}" = "1" -a "${USE_OPENH323}" != "no" ; then
25769 if test -n "${OPENH323_DIR}"; then
25770 OPENH323DIR="${OPENH323_DIR}"
25776 ac_cpp='$CXXCPP $CPPFLAGS'
25777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25778 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25781 if test "${OPENH323DIR:-unset}" != "unset" ; then
25782 as_ac_Header=`echo "ac_cv_header_${OPENH323DIR}/version.h" | $as_tr_sh`
25783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25784 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/version.h" >&5
25785 echo $ECHO_N "checking for ${OPENH323DIR}/version.h... $ECHO_C" >&6; }
25786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6
25789 ac_res=`eval echo '${'$as_ac_Header'}'`
25790 { echo "$as_me:$LINENO: result: $ac_res" >&5
25791 echo "${ECHO_T}$ac_res" >&6; }
25793 # Is the header compilable?
25794 { echo "$as_me:$LINENO: checking ${OPENH323DIR}/version.h usability" >&5
25795 echo $ECHO_N "checking ${OPENH323DIR}/version.h usability... $ECHO_C" >&6; }
25796 cat >conftest.$ac_ext <<_ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802 $ac_includes_default
25803 #include <${OPENH323DIR}/version.h>
25805 rm -f conftest.$ac_objext
25806 if { (ac_try="$ac_compile"
25807 case "(($ac_try" in
25808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25809 *) ac_try_echo=$ac_try;;
25811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25812 (eval "$ac_compile") 2>conftest.er1
25814 grep -v '^
*+' conftest.er1 >conftest.err
25816 cat conftest.err >&5
25817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25818 (exit $ac_status); } && {
25819 test -z "$ac_cxx_werror_flag" ||
25820 test ! -s conftest.err
25821 } && test -s conftest.$ac_objext; then
25822 ac_header_compiler=yes
25824 echo "$as_me: failed program was:" >&5
25825 sed 's
/^
/|
/' conftest.$ac_ext >&5
25827 ac_header_compiler=no
25830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25831 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25832 echo "${ECHO_T}$ac_header_compiler" >&6; }
25834 # Is the header present?
25835 { echo "$as_me:$LINENO: checking ${OPENH323DIR}/version.h presence" >&5
25836 echo $ECHO_N "checking ${OPENH323DIR}/version.h presence... $ECHO_C" >&6; }
25837 cat >conftest.$ac_ext <<_ACEOF
25840 cat confdefs.h >>conftest.$ac_ext
25841 cat >>conftest.$ac_ext <<_ACEOF
25842 /* end confdefs.h. */
25843 #include <${OPENH323DIR}/version.h>
25845 if { (ac_try="$ac_cpp conftest.$ac_ext"
25846 case "(($ac_try" in
25847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25848 *) ac_try_echo=$ac_try;;
25850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25851 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25853 grep -v '^
*+' conftest.er1 >conftest.err
25855 cat conftest.err >&5
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); } >/dev/null && {
25858 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25859 test ! -s conftest.err
25861 ac_header_preproc=yes
25863 echo "$as_me: failed program was:" >&5
25864 sed 's
/^
/|
/' conftest.$ac_ext >&5
25866 ac_header_preproc=no
25869 rm -f conftest.err conftest.$ac_ext
25870 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25871 echo "${ECHO_T}$ac_header_preproc" >&6; }
25873 # So? What about this header?
25874 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25876 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
25877 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25878 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: proceeding with the compiler's result
" >&5
25879 echo "$as_me: WARNING
: ${OPENH323DIR}/version.h
: proceeding with the compiler
's result" >&2;}
25880 ac_header_preproc=yes
25883 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: present but cannot be compiled" >&5
25884 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: present but cannot be compiled" >&2;}
25885 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: check for missing prerequisite headers?" >&5
25886 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: check for missing prerequisite headers?" >&2;}
25887 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: see the Autoconf documentation" >&5
25888 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: see the Autoconf documentation" >&2;}
25889 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: section \"Present But Cannot Be Compiled\"" >&5
25890 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
25891 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: proceeding with the preprocessor's result
" >&5
25892 echo "$as_me: WARNING
: ${OPENH323DIR}/version.h
: proceeding with the preprocessor
's result" >&2;}
25893 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: in the future, the compiler will take precedence" >&5
25894 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: in the future, the compiler will take precedence" >&2;}
25898 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/version.h" >&5
25899 echo $ECHO_N "checking for ${OPENH323DIR}/version.h... $ECHO_C" >&6; }
25900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 eval "$as_ac_Header=\$ac_header_preproc"
25905 ac_res=`eval echo '${'$as_ac_Header'}'`
25906 { echo "$as_me:$LINENO: result: $ac_res" >&5
25907 echo "${ECHO_T}$ac_res" >&6; }
25910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25916 if test "${HAS_OPENH323:-unset}" = "unset" ; then
25917 as_ac_Header=`echo "ac_cv_header_${PWLIBDIR}/../openh323/version.h" | $as_tr_sh`
25918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25919 { echo "$as_me:$LINENO: checking for ${PWLIBDIR}/../openh323/version.h" >&5
25920 echo $ECHO_N "checking for ${PWLIBDIR}/../openh323/version.h... $ECHO_C" >&6; }
25921 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25922 echo $ECHO_N "(cached) $ECHO_C" >&6
25924 ac_res=`eval echo '${'$as_ac_Header'}'`
25925 { echo "$as_me:$LINENO: result: $ac_res" >&5
25926 echo "${ECHO_T}$ac_res" >&6; }
25928 # Is the header compilable?
25929 { echo "$as_me:$LINENO: checking ${PWLIBDIR}/../openh323/version.h usability" >&5
25930 echo $ECHO_N "checking ${PWLIBDIR}/../openh323/version.h usability... $ECHO_C" >&6; }
25931 cat >conftest.$ac_ext <<_ACEOF
25934 cat confdefs.h >>conftest.$ac_ext
25935 cat >>conftest.$ac_ext <<_ACEOF
25936 /* end confdefs.h. */
25937 $ac_includes_default
25938 #include <${PWLIBDIR}/../openh323/version.h>
25940 rm -f conftest.$ac_objext
25941 if { (ac_try="$ac_compile"
25942 case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_compile") 2>conftest.er1
25949 grep -v '^
*+' conftest.er1 >conftest.err
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } && {
25954 test -z "$ac_cxx_werror_flag" ||
25955 test ! -s conftest.err
25956 } && test -s conftest.$ac_objext; then
25957 ac_header_compiler=yes
25959 echo "$as_me: failed program was:" >&5
25960 sed 's
/^
/|
/' conftest.$ac_ext >&5
25962 ac_header_compiler=no
25965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25966 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25967 echo "${ECHO_T}$ac_header_compiler" >&6; }
25969 # Is the header present?
25970 { echo "$as_me:$LINENO: checking ${PWLIBDIR}/../openh323/version.h presence" >&5
25971 echo $ECHO_N "checking ${PWLIBDIR}/../openh323/version.h presence... $ECHO_C" >&6; }
25972 cat >conftest.$ac_ext <<_ACEOF
25975 cat confdefs.h >>conftest.$ac_ext
25976 cat >>conftest.$ac_ext <<_ACEOF
25977 /* end confdefs.h. */
25978 #include <${PWLIBDIR}/../openh323/version.h>
25980 if { (ac_try="$ac_cpp conftest.$ac_ext"
25981 case "(($ac_try" in
25982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25983 *) ac_try_echo=$ac_try;;
25985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25988 grep -v '^
*+' conftest.er1 >conftest.err
25990 cat conftest.err >&5
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); } >/dev/null && {
25993 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25994 test ! -s conftest.err
25996 ac_header_preproc=yes
25998 echo "$as_me: failed program was:" >&5
25999 sed 's
/^
/|
/' conftest.$ac_ext >&5
26001 ac_header_preproc=no
26004 rm -f conftest.err conftest.$ac_ext
26005 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26006 echo "${ECHO_T}$ac_header_preproc" >&6; }
26008 # So? What about this header?
26009 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26011 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
26012 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26013 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: proceeding with the compiler's result
" >&5
26014 echo "$as_me: WARNING
: ${PWLIBDIR}/..
/openh323
/version.h
: proceeding with the compiler
's result" >&2;}
26015 ac_header_preproc=yes
26018 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: present but cannot be compiled" >&5
26019 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: present but cannot be compiled" >&2;}
26020 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: check for missing prerequisite headers?" >&5
26021 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: check for missing prerequisite headers?" >&2;}
26022 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: see the Autoconf documentation" >&5
26023 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: see the Autoconf documentation" >&2;}
26024 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: section \"Present But Cannot Be Compiled\"" >&5
26025 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
26026 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: proceeding with the preprocessor's result
" >&5
26027 echo "$as_me: WARNING
: ${PWLIBDIR}/..
/openh323
/version.h
: proceeding with the preprocessor
's result" >&2;}
26028 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: in the future, the compiler will take precedence" >&5
26029 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: in the future, the compiler will take precedence" >&2;}
26033 { echo "$as_me:$LINENO: checking for ${PWLIBDIR}/../openh323/version.h" >&5
26034 echo $ECHO_N "checking for ${PWLIBDIR}/../openh323/version.h... $ECHO_C" >&6; }
26035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26036 echo $ECHO_N "(cached) $ECHO_C" >&6
26038 eval "$as_ac_Header=\$ac_header_preproc"
26040 ac_res=`eval echo '${'$as_ac_Header'}'`
26041 { echo "$as_me:$LINENO: result: $ac_res" >&5
26042 echo "${ECHO_T}$ac_res" >&6; }
26045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26046 OPENH323DIR="${PWLIBDIR}/../openh323"; HAS_OPENH323=1
26050 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26051 OPENH323DIR="${PWLIBDIR}/../openh323"
26052 saved_cppflags="${CPPFLAGS}"
26053 CPPFLAGS="${CPPFLAGS} -I${PWLIB_INCDIR}/openh323 -I${PWLIB_INCDIR}"
26054 as_ac_Header=`echo "ac_cv_header_${OPENH323DIR}/include/h323.h" | $as_tr_sh`
26055 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/include/h323.h" >&5
26056 echo $ECHO_N "checking for ${OPENH323DIR}/include/h323.h... $ECHO_C" >&6; }
26057 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26058 echo $ECHO_N "(cached) $ECHO_C" >&6
26060 cat >conftest.$ac_ext <<_ACEOF
26063 cat confdefs.h >>conftest.$ac_ext
26064 cat >>conftest.$ac_ext <<_ACEOF
26065 /* end confdefs.h. */
26068 #include <${OPENH323DIR}/include/h323.h>
26070 rm -f conftest.$ac_objext
26071 if { (ac_try="$ac_compile"
26072 case "(($ac_try" in
26073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26074 *) ac_try_echo=$ac_try;;
26076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26077 (eval "$ac_compile") 2>conftest.er1
26079 grep -v '^
*+' conftest.er1 >conftest.err
26081 cat conftest.err >&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } && {
26084 test -z "$ac_cxx_werror_flag" ||
26085 test ! -s conftest.err
26086 } && test -s conftest.$ac_objext; then
26087 eval "$as_ac_Header=yes"
26089 echo "$as_me: failed program was:" >&5
26090 sed 's
/^
/|
/' conftest.$ac_ext >&5
26092 eval "$as_ac_Header=no"
26095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26097 ac_res=`eval echo '${'$as_ac_Header'}'`
26098 { echo "$as_me:$LINENO: result: $ac_res" >&5
26099 echo "${ECHO_T}$ac_res" >&6; }
26100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26103 OPENH323_INCDIR="${PWLIB_INCDIR}/openh323"; OPENH323_LIBDIR="${PWLIB_LIBDIR}"
26107 CPPFLAGS="${saved_cppflags}"
26109 saved_cppflags="${CPPFLAGS}"
26110 CPPFLAGS="${CPPFLAGS} -I${HOME}/openh323/include -I${PWLIB_INCDIR}"
26111 as_ac_Header=`echo "ac_cv_header_${HOME}/openh323/include/h323.h" | $as_tr_sh`
26112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26113 { echo "$as_me:$LINENO: checking for ${HOME}/openh323/include/h323.h" >&5
26114 echo $ECHO_N "checking for ${HOME}/openh323/include/h323.h... $ECHO_C" >&6; }
26115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26116 echo $ECHO_N "(cached) $ECHO_C" >&6
26118 ac_res=`eval echo '${'$as_ac_Header'}'`
26119 { echo "$as_me:$LINENO: result: $ac_res" >&5
26120 echo "${ECHO_T}$ac_res" >&6; }
26122 # Is the header compilable?
26123 { echo "$as_me:$LINENO: checking ${HOME}/openh323/include/h323.h usability" >&5
26124 echo $ECHO_N "checking ${HOME}/openh323/include/h323.h usability... $ECHO_C" >&6; }
26125 cat >conftest.$ac_ext <<_ACEOF
26128 cat confdefs.h >>conftest.$ac_ext
26129 cat >>conftest.$ac_ext <<_ACEOF
26130 /* end confdefs.h. */
26131 $ac_includes_default
26132 #include <${HOME}/openh323/include/h323.h>
26134 rm -f conftest.$ac_objext
26135 if { (ac_try="$ac_compile"
26136 case "(($ac_try" in
26137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26138 *) ac_try_echo=$ac_try;;
26140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26141 (eval "$ac_compile") 2>conftest.er1
26143 grep -v '^
*+' conftest.er1 >conftest.err
26145 cat conftest.err >&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } && {
26148 test -z "$ac_cxx_werror_flag" ||
26149 test ! -s conftest.err
26150 } && test -s conftest.$ac_objext; then
26151 ac_header_compiler=yes
26153 echo "$as_me: failed program was:" >&5
26154 sed 's
/^
/|
/' conftest.$ac_ext >&5
26156 ac_header_compiler=no
26159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26160 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26161 echo "${ECHO_T}$ac_header_compiler" >&6; }
26163 # Is the header present?
26164 { echo "$as_me:$LINENO: checking ${HOME}/openh323/include/h323.h presence" >&5
26165 echo $ECHO_N "checking ${HOME}/openh323/include/h323.h presence... $ECHO_C" >&6; }
26166 cat >conftest.$ac_ext <<_ACEOF
26169 cat confdefs.h >>conftest.$ac_ext
26170 cat >>conftest.$ac_ext <<_ACEOF
26171 /* end confdefs.h. */
26172 #include <${HOME}/openh323/include/h323.h>
26174 if { (ac_try="$ac_cpp conftest.$ac_ext"
26175 case "(($ac_try" in
26176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26177 *) ac_try_echo=$ac_try;;
26179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26182 grep -v '^
*+' conftest.er1 >conftest.err
26184 cat conftest.err >&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } >/dev/null && {
26187 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26188 test ! -s conftest.err
26190 ac_header_preproc=yes
26192 echo "$as_me: failed program was:" >&5
26193 sed 's
/^
/|
/' conftest.$ac_ext >&5
26195 ac_header_preproc=no
26198 rm -f conftest.err conftest.$ac_ext
26199 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26200 echo "${ECHO_T}$ac_header_preproc" >&6; }
26202 # So? What about this header?
26203 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26205 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: accepted by the compiler, rejected by the preprocessor!" >&5
26206 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26207 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: proceeding with the compiler's result
" >&5
26208 echo "$as_me: WARNING
: ${HOME}/openh323
/include
/h323.h
: proceeding with the compiler
's result" >&2;}
26209 ac_header_preproc=yes
26212 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: present but cannot be compiled" >&5
26213 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: present but cannot be compiled" >&2;}
26214 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: check for missing prerequisite headers?" >&5
26215 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: check for missing prerequisite headers?" >&2;}
26216 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: see the Autoconf documentation" >&5
26217 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: see the Autoconf documentation" >&2;}
26218 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: section \"Present But Cannot Be Compiled\"" >&5
26219 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: section \"Present But Cannot Be Compiled\"" >&2;}
26220 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: proceeding with the preprocessor's result
" >&5
26221 echo "$as_me: WARNING
: ${HOME}/openh323
/include
/h323.h
: proceeding with the preprocessor
's result" >&2;}
26222 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: in the future, the compiler will take precedence" >&5
26223 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: in the future, the compiler will take precedence" >&2;}
26227 { echo "$as_me:$LINENO: checking for ${HOME}/openh323/include/h323.h" >&5
26228 echo $ECHO_N "checking for ${HOME}/openh323/include/h323.h... $ECHO_C" >&6; }
26229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26230 echo $ECHO_N "(cached) $ECHO_C" >&6
26232 eval "$as_ac_Header=\$ac_header_preproc"
26234 ac_res=`eval echo '${'$as_ac_Header'}'`
26235 { echo "$as_me:$LINENO: result: $ac_res" >&5
26236 echo "${ECHO_T}$ac_res" >&6; }
26239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26244 CPPFLAGS="${saved_cppflags}"
26245 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26246 OPENH323DIR="${HOME}/openh323"
26248 saved_cppflags="${CPPFLAGS}"
26249 CPPFLAGS="${CPPFLAGS} -I/usr/local/include/openh323 -I${PWLIB_INCDIR}"
26250 if test "${ac_cv_header__usr_local_include_openh323_h323_h+set}" = set; then
26251 { echo "$as_me:$LINENO: checking for /usr/local/include/openh323/h323.h" >&5
26252 echo $ECHO_N "checking for /usr/local/include/openh323/h323.h... $ECHO_C" >&6; }
26253 if test "${ac_cv_header__usr_local_include_openh323_h323_h+set}" = set; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26256 { echo "$as_me:$LINENO: result: $ac_cv_header__usr_local_include_openh323_h323_h" >&5
26257 echo "${ECHO_T}$ac_cv_header__usr_local_include_openh323_h323_h" >&6; }
26259 # Is the header compilable?
26260 { echo "$as_me:$LINENO: checking /usr/local/include/openh323/h323.h usability" >&5
26261 echo $ECHO_N "checking /usr/local/include/openh323/h323.h usability... $ECHO_C" >&6; }
26262 cat >conftest.$ac_ext <<_ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26268 $ac_includes_default
26269 #include </usr/local/include/openh323/h323.h>
26271 rm -f conftest.$ac_objext
26272 if { (ac_try="$ac_compile"
26273 case "(($ac_try" in
26274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26275 *) ac_try_echo=$ac_try;;
26277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26278 (eval "$ac_compile") 2>conftest.er1
26280 grep -v '^
*+' conftest.er1 >conftest.err
26282 cat conftest.err >&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); } && {
26285 test -z "$ac_cxx_werror_flag" ||
26286 test ! -s conftest.err
26287 } && test -s conftest.$ac_objext; then
26288 ac_header_compiler=yes
26290 echo "$as_me: failed program was:" >&5
26291 sed 's
/^
/|
/' conftest.$ac_ext >&5
26293 ac_header_compiler=no
26296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26298 echo "${ECHO_T}$ac_header_compiler" >&6; }
26300 # Is the header present?
26301 { echo "$as_me:$LINENO: checking /usr/local/include/openh323/h323.h presence" >&5
26302 echo $ECHO_N "checking /usr/local/include/openh323/h323.h presence... $ECHO_C" >&6; }
26303 cat >conftest.$ac_ext <<_ACEOF
26306 cat confdefs.h >>conftest.$ac_ext
26307 cat >>conftest.$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26309 #include </usr/local/include/openh323/h323.h>
26311 if { (ac_try="$ac_cpp conftest.$ac_ext"
26312 case "(($ac_try" in
26313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26314 *) ac_try_echo=$ac_try;;
26316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26319 grep -v '^
*+' conftest.er1 >conftest.err
26321 cat conftest.err >&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } >/dev/null && {
26324 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26325 test ! -s conftest.err
26327 ac_header_preproc=yes
26329 echo "$as_me: failed program was:" >&5
26330 sed 's
/^
/|
/' conftest.$ac_ext >&5
26332 ac_header_preproc=no
26335 rm -f conftest.err conftest.$ac_ext
26336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26337 echo "${ECHO_T}$ac_header_preproc" >&6; }
26339 # So? What about this header?
26340 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26342 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: accepted by the compiler, rejected by the preprocessor!" >&5
26343 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26344 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: proceeding with the compiler's result
" >&5
26345 echo "$as_me: WARNING
: /usr
/local
/include
/openh323
/h323.h
: proceeding with the compiler
's result" >&2;}
26346 ac_header_preproc=yes
26349 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: present but cannot be compiled" >&5
26350 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: present but cannot be compiled" >&2;}
26351 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: check for missing prerequisite headers?" >&5
26352 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: check for missing prerequisite headers?" >&2;}
26353 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: see the Autoconf documentation" >&5
26354 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: see the Autoconf documentation" >&2;}
26355 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: section \"Present But Cannot Be Compiled\"" >&5
26356 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: section \"Present But Cannot Be Compiled\"" >&2;}
26357 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: proceeding with the preprocessor's result
" >&5
26358 echo "$as_me: WARNING
: /usr
/local
/include
/openh323
/h323.h
: proceeding with the preprocessor
's result" >&2;}
26359 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: in the future, the compiler will take precedence" >&5
26360 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: in the future, the compiler will take precedence" >&2;}
26364 { echo "$as_me:$LINENO: checking for /usr/local/include/openh323/h323.h" >&5
26365 echo $ECHO_N "checking for /usr/local/include/openh323/h323.h... $ECHO_C" >&6; }
26366 if test "${ac_cv_header__usr_local_include_openh323_h323_h+set}" = set; then
26367 echo $ECHO_N "(cached) $ECHO_C" >&6
26369 ac_cv_header__usr_local_include_openh323_h323_h=$ac_header_preproc
26371 { echo "$as_me:$LINENO: result: $ac_cv_header__usr_local_include_openh323_h323_h" >&5
26372 echo "${ECHO_T}$ac_cv_header__usr_local_include_openh323_h323_h" >&6; }
26375 if test $ac_cv_header__usr_local_include_openh323_h323_h = yes; then
26380 CPPFLAGS="${saved_cppflags}"
26381 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26382 OPENH323DIR="/usr/local/share/openh323"
26383 OPENH323_INCDIR="/usr/local/include/openh323"
26384 if test "x$LIB64" != "x"; then
26385 OPENH323_LIBDIR="/usr/local/lib64"
26387 OPENH323_LIBDIR="/usr/local/lib"
26390 saved_cppflags="${CPPFLAGS}"
26391 CPPFLAGS="${CPPFLAGS} -I/usr/include/openh323 -I${PWLIB_INCDIR}"
26392 { echo "$as_me:$LINENO: checking for /usr/include/openh323/h323.h" >&5
26393 echo $ECHO_N "checking for /usr/include/openh323/h323.h... $ECHO_C" >&6; }
26394 if test "${ac_cv_header__usr_include_openh323_h323_h+set}" = set; then
26395 echo $ECHO_N "(cached) $ECHO_C" >&6
26397 cat >conftest.$ac_ext <<_ACEOF
26400 cat confdefs.h >>conftest.$ac_ext
26401 cat >>conftest.$ac_ext <<_ACEOF
26402 /* end confdefs.h. */
26405 #include </usr/include/openh323/h323.h>
26407 rm -f conftest.$ac_objext
26408 if { (ac_try="$ac_compile"
26409 case "(($ac_try" in
26410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26411 *) ac_try_echo=$ac_try;;
26413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26414 (eval "$ac_compile") 2>conftest.er1
26416 grep -v '^
*+' conftest.er1 >conftest.err
26418 cat conftest.err >&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } && {
26421 test -z "$ac_cxx_werror_flag" ||
26422 test ! -s conftest.err
26423 } && test -s conftest.$ac_objext; then
26424 ac_cv_header__usr_include_openh323_h323_h=yes
26426 echo "$as_me: failed program was:" >&5
26427 sed 's
/^
/|
/' conftest.$ac_ext >&5
26429 ac_cv_header__usr_include_openh323_h323_h=no
26432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26434 { echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_openh323_h323_h" >&5
26435 echo "${ECHO_T}$ac_cv_header__usr_include_openh323_h323_h" >&6; }
26436 if test $ac_cv_header__usr_include_openh323_h323_h = yes; then
26441 CPPFLAGS="${saved_cppflags}"
26442 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26443 OPENH323DIR="/usr/share/openh323"
26444 OPENH323_INCDIR="/usr/include/openh323"
26445 if test "x$LIB64" != "x"; then
26446 OPENH323_LIBDIR="/usr/lib64"
26448 OPENH323_LIBDIR="/usr/lib"
26456 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26457 if test "${OPENH323_INCDIR:-unset}" = "unset"; then
26458 OPENH323_INCDIR="${OPENH323DIR}/include"
26460 if test "${OPENH323_LIBDIR:-unset}" = "unset"; then
26461 OPENH323_LIBDIR="${OPENH323DIR}/lib"
26464 OPENH323_LIBDIR="`cd ${OPENH323_LIBDIR}; pwd`"
26465 OPENH323_INCDIR="`cd ${OPENH323_INCDIR}; pwd`"
26466 OPENH323DIR="`cd ${OPENH323DIR}; pwd`"
26473 ac_cpp='$CPP $CPPFLAGS'
26474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26475 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26480 if test "${HAS_OPENH323:-unset}" != "unset"; then
26481 OPENH323_VERSION=`grep "OPENH323_VERSION" ${OPENH323_INCDIR}/openh323buildopts.h | cut -f2 -d ' ' | sed -e 's
/"//g'`
26482 OPENH323_MAJOR_VERSION=`echo ${OPENH323_VERSION} | cut -f1 -d.`
26483 OPENH323_MINOR_VERSION=`echo ${OPENH323_VERSION} | cut -f2 -d.`
26484 OPENH323_BUILD_NUMBER=`echo ${OPENH323_VERSION} | cut -f3 -d.`
26485 let OPENH323_VER=${OPENH323_MAJOR_VERSION}*10000+${OPENH323_MINOR_VERSION}*100+${OPENH323_BUILD_NUMBER}
26486 let OPENH323_REQ=1*10000+17*100+3
26488 { echo "$as_me:$LINENO: checking
if OpenH323 version
${OPENH323_VERSION} is compatible with chan_h323
" >&5
26489 echo $ECHO_N "checking
if OpenH323 version
${OPENH323_VERSION} is compatible with chan_h323...
$ECHO_C" >&6; }
26490 if test ${OPENH323_VER} -lt ${OPENH323_REQ}; then
26491 { echo "$as_me:$LINENO: result
: no
" >&5
26492 echo "${ECHO_T}no
" >&6; }
26495 { echo "$as_me:$LINENO: result
: yes" >&5
26496 echo "${ECHO_T}yes" >&6; }
26501 if test "${HAS_OPENH323:-unset}" != "unset"; then
26502 { echo "$as_me:$LINENO: checking OpenH323 build option
" >&5
26503 echo $ECHO_N "checking OpenH323 build option...
$ECHO_C" >&6; }
26505 prefixes="h323_
${PWLIB_PLATFORM}_ h323_ openh323
"
26506 for pfx in $prefixes; do
26507 files=`ls -l ${OPENH323_LIBDIR}/lib${pfx}*.so* 2>/dev/null`
26509 if test -n "$files"; then
26510 for f in $files; do
26511 if test -f $f -a ! -L $f; then
26512 libfile=`basename $f`
26517 if test -n "$libfile"; then
26518 OPENH323_PREFIX=$pfx
26522 if test "${libfile:-unset}" != "unset"; then
26523 OPENH323_SUFFIX=`eval "echo ${libfile} |
sed -e 's/lib${OPENH323_PREFIX}\([^.]*\)\..*/\1/'"`
26525 case "${OPENH323_SUFFIX}" in
26527 OPENH323_BUILD="notrace
";;
26529 OPENH323_BUILD="opt
";;
26531 OPENH323_BUILD="debug
";;
26533 if test "${OPENH323_PREFIX:-undef}" = "openh323
"; then
26534 notrace=`eval "grep NOTRACE
${OPENH323DIR}/openh323u.mak |
grep = |
sed -e 's/[A-Z0-9_]*[ ]*=[ ]*//'"`
26535 if test "x
$notrace" = "x
"; then
26538 if test "$notrace" -ne 0; then
26539 OPENH323_BUILD="notrace
"
26541 OPENH323_BUILD="opt
"
26543 OPENH323_LIB="-l${OPENH323_PREFIX}"
26545 OPENH323_BUILD="notrace
"
26549 { echo "$as_me:$LINENO: result
: ${OPENH323_BUILD}" >&5
26550 echo "${ECHO_T}${OPENH323_BUILD}" >&6; }
26556 PLATFORM_OPENH323
="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
26558 if test "${HAS_OPENH323:-unset}" != "unset"; then
26559 { echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5
26560 echo $ECHO_N "checking OpenH323 installation validity... $ECHO_C" >&6; }
26562 saved_cppflags
="${CPPFLAGS}"
26563 saved_libs
="${LIBS}"
26564 if test "${OPENH323_LIB:-unset}" != "unset"; then
26565 LIBS
="${LIBS} ${OPENH323_LIB} ${PWLIB_LIB}"
26567 LIBS
="${LIBS} -L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323} ${PWLIB_LIB}"
26569 CPPFLAGS
="${CPPFLAGS} -I${OPENH323_INCDIR} ${PWLIB_INCLUDE}"
26572 ac_cpp
='$CXXCPP $CPPFLAGS'
26573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26578 cat >conftest.
$ac_ext <<_ACEOF
26581 cat confdefs.h
>>conftest.
$ac_ext
26582 cat >>conftest.
$ac_ext <<_ACEOF
26583 /* end confdefs.h. */
26586 #include "h323ep.h"
26590 H323EndPoint ep = H323EndPoint();
26595 rm -f conftest.
$ac_objext conftest
$ac_exeext
26596 if { (ac_try
="$ac_link"
26597 case "(($ac_try" in
26598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26599 *) ac_try_echo=$ac_try;;
26601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26602 (eval "$ac_link") 2>conftest.er1
26604 grep -v '^ *+' conftest.er1 >conftest.err
26606 cat conftest.err >&5
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); } && {
26609 test -z "$ac_cxx_werror_flag" ||
26610 test ! -s conftest.err
26611 } && test -s conftest$ac_exeext &&
26612 $as_test_x conftest$ac_exeext; then
26613 { echo "$as_me:$LINENO: result: yes" >&5
26614 echo "${ECHO_T}yes" >&6; }
26615 ac_cv_lib_OPENH323="yes"
26618 echo "$as_me: failed program was:" >&5
26619 sed 's/^/| /' conftest.$ac_ext >&5
26621 { echo "$as_me:$LINENO: result: no" >&5
26622 echo "${ECHO_T}no" >&6; }
26623 ac_cv_lib_OPENH323="no"
26628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26629 conftest$ac_exeext conftest.$ac_ext
26632 ac_cpp='$CPP $CPPFLAGS'
26633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26638 LIBS="${saved_libs}"
26639 CPPFLAGS="${saved_cppflags}"
26641 if test "${ac_cv_lib_OPENH323}" = "yes"; then
26642 if test "${OPENH323_LIB:-undef}" = "undef"; then
26643 if test "${OPENH323_LIBDIR}" != "" -a "${OPENH323_LIBDIR}" != "/usr/lib"; then
26644 OPENH323_LIB="-L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323}"
26646 OPENH323_LIB="-l${PLATFORM_OPENH323}"
26649 if test "${OPENH323_INCDIR}" != "" -a "${OPENH323_INCDIR}" != "/usr/include"; then
26650 OPENH323_INCLUDE="-I${OPENH323_INCDIR}"
26654 cat >>confdefs.h <<\_ACEOF
26655 #define HAVE_OPENH323 1
26662 if test "${USE_OPENH323}" != "no" -a "x${ac_cv_lib_OPENH323}" != "xyes" -a -n "${OPENH323_MANDATORY}"; then
26663 { echo "$as_me:$LINENO: ***" >&5
26664 echo "$as_me: ***" >&6;}
26665 { echo "$as_me:$LINENO: *** The OPENH323 installation on this system appears to be broken." >&5
26666 echo "$as_me: *** The OPENH323 installation on this system appears to be broken." >&6;}
26667 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
26668 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
26669 { echo "$as_me:$LINENO: *** including --without-h323" >&5
26670 echo "$as_me: *** including --without-h323" >&6;}
26676 ac_cpp='$CXXCPP $CPPFLAGS'
26677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26682 if test "${USE_QT}" != "no"; then
26683 { echo "$as_me:$LINENO: checking for QDate in -lqt" >&5
26684 echo $ECHO_N "checking for QDate in -lqt... $ECHO_C" >&6; }
26685 saved_libs="${LIBS}"
26686 saved_cppflags="${CPPFLAGS}"
26687 if test "x${QT_DIR}" != "x"; then
26688 LIBS="${LIBS} -L${QT_DIR}/lib"
26689 CPPFLAGS="${CPPFLAGS} -I${QT_DIR}/include"
26691 LIBS="${LIBS} -lqt"
26693 cat >conftest.$ac_ext <<_ACEOF
26697 cat confdefs.h >>conftest.$ac_ext
26698 cat >>conftest.$ac_ext <<_ACEOF
26699 /* end confdefs.h. */
26700 #include <qt3/qdatetime.h>
26710 rm -f conftest.$ac_objext conftest$ac_exeext
26711 if { (ac_try="$ac_link"
26712 case "(($ac_try" in
26713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26714 *) ac_try_echo
=$ac_try;;
26716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26717 (eval "$ac_link") 2>conftest.er1
26719 grep -v '^ *+' conftest.er1
>conftest.err
26721 cat conftest.err
>&5
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); } && {
26724 test -z "$ac_cxx_werror_flag" ||
26725 test ! -s conftest.err
26726 } && test -s conftest
$ac_exeext &&
26727 $as_test_x conftest
$ac_exeext; then
26728 ac_cv_lib_qt_qt_date
="yes"
26730 echo "$as_me: failed program was:" >&5
26731 sed 's/^/| /' conftest.
$ac_ext >&5
26733 ac_cv_lib_qt_qt_date
="no"
26736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26737 conftest
$ac_exeext conftest.
$ac_ext
26738 LIBS
="${saved_libs}"
26739 CPPFLAGS
="${saved_cppflags}"
26741 if test "${ac_cv_lib_qt_qt_date}" = "no"; then
26742 saved_libs
="${LIBS}"
26743 saved_cppflags
="${CPPFLAGS}"
26744 if test "x${QT_DIR}" != "x"; then
26745 LIBS
="${LIBS} -L${QT_DIR}/lib"
26746 CPPFLAGS
="${CPPFLAGS} -I${QT_DIR}/include"
26748 LIBS
="${LIBS} -lqt-mt"
26750 cat >conftest.
$ac_ext <<_ACEOF
26754 cat confdefs.h
>>conftest.
$ac_ext
26755 cat >>conftest.
$ac_ext <<_ACEOF
26756 /* end confdefs.h. */
26757 #include <qt3/qdatetime.h>
26767 rm -f conftest.
$ac_objext conftest
$ac_exeext
26768 if { (ac_try
="$ac_link"
26769 case "(($ac_try" in
26770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26771 *) ac_try_echo=$ac_try;;
26773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26774 (eval "$ac_link") 2>conftest.er1
26776 grep -v '^ *+' conftest.er1 >conftest.err
26778 cat conftest.err >&5
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); } && {
26781 test -z "$ac_cxx_werror_flag" ||
26782 test ! -s conftest.err
26783 } && test -s conftest$ac_exeext &&
26784 $as_test_x conftest$ac_exeext; then
26785 ac_cv_lib_qt_qt_date="yes"
26787 echo "$as_me: failed program was:" >&5
26788 sed 's/^/| /' conftest.$ac_ext >&5
26790 ac_cv_lib_qt_qt_date="no"
26793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26794 conftest$ac_exeext conftest.$ac_ext
26795 LIBS="${saved_libs}"
26796 CPPFLAGS="${saved_cppflags}"
26799 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
26800 { echo "$as_me:$LINENO: result: yes" >&5
26801 echo "${ECHO_T}yes" >&6; }
26803 { echo "$as_me:$LINENO: result: no" >&5
26804 echo "${ECHO_T}no" >&6; }
26807 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
26808 QT_LIB="-l${qtlib}"
26809 if test "${QT_DIR}" != ""; then
26810 QT_LIB="-L${QT_DIR}/lib ${QT_LIB}"
26811 QT_INCLUDE="-I${QT_DIR}/include"
26815 cat >>confdefs.h <<\_ACEOF
26819 if test -n "$ac_tool_prefix"; then
26820 # Extract the first word of "${ac_tool_prefix}moc", so it can be a program name with args.
26821 set dummy ${ac_tool_prefix}moc; ac_word=$2
26822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26824 if test "${ac_cv_path_QTMOC+set}" = set; then
26825 echo $ECHO_N "(cached) $ECHO_C" >&6
26829 ac_cv_path_QTMOC="$QTMOC" # Let the user override the test with a path.
26832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26833 for as_dir in $PATH
26836 test -z "$as_dir" && as_dir=.
26837 for ac_exec_ext in '' $ac_executable_extensions; do
26838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26839 ac_cv_path_QTMOC="$as_dir/$ac_word$ac_exec_ext"
26840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26850 QTMOC=$ac_cv_path_QTMOC
26851 if test -n "$QTMOC"; then
26852 { echo "$as_me:$LINENO: result: $QTMOC" >&5
26853 echo "${ECHO_T}$QTMOC" >&6; }
26855 { echo "$as_me:$LINENO: result: no" >&5
26856 echo "${ECHO_T}no" >&6; }
26861 if test -z "$ac_cv_path_QTMOC"; then
26863 # Extract the first word of "moc", so it can be a program name with args.
26864 set dummy moc; ac_word=$2
26865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26867 if test "${ac_cv_path_ac_pt_QTMOC+set}" = set; then
26868 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 case $ac_pt_QTMOC in
26872 ac_cv_path_ac_pt_QTMOC="$ac_pt_QTMOC" # Let the user override the test with a path.
26875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26876 for as_dir in $PATH
26879 test -z "$as_dir" && as_dir=.
26880 for ac_exec_ext in '' $ac_executable_extensions; do
26881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26882 ac_cv_path_ac_pt_QTMOC="$as_dir/$ac_word$ac_exec_ext"
26883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26893 ac_pt_QTMOC=$ac_cv_path_ac_pt_QTMOC
26894 if test -n "$ac_pt_QTMOC"; then
26895 { echo "$as_me:$LINENO: result: $ac_pt_QTMOC" >&5
26896 echo "${ECHO_T}$ac_pt_QTMOC" >&6; }
26898 { echo "$as_me:$LINENO: result: no" >&5
26899 echo "${ECHO_T}no" >&6; }
26902 if test "x$ac_pt_QTMOC" = x; then
26905 case $cross_compiling:$ac_tool_warned in
26907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26908 whose name does not start with the host triplet. If you think this
26909 configuration is useful to you, please write to autoconf@gnu.org." >&5
26910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26911 whose name does not start with the host triplet. If you think this
26912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26913 ac_tool_warned=yes ;;
26918 QTMOC="$ac_cv_path_QTMOC"
26921 elif test -n "${QT_MANDATORY}";
26923 { echo "$as_me:$LINENO: ***" >&5
26924 echo "$as_me: ***" >&6;}
26925 { echo "$as_me:$LINENO: *** The Qt installation on this system appears to be broken." >&5
26926 echo "$as_me: *** The Qt installation on this system appears to be broken." >&6;}
26927 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
26928 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
26929 { echo "$as_me:$LINENO: *** including --without-qt." >&5
26930 echo "$as_me: *** including --without-qt." >&6;}
26936 ac_cpp='$CPP $CPPFLAGS'
26937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26943 if test "${USE_RADIUS}" != "no"; then
26945 if test "x${RADIUS_DIR}" != "x"; then
26946 if test -d ${RADIUS_DIR}/lib; then
26947 pbxlibdir="-L${RADIUS_DIR}/lib"
26949 pbxlibdir="-L${RADIUS_DIR}"
26952 { echo "$as_me:$LINENO: checking for rc_read_config in -lradiusclient-ng" >&5
26953 echo $ECHO_N "checking for rc_read_config in -lradiusclient-ng... $ECHO_C" >&6; }
26954 if test "${ac_cv_lib_radiusclient_ng_rc_read_config+set}" = set; then
26955 echo $ECHO_N "(cached) $ECHO_C" >&6
26957 ac_check_lib_save_LIBS=$LIBS
26958 LIBS="-lradiusclient-ng ${pbxlibdir} $LIBS"
26959 cat >conftest.$ac_ext <<_ACEOF
26962 cat confdefs.h >>conftest.$ac_ext
26963 cat >>conftest.$ac_ext <<_ACEOF
26964 /* end confdefs.h. */
26966 /* Override any GCC internal prototype to avoid an error.
26967 Use char because int might match the return type of a GCC
26968 builtin and then its argument prototype would still apply. */
26972 char rc_read_config ();
26976 return rc_read_config ();
26981 rm -f conftest.$ac_objext conftest$ac_exeext
26982 if { (ac_try="$ac_link"
26983 case "(($ac_try" in
26984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26985 *) ac_try_echo
=$ac_try;;
26987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26988 (eval "$ac_link") 2>conftest.er1
26990 grep -v '^ *+' conftest.er1
>conftest.err
26992 cat conftest.err
>&5
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); } && {
26995 test -z "$ac_c_werror_flag" ||
26996 test ! -s conftest.err
26997 } && test -s conftest
$ac_exeext &&
26998 $as_test_x conftest
$ac_exeext; then
26999 ac_cv_lib_radiusclient_ng_rc_read_config
=yes
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.
$ac_ext >&5
27004 ac_cv_lib_radiusclient_ng_rc_read_config
=no
27007 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27008 conftest
$ac_exeext conftest.
$ac_ext
27009 LIBS
=$ac_check_lib_save_LIBS
27011 { echo "$as_me:$LINENO: result: $ac_cv_lib_radiusclient_ng_rc_read_config" >&5
27012 echo "${ECHO_T}$ac_cv_lib_radiusclient_ng_rc_read_config" >&6; }
27013 if test $ac_cv_lib_radiusclient_ng_rc_read_config = yes; then
27014 AST_RADIUS_FOUND
=yes
27016 AST_RADIUS_FOUND
=no
27020 if test "${AST_RADIUS_FOUND}" = "yes"; then
27021 RADIUS_LIB
="-lradiusclient-ng "
27022 RADIUS_HEADER_FOUND
="1"
27023 if test "x${RADIUS_DIR}" != "x"; then
27024 RADIUS_LIB
="${pbxlibdir} ${RADIUS_LIB}"
27025 RADIUS_INCLUDE
="-I${RADIUS_DIR}/include"
27026 saved_cppflags
="${CPPFLAGS}"
27027 CPPFLAGS
="${CPPFLAGS} -I${RADIUS_DIR}/include"
27028 if test "xradiusclient-ng.h" != "x" ; then
27029 as_ac_Header
=`echo "ac_cv_header_${RADIUS_DIR}/include/radiusclient-ng.h" | $as_tr_sh`
27030 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27031 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
27032 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
27033 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27034 echo $ECHO_N "(cached) $ECHO_C" >&6
27036 ac_res
=`eval echo '${'$as_ac_Header'}'`
27037 { echo "$as_me:$LINENO: result: $ac_res" >&5
27038 echo "${ECHO_T}$ac_res" >&6; }
27040 # Is the header compilable?
27041 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h usability" >&5
27042 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h usability... $ECHO_C" >&6; }
27043 cat >conftest.
$ac_ext <<_ACEOF
27046 cat confdefs.h
>>conftest.
$ac_ext
27047 cat >>conftest.
$ac_ext <<_ACEOF
27048 /* end confdefs.h. */
27049 $ac_includes_default
27050 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
27052 rm -f conftest.
$ac_objext
27053 if { (ac_try
="$ac_compile"
27054 case "(($ac_try" in
27055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27056 *) ac_try_echo=$ac_try;;
27058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27059 (eval "$ac_compile") 2>conftest.er1
27061 grep -v '^ *+' conftest.er1 >conftest.err
27063 cat conftest.err >&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); } && {
27066 test -z "$ac_c_werror_flag" ||
27067 test ! -s conftest.err
27068 } && test -s conftest.$ac_objext; then
27069 ac_header_compiler=yes
27071 echo "$as_me: failed program was:" >&5
27072 sed 's/^/| /' conftest.$ac_ext >&5
27074 ac_header_compiler=no
27077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27078 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27079 echo "${ECHO_T}$ac_header_compiler" >&6; }
27081 # Is the header present?
27082 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h presence" >&5
27083 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h presence... $ECHO_C" >&6; }
27084 cat >conftest.$ac_ext <<_ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27090 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
27092 if { (ac_try="$ac_cpp conftest.$ac_ext"
27093 case "(($ac_try" in
27094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27095 *) ac_try_echo
=$ac_try;;
27097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27100 grep -v '^ *+' conftest.er1
>conftest.err
27102 cat conftest.err
>&5
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); } >/dev
/null
&& {
27105 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27106 test ! -s conftest.err
27108 ac_header_preproc
=yes
27110 echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.
$ac_ext >&5
27113 ac_header_preproc
=no
27116 rm -f conftest.err conftest.
$ac_ext
27117 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27118 echo "${ECHO_T}$ac_header_preproc" >&6; }
27120 # So? What about this header?
27121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27123 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
27124 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27125 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the compiler's result" >&5
27126 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the compiler's result" >&2;}
27127 ac_header_preproc
=yes
27130 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&5
27131 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&2;}
27132 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&5
27133 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
27134 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&5
27135 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&2;}
27136 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
27137 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
27138 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the preprocessor's result" >&5
27139 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the preprocessor's result" >&2;}
27140 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&5
27141 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
27145 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
27146 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
27147 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 eval "$as_ac_Header=\$ac_header_preproc"
27152 ac_res
=`eval echo '${'$as_ac_Header'}'`
27153 { echo "$as_me:$LINENO: result: $ac_res" >&5
27154 echo "${ECHO_T}$ac_res" >&6; }
27157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27158 RADIUS_HEADER_FOUND
=1
27160 RADIUS_HEADER_FOUND
=0
27165 CPPFLAGS
="${saved_cppflags}"
27167 if test "xradiusclient-ng.h" != "x" ; then
27168 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
27169 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
27170 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
27171 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
27175 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
27177 # Is the header compilable?
27178 { echo "$as_me:$LINENO: checking radiusclient-ng.h usability" >&5
27179 echo $ECHO_N "checking radiusclient-ng.h usability... $ECHO_C" >&6; }
27180 cat >conftest.
$ac_ext <<_ACEOF
27183 cat confdefs.h
>>conftest.
$ac_ext
27184 cat >>conftest.
$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186 $ac_includes_default
27187 #include <radiusclient-ng.h>
27189 rm -f conftest.
$ac_objext
27190 if { (ac_try
="$ac_compile"
27191 case "(($ac_try" in
27192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27193 *) ac_try_echo=$ac_try;;
27195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27196 (eval "$ac_compile") 2>conftest.er1
27198 grep -v '^ *+' conftest.er1 >conftest.err
27200 cat conftest.err >&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } && {
27203 test -z "$ac_c_werror_flag" ||
27204 test ! -s conftest.err
27205 } && test -s conftest.$ac_objext; then
27206 ac_header_compiler=yes
27208 echo "$as_me: failed program was:" >&5
27209 sed 's/^/| /' conftest.$ac_ext >&5
27211 ac_header_compiler=no
27214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27215 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27216 echo "${ECHO_T}$ac_header_compiler" >&6; }
27218 # Is the header present?
27219 { echo "$as_me:$LINENO: checking radiusclient-ng.h presence" >&5
27220 echo $ECHO_N "checking radiusclient-ng.h presence... $ECHO_C" >&6; }
27221 cat >conftest.$ac_ext <<_ACEOF
27224 cat confdefs.h >>conftest.$ac_ext
27225 cat >>conftest.$ac_ext <<_ACEOF
27226 /* end confdefs.h. */
27227 #include <radiusclient-ng.h>
27229 if { (ac_try="$ac_cpp conftest.$ac_ext"
27230 case "(($ac_try" in
27231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27232 *) ac_try_echo
=$ac_try;;
27234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27237 grep -v '^ *+' conftest.er1
>conftest.err
27239 cat conftest.err
>&5
27240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27241 (exit $ac_status); } >/dev
/null
&& {
27242 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27243 test ! -s conftest.err
27245 ac_header_preproc
=yes
27247 echo "$as_me: failed program was:" >&5
27248 sed 's/^/| /' conftest.
$ac_ext >&5
27250 ac_header_preproc
=no
27253 rm -f conftest.err conftest.
$ac_ext
27254 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27255 echo "${ECHO_T}$ac_header_preproc" >&6; }
27257 # So? What about this header?
27258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27260 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
27261 echo "$as_me: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27262 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the compiler's result" >&5
27263 echo "$as_me: WARNING: radiusclient-ng.h: proceeding with the compiler's result" >&2;}
27264 ac_header_preproc
=yes
27267 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: present but cannot be compiled" >&5
27268 echo "$as_me: WARNING: radiusclient-ng.h: present but cannot be compiled" >&2;}
27269 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&5
27270 echo "$as_me: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
27271 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&5
27272 echo "$as_me: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&2;}
27273 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
27274 echo "$as_me: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
27275 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the preprocessor's result" >&5
27276 echo "$as_me: WARNING: radiusclient-ng.h: proceeding with the preprocessor's result" >&2;}
27277 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&5
27278 echo "$as_me: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
27282 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
27283 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
27284 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
27285 echo $ECHO_N "(cached) $ECHO_C" >&6
27287 ac_cv_header_radiusclient_ng_h
=$ac_header_preproc
27289 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
27290 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
27293 if test $ac_cv_header_radiusclient_ng_h = yes; then
27294 RADIUS_HEADER_FOUND
=1
27296 RADIUS_HEADER_FOUND
=0
27302 if test "x${RADIUS_HEADER_FOUND}" = "x0" ; then
27303 if test -n "${RADIUS_MANDATORY}" ;
27305 { echo "$as_me:$LINENO: ***" >&5
27306 echo "$as_me: ***" >&6;}
27307 { echo "$as_me:$LINENO: *** It appears that you do not have the radiusclient-ng development package installed." >&5
27308 echo "$as_me: *** It appears that you do not have the radiusclient-ng development package installed." >&6;}
27309 { echo "$as_me:$LINENO: *** Please install it to include ${RADIUS_DESCRIP} support, or re-run configure" >&5
27310 echo "$as_me: *** Please install it to include ${RADIUS_DESCRIP} support, or re-run configure" >&6;}
27311 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
27312 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
27321 cat >>confdefs.h
<<_ACEOF
27322 #define HAVE_RADIUS 1
27326 elif test -n "${RADIUS_MANDATORY}";
27328 { echo "$as_me:$LINENO: ***" >&5
27329 echo "$as_me: ***" >&6;}
27330 { echo "$as_me:$LINENO: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&5
27331 echo "$as_me: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&6;}
27332 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
27333 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
27334 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
27335 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
27342 if test "${USE_SPEEX}" != "no"; then
27344 if test "x${SPEEX_DIR}" != "x"; then
27345 if test -d ${SPEEX_DIR}/lib
; then
27346 pbxlibdir
="-L${SPEEX_DIR}/lib"
27348 pbxlibdir
="-L${SPEEX_DIR}"
27351 { echo "$as_me:$LINENO: checking for speex_encode in -lspeex" >&5
27352 echo $ECHO_N "checking for speex_encode in -lspeex... $ECHO_C" >&6; }
27353 if test "${ac_cv_lib_speex_speex_encode+set}" = set; then
27354 echo $ECHO_N "(cached) $ECHO_C" >&6
27356 ac_check_lib_save_LIBS
=$LIBS
27357 LIBS
="-lspeex ${pbxlibdir} -lm $LIBS"
27358 cat >conftest.
$ac_ext <<_ACEOF
27361 cat confdefs.h
>>conftest.
$ac_ext
27362 cat >>conftest.
$ac_ext <<_ACEOF
27363 /* end confdefs.h. */
27365 /* Override any GCC internal prototype to avoid an error.
27366 Use char because int might match the return type of a GCC
27367 builtin and then its argument prototype would still apply. */
27371 char speex_encode ();
27375 return speex_encode ();
27380 rm -f conftest.
$ac_objext conftest
$ac_exeext
27381 if { (ac_try
="$ac_link"
27382 case "(($ac_try" in
27383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_link") 2>conftest.er1
27389 grep -v '^ *+' conftest.er1 >conftest.err
27391 cat conftest.err >&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } && {
27394 test -z "$ac_c_werror_flag" ||
27395 test ! -s conftest.err
27396 } && test -s conftest$ac_exeext &&
27397 $as_test_x conftest$ac_exeext; then
27398 ac_cv_lib_speex_speex_encode=yes
27400 echo "$as_me: failed program was:" >&5
27401 sed 's/^/| /' conftest.$ac_ext >&5
27403 ac_cv_lib_speex_speex_encode=no
27406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27407 conftest$ac_exeext conftest.$ac_ext
27408 LIBS=$ac_check_lib_save_LIBS
27410 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode" >&5
27411 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode" >&6; }
27412 if test $ac_cv_lib_speex_speex_encode = yes; then
27413 AST_SPEEX_FOUND=yes
27419 if test "${AST_SPEEX_FOUND}" = "yes"; then
27420 SPEEX_LIB="-lspeex -lm"
27421 SPEEX_HEADER_FOUND="1"
27422 if test "x${SPEEX_DIR}" != "x"; then
27423 SPEEX_LIB="${pbxlibdir} ${SPEEX_LIB}"
27424 SPEEX_INCLUDE="-I${SPEEX_DIR}/include"
27425 saved_cppflags="${CPPFLAGS}"
27426 CPPFLAGS="${CPPFLAGS} -I${SPEEX_DIR}/include"
27427 if test "xspeex/speex.h" != "x" ; then
27428 as_ac_Header=`echo "ac_cv_header_${SPEEX_DIR}/include/speex/speex.h" |
$as_tr_sh`
27429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27430 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
27431 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
27432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 ac_res=`eval echo '${'$as_ac_Header'}'`
27436 { echo "$as_me:$LINENO: result: $ac_res" >&5
27437 echo "${ECHO_T}$ac_res" >&6; }
27439 # Is the header compilable?
27440 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h usability" >&5
27441 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h usability... $ECHO_C" >&6; }
27442 cat >conftest.$ac_ext <<_ACEOF
27445 cat confdefs.h >>conftest.$ac_ext
27446 cat >>conftest.$ac_ext <<_ACEOF
27447 /* end confdefs.h. */
27448 $ac_includes_default
27449 #include <${SPEEX_DIR}/include/speex/speex.h>
27451 rm -f conftest.$ac_objext
27452 if { (ac_try="$ac_compile"
27453 case "(($ac_try" in
27454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27455 *) ac_try_echo
=$ac_try;;
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458 (eval "$ac_compile") 2>conftest.er1
27460 grep -v '^ *+' conftest.er1
>conftest.err
27462 cat conftest.err
>&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } && {
27465 test -z "$ac_c_werror_flag" ||
27466 test ! -s conftest.err
27467 } && test -s conftest.
$ac_objext; then
27468 ac_header_compiler
=yes
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.
$ac_ext >&5
27473 ac_header_compiler
=no
27476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27477 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27478 echo "${ECHO_T}$ac_header_compiler" >&6; }
27480 # Is the header present?
27481 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h presence" >&5
27482 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h presence... $ECHO_C" >&6; }
27483 cat >conftest.
$ac_ext <<_ACEOF
27486 cat confdefs.h
>>conftest.
$ac_ext
27487 cat >>conftest.
$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489 #include <${SPEEX_DIR}/include/speex/speex.h>
27491 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27492 case "(($ac_try" in
27493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27494 *) ac_try_echo=$ac_try;;
27496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27499 grep -v '^ *+' conftest.er1 >conftest.err
27501 cat conftest.err >&5
27502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503 (exit $ac_status); } >/dev/null && {
27504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27505 test ! -s conftest.err
27507 ac_header_preproc=yes
27509 echo "$as_me: failed program was:" >&5
27510 sed 's/^/| /' conftest.$ac_ext >&5
27512 ac_header_preproc=no
27515 rm -f conftest.err conftest.$ac_ext
27516 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27517 echo "${ECHO_T}$ac_header_preproc" >&6; }
27519 # So? What about this header?
27520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27522 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
27523 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27524 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the compiler's result" >&5
27525 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the compiler's result" >&2;}
27526 ac_header_preproc=yes
27529 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&5
27530 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&2;}
27531 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&5
27532 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&2;}
27533 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&5
27534 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&2;}
27535 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
27536 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
27537 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the preprocessor's result" >&5
27538 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the preprocessor's result" >&2;}
27539 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&5
27540 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&2;}
27544 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
27545 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
27546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27547 echo $ECHO_N "(cached) $ECHO_C" >&6
27549 eval "$as_ac_Header=\$ac_header_preproc"
27551 ac_res=`eval echo '${'$as_ac_Header'}'`
27552 { echo "$as_me:$LINENO: result: $ac_res" >&5
27553 echo "${ECHO_T}$ac_res" >&6; }
27556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27557 SPEEX_HEADER_FOUND=1
27559 SPEEX_HEADER_FOUND=0
27564 CPPFLAGS="${saved_cppflags}"
27566 if test "xspeex/speex.h" != "x" ; then
27567 if test "${ac_cv_header_speex_speex_h+set}" = set; then
27568 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
27569 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
27570 if test "${ac_cv_header_speex_speex_h+set}" = set; then
27571 echo $ECHO_N "(cached) $ECHO_C" >&6
27573 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
27574 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
27576 # Is the header compilable?
27577 { echo "$as_me:$LINENO: checking speex/speex.h usability" >&5
27578 echo $ECHO_N "checking speex/speex.h usability... $ECHO_C" >&6; }
27579 cat >conftest.$ac_ext <<_ACEOF
27582 cat confdefs.h >>conftest.$ac_ext
27583 cat >>conftest.$ac_ext <<_ACEOF
27584 /* end confdefs.h. */
27585 $ac_includes_default
27586 #include <speex/speex.h>
27588 rm -f conftest.$ac_objext
27589 if { (ac_try="$ac_compile"
27590 case "(($ac_try" in
27591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27592 *) ac_try_echo
=$ac_try;;
27594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27595 (eval "$ac_compile") 2>conftest.er1
27597 grep -v '^ *+' conftest.er1
>conftest.err
27599 cat conftest.err
>&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } && {
27602 test -z "$ac_c_werror_flag" ||
27603 test ! -s conftest.err
27604 } && test -s conftest.
$ac_objext; then
27605 ac_header_compiler
=yes
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.
$ac_ext >&5
27610 ac_header_compiler
=no
27613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27614 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27615 echo "${ECHO_T}$ac_header_compiler" >&6; }
27617 # Is the header present?
27618 { echo "$as_me:$LINENO: checking speex/speex.h presence" >&5
27619 echo $ECHO_N "checking speex/speex.h presence... $ECHO_C" >&6; }
27620 cat >conftest.
$ac_ext <<_ACEOF
27623 cat confdefs.h
>>conftest.
$ac_ext
27624 cat >>conftest.
$ac_ext <<_ACEOF
27625 /* end confdefs.h. */
27626 #include <speex/speex.h>
27628 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27629 case "(($ac_try" in
27630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27631 *) ac_try_echo=$ac_try;;
27633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27636 grep -v '^ *+' conftest.er1 >conftest.err
27638 cat conftest.err >&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); } >/dev/null && {
27641 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27642 test ! -s conftest.err
27644 ac_header_preproc=yes
27646 echo "$as_me: failed program was:" >&5
27647 sed 's/^/| /' conftest.$ac_ext >&5
27649 ac_header_preproc=no
27652 rm -f conftest.err conftest.$ac_ext
27653 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27654 echo "${ECHO_T}$ac_header_preproc" >&6; }
27656 # So? What about this header?
27657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27659 { echo "$as_me:$LINENO: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
27660 echo "$as_me: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27661 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the compiler's result" >&5
27662 echo "$as_me: WARNING: speex/speex.h: proceeding with the compiler's result" >&2;}
27663 ac_header_preproc=yes
27666 { echo "$as_me:$LINENO: WARNING: speex/speex.h: present but cannot be compiled" >&5
27667 echo "$as_me: WARNING: speex/speex.h: present but cannot be compiled" >&2;}
27668 { echo "$as_me:$LINENO: WARNING: speex/speex.h: check for missing prerequisite headers?" >&5
27669 echo "$as_me: WARNING: speex/speex.h: check for missing prerequisite headers?" >&2;}
27670 { echo "$as_me:$LINENO: WARNING: speex/speex.h: see the Autoconf documentation" >&5
27671 echo "$as_me: WARNING: speex/speex.h: see the Autoconf documentation" >&2;}
27672 { echo "$as_me:$LINENO: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
27673 echo "$as_me: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
27674 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&5
27675 echo "$as_me: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&2;}
27676 { echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5
27677 echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;}
27681 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
27682 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
27683 if test "${ac_cv_header_speex_speex_h+set}" = set; then
27684 echo $ECHO_N "(cached) $ECHO_C" >&6
27686 ac_cv_header_speex_speex_h=$ac_header_preproc
27688 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
27689 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
27692 if test $ac_cv_header_speex_speex_h = yes; then
27693 SPEEX_HEADER_FOUND=1
27695 SPEEX_HEADER_FOUND=0
27701 if test "x${SPEEX_HEADER_FOUND}" = "x0" ; then
27702 if test -n "${SPEEX_MANDATORY}" ;
27704 { echo "$as_me:$LINENO: ***" >&5
27705 echo "$as_me: ***" >&6;}
27706 { echo "$as_me:$LINENO: *** It appears that you do not have the speex development package installed." >&5
27707 echo "$as_me: *** It appears that you do not have the speex development package installed." >&6;}
27708 { echo "$as_me:$LINENO: *** Please install it to include ${SPEEX_DESCRIP} support, or re-run configure" >&5
27709 echo "$as_me: *** Please install it to include ${SPEEX_DESCRIP} support, or re-run configure" >&6;}
27710 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
27711 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
27720 cat >>confdefs.h <<_ACEOF
27721 #define HAVE_SPEEX 1
27725 elif test -n "${SPEEX_MANDATORY}";
27727 { echo "$as_me:$LINENO: ***" >&5
27728 echo "$as_me: ***" >&6;}
27729 { echo "$as_me:$LINENO: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&5
27730 echo "$as_me: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&6;}
27731 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
27732 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
27733 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
27734 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
27741 if test "${USE_SQLITE}" != "no"; then
27743 if test "x${SQLITE_DIR}" != "x"; then
27744 if test -d ${SQLITE_DIR}/lib; then
27745 pbxlibdir="-L${SQLITE_DIR}/lib"
27747 pbxlibdir="-L${SQLITE_DIR}"
27750 { echo "$as_me:$LINENO: checking for sqlite_exec in -lsqlite" >&5
27751 echo $ECHO_N "checking for sqlite_exec in -lsqlite... $ECHO_C" >&6; }
27752 if test "${ac_cv_lib_sqlite_sqlite_exec+set}" = set; then
27753 echo $ECHO_N "(cached) $ECHO_C" >&6
27755 ac_check_lib_save_LIBS=$LIBS
27756 LIBS="-lsqlite ${pbxlibdir} $LIBS"
27757 cat >conftest.$ac_ext <<_ACEOF
27760 cat confdefs.h >>conftest.$ac_ext
27761 cat >>conftest.$ac_ext <<_ACEOF
27762 /* end confdefs.h. */
27764 /* Override any GCC internal prototype to avoid an error.
27765 Use char because int might match the return type of a GCC
27766 builtin and then its argument prototype would still apply. */
27770 char sqlite_exec ();
27774 return sqlite_exec ();
27779 rm -f conftest.$ac_objext conftest$ac_exeext
27780 if { (ac_try="$ac_link"
27781 case "(($ac_try" in
27782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27783 *) ac_try_echo
=$ac_try;;
27785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27786 (eval "$ac_link") 2>conftest.er1
27788 grep -v '^ *+' conftest.er1
>conftest.err
27790 cat conftest.err
>&5
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); } && {
27793 test -z "$ac_c_werror_flag" ||
27794 test ! -s conftest.err
27795 } && test -s conftest
$ac_exeext &&
27796 $as_test_x conftest
$ac_exeext; then
27797 ac_cv_lib_sqlite_sqlite_exec
=yes
27799 echo "$as_me: failed program was:" >&5
27800 sed 's/^/| /' conftest.
$ac_ext >&5
27802 ac_cv_lib_sqlite_sqlite_exec
=no
27805 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27806 conftest
$ac_exeext conftest.
$ac_ext
27807 LIBS
=$ac_check_lib_save_LIBS
27809 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite_sqlite_exec" >&5
27810 echo "${ECHO_T}$ac_cv_lib_sqlite_sqlite_exec" >&6; }
27811 if test $ac_cv_lib_sqlite_sqlite_exec = yes; then
27812 AST_SQLITE_FOUND
=yes
27814 AST_SQLITE_FOUND
=no
27818 if test "${AST_SQLITE_FOUND}" = "yes"; then
27819 SQLITE_LIB
="-lsqlite "
27820 SQLITE_HEADER_FOUND
="1"
27821 if test "x${SQLITE_DIR}" != "x"; then
27822 SQLITE_LIB
="${pbxlibdir} ${SQLITE_LIB}"
27823 SQLITE_INCLUDE
="-I${SQLITE_DIR}/include"
27824 saved_cppflags
="${CPPFLAGS}"
27825 CPPFLAGS
="${CPPFLAGS} -I${SQLITE_DIR}/include"
27826 if test "xsqlite.h" != "x" ; then
27827 as_ac_Header
=`echo "ac_cv_header_${SQLITE_DIR}/include/sqlite.h" | $as_tr_sh`
27828 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27829 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
27830 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
27831 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27832 echo $ECHO_N "(cached) $ECHO_C" >&6
27834 ac_res
=`eval echo '${'$as_ac_Header'}'`
27835 { echo "$as_me:$LINENO: result: $ac_res" >&5
27836 echo "${ECHO_T}$ac_res" >&6; }
27838 # Is the header compilable?
27839 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h usability" >&5
27840 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h usability... $ECHO_C" >&6; }
27841 cat >conftest.
$ac_ext <<_ACEOF
27844 cat confdefs.h
>>conftest.
$ac_ext
27845 cat >>conftest.
$ac_ext <<_ACEOF
27846 /* end confdefs.h. */
27847 $ac_includes_default
27848 #include <${SQLITE_DIR}/include/sqlite.h>
27850 rm -f conftest.
$ac_objext
27851 if { (ac_try
="$ac_compile"
27852 case "(($ac_try" in
27853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27854 *) ac_try_echo=$ac_try;;
27856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27857 (eval "$ac_compile") 2>conftest.er1
27859 grep -v '^ *+' conftest.er1 >conftest.err
27861 cat conftest.err >&5
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); } && {
27864 test -z "$ac_c_werror_flag" ||
27865 test ! -s conftest.err
27866 } && test -s conftest.$ac_objext; then
27867 ac_header_compiler=yes
27869 echo "$as_me: failed program was:" >&5
27870 sed 's/^/| /' conftest.$ac_ext >&5
27872 ac_header_compiler=no
27875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27876 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27877 echo "${ECHO_T}$ac_header_compiler" >&6; }
27879 # Is the header present?
27880 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h presence" >&5
27881 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h presence... $ECHO_C" >&6; }
27882 cat >conftest.$ac_ext <<_ACEOF
27885 cat confdefs.h >>conftest.$ac_ext
27886 cat >>conftest.$ac_ext <<_ACEOF
27887 /* end confdefs.h. */
27888 #include <${SQLITE_DIR}/include/sqlite.h>
27890 if { (ac_try="$ac_cpp conftest.$ac_ext"
27891 case "(($ac_try" in
27892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27893 *) ac_try_echo
=$ac_try;;
27895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27898 grep -v '^ *+' conftest.er1
>conftest.err
27900 cat conftest.err
>&5
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); } >/dev
/null
&& {
27903 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27904 test ! -s conftest.err
27906 ac_header_preproc
=yes
27908 echo "$as_me: failed program was:" >&5
27909 sed 's/^/| /' conftest.
$ac_ext >&5
27911 ac_header_preproc
=no
27914 rm -f conftest.err conftest.
$ac_ext
27915 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27916 echo "${ECHO_T}$ac_header_preproc" >&6; }
27918 # So? What about this header?
27919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27921 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
27922 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27923 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the compiler's result" >&5
27924 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the compiler's result" >&2;}
27925 ac_header_preproc
=yes
27928 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&5
27929 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&2;}
27930 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&5
27931 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&2;}
27932 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&5
27933 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&2;}
27934 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
27935 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
27936 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the preprocessor's result" >&5
27937 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the preprocessor's result" >&2;}
27938 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&5
27939 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&2;}
27943 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
27944 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
27945 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 eval "$as_ac_Header=\$ac_header_preproc"
27950 ac_res
=`eval echo '${'$as_ac_Header'}'`
27951 { echo "$as_me:$LINENO: result: $ac_res" >&5
27952 echo "${ECHO_T}$ac_res" >&6; }
27955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27956 SQLITE_HEADER_FOUND
=1
27958 SQLITE_HEADER_FOUND
=0
27963 CPPFLAGS
="${saved_cppflags}"
27965 if test "xsqlite.h" != "x" ; then
27966 if test "${ac_cv_header_sqlite_h+set}" = set; then
27967 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
27968 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
27969 if test "${ac_cv_header_sqlite_h+set}" = set; then
27970 echo $ECHO_N "(cached) $ECHO_C" >&6
27972 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
27973 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
27975 # Is the header compilable?
27976 { echo "$as_me:$LINENO: checking sqlite.h usability" >&5
27977 echo $ECHO_N "checking sqlite.h usability... $ECHO_C" >&6; }
27978 cat >conftest.
$ac_ext <<_ACEOF
27981 cat confdefs.h
>>conftest.
$ac_ext
27982 cat >>conftest.
$ac_ext <<_ACEOF
27983 /* end confdefs.h. */
27984 $ac_includes_default
27985 #include <sqlite.h>
27987 rm -f conftest.
$ac_objext
27988 if { (ac_try
="$ac_compile"
27989 case "(($ac_try" in
27990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27991 *) ac_try_echo=$ac_try;;
27993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27994 (eval "$ac_compile") 2>conftest.er1
27996 grep -v '^ *+' conftest.er1 >conftest.err
27998 cat conftest.err >&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); } && {
28001 test -z "$ac_c_werror_flag" ||
28002 test ! -s conftest.err
28003 } && test -s conftest.$ac_objext; then
28004 ac_header_compiler=yes
28006 echo "$as_me: failed program was:" >&5
28007 sed 's/^/| /' conftest.$ac_ext >&5
28009 ac_header_compiler=no
28012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28013 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28014 echo "${ECHO_T}$ac_header_compiler" >&6; }
28016 # Is the header present?
28017 { echo "$as_me:$LINENO: checking sqlite.h presence" >&5
28018 echo $ECHO_N "checking sqlite.h presence... $ECHO_C" >&6; }
28019 cat >conftest.$ac_ext <<_ACEOF
28022 cat confdefs.h >>conftest.$ac_ext
28023 cat >>conftest.$ac_ext <<_ACEOF
28024 /* end confdefs.h. */
28025 #include <sqlite.h>
28027 if { (ac_try="$ac_cpp conftest.$ac_ext"
28028 case "(($ac_try" in
28029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28030 *) ac_try_echo
=$ac_try;;
28032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28035 grep -v '^ *+' conftest.er1
>conftest.err
28037 cat conftest.err
>&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } >/dev
/null
&& {
28040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28041 test ! -s conftest.err
28043 ac_header_preproc
=yes
28045 echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.
$ac_ext >&5
28048 ac_header_preproc
=no
28051 rm -f conftest.err conftest.
$ac_ext
28052 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28053 echo "${ECHO_T}$ac_header_preproc" >&6; }
28055 # So? What about this header?
28056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28058 { echo "$as_me:$LINENO: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
28059 echo "$as_me: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28060 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the compiler's result" >&5
28061 echo "$as_me: WARNING: sqlite.h: proceeding with the compiler's result" >&2;}
28062 ac_header_preproc
=yes
28065 { echo "$as_me:$LINENO: WARNING: sqlite.h: present but cannot be compiled" >&5
28066 echo "$as_me: WARNING: sqlite.h: present but cannot be compiled" >&2;}
28067 { echo "$as_me:$LINENO: WARNING: sqlite.h: check for missing prerequisite headers?" >&5
28068 echo "$as_me: WARNING: sqlite.h: check for missing prerequisite headers?" >&2;}
28069 { echo "$as_me:$LINENO: WARNING: sqlite.h: see the Autoconf documentation" >&5
28070 echo "$as_me: WARNING: sqlite.h: see the Autoconf documentation" >&2;}
28071 { echo "$as_me:$LINENO: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
28072 echo "$as_me: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
28073 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the preprocessor's result" >&5
28074 echo "$as_me: WARNING: sqlite.h: proceeding with the preprocessor's result" >&2;}
28075 { echo "$as_me:$LINENO: WARNING: sqlite.h: in the future, the compiler will take precedence" >&5
28076 echo "$as_me: WARNING: sqlite.h: in the future, the compiler will take precedence" >&2;}
28080 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
28081 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
28082 if test "${ac_cv_header_sqlite_h+set}" = set; then
28083 echo $ECHO_N "(cached) $ECHO_C" >&6
28085 ac_cv_header_sqlite_h
=$ac_header_preproc
28087 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
28088 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
28091 if test $ac_cv_header_sqlite_h = yes; then
28092 SQLITE_HEADER_FOUND
=1
28094 SQLITE_HEADER_FOUND
=0
28100 if test "x${SQLITE_HEADER_FOUND}" = "x0" ; then
28101 if test -n "${SQLITE_MANDATORY}" ;
28103 { echo "$as_me:$LINENO: ***" >&5
28104 echo "$as_me: ***" >&6;}
28105 { echo "$as_me:$LINENO: *** It appears that you do not have the sqlite development package installed." >&5
28106 echo "$as_me: *** It appears that you do not have the sqlite development package installed." >&6;}
28107 { echo "$as_me:$LINENO: *** Please install it to include ${SQLITE_DESCRIP} support, or re-run configure" >&5
28108 echo "$as_me: *** Please install it to include ${SQLITE_DESCRIP} support, or re-run configure" >&6;}
28109 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
28110 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
28119 cat >>confdefs.h
<<_ACEOF
28120 #define HAVE_SQLITE 1
28124 elif test -n "${SQLITE_MANDATORY}";
28126 { echo "$as_me:$LINENO: ***" >&5
28127 echo "$as_me: ***" >&6;}
28128 { echo "$as_me:$LINENO: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&5
28129 echo "$as_me: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&6;}
28130 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28131 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28132 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
28133 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
28140 if test "${USE_OPENSSL}" != "no"; then
28142 if test "x${OPENSSL_DIR}" != "x"; then
28143 if test -d ${OPENSSL_DIR}/lib
; then
28144 pbxlibdir
="-L${OPENSSL_DIR}/lib"
28146 pbxlibdir
="-L${OPENSSL_DIR}"
28149 { echo "$as_me:$LINENO: checking for ssl2_connect in -lssl" >&5
28150 echo $ECHO_N "checking for ssl2_connect in -lssl... $ECHO_C" >&6; }
28151 if test "${ac_cv_lib_ssl_ssl2_connect+set}" = set; then
28152 echo $ECHO_N "(cached) $ECHO_C" >&6
28154 ac_check_lib_save_LIBS
=$LIBS
28155 LIBS
="-lssl ${pbxlibdir} -lcrypto $LIBS"
28156 cat >conftest.
$ac_ext <<_ACEOF
28159 cat confdefs.h
>>conftest.
$ac_ext
28160 cat >>conftest.
$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28163 /* Override any GCC internal prototype to avoid an error.
28164 Use char because int might match the return type of a GCC
28165 builtin and then its argument prototype would still apply. */
28169 char ssl2_connect ();
28173 return ssl2_connect ();
28178 rm -f conftest.
$ac_objext conftest
$ac_exeext
28179 if { (ac_try
="$ac_link"
28180 case "(($ac_try" in
28181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28182 *) ac_try_echo=$ac_try;;
28184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28185 (eval "$ac_link") 2>conftest.er1
28187 grep -v '^ *+' conftest.er1 >conftest.err
28189 cat conftest.err >&5
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); } && {
28192 test -z "$ac_c_werror_flag" ||
28193 test ! -s conftest.err
28194 } && test -s conftest$ac_exeext &&
28195 $as_test_x conftest$ac_exeext; then
28196 ac_cv_lib_ssl_ssl2_connect=yes
28198 echo "$as_me: failed program was:" >&5
28199 sed 's/^/| /' conftest.$ac_ext >&5
28201 ac_cv_lib_ssl_ssl2_connect=no
28204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28205 conftest$ac_exeext conftest.$ac_ext
28206 LIBS=$ac_check_lib_save_LIBS
28208 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ssl2_connect" >&5
28209 echo "${ECHO_T}$ac_cv_lib_ssl_ssl2_connect" >&6; }
28210 if test $ac_cv_lib_ssl_ssl2_connect = yes; then
28211 AST_OPENSSL_FOUND=yes
28213 AST_OPENSSL_FOUND=no
28217 if test "${AST_OPENSSL_FOUND}" = "yes"; then
28218 OPENSSL_LIB="-lssl -lcrypto"
28219 OPENSSL_HEADER_FOUND="1"
28220 if test "x${OPENSSL_DIR}" != "x"; then
28221 OPENSSL_LIB="${pbxlibdir} ${OPENSSL_LIB}"
28222 OPENSSL_INCLUDE="-I${OPENSSL_DIR}/include"
28223 saved_cppflags="${CPPFLAGS}"
28224 CPPFLAGS="${CPPFLAGS} -I${OPENSSL_DIR}/include"
28225 if test "xopenssl/ssl.h" != "x" ; then
28226 as_ac_Header=`echo "ac_cv_header_${OPENSSL_DIR}/include/openssl/ssl.h" |
$as_tr_sh`
28227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28228 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
28229 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
28230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28231 echo $ECHO_N "(cached) $ECHO_C" >&6
28233 ac_res=`eval echo '${'$as_ac_Header'}'`
28234 { echo "$as_me:$LINENO: result: $ac_res" >&5
28235 echo "${ECHO_T}$ac_res" >&6; }
28237 # Is the header compilable?
28238 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h usability" >&5
28239 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h usability... $ECHO_C" >&6; }
28240 cat >conftest.$ac_ext <<_ACEOF
28243 cat confdefs.h >>conftest.$ac_ext
28244 cat >>conftest.$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28246 $ac_includes_default
28247 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
28249 rm -f conftest.$ac_objext
28250 if { (ac_try="$ac_compile"
28251 case "(($ac_try" in
28252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28253 *) ac_try_echo
=$ac_try;;
28255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28256 (eval "$ac_compile") 2>conftest.er1
28258 grep -v '^ *+' conftest.er1
>conftest.err
28260 cat conftest.err
>&5
28261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262 (exit $ac_status); } && {
28263 test -z "$ac_c_werror_flag" ||
28264 test ! -s conftest.err
28265 } && test -s conftest.
$ac_objext; then
28266 ac_header_compiler
=yes
28268 echo "$as_me: failed program was:" >&5
28269 sed 's/^/| /' conftest.
$ac_ext >&5
28271 ac_header_compiler
=no
28274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28275 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28276 echo "${ECHO_T}$ac_header_compiler" >&6; }
28278 # Is the header present?
28279 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h presence" >&5
28280 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h presence... $ECHO_C" >&6; }
28281 cat >conftest.
$ac_ext <<_ACEOF
28284 cat confdefs.h
>>conftest.
$ac_ext
28285 cat >>conftest.
$ac_ext <<_ACEOF
28286 /* end confdefs.h. */
28287 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
28289 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28290 case "(($ac_try" in
28291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28292 *) ac_try_echo=$ac_try;;
28294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28297 grep -v '^ *+' conftest.er1 >conftest.err
28299 cat conftest.err >&5
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); } >/dev/null && {
28302 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28303 test ! -s conftest.err
28305 ac_header_preproc=yes
28307 echo "$as_me: failed program was:" >&5
28308 sed 's/^/| /' conftest.$ac_ext >&5
28310 ac_header_preproc=no
28313 rm -f conftest.err conftest.$ac_ext
28314 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28315 echo "${ECHO_T}$ac_header_preproc" >&6; }
28317 # So? What about this header?
28318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28320 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28321 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28322 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the compiler's result" >&5
28323 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the compiler's result" >&2;}
28324 ac_header_preproc=yes
28327 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&5
28328 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&2;}
28329 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&5
28330 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&2;}
28331 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&5
28332 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&2;}
28333 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
28334 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28335 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the preprocessor's result" >&5
28336 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
28337 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&5
28338 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
28342 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
28343 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
28344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28345 echo $ECHO_N "(cached) $ECHO_C" >&6
28347 eval "$as_ac_Header=\$ac_header_preproc"
28349 ac_res=`eval echo '${'$as_ac_Header'}'`
28350 { echo "$as_me:$LINENO: result: $ac_res" >&5
28351 echo "${ECHO_T}$ac_res" >&6; }
28354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28355 OPENSSL_HEADER_FOUND=1
28357 OPENSSL_HEADER_FOUND=0
28362 CPPFLAGS="${saved_cppflags}"
28364 if test "xopenssl/ssl.h" != "x" ; then
28365 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
28366 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
28367 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
28368 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
28369 echo $ECHO_N "(cached) $ECHO_C" >&6
28371 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
28372 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
28374 # Is the header compilable?
28375 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
28376 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; }
28377 cat >conftest.$ac_ext <<_ACEOF
28380 cat confdefs.h >>conftest.$ac_ext
28381 cat >>conftest.$ac_ext <<_ACEOF
28382 /* end confdefs.h. */
28383 $ac_includes_default
28384 #include <openssl/ssl.h>
28386 rm -f conftest.$ac_objext
28387 if { (ac_try="$ac_compile"
28388 case "(($ac_try" in
28389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28390 *) ac_try_echo
=$ac_try;;
28392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28393 (eval "$ac_compile") 2>conftest.er1
28395 grep -v '^ *+' conftest.er1
>conftest.err
28397 cat conftest.err
>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); } && {
28400 test -z "$ac_c_werror_flag" ||
28401 test ! -s conftest.err
28402 } && test -s conftest.
$ac_objext; then
28403 ac_header_compiler
=yes
28405 echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.
$ac_ext >&5
28408 ac_header_compiler
=no
28411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28412 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28413 echo "${ECHO_T}$ac_header_compiler" >&6; }
28415 # Is the header present?
28416 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
28417 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; }
28418 cat >conftest.
$ac_ext <<_ACEOF
28421 cat confdefs.h
>>conftest.
$ac_ext
28422 cat >>conftest.
$ac_ext <<_ACEOF
28423 /* end confdefs.h. */
28424 #include <openssl/ssl.h>
28426 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28427 case "(($ac_try" in
28428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28429 *) ac_try_echo=$ac_try;;
28431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28434 grep -v '^ *+' conftest.er1 >conftest.err
28436 cat conftest.err >&5
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); } >/dev/null && {
28439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28440 test ! -s conftest.err
28442 ac_header_preproc=yes
28444 echo "$as_me: failed program was:" >&5
28445 sed 's/^/| /' conftest.$ac_ext >&5
28447 ac_header_preproc=no
28450 rm -f conftest.err conftest.$ac_ext
28451 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28452 echo "${ECHO_T}$ac_header_preproc" >&6; }
28454 # So? What about this header?
28455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28457 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28458 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28459 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
28460 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
28461 ac_header_preproc=yes
28464 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
28465 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
28466 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5
28467 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;}
28468 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
28469 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
28470 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
28471 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28472 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
28473 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
28474 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
28475 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
28479 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
28480 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
28481 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
28482 echo $ECHO_N "(cached) $ECHO_C" >&6
28484 ac_cv_header_openssl_ssl_h=$ac_header_preproc
28486 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
28487 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
28490 if test $ac_cv_header_openssl_ssl_h = yes; then
28491 OPENSSL_HEADER_FOUND=1
28493 OPENSSL_HEADER_FOUND=0
28499 if test "x${OPENSSL_HEADER_FOUND}" = "x0" ; then
28500 if test -n "${OPENSSL_MANDATORY}" ;
28502 { echo "$as_me:$LINENO: ***" >&5
28503 echo "$as_me: ***" >&6;}
28504 { echo "$as_me:$LINENO: *** It appears that you do not have the ssl development package installed." >&5
28505 echo "$as_me: *** It appears that you do not have the ssl development package installed." >&6;}
28506 { echo "$as_me:$LINENO: *** Please install it to include ${OPENSSL_DESCRIP} support, or re-run configure" >&5
28507 echo "$as_me: *** Please install it to include ${OPENSSL_DESCRIP} support, or re-run configure" >&6;}
28508 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
28509 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
28518 cat >>confdefs.h <<_ACEOF
28519 #define HAVE_OPENSSL 1
28523 elif test -n "${OPENSSL_MANDATORY}";
28525 { echo "$as_me:$LINENO: ***" >&5
28526 echo "$as_me: ***" >&6;}
28527 { echo "$as_me:$LINENO: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&5
28528 echo "$as_me: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&6;}
28529 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28530 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28531 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
28532 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
28537 if test "$PBX_OPENSSL" = "1";
28540 if test "${USE_OSPTK}" != "no"; then
28542 if test "x${OSPTK_DIR}" != "x"; then
28543 if test -d ${OSPTK_DIR}/lib; then
28544 pbxlibdir="-L${OSPTK_DIR}/lib"
28546 pbxlibdir="-L${OSPTK_DIR}"
28549 { echo "$as_me:$LINENO: checking for OSPPCryptoDecrypt in -losptk" >&5
28550 echo $ECHO_N "checking for OSPPCryptoDecrypt in -losptk... $ECHO_C" >&6; }
28551 if test "${ac_cv_lib_osptk_OSPPCryptoDecrypt+set}" = set; then
28552 echo $ECHO_N "(cached) $ECHO_C" >&6
28554 ac_check_lib_save_LIBS=$LIBS
28555 LIBS="-losptk ${pbxlibdir} -lcrypto -lssl $LIBS"
28556 cat >conftest.$ac_ext <<_ACEOF
28559 cat confdefs.h >>conftest.$ac_ext
28560 cat >>conftest.$ac_ext <<_ACEOF
28561 /* end confdefs.h. */
28563 /* Override any GCC internal prototype to avoid an error.
28564 Use char because int might match the return type of a GCC
28565 builtin and then its argument prototype would still apply. */
28569 char OSPPCryptoDecrypt ();
28573 return OSPPCryptoDecrypt ();
28578 rm -f conftest.$ac_objext conftest$ac_exeext
28579 if { (ac_try="$ac_link"
28580 case "(($ac_try" in
28581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28582 *) ac_try_echo
=$ac_try;;
28584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28585 (eval "$ac_link") 2>conftest.er1
28587 grep -v '^ *+' conftest.er1
>conftest.err
28589 cat conftest.err
>&5
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); } && {
28592 test -z "$ac_c_werror_flag" ||
28593 test ! -s conftest.err
28594 } && test -s conftest
$ac_exeext &&
28595 $as_test_x conftest
$ac_exeext; then
28596 ac_cv_lib_osptk_OSPPCryptoDecrypt
=yes
28598 echo "$as_me: failed program was:" >&5
28599 sed 's/^/| /' conftest.
$ac_ext >&5
28601 ac_cv_lib_osptk_OSPPCryptoDecrypt
=no
28604 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28605 conftest
$ac_exeext conftest.
$ac_ext
28606 LIBS
=$ac_check_lib_save_LIBS
28608 { echo "$as_me:$LINENO: result: $ac_cv_lib_osptk_OSPPCryptoDecrypt" >&5
28609 echo "${ECHO_T}$ac_cv_lib_osptk_OSPPCryptoDecrypt" >&6; }
28610 if test $ac_cv_lib_osptk_OSPPCryptoDecrypt = yes; then
28611 AST_OSPTK_FOUND
=yes
28617 if test "${AST_OSPTK_FOUND}" = "yes"; then
28618 OSPTK_LIB
="-losptk -lcrypto -lssl"
28619 OSPTK_HEADER_FOUND
="1"
28620 if test "x${OSPTK_DIR}" != "x"; then
28621 OSPTK_LIB
="${pbxlibdir} ${OSPTK_LIB}"
28622 OSPTK_INCLUDE
="-I${OSPTK_DIR}/include"
28623 saved_cppflags
="${CPPFLAGS}"
28624 CPPFLAGS
="${CPPFLAGS} -I${OSPTK_DIR}/include"
28625 if test "xosp/osp.h" != "x" ; then
28626 as_ac_Header
=`echo "ac_cv_header_${OSPTK_DIR}/include/osp/osp.h" | $as_tr_sh`
28627 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28628 { echo "$as_me:$LINENO: checking for ${OSPTK_DIR}/include/osp/osp.h" >&5
28629 echo $ECHO_N "checking for ${OSPTK_DIR}/include/osp/osp.h... $ECHO_C" >&6; }
28630 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28631 echo $ECHO_N "(cached) $ECHO_C" >&6
28633 ac_res
=`eval echo '${'$as_ac_Header'}'`
28634 { echo "$as_me:$LINENO: result: $ac_res" >&5
28635 echo "${ECHO_T}$ac_res" >&6; }
28637 # Is the header compilable?
28638 { echo "$as_me:$LINENO: checking ${OSPTK_DIR}/include/osp/osp.h usability" >&5
28639 echo $ECHO_N "checking ${OSPTK_DIR}/include/osp/osp.h usability... $ECHO_C" >&6; }
28640 cat >conftest.
$ac_ext <<_ACEOF
28643 cat confdefs.h
>>conftest.
$ac_ext
28644 cat >>conftest.
$ac_ext <<_ACEOF
28645 /* end confdefs.h. */
28646 $ac_includes_default
28647 #include <${OSPTK_DIR}/include/osp/osp.h>
28649 rm -f conftest.
$ac_objext
28650 if { (ac_try
="$ac_compile"
28651 case "(($ac_try" in
28652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28653 *) ac_try_echo=$ac_try;;
28655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28656 (eval "$ac_compile") 2>conftest.er1
28658 grep -v '^ *+' conftest.er1 >conftest.err
28660 cat conftest.err >&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); } && {
28663 test -z "$ac_c_werror_flag" ||
28664 test ! -s conftest.err
28665 } && test -s conftest.$ac_objext; then
28666 ac_header_compiler=yes
28668 echo "$as_me: failed program was:" >&5
28669 sed 's/^/| /' conftest.$ac_ext >&5
28671 ac_header_compiler=no
28674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28675 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28676 echo "${ECHO_T}$ac_header_compiler" >&6; }
28678 # Is the header present?
28679 { echo "$as_me:$LINENO: checking ${OSPTK_DIR}/include/osp/osp.h presence" >&5
28680 echo $ECHO_N "checking ${OSPTK_DIR}/include/osp/osp.h presence... $ECHO_C" >&6; }
28681 cat >conftest.$ac_ext <<_ACEOF
28684 cat confdefs.h >>conftest.$ac_ext
28685 cat >>conftest.$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28687 #include <${OSPTK_DIR}/include/osp/osp.h>
28689 if { (ac_try="$ac_cpp conftest.$ac_ext"
28690 case "(($ac_try" in
28691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28692 *) ac_try_echo
=$ac_try;;
28694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28697 grep -v '^ *+' conftest.er1
>conftest.err
28699 cat conftest.err
>&5
28700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 (exit $ac_status); } >/dev
/null
&& {
28702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28703 test ! -s conftest.err
28705 ac_header_preproc
=yes
28707 echo "$as_me: failed program was:" >&5
28708 sed 's/^/| /' conftest.
$ac_ext >&5
28710 ac_header_preproc
=no
28713 rm -f conftest.err conftest.
$ac_ext
28714 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28715 echo "${ECHO_T}$ac_header_preproc" >&6; }
28717 # So? What about this header?
28718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28720 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&5
28721 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28722 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the compiler's result" >&5
28723 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the compiler's result" >&2;}
28724 ac_header_preproc
=yes
28727 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: present but cannot be compiled" >&5
28728 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: present but cannot be compiled" >&2;}
28729 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: check for missing prerequisite headers?" >&5
28730 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: check for missing prerequisite headers?" >&2;}
28731 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: see the Autoconf documentation" >&5
28732 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: see the Autoconf documentation" >&2;}
28733 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: section \"Present But Cannot Be Compiled\"" >&5
28734 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: section \"Present But Cannot Be Compiled\"" >&2;}
28735 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the preprocessor's result" >&5
28736 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the preprocessor's result" >&2;}
28737 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: in the future, the compiler will take precedence" >&5
28738 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: in the future, the compiler will take precedence" >&2;}
28742 { echo "$as_me:$LINENO: checking for ${OSPTK_DIR}/include/osp/osp.h" >&5
28743 echo $ECHO_N "checking for ${OSPTK_DIR}/include/osp/osp.h... $ECHO_C" >&6; }
28744 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28745 echo $ECHO_N "(cached) $ECHO_C" >&6
28747 eval "$as_ac_Header=\$ac_header_preproc"
28749 ac_res
=`eval echo '${'$as_ac_Header'}'`
28750 { echo "$as_me:$LINENO: result: $ac_res" >&5
28751 echo "${ECHO_T}$ac_res" >&6; }
28754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28755 OSPTK_HEADER_FOUND
=1
28757 OSPTK_HEADER_FOUND
=0
28762 CPPFLAGS
="${saved_cppflags}"
28764 if test "xosp/osp.h" != "x" ; then
28765 if test "${ac_cv_header_osp_osp_h+set}" = set; then
28766 { echo "$as_me:$LINENO: checking for osp/osp.h" >&5
28767 echo $ECHO_N "checking for osp/osp.h... $ECHO_C" >&6; }
28768 if test "${ac_cv_header_osp_osp_h+set}" = set; then
28769 echo $ECHO_N "(cached) $ECHO_C" >&6
28771 { echo "$as_me:$LINENO: result: $ac_cv_header_osp_osp_h" >&5
28772 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
28774 # Is the header compilable?
28775 { echo "$as_me:$LINENO: checking osp/osp.h usability" >&5
28776 echo $ECHO_N "checking osp/osp.h usability... $ECHO_C" >&6; }
28777 cat >conftest.
$ac_ext <<_ACEOF
28780 cat confdefs.h
>>conftest.
$ac_ext
28781 cat >>conftest.
$ac_ext <<_ACEOF
28782 /* end confdefs.h. */
28783 $ac_includes_default
28784 #include <osp/osp.h>
28786 rm -f conftest.
$ac_objext
28787 if { (ac_try
="$ac_compile"
28788 case "(($ac_try" in
28789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28790 *) ac_try_echo=$ac_try;;
28792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28793 (eval "$ac_compile") 2>conftest.er1
28795 grep -v '^ *+' conftest.er1 >conftest.err
28797 cat conftest.err >&5
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); } && {
28800 test -z "$ac_c_werror_flag" ||
28801 test ! -s conftest.err
28802 } && test -s conftest.$ac_objext; then
28803 ac_header_compiler=yes
28805 echo "$as_me: failed program was:" >&5
28806 sed 's/^/| /' conftest.$ac_ext >&5
28808 ac_header_compiler=no
28811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28812 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28813 echo "${ECHO_T}$ac_header_compiler" >&6; }
28815 # Is the header present?
28816 { echo "$as_me:$LINENO: checking osp/osp.h presence" >&5
28817 echo $ECHO_N "checking osp/osp.h presence... $ECHO_C" >&6; }
28818 cat >conftest.$ac_ext <<_ACEOF
28821 cat confdefs.h >>conftest.$ac_ext
28822 cat >>conftest.$ac_ext <<_ACEOF
28823 /* end confdefs.h. */
28824 #include <osp/osp.h>
28826 if { (ac_try="$ac_cpp conftest.$ac_ext"
28827 case "(($ac_try" in
28828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28829 *) ac_try_echo
=$ac_try;;
28831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28832 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28834 grep -v '^ *+' conftest.er1
>conftest.err
28836 cat conftest.err
>&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); } >/dev
/null
&& {
28839 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28840 test ! -s conftest.err
28842 ac_header_preproc
=yes
28844 echo "$as_me: failed program was:" >&5
28845 sed 's/^/| /' conftest.
$ac_ext >&5
28847 ac_header_preproc
=no
28850 rm -f conftest.err conftest.
$ac_ext
28851 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28852 echo "${ECHO_T}$ac_header_preproc" >&6; }
28854 # So? What about this header?
28855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28857 { echo "$as_me:$LINENO: WARNING: osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&5
28858 echo "$as_me: WARNING: osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28859 { echo "$as_me:$LINENO: WARNING: osp/osp.h: proceeding with the compiler's result" >&5
28860 echo "$as_me: WARNING: osp/osp.h: proceeding with the compiler's result" >&2;}
28861 ac_header_preproc
=yes
28864 { echo "$as_me:$LINENO: WARNING: osp/osp.h: present but cannot be compiled" >&5
28865 echo "$as_me: WARNING: osp/osp.h: present but cannot be compiled" >&2;}
28866 { echo "$as_me:$LINENO: WARNING: osp/osp.h: check for missing prerequisite headers?" >&5
28867 echo "$as_me: WARNING: osp/osp.h: check for missing prerequisite headers?" >&2;}
28868 { echo "$as_me:$LINENO: WARNING: osp/osp.h: see the Autoconf documentation" >&5
28869 echo "$as_me: WARNING: osp/osp.h: see the Autoconf documentation" >&2;}
28870 { echo "$as_me:$LINENO: WARNING: osp/osp.h: section \"Present But Cannot Be Compiled\"" >&5
28871 echo "$as_me: WARNING: osp/osp.h: section \"Present But Cannot Be Compiled\"" >&2;}
28872 { echo "$as_me:$LINENO: WARNING: osp/osp.h: proceeding with the preprocessor's result" >&5
28873 echo "$as_me: WARNING: osp/osp.h: proceeding with the preprocessor's result" >&2;}
28874 { echo "$as_me:$LINENO: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&5
28875 echo "$as_me: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&2;}
28879 { echo "$as_me:$LINENO: checking for osp/osp.h" >&5
28880 echo $ECHO_N "checking for osp/osp.h... $ECHO_C" >&6; }
28881 if test "${ac_cv_header_osp_osp_h+set}" = set; then
28882 echo $ECHO_N "(cached) $ECHO_C" >&6
28884 ac_cv_header_osp_osp_h
=$ac_header_preproc
28886 { echo "$as_me:$LINENO: result: $ac_cv_header_osp_osp_h" >&5
28887 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
28890 if test $ac_cv_header_osp_osp_h = yes; then
28891 OSPTK_HEADER_FOUND
=1
28893 OSPTK_HEADER_FOUND
=0
28899 if test "x${OSPTK_HEADER_FOUND}" = "x0" ; then
28900 if test -n "${OSPTK_MANDATORY}" ;
28902 { echo "$as_me:$LINENO: ***" >&5
28903 echo "$as_me: ***" >&6;}
28904 { echo "$as_me:$LINENO: *** It appears that you do not have the osptk development package installed." >&5
28905 echo "$as_me: *** It appears that you do not have the osptk development package installed." >&6;}
28906 { echo "$as_me:$LINENO: *** Please install it to include ${OSPTK_DESCRIP} support, or re-run configure" >&5
28907 echo "$as_me: *** Please install it to include ${OSPTK_DESCRIP} support, or re-run configure" >&6;}
28908 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSPTK_OPTION}" >&5
28909 echo "$as_me: *** without explicitly specifying --with-${OSPTK_OPTION}" >&6;}
28918 cat >>confdefs.h
<<_ACEOF
28919 #define HAVE_OSPTK 1
28923 elif test -n "${OSPTK_MANDATORY}";
28925 { echo "$as_me:$LINENO: ***" >&5
28926 echo "$as_me: ***" >&6;}
28927 { echo "$as_me:$LINENO: *** The ${OSPTK_DESCRIP} installation on this system appears to be broken." >&5
28928 echo "$as_me: *** The ${OSPTK_DESCRIP} installation on this system appears to be broken." >&6;}
28929 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28930 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28931 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSPTK_OPTION}" >&5
28932 echo "$as_me: *** without explicitly specifying --with-${OSPTK_OPTION}" >&6;}
28940 if test "${USE_FREETDS}" != "no"; then
28942 if test "x${FREETDS_DIR}" != "x"; then
28943 if test -d ${FREETDS_DIR}/lib
; then
28944 pbxlibdir
="-L${FREETDS_DIR}/lib"
28946 pbxlibdir
="-L${FREETDS_DIR}"
28949 { echo "$as_me:$LINENO: checking for tds_version in -ltds" >&5
28950 echo $ECHO_N "checking for tds_version in -ltds... $ECHO_C" >&6; }
28951 if test "${ac_cv_lib_tds_tds_version+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 ac_check_lib_save_LIBS
=$LIBS
28955 LIBS
="-ltds ${pbxlibdir} $LIBS"
28956 cat >conftest.
$ac_ext <<_ACEOF
28959 cat confdefs.h
>>conftest.
$ac_ext
28960 cat >>conftest.
$ac_ext <<_ACEOF
28961 /* end confdefs.h. */
28963 /* Override any GCC internal prototype to avoid an error.
28964 Use char because int might match the return type of a GCC
28965 builtin and then its argument prototype would still apply. */
28969 char tds_version ();
28973 return tds_version ();
28978 rm -f conftest.
$ac_objext conftest
$ac_exeext
28979 if { (ac_try
="$ac_link"
28980 case "(($ac_try" in
28981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28982 *) ac_try_echo=$ac_try;;
28984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28985 (eval "$ac_link") 2>conftest.er1
28987 grep -v '^ *+' conftest.er1 >conftest.err
28989 cat conftest.err >&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); } && {
28992 test -z "$ac_c_werror_flag" ||
28993 test ! -s conftest.err
28994 } && test -s conftest$ac_exeext &&
28995 $as_test_x conftest$ac_exeext; then
28996 ac_cv_lib_tds_tds_version=yes
28998 echo "$as_me: failed program was:" >&5
28999 sed 's/^/| /' conftest.$ac_ext >&5
29001 ac_cv_lib_tds_tds_version=no
29004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29005 conftest$ac_exeext conftest.$ac_ext
29006 LIBS=$ac_check_lib_save_LIBS
29008 { echo "$as_me:$LINENO: result: $ac_cv_lib_tds_tds_version" >&5
29009 echo "${ECHO_T}$ac_cv_lib_tds_tds_version" >&6; }
29010 if test $ac_cv_lib_tds_tds_version = yes; then
29011 AST_FREETDS_FOUND=yes
29013 AST_FREETDS_FOUND=no
29017 if test "${AST_FREETDS_FOUND}" = "yes"; then
29018 FREETDS_LIB="-ltds "
29019 FREETDS_HEADER_FOUND="1"
29020 if test "x${FREETDS_DIR}" != "x"; then
29021 FREETDS_LIB="${pbxlibdir} ${FREETDS_LIB}"
29022 FREETDS_INCLUDE="-I${FREETDS_DIR}/include"
29023 saved_cppflags="${CPPFLAGS}"
29024 CPPFLAGS="${CPPFLAGS} -I${FREETDS_DIR}/include"
29025 if test "xtds.h" != "x" ; then
29026 as_ac_Header=`echo "ac_cv_header_${FREETDS_DIR}/include/tds.h" |
$as_tr_sh`
29027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29028 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
29029 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
29030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29031 echo $ECHO_N "(cached) $ECHO_C" >&6
29033 ac_res=`eval echo '${'$as_ac_Header'}'`
29034 { echo "$as_me:$LINENO: result: $ac_res" >&5
29035 echo "${ECHO_T}$ac_res" >&6; }
29037 # Is the header compilable?
29038 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h usability" >&5
29039 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h usability... $ECHO_C" >&6; }
29040 cat >conftest.$ac_ext <<_ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046 $ac_includes_default
29047 #include <${FREETDS_DIR}/include/tds.h>
29049 rm -f conftest.$ac_objext
29050 if { (ac_try="$ac_compile"
29051 case "(($ac_try" in
29052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29053 *) ac_try_echo
=$ac_try;;
29055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29056 (eval "$ac_compile") 2>conftest.er1
29058 grep -v '^ *+' conftest.er1
>conftest.err
29060 cat conftest.err
>&5
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); } && {
29063 test -z "$ac_c_werror_flag" ||
29064 test ! -s conftest.err
29065 } && test -s conftest.
$ac_objext; then
29066 ac_header_compiler
=yes
29068 echo "$as_me: failed program was:" >&5
29069 sed 's/^/| /' conftest.
$ac_ext >&5
29071 ac_header_compiler
=no
29074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29075 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29076 echo "${ECHO_T}$ac_header_compiler" >&6; }
29078 # Is the header present?
29079 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h presence" >&5
29080 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h presence... $ECHO_C" >&6; }
29081 cat >conftest.
$ac_ext <<_ACEOF
29084 cat confdefs.h
>>conftest.
$ac_ext
29085 cat >>conftest.
$ac_ext <<_ACEOF
29086 /* end confdefs.h. */
29087 #include <${FREETDS_DIR}/include/tds.h>
29089 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29090 case "(($ac_try" in
29091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29092 *) ac_try_echo=$ac_try;;
29094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29097 grep -v '^ *+' conftest.er1 >conftest.err
29099 cat conftest.err >&5
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); } >/dev/null && {
29102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29103 test ! -s conftest.err
29105 ac_header_preproc=yes
29107 echo "$as_me: failed program was:" >&5
29108 sed 's/^/| /' conftest.$ac_ext >&5
29110 ac_header_preproc=no
29113 rm -f conftest.err conftest.$ac_ext
29114 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29115 echo "${ECHO_T}$ac_header_preproc" >&6; }
29117 # So? What about this header?
29118 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29120 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
29121 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29122 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the compiler's result" >&5
29123 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the compiler's result" >&2;}
29124 ac_header_preproc=yes
29127 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&5
29128 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&2;}
29129 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&5
29130 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&2;}
29131 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&5
29132 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&2;}
29133 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&5
29134 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
29135 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the preprocessor's result" >&5
29136 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the preprocessor's result" >&2;}
29137 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&5
29138 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&2;}
29142 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
29143 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
29144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29145 echo $ECHO_N "(cached) $ECHO_C" >&6
29147 eval "$as_ac_Header=\$ac_header_preproc"
29149 ac_res=`eval echo '${'$as_ac_Header'}'`
29150 { echo "$as_me:$LINENO: result: $ac_res" >&5
29151 echo "${ECHO_T}$ac_res" >&6; }
29154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29155 FREETDS_HEADER_FOUND=1
29157 FREETDS_HEADER_FOUND=0
29162 CPPFLAGS="${saved_cppflags}"
29164 if test "xtds.h" != "x" ; then
29165 if test "${ac_cv_header_tds_h+set}" = set; then
29166 { echo "$as_me:$LINENO: checking for tds.h" >&5
29167 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
29168 if test "${ac_cv_header_tds_h+set}" = set; then
29169 echo $ECHO_N "(cached) $ECHO_C" >&6
29171 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
29172 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
29174 # Is the header compilable?
29175 { echo "$as_me:$LINENO: checking tds.h usability" >&5
29176 echo $ECHO_N "checking tds.h usability... $ECHO_C" >&6; }
29177 cat >conftest.$ac_ext <<_ACEOF
29180 cat confdefs.h >>conftest.$ac_ext
29181 cat >>conftest.$ac_ext <<_ACEOF
29182 /* end confdefs.h. */
29183 $ac_includes_default
29186 rm -f conftest.$ac_objext
29187 if { (ac_try="$ac_compile"
29188 case "(($ac_try" in
29189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29190 *) ac_try_echo
=$ac_try;;
29192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29193 (eval "$ac_compile") 2>conftest.er1
29195 grep -v '^ *+' conftest.er1
>conftest.err
29197 cat conftest.err
>&5
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); } && {
29200 test -z "$ac_c_werror_flag" ||
29201 test ! -s conftest.err
29202 } && test -s conftest.
$ac_objext; then
29203 ac_header_compiler
=yes
29205 echo "$as_me: failed program was:" >&5
29206 sed 's/^/| /' conftest.
$ac_ext >&5
29208 ac_header_compiler
=no
29211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29212 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29213 echo "${ECHO_T}$ac_header_compiler" >&6; }
29215 # Is the header present?
29216 { echo "$as_me:$LINENO: checking tds.h presence" >&5
29217 echo $ECHO_N "checking tds.h presence... $ECHO_C" >&6; }
29218 cat >conftest.
$ac_ext <<_ACEOF
29221 cat confdefs.h
>>conftest.
$ac_ext
29222 cat >>conftest.
$ac_ext <<_ACEOF
29223 /* end confdefs.h. */
29226 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29227 case "(($ac_try" in
29228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29229 *) ac_try_echo=$ac_try;;
29231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29234 grep -v '^ *+' conftest.er1 >conftest.err
29236 cat conftest.err >&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } >/dev/null && {
29239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29240 test ! -s conftest.err
29242 ac_header_preproc=yes
29244 echo "$as_me: failed program was:" >&5
29245 sed 's/^/| /' conftest.$ac_ext >&5
29247 ac_header_preproc=no
29250 rm -f conftest.err conftest.$ac_ext
29251 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29252 echo "${ECHO_T}$ac_header_preproc" >&6; }
29254 # So? What about this header?
29255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29257 { echo "$as_me:$LINENO: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
29258 echo "$as_me: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29259 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the compiler's result" >&5
29260 echo "$as_me: WARNING: tds.h: proceeding with the compiler's result" >&2;}
29261 ac_header_preproc=yes
29264 { echo "$as_me:$LINENO: WARNING: tds.h: present but cannot be compiled" >&5
29265 echo "$as_me: WARNING: tds.h: present but cannot be compiled" >&2;}
29266 { echo "$as_me:$LINENO: WARNING: tds.h: check for missing prerequisite headers?" >&5
29267 echo "$as_me: WARNING: tds.h: check for missing prerequisite headers?" >&2;}
29268 { echo "$as_me:$LINENO: WARNING: tds.h: see the Autoconf documentation" >&5
29269 echo "$as_me: WARNING: tds.h: see the Autoconf documentation" >&2;}
29270 { echo "$as_me:$LINENO: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&5
29271 echo "$as_me: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
29272 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the preprocessor's result" >&5
29273 echo "$as_me: WARNING: tds.h: proceeding with the preprocessor's result" >&2;}
29274 { echo "$as_me:$LINENO: WARNING: tds.h: in the future, the compiler will take precedence" >&5
29275 echo "$as_me: WARNING: tds.h: in the future, the compiler will take precedence" >&2;}
29279 { echo "$as_me:$LINENO: checking for tds.h" >&5
29280 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
29281 if test "${ac_cv_header_tds_h+set}" = set; then
29282 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 ac_cv_header_tds_h=$ac_header_preproc
29286 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
29287 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
29290 if test $ac_cv_header_tds_h = yes; then
29291 FREETDS_HEADER_FOUND=1
29293 FREETDS_HEADER_FOUND=0
29299 if test "x${FREETDS_HEADER_FOUND}" = "x0" ; then
29300 if test -n "${FREETDS_MANDATORY}" ;
29302 { echo "$as_me:$LINENO: ***" >&5
29303 echo "$as_me: ***" >&6;}
29304 { echo "$as_me:$LINENO: *** It appears that you do not have the tds development package installed." >&5
29305 echo "$as_me: *** It appears that you do not have the tds development package installed." >&6;}
29306 { echo "$as_me:$LINENO: *** Please install it to include ${FREETDS_DESCRIP} support, or re-run configure" >&5
29307 echo "$as_me: *** Please install it to include ${FREETDS_DESCRIP} support, or re-run configure" >&6;}
29308 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
29309 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
29318 cat >>confdefs.h <<_ACEOF
29319 #define HAVE_FREETDS 1
29323 elif test -n "${FREETDS_MANDATORY}";
29325 { echo "$as_me:$LINENO: ***" >&5
29326 echo "$as_me: ***" >&6;}
29327 { echo "$as_me:$LINENO: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&5
29328 echo "$as_me: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&6;}
29329 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
29330 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
29331 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
29332 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
29337 if test "${PBX_FREETDS}" != "0";
29339 case `grep TDS_VERSION_NO
${FREETDS_DIR:-/usr}/include
/tdsver.h
` in
29341 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_64"
29344 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_63"
29347 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_62"
29350 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_PRE_0_62"
29356 if test "${USE_TERMCAP}" != "no"; then
29358 if test "x${TERMCAP_DIR}" != "x"; then
29359 if test -d ${TERMCAP_DIR}/lib; then
29360 pbxlibdir="-L${TERMCAP_DIR}/lib"
29362 pbxlibdir="-L${TERMCAP_DIR}"
29365 { echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
29366 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
29367 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
29368 echo $ECHO_N "(cached) $ECHO_C" >&6
29370 ac_check_lib_save_LIBS=$LIBS
29371 LIBS="-ltermcap ${pbxlibdir} $LIBS"
29372 cat >conftest.$ac_ext <<_ACEOF
29375 cat confdefs.h >>conftest.$ac_ext
29376 cat >>conftest.$ac_ext <<_ACEOF
29377 /* end confdefs.h. */
29379 /* Override any GCC internal prototype to avoid an error.
29380 Use char because int might match the return type of a GCC
29381 builtin and then its argument prototype would still apply. */
29394 rm -f conftest.$ac_objext conftest$ac_exeext
29395 if { (ac_try="$ac_link"
29396 case "(($ac_try" in
29397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29398 *) ac_try_echo
=$ac_try;;
29400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29401 (eval "$ac_link") 2>conftest.er1
29403 grep -v '^ *+' conftest.er1
>conftest.err
29405 cat conftest.err
>&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } && {
29408 test -z "$ac_c_werror_flag" ||
29409 test ! -s conftest.err
29410 } && test -s conftest
$ac_exeext &&
29411 $as_test_x conftest
$ac_exeext; then
29412 ac_cv_lib_termcap_tgetent
=yes
29414 echo "$as_me: failed program was:" >&5
29415 sed 's/^/| /' conftest.
$ac_ext >&5
29417 ac_cv_lib_termcap_tgetent
=no
29420 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29421 conftest
$ac_exeext conftest.
$ac_ext
29422 LIBS
=$ac_check_lib_save_LIBS
29424 { echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
29425 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
29426 if test $ac_cv_lib_termcap_tgetent = yes; then
29427 AST_TERMCAP_FOUND
=yes
29429 AST_TERMCAP_FOUND
=no
29433 if test "${AST_TERMCAP_FOUND}" = "yes"; then
29434 TERMCAP_LIB
="-ltermcap "
29435 TERMCAP_HEADER_FOUND
="1"
29436 if test "x${TERMCAP_DIR}" != "x"; then
29437 TERMCAP_LIB
="${pbxlibdir} ${TERMCAP_LIB}"
29438 TERMCAP_INCLUDE
="-I${TERMCAP_DIR}/include"
29439 saved_cppflags
="${CPPFLAGS}"
29440 CPPFLAGS
="${CPPFLAGS} -I${TERMCAP_DIR}/include"
29441 if test "x" != "x" ; then
29442 as_ac_Header
=`echo "ac_cv_header_${TERMCAP_DIR}/include/" | $as_tr_sh`
29443 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29444 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
29445 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
29446 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29447 echo $ECHO_N "(cached) $ECHO_C" >&6
29449 ac_res
=`eval echo '${'$as_ac_Header'}'`
29450 { echo "$as_me:$LINENO: result: $ac_res" >&5
29451 echo "${ECHO_T}$ac_res" >&6; }
29453 # Is the header compilable?
29454 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ usability" >&5
29455 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ usability... $ECHO_C" >&6; }
29456 cat >conftest.
$ac_ext <<_ACEOF
29459 cat confdefs.h
>>conftest.
$ac_ext
29460 cat >>conftest.
$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462 $ac_includes_default
29463 #include <${TERMCAP_DIR}/include/>
29465 rm -f conftest.
$ac_objext
29466 if { (ac_try
="$ac_compile"
29467 case "(($ac_try" in
29468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29469 *) ac_try_echo=$ac_try;;
29471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29472 (eval "$ac_compile") 2>conftest.er1
29474 grep -v '^ *+' conftest.er1 >conftest.err
29476 cat conftest.err >&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } && {
29479 test -z "$ac_c_werror_flag" ||
29480 test ! -s conftest.err
29481 } && test -s conftest.$ac_objext; then
29482 ac_header_compiler=yes
29484 echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29487 ac_header_compiler=no
29490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29491 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29492 echo "${ECHO_T}$ac_header_compiler" >&6; }
29494 # Is the header present?
29495 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ presence" >&5
29496 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ presence... $ECHO_C" >&6; }
29497 cat >conftest.$ac_ext <<_ACEOF
29500 cat confdefs.h >>conftest.$ac_ext
29501 cat >>conftest.$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29503 #include <${TERMCAP_DIR}/include/>
29505 if { (ac_try="$ac_cpp conftest.$ac_ext"
29506 case "(($ac_try" in
29507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29508 *) ac_try_echo
=$ac_try;;
29510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29513 grep -v '^ *+' conftest.er1
>conftest.err
29515 cat conftest.err
>&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); } >/dev
/null
&& {
29518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29519 test ! -s conftest.err
29521 ac_header_preproc
=yes
29523 echo "$as_me: failed program was:" >&5
29524 sed 's/^/| /' conftest.
$ac_ext >&5
29526 ac_header_preproc
=no
29529 rm -f conftest.err conftest.
$ac_ext
29530 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29531 echo "${ECHO_T}$ac_header_preproc" >&6; }
29533 # So? What about this header?
29534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29536 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
29537 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
29538 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the compiler's result" >&5
29539 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: proceeding with the compiler's result" >&2;}
29540 ac_header_preproc
=yes
29543 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&5
29544 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&2;}
29545 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&5
29546 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&2;}
29547 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&5
29548 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&2;}
29549 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
29550 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
29551 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the preprocessor's result" >&5
29552 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: proceeding with the preprocessor's result" >&2;}
29553 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&5
29554 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&2;}
29558 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
29559 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
29560 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29561 echo $ECHO_N "(cached) $ECHO_C" >&6
29563 eval "$as_ac_Header=\$ac_header_preproc"
29565 ac_res
=`eval echo '${'$as_ac_Header'}'`
29566 { echo "$as_me:$LINENO: result: $ac_res" >&5
29567 echo "${ECHO_T}$ac_res" >&6; }
29570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29571 TERMCAP_HEADER_FOUND
=1
29573 TERMCAP_HEADER_FOUND
=0
29578 CPPFLAGS
="${saved_cppflags}"
29580 if test "x" != "x" ; then
29581 if test "${ac_cv_header_+set}" = set; then
29582 { echo "$as_me:$LINENO: checking for " >&5
29583 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
29584 if test "${ac_cv_header_+set}" = set; then
29585 echo $ECHO_N "(cached) $ECHO_C" >&6
29587 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
29588 echo "${ECHO_T}$ac_cv_header_" >&6; }
29590 # Is the header compilable?
29591 { echo "$as_me:$LINENO: checking usability" >&5
29592 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
29593 cat >conftest.
$ac_ext <<_ACEOF
29596 cat confdefs.h
>>conftest.
$ac_ext
29597 cat >>conftest.
$ac_ext <<_ACEOF
29598 /* end confdefs.h. */
29599 $ac_includes_default
29602 rm -f conftest.
$ac_objext
29603 if { (ac_try
="$ac_compile"
29604 case "(($ac_try" in
29605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29606 *) ac_try_echo=$ac_try;;
29608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29609 (eval "$ac_compile") 2>conftest.er1
29611 grep -v '^ *+' conftest.er1 >conftest.err
29613 cat conftest.err >&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); } && {
29616 test -z "$ac_c_werror_flag" ||
29617 test ! -s conftest.err
29618 } && test -s conftest.$ac_objext; then
29619 ac_header_compiler=yes
29621 echo "$as_me: failed program was:" >&5
29622 sed 's/^/| /' conftest.$ac_ext >&5
29624 ac_header_compiler=no
29627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29628 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29629 echo "${ECHO_T}$ac_header_compiler" >&6; }
29631 # Is the header present?
29632 { echo "$as_me:$LINENO: checking presence" >&5
29633 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
29634 cat >conftest.$ac_ext <<_ACEOF
29637 cat confdefs.h >>conftest.$ac_ext
29638 cat >>conftest.$ac_ext <<_ACEOF
29639 /* end confdefs.h. */
29642 if { (ac_try="$ac_cpp conftest.$ac_ext"
29643 case "(($ac_try" in
29644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29645 *) ac_try_echo
=$ac_try;;
29647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29650 grep -v '^ *+' conftest.er1
>conftest.err
29652 cat conftest.err
>&5
29653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654 (exit $ac_status); } >/dev
/null
&& {
29655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29656 test ! -s conftest.err
29658 ac_header_preproc
=yes
29660 echo "$as_me: failed program was:" >&5
29661 sed 's/^/| /' conftest.
$ac_ext >&5
29663 ac_header_preproc
=no
29666 rm -f conftest.err conftest.
$ac_ext
29667 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29668 echo "${ECHO_T}$ac_header_preproc" >&6; }
29670 # So? What about this header?
29671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29673 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
29674 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
29675 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
29676 echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
29677 ac_header_preproc
=yes
29680 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
29681 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
29682 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
29683 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
29684 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
29685 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
29686 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
29687 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
29688 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
29689 echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
29690 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
29691 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
29695 { echo "$as_me:$LINENO: checking for " >&5
29696 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
29697 if test "${ac_cv_header_+set}" = set; then
29698 echo $ECHO_N "(cached) $ECHO_C" >&6
29700 ac_cv_header_
=$ac_header_preproc
29702 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
29703 echo "${ECHO_T}$ac_cv_header_" >&6; }
29706 if test $ac_cv_header_ = yes; then
29707 TERMCAP_HEADER_FOUND
=1
29709 TERMCAP_HEADER_FOUND
=0
29715 if test "x${TERMCAP_HEADER_FOUND}" = "x0" ; then
29716 if test -n "${TERMCAP_MANDATORY}" ;
29718 { echo "$as_me:$LINENO: ***" >&5
29719 echo "$as_me: ***" >&6;}
29720 { echo "$as_me:$LINENO: *** It appears that you do not have the termcap development package installed." >&5
29721 echo "$as_me: *** It appears that you do not have the termcap development package installed." >&6;}
29722 { echo "$as_me:$LINENO: *** Please install it to include ${TERMCAP_DESCRIP} support, or re-run configure" >&5
29723 echo "$as_me: *** Please install it to include ${TERMCAP_DESCRIP} support, or re-run configure" >&6;}
29724 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
29725 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
29734 cat >>confdefs.h
<<_ACEOF
29735 #define HAVE_TERMCAP 1
29739 elif test -n "${TERMCAP_MANDATORY}";
29741 { echo "$as_me:$LINENO: ***" >&5
29742 echo "$as_me: ***" >&6;}
29743 { echo "$as_me:$LINENO: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&5
29744 echo "$as_me: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&6;}
29745 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
29746 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
29747 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
29748 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
29755 if test "${USE_TINFO}" != "no"; then
29757 if test "x${TINFO_DIR}" != "x"; then
29758 if test -d ${TINFO_DIR}/lib
; then
29759 pbxlibdir
="-L${TINFO_DIR}/lib"
29761 pbxlibdir
="-L${TINFO_DIR}"
29764 { echo "$as_me:$LINENO: checking for tgetent in -ltinfo" >&5
29765 echo $ECHO_N "checking for tgetent in -ltinfo... $ECHO_C" >&6; }
29766 if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 ac_check_lib_save_LIBS
=$LIBS
29770 LIBS
="-ltinfo ${pbxlibdir} $LIBS"
29771 cat >conftest.
$ac_ext <<_ACEOF
29774 cat confdefs.h
>>conftest.
$ac_ext
29775 cat >>conftest.
$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29778 /* Override any GCC internal prototype to avoid an error.
29779 Use char because int might match the return type of a GCC
29780 builtin and then its argument prototype would still apply. */
29793 rm -f conftest.
$ac_objext conftest
$ac_exeext
29794 if { (ac_try
="$ac_link"
29795 case "(($ac_try" in
29796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29797 *) ac_try_echo=$ac_try;;
29799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29800 (eval "$ac_link") 2>conftest.er1
29802 grep -v '^ *+' conftest.er1 >conftest.err
29804 cat conftest.err >&5
29805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29806 (exit $ac_status); } && {
29807 test -z "$ac_c_werror_flag" ||
29808 test ! -s conftest.err
29809 } && test -s conftest$ac_exeext &&
29810 $as_test_x conftest$ac_exeext; then
29811 ac_cv_lib_tinfo_tgetent=yes
29813 echo "$as_me: failed program was:" >&5
29814 sed 's/^/| /' conftest.$ac_ext >&5
29816 ac_cv_lib_tinfo_tgetent=no
29819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29820 conftest$ac_exeext conftest.$ac_ext
29821 LIBS=$ac_check_lib_save_LIBS
29823 { echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tgetent" >&5
29824 echo "${ECHO_T}$ac_cv_lib_tinfo_tgetent" >&6; }
29825 if test $ac_cv_lib_tinfo_tgetent = yes; then
29826 AST_TINFO_FOUND=yes
29832 if test "${AST_TINFO_FOUND}" = "yes"; then
29833 TINFO_LIB="-ltinfo "
29834 TINFO_HEADER_FOUND="1"
29835 if test "x${TINFO_DIR}" != "x"; then
29836 TINFO_LIB="${pbxlibdir} ${TINFO_LIB}"
29837 TINFO_INCLUDE="-I${TINFO_DIR}/include"
29838 saved_cppflags="${CPPFLAGS}"
29839 CPPFLAGS="${CPPFLAGS} -I${TINFO_DIR}/include"
29840 if test "x" != "x" ; then
29841 as_ac_Header=`echo "ac_cv_header_${TINFO_DIR}/include/" |
$as_tr_sh`
29842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29843 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
29844 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
29845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29846 echo $ECHO_N "(cached) $ECHO_C" >&6
29848 ac_res=`eval echo '${'$as_ac_Header'}'`
29849 { echo "$as_me:$LINENO: result: $ac_res" >&5
29850 echo "${ECHO_T}$ac_res" >&6; }
29852 # Is the header compilable?
29853 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ usability" >&5
29854 echo $ECHO_N "checking ${TINFO_DIR}/include/ usability... $ECHO_C" >&6; }
29855 cat >conftest.$ac_ext <<_ACEOF
29858 cat confdefs.h >>conftest.$ac_ext
29859 cat >>conftest.$ac_ext <<_ACEOF
29860 /* end confdefs.h. */
29861 $ac_includes_default
29862 #include <${TINFO_DIR}/include/>
29864 rm -f conftest.$ac_objext
29865 if { (ac_try="$ac_compile"
29866 case "(($ac_try" in
29867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29868 *) ac_try_echo
=$ac_try;;
29870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29871 (eval "$ac_compile") 2>conftest.er1
29873 grep -v '^ *+' conftest.er1
>conftest.err
29875 cat conftest.err
>&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); } && {
29878 test -z "$ac_c_werror_flag" ||
29879 test ! -s conftest.err
29880 } && test -s conftest.
$ac_objext; then
29881 ac_header_compiler
=yes
29883 echo "$as_me: failed program was:" >&5
29884 sed 's/^/| /' conftest.
$ac_ext >&5
29886 ac_header_compiler
=no
29889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29890 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29891 echo "${ECHO_T}$ac_header_compiler" >&6; }
29893 # Is the header present?
29894 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ presence" >&5
29895 echo $ECHO_N "checking ${TINFO_DIR}/include/ presence... $ECHO_C" >&6; }
29896 cat >conftest.
$ac_ext <<_ACEOF
29899 cat confdefs.h
>>conftest.
$ac_ext
29900 cat >>conftest.
$ac_ext <<_ACEOF
29901 /* end confdefs.h. */
29902 #include <${TINFO_DIR}/include/>
29904 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29905 case "(($ac_try" in
29906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29907 *) ac_try_echo=$ac_try;;
29909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29912 grep -v '^ *+' conftest.er1 >conftest.err
29914 cat conftest.err >&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); } >/dev/null && {
29917 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29918 test ! -s conftest.err
29920 ac_header_preproc=yes
29922 echo "$as_me: failed program was:" >&5
29923 sed 's/^/| /' conftest.$ac_ext >&5
29925 ac_header_preproc=no
29928 rm -f conftest.err conftest.$ac_ext
29929 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29930 echo "${ECHO_T}$ac_header_preproc" >&6; }
29932 # So? What about this header?
29933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29935 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
29936 echo "$as_me: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
29937 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the compiler's result" >&5
29938 echo "$as_me: WARNING: ${TINFO_DIR}/include/: proceeding with the compiler's result" >&2;}
29939 ac_header_preproc=yes
29942 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&5
29943 echo "$as_me: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&2;}
29944 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&5
29945 echo "$as_me: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&2;}
29946 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&5
29947 echo "$as_me: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&2;}
29948 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
29949 echo "$as_me: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
29950 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the preprocessor's result" >&5
29951 echo "$as_me: WARNING: ${TINFO_DIR}/include/: proceeding with the preprocessor's result" >&2;}
29952 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&5
29953 echo "$as_me: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&2;}
29957 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
29958 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
29959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29960 echo $ECHO_N "(cached) $ECHO_C" >&6
29962 eval "$as_ac_Header=\$ac_header_preproc"
29964 ac_res=`eval echo '${'$as_ac_Header'}'`
29965 { echo "$as_me:$LINENO: result: $ac_res" >&5
29966 echo "${ECHO_T}$ac_res" >&6; }
29969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29970 TINFO_HEADER_FOUND=1
29972 TINFO_HEADER_FOUND=0
29977 CPPFLAGS="${saved_cppflags}"
29979 if test "x" != "x" ; then
29980 if test "${ac_cv_header_+set}" = set; then
29981 { echo "$as_me:$LINENO: checking for " >&5
29982 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
29983 if test "${ac_cv_header_+set}" = set; then
29984 echo $ECHO_N "(cached) $ECHO_C" >&6
29986 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
29987 echo "${ECHO_T}$ac_cv_header_" >&6; }
29989 # Is the header compilable?
29990 { echo "$as_me:$LINENO: checking usability" >&5
29991 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
29992 cat >conftest.$ac_ext <<_ACEOF
29995 cat confdefs.h >>conftest.$ac_ext
29996 cat >>conftest.$ac_ext <<_ACEOF
29997 /* end confdefs.h. */
29998 $ac_includes_default
30001 rm -f conftest.$ac_objext
30002 if { (ac_try="$ac_compile"
30003 case "(($ac_try" in
30004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30005 *) ac_try_echo
=$ac_try;;
30007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30008 (eval "$ac_compile") 2>conftest.er1
30010 grep -v '^ *+' conftest.er1
>conftest.err
30012 cat conftest.err
>&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } && {
30015 test -z "$ac_c_werror_flag" ||
30016 test ! -s conftest.err
30017 } && test -s conftest.
$ac_objext; then
30018 ac_header_compiler
=yes
30020 echo "$as_me: failed program was:" >&5
30021 sed 's/^/| /' conftest.
$ac_ext >&5
30023 ac_header_compiler
=no
30026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30027 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30028 echo "${ECHO_T}$ac_header_compiler" >&6; }
30030 # Is the header present?
30031 { echo "$as_me:$LINENO: checking presence" >&5
30032 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
30033 cat >conftest.
$ac_ext <<_ACEOF
30036 cat confdefs.h
>>conftest.
$ac_ext
30037 cat >>conftest.
$ac_ext <<_ACEOF
30038 /* end confdefs.h. */
30041 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30042 case "(($ac_try" in
30043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30044 *) ac_try_echo=$ac_try;;
30046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30049 grep -v '^ *+' conftest.er1 >conftest.err
30051 cat conftest.err >&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); } >/dev/null && {
30054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30055 test ! -s conftest.err
30057 ac_header_preproc=yes
30059 echo "$as_me: failed program was:" >&5
30060 sed 's/^/| /' conftest.$ac_ext >&5
30062 ac_header_preproc=no
30065 rm -f conftest.err conftest.$ac_ext
30066 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30067 echo "${ECHO_T}$ac_header_preproc" >&6; }
30069 # So? What about this header?
30070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30072 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
30073 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
30074 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
30075 echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
30076 ac_header_preproc=yes
30079 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
30080 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
30081 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
30082 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
30083 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
30084 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
30085 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
30086 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
30087 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
30088 echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
30089 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
30090 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
30094 { echo "$as_me:$LINENO: checking for " >&5
30095 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
30096 if test "${ac_cv_header_+set}" = set; then
30097 echo $ECHO_N "(cached) $ECHO_C" >&6
30099 ac_cv_header_=$ac_header_preproc
30101 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
30102 echo "${ECHO_T}$ac_cv_header_" >&6; }
30105 if test $ac_cv_header_ = yes; then
30106 TINFO_HEADER_FOUND=1
30108 TINFO_HEADER_FOUND=0
30114 if test "x${TINFO_HEADER_FOUND}" = "x0" ; then
30115 if test -n "${TINFO_MANDATORY}" ;
30117 { echo "$as_me:$LINENO: ***" >&5
30118 echo "$as_me: ***" >&6;}
30119 { echo "$as_me:$LINENO: *** It appears that you do not have the tinfo development package installed." >&5
30120 echo "$as_me: *** It appears that you do not have the tinfo development package installed." >&6;}
30121 { echo "$as_me:$LINENO: *** Please install it to include ${TINFO_DESCRIP} support, or re-run configure" >&5
30122 echo "$as_me: *** Please install it to include ${TINFO_DESCRIP} support, or re-run configure" >&6;}
30123 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
30124 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
30133 cat >>confdefs.h <<_ACEOF
30134 #define HAVE_TINFO 1
30138 elif test -n "${TINFO_MANDATORY}";
30140 { echo "$as_me:$LINENO: ***" >&5
30141 echo "$as_me: ***" >&6;}
30142 { echo "$as_me:$LINENO: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&5
30143 echo "$as_me: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&6;}
30144 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
30145 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
30146 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
30147 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
30153 if test "${host_os}" != "linux-gnu" ; then
30154 tonezone_extra="-lm"
30158 if test "${USE_TONEZONE}" != "no"; then
30160 if test "x${TONEZONE_DIR}" != "x"; then
30161 if test -d ${TONEZONE_DIR}/lib; then
30162 pbxlibdir="-L${TONEZONE_DIR}/lib"
30164 pbxlibdir="-L${TONEZONE_DIR}"
30167 { echo "$as_me:$LINENO: checking for tone_zone_find in -ltonezone" >&5
30168 echo $ECHO_N "checking for tone_zone_find in -ltonezone... $ECHO_C" >&6; }
30169 if test "${ac_cv_lib_tonezone_tone_zone_find+set}" = set; then
30170 echo $ECHO_N "(cached) $ECHO_C" >&6
30172 ac_check_lib_save_LIBS=$LIBS
30173 LIBS="-ltonezone ${pbxlibdir} ${tonezone_extra} $LIBS"
30174 cat >conftest.$ac_ext <<_ACEOF
30177 cat confdefs.h >>conftest.$ac_ext
30178 cat >>conftest.$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30181 /* Override any GCC internal prototype to avoid an error.
30182 Use char because int might match the return type of a GCC
30183 builtin and then its argument prototype would still apply. */
30187 char tone_zone_find ();
30191 return tone_zone_find ();
30196 rm -f conftest.$ac_objext conftest$ac_exeext
30197 if { (ac_try="$ac_link"
30198 case "(($ac_try" in
30199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30200 *) ac_try_echo
=$ac_try;;
30202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30203 (eval "$ac_link") 2>conftest.er1
30205 grep -v '^ *+' conftest.er1
>conftest.err
30207 cat conftest.err
>&5
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); } && {
30210 test -z "$ac_c_werror_flag" ||
30211 test ! -s conftest.err
30212 } && test -s conftest
$ac_exeext &&
30213 $as_test_x conftest
$ac_exeext; then
30214 ac_cv_lib_tonezone_tone_zone_find
=yes
30216 echo "$as_me: failed program was:" >&5
30217 sed 's/^/| /' conftest.
$ac_ext >&5
30219 ac_cv_lib_tonezone_tone_zone_find
=no
30222 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30223 conftest
$ac_exeext conftest.
$ac_ext
30224 LIBS
=$ac_check_lib_save_LIBS
30226 { echo "$as_me:$LINENO: result: $ac_cv_lib_tonezone_tone_zone_find" >&5
30227 echo "${ECHO_T}$ac_cv_lib_tonezone_tone_zone_find" >&6; }
30228 if test $ac_cv_lib_tonezone_tone_zone_find = yes; then
30229 AST_TONEZONE_FOUND
=yes
30231 AST_TONEZONE_FOUND
=no
30235 if test "${AST_TONEZONE_FOUND}" = "yes"; then
30236 TONEZONE_LIB
="-ltonezone ${tonezone_extra}"
30237 TONEZONE_HEADER_FOUND
="1"
30238 if test "x${TONEZONE_DIR}" != "x"; then
30239 TONEZONE_LIB
="${pbxlibdir} ${TONEZONE_LIB}"
30240 TONEZONE_INCLUDE
="-I${TONEZONE_DIR}/include"
30241 saved_cppflags
="${CPPFLAGS}"
30242 CPPFLAGS
="${CPPFLAGS} -I${TONEZONE_DIR}/include"
30243 if test "xzaptel/tonezone.h" != "x" ; then
30244 as_ac_Header
=`echo "ac_cv_header_${TONEZONE_DIR}/include/zaptel/tonezone.h" | $as_tr_sh`
30245 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30246 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
30247 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
30248 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30249 echo $ECHO_N "(cached) $ECHO_C" >&6
30251 ac_res
=`eval echo '${'$as_ac_Header'}'`
30252 { echo "$as_me:$LINENO: result: $ac_res" >&5
30253 echo "${ECHO_T}$ac_res" >&6; }
30255 # Is the header compilable?
30256 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability" >&5
30257 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability... $ECHO_C" >&6; }
30258 cat >conftest.
$ac_ext <<_ACEOF
30261 cat confdefs.h
>>conftest.
$ac_ext
30262 cat >>conftest.
$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264 $ac_includes_default
30265 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
30267 rm -f conftest.
$ac_objext
30268 if { (ac_try
="$ac_compile"
30269 case "(($ac_try" in
30270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30271 *) ac_try_echo=$ac_try;;
30273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30274 (eval "$ac_compile") 2>conftest.er1
30276 grep -v '^ *+' conftest.er1 >conftest.err
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } && {
30281 test -z "$ac_c_werror_flag" ||
30282 test ! -s conftest.err
30283 } && test -s conftest.$ac_objext; then
30284 ac_header_compiler=yes
30286 echo "$as_me: failed program was:" >&5
30287 sed 's/^/| /' conftest.$ac_ext >&5
30289 ac_header_compiler=no
30292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30293 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30294 echo "${ECHO_T}$ac_header_compiler" >&6; }
30296 # Is the header present?
30297 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence" >&5
30298 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence... $ECHO_C" >&6; }
30299 cat >conftest.$ac_ext <<_ACEOF
30302 cat confdefs.h >>conftest.$ac_ext
30303 cat >>conftest.$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30305 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
30307 if { (ac_try="$ac_cpp conftest.$ac_ext"
30308 case "(($ac_try" in
30309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30310 *) ac_try_echo
=$ac_try;;
30312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30313 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30315 grep -v '^ *+' conftest.er1
>conftest.err
30317 cat conftest.err
>&5
30318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30319 (exit $ac_status); } >/dev
/null
&& {
30320 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30321 test ! -s conftest.err
30323 ac_header_preproc
=yes
30325 echo "$as_me: failed program was:" >&5
30326 sed 's/^/| /' conftest.
$ac_ext >&5
30328 ac_header_preproc
=no
30331 rm -f conftest.err conftest.
$ac_ext
30332 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30333 echo "${ECHO_T}$ac_header_preproc" >&6; }
30335 # So? What about this header?
30336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30338 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
30339 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30340 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the compiler's result" >&5
30341 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the compiler's result" >&2;}
30342 ac_header_preproc
=yes
30345 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&5
30346 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&2;}
30347 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&5
30348 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
30349 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&5
30350 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&2;}
30351 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
30352 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
30353 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the preprocessor's result" >&5
30354 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the preprocessor's result" >&2;}
30355 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
30356 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
30360 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
30361 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
30362 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30363 echo $ECHO_N "(cached) $ECHO_C" >&6
30365 eval "$as_ac_Header=\$ac_header_preproc"
30367 ac_res
=`eval echo '${'$as_ac_Header'}'`
30368 { echo "$as_me:$LINENO: result: $ac_res" >&5
30369 echo "${ECHO_T}$ac_res" >&6; }
30372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30373 TONEZONE_HEADER_FOUND
=1
30375 TONEZONE_HEADER_FOUND
=0
30380 CPPFLAGS
="${saved_cppflags}"
30382 if test "xzaptel/tonezone.h" != "x" ; then
30383 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
30384 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
30385 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
30386 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
30387 echo $ECHO_N "(cached) $ECHO_C" >&6
30389 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
30390 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
30392 # Is the header compilable?
30393 { echo "$as_me:$LINENO: checking zaptel/tonezone.h usability" >&5
30394 echo $ECHO_N "checking zaptel/tonezone.h usability... $ECHO_C" >&6; }
30395 cat >conftest.
$ac_ext <<_ACEOF
30398 cat confdefs.h
>>conftest.
$ac_ext
30399 cat >>conftest.
$ac_ext <<_ACEOF
30400 /* end confdefs.h. */
30401 $ac_includes_default
30402 #include <zaptel/tonezone.h>
30404 rm -f conftest.
$ac_objext
30405 if { (ac_try
="$ac_compile"
30406 case "(($ac_try" in
30407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30408 *) ac_try_echo=$ac_try;;
30410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30411 (eval "$ac_compile") 2>conftest.er1
30413 grep -v '^ *+' conftest.er1 >conftest.err
30415 cat conftest.err >&5
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); } && {
30418 test -z "$ac_c_werror_flag" ||
30419 test ! -s conftest.err
30420 } && test -s conftest.$ac_objext; then
30421 ac_header_compiler=yes
30423 echo "$as_me: failed program was:" >&5
30424 sed 's/^/| /' conftest.$ac_ext >&5
30426 ac_header_compiler=no
30429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30430 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30431 echo "${ECHO_T}$ac_header_compiler" >&6; }
30433 # Is the header present?
30434 { echo "$as_me:$LINENO: checking zaptel/tonezone.h presence" >&5
30435 echo $ECHO_N "checking zaptel/tonezone.h presence... $ECHO_C" >&6; }
30436 cat >conftest.$ac_ext <<_ACEOF
30439 cat confdefs.h >>conftest.$ac_ext
30440 cat >>conftest.$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30442 #include <zaptel/tonezone.h>
30444 if { (ac_try="$ac_cpp conftest.$ac_ext"
30445 case "(($ac_try" in
30446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30447 *) ac_try_echo
=$ac_try;;
30449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30452 grep -v '^ *+' conftest.er1
>conftest.err
30454 cat conftest.err
>&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); } >/dev
/null
&& {
30457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30458 test ! -s conftest.err
30460 ac_header_preproc
=yes
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.
$ac_ext >&5
30465 ac_header_preproc
=no
30468 rm -f conftest.err conftest.
$ac_ext
30469 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30470 echo "${ECHO_T}$ac_header_preproc" >&6; }
30472 # So? What about this header?
30473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30475 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
30476 echo "$as_me: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30477 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the compiler's result" >&5
30478 echo "$as_me: WARNING: zaptel/tonezone.h: proceeding with the compiler's result" >&2;}
30479 ac_header_preproc
=yes
30482 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&5
30483 echo "$as_me: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&2;}
30484 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&5
30485 echo "$as_me: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
30486 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&5
30487 echo "$as_me: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&2;}
30488 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
30489 echo "$as_me: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
30490 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the preprocessor's result" >&5
30491 echo "$as_me: WARNING: zaptel/tonezone.h: proceeding with the preprocessor's result" >&2;}
30492 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
30493 echo "$as_me: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
30497 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
30498 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
30499 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
30500 echo $ECHO_N "(cached) $ECHO_C" >&6
30502 ac_cv_header_zaptel_tonezone_h
=$ac_header_preproc
30504 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
30505 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
30508 if test $ac_cv_header_zaptel_tonezone_h = yes; then
30509 TONEZONE_HEADER_FOUND
=1
30511 TONEZONE_HEADER_FOUND
=0
30517 if test "x${TONEZONE_HEADER_FOUND}" = "x0" ; then
30518 if test -n "${TONEZONE_MANDATORY}" ;
30520 { echo "$as_me:$LINENO: ***" >&5
30521 echo "$as_me: ***" >&6;}
30522 { echo "$as_me:$LINENO: *** It appears that you do not have the tonezone development package installed." >&5
30523 echo "$as_me: *** It appears that you do not have the tonezone development package installed." >&6;}
30524 { echo "$as_me:$LINENO: *** Please install it to include ${TONEZONE_DESCRIP} support, or re-run configure" >&5
30525 echo "$as_me: *** Please install it to include ${TONEZONE_DESCRIP} support, or re-run configure" >&6;}
30526 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
30527 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
30531 TONEZONE_INCLUDE
=""
30536 cat >>confdefs.h
<<_ACEOF
30537 #define HAVE_TONEZONE 1
30541 elif test -n "${TONEZONE_MANDATORY}";
30543 { echo "$as_me:$LINENO: ***" >&5
30544 echo "$as_me: ***" >&6;}
30545 { echo "$as_me:$LINENO: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&5
30546 echo "$as_me: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&6;}
30547 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
30548 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
30549 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
30550 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
30557 if test "${USE_VORBIS}" != "no"; then
30559 if test "x${VORBIS_DIR}" != "x"; then
30560 if test -d ${VORBIS_DIR}/lib
; then
30561 pbxlibdir
="-L${VORBIS_DIR}/lib"
30563 pbxlibdir
="-L${VORBIS_DIR}"
30566 { echo "$as_me:$LINENO: checking for vorbis_info_init in -lvorbis" >&5
30567 echo $ECHO_N "checking for vorbis_info_init in -lvorbis... $ECHO_C" >&6; }
30568 if test "${ac_cv_lib_vorbis_vorbis_info_init+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30571 ac_check_lib_save_LIBS
=$LIBS
30572 LIBS
="-lvorbis ${pbxlibdir} -lm -lvorbisenc $LIBS"
30573 cat >conftest.
$ac_ext <<_ACEOF
30576 cat confdefs.h
>>conftest.
$ac_ext
30577 cat >>conftest.
$ac_ext <<_ACEOF
30578 /* end confdefs.h. */
30580 /* Override any GCC internal prototype to avoid an error.
30581 Use char because int might match the return type of a GCC
30582 builtin and then its argument prototype would still apply. */
30586 char vorbis_info_init ();
30590 return vorbis_info_init ();
30595 rm -f conftest.
$ac_objext conftest
$ac_exeext
30596 if { (ac_try
="$ac_link"
30597 case "(($ac_try" in
30598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30599 *) ac_try_echo=$ac_try;;
30601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30602 (eval "$ac_link") 2>conftest.er1
30604 grep -v '^ *+' conftest.er1 >conftest.err
30606 cat conftest.err >&5
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); } && {
30609 test -z "$ac_c_werror_flag" ||
30610 test ! -s conftest.err
30611 } && test -s conftest$ac_exeext &&
30612 $as_test_x conftest$ac_exeext; then
30613 ac_cv_lib_vorbis_vorbis_info_init=yes
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30618 ac_cv_lib_vorbis_vorbis_info_init=no
30621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30622 conftest$ac_exeext conftest.$ac_ext
30623 LIBS=$ac_check_lib_save_LIBS
30625 { echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
30626 echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
30627 if test $ac_cv_lib_vorbis_vorbis_info_init = yes; then
30628 AST_VORBIS_FOUND=yes
30630 AST_VORBIS_FOUND=no
30634 if test "${AST_VORBIS_FOUND}" = "yes"; then
30635 VORBIS_LIB="-lvorbis -lm -lvorbisenc"
30636 VORBIS_HEADER_FOUND="1"
30637 if test "x${VORBIS_DIR}" != "x"; then
30638 VORBIS_LIB="${pbxlibdir} ${VORBIS_LIB}"
30639 VORBIS_INCLUDE="-I${VORBIS_DIR}/include"
30640 saved_cppflags="${CPPFLAGS}"
30641 CPPFLAGS="${CPPFLAGS} -I${VORBIS_DIR}/include"
30642 if test "xvorbis/codec.h" != "x" ; then
30643 as_ac_Header=`echo "ac_cv_header_${VORBIS_DIR}/include/vorbis/codec.h" |
$as_tr_sh`
30644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30645 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
30646 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
30647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30648 echo $ECHO_N "(cached) $ECHO_C" >&6
30650 ac_res=`eval echo '${'$as_ac_Header'}'`
30651 { echo "$as_me:$LINENO: result: $ac_res" >&5
30652 echo "${ECHO_T}$ac_res" >&6; }
30654 # Is the header compilable?
30655 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h usability" >&5
30656 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h usability... $ECHO_C" >&6; }
30657 cat >conftest.$ac_ext <<_ACEOF
30660 cat confdefs.h >>conftest.$ac_ext
30661 cat >>conftest.$ac_ext <<_ACEOF
30662 /* end confdefs.h. */
30663 $ac_includes_default
30664 #include <${VORBIS_DIR}/include/vorbis/codec.h>
30666 rm -f conftest.$ac_objext
30667 if { (ac_try="$ac_compile"
30668 case "(($ac_try" in
30669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30670 *) ac_try_echo
=$ac_try;;
30672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30673 (eval "$ac_compile") 2>conftest.er1
30675 grep -v '^ *+' conftest.er1
>conftest.err
30677 cat conftest.err
>&5
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); } && {
30680 test -z "$ac_c_werror_flag" ||
30681 test ! -s conftest.err
30682 } && test -s conftest.
$ac_objext; then
30683 ac_header_compiler
=yes
30685 echo "$as_me: failed program was:" >&5
30686 sed 's/^/| /' conftest.
$ac_ext >&5
30688 ac_header_compiler
=no
30691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30692 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30693 echo "${ECHO_T}$ac_header_compiler" >&6; }
30695 # Is the header present?
30696 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h presence" >&5
30697 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h presence... $ECHO_C" >&6; }
30698 cat >conftest.
$ac_ext <<_ACEOF
30701 cat confdefs.h
>>conftest.
$ac_ext
30702 cat >>conftest.
$ac_ext <<_ACEOF
30703 /* end confdefs.h. */
30704 #include <${VORBIS_DIR}/include/vorbis/codec.h>
30706 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30707 case "(($ac_try" in
30708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30709 *) ac_try_echo=$ac_try;;
30711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30714 grep -v '^ *+' conftest.er1 >conftest.err
30716 cat conftest.err >&5
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); } >/dev/null && {
30719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30720 test ! -s conftest.err
30722 ac_header_preproc=yes
30724 echo "$as_me: failed program was:" >&5
30725 sed 's/^/| /' conftest.$ac_ext >&5
30727 ac_header_preproc=no
30730 rm -f conftest.err conftest.$ac_ext
30731 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30732 echo "${ECHO_T}$ac_header_preproc" >&6; }
30734 # So? What about this header?
30735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30737 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
30738 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30739 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the compiler's result" >&5
30740 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the compiler's result" >&2;}
30741 ac_header_preproc=yes
30744 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&5
30745 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&2;}
30746 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&5
30747 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&2;}
30748 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&5
30749 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&2;}
30750 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
30751 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
30752 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the preprocessor's result" >&5
30753 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
30754 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&5
30755 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
30759 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
30760 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
30761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30762 echo $ECHO_N "(cached) $ECHO_C" >&6
30764 eval "$as_ac_Header=\$ac_header_preproc"
30766 ac_res=`eval echo '${'$as_ac_Header'}'`
30767 { echo "$as_me:$LINENO: result: $ac_res" >&5
30768 echo "${ECHO_T}$ac_res" >&6; }
30771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30772 VORBIS_HEADER_FOUND=1
30774 VORBIS_HEADER_FOUND=0
30779 CPPFLAGS="${saved_cppflags}"
30781 if test "xvorbis/codec.h" != "x" ; then
30782 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
30783 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
30784 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
30785 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
30786 echo $ECHO_N "(cached) $ECHO_C" >&6
30788 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
30789 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
30791 # Is the header compilable?
30792 { echo "$as_me:$LINENO: checking vorbis/codec.h usability" >&5
30793 echo $ECHO_N "checking vorbis/codec.h usability... $ECHO_C" >&6; }
30794 cat >conftest.$ac_ext <<_ACEOF
30797 cat confdefs.h >>conftest.$ac_ext
30798 cat >>conftest.$ac_ext <<_ACEOF
30799 /* end confdefs.h. */
30800 $ac_includes_default
30801 #include <vorbis/codec.h>
30803 rm -f conftest.$ac_objext
30804 if { (ac_try="$ac_compile"
30805 case "(($ac_try" in
30806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30807 *) ac_try_echo
=$ac_try;;
30809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30810 (eval "$ac_compile") 2>conftest.er1
30812 grep -v '^ *+' conftest.er1
>conftest.err
30814 cat conftest.err
>&5
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); } && {
30817 test -z "$ac_c_werror_flag" ||
30818 test ! -s conftest.err
30819 } && test -s conftest.
$ac_objext; then
30820 ac_header_compiler
=yes
30822 echo "$as_me: failed program was:" >&5
30823 sed 's/^/| /' conftest.
$ac_ext >&5
30825 ac_header_compiler
=no
30828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30829 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30830 echo "${ECHO_T}$ac_header_compiler" >&6; }
30832 # Is the header present?
30833 { echo "$as_me:$LINENO: checking vorbis/codec.h presence" >&5
30834 echo $ECHO_N "checking vorbis/codec.h presence... $ECHO_C" >&6; }
30835 cat >conftest.
$ac_ext <<_ACEOF
30838 cat confdefs.h
>>conftest.
$ac_ext
30839 cat >>conftest.
$ac_ext <<_ACEOF
30840 /* end confdefs.h. */
30841 #include <vorbis/codec.h>
30843 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30844 case "(($ac_try" in
30845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30846 *) ac_try_echo=$ac_try;;
30848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30851 grep -v '^ *+' conftest.er1 >conftest.err
30853 cat conftest.err >&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } >/dev/null && {
30856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30857 test ! -s conftest.err
30859 ac_header_preproc=yes
30861 echo "$as_me: failed program was:" >&5
30862 sed 's/^/| /' conftest.$ac_ext >&5
30864 ac_header_preproc=no
30867 rm -f conftest.err conftest.$ac_ext
30868 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30869 echo "${ECHO_T}$ac_header_preproc" >&6; }
30871 # So? What about this header?
30872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30874 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
30875 echo "$as_me: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30876 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&5
30877 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&2;}
30878 ac_header_preproc=yes
30881 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: present but cannot be compiled" >&5
30882 echo "$as_me: WARNING: vorbis/codec.h: present but cannot be compiled" >&2;}
30883 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&5
30884 echo "$as_me: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&2;}
30885 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: see the Autoconf documentation" >&5
30886 echo "$as_me: WARNING: vorbis/codec.h: see the Autoconf documentation" >&2;}
30887 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
30888 echo "$as_me: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
30889 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&5
30890 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
30891 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&5
30892 echo "$as_me: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
30896 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
30897 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
30898 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
30899 echo $ECHO_N "(cached) $ECHO_C" >&6
30901 ac_cv_header_vorbis_codec_h=$ac_header_preproc
30903 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
30904 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
30907 if test $ac_cv_header_vorbis_codec_h = yes; then
30908 VORBIS_HEADER_FOUND=1
30910 VORBIS_HEADER_FOUND=0
30916 if test "x${VORBIS_HEADER_FOUND}" = "x0" ; then
30917 if test -n "${VORBIS_MANDATORY}" ;
30919 { echo "$as_me:$LINENO: ***" >&5
30920 echo "$as_me: ***" >&6;}
30921 { echo "$as_me:$LINENO: *** It appears that you do not have the vorbis development package installed." >&5
30922 echo "$as_me: *** It appears that you do not have the vorbis development package installed." >&6;}
30923 { echo "$as_me:$LINENO: *** Please install it to include ${VORBIS_DESCRIP} support, or re-run configure" >&5
30924 echo "$as_me: *** Please install it to include ${VORBIS_DESCRIP} support, or re-run configure" >&6;}
30925 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
30926 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
30935 cat >>confdefs.h <<_ACEOF
30936 #define HAVE_VORBIS 1
30940 elif test -n "${VORBIS_MANDATORY}";
30942 { echo "$as_me:$LINENO: ***" >&5
30943 echo "$as_me: ***" >&6;}
30944 { echo "$as_me:$LINENO: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&5
30945 echo "$as_me: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&6;}
30946 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
30947 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
30948 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
30949 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
30956 ac_cpp='$CXXCPP $CPPFLAGS'
30957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30962 if test "${USE_VPB}" != "no"; then
30963 { echo "$as_me:$LINENO: checking for vpb_open in -lvpb" >&5
30964 echo $ECHO_N "checking for vpb_open in -lvpb... $ECHO_C" >&6; }
30965 saved_libs="${LIBS}"
30966 saved_cppflags="${CPPFLAGS}"
30967 if test "x${VPB_DIR}" != "x"; then
30968 if test -d ${VPB_DIR}/lib; then
30969 vpblibdir=${VPB_DIR}/lib
30971 vpblibdir=${VPB_DIR}
30973 LIBS="${LIBS} -L${vpblibdir}"
30974 CPPFLAGS="${CPPFLAGS} -I${VPB_DIR}/include"
30976 LIBS="${LIBS} -lvpb -lpthread"
30977 cat >conftest.$ac_ext <<_ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30984 #include <vpbapi.h>
30988 int q = vpb_open(0,0);
30994 rm -f conftest.$ac_objext conftest$ac_exeext
30995 if { (ac_try="$ac_link"
30996 case "(($ac_try" in
30997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30998 *) ac_try_echo
=$ac_try;;
31000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31001 (eval "$ac_link") 2>conftest.er1
31003 grep -v '^ *+' conftest.er1
>conftest.err
31005 cat conftest.err
>&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); } && {
31008 test -z "$ac_cxx_werror_flag" ||
31009 test ! -s conftest.err
31010 } && test -s conftest
$ac_exeext &&
31011 $as_test_x conftest
$ac_exeext; then
31012 { echo "$as_me:$LINENO: result: yes" >&5
31013 echo "${ECHO_T}yes" >&6; }
31014 ac_cv_lib_vpb_vpb_open
="yes"
31017 echo "$as_me: failed program was:" >&5
31018 sed 's/^/| /' conftest.
$ac_ext >&5
31020 { echo "$as_me:$LINENO: result: no" >&5
31021 echo "${ECHO_T}no" >&6; }
31022 ac_cv_lib_vpb_vpb_open
="no"
31027 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31028 conftest
$ac_exeext conftest.
$ac_ext
31029 LIBS
="${saved_libs}"
31030 CPPFLAGS
="${saved_cppflags}"
31031 if test "${ac_cv_lib_vpb_vpb_open}" = "yes"; then
31033 if test "${VPB_DIR}" != ""; then
31034 VPB_LIB
="-L${vpblibdir} ${VPB_LIB}"
31035 VPB_INCLUDE
="-I${VPB_DIR}/include"
31039 cat >>confdefs.h
<<\_ACEOF
31043 elif test -n "${VPB_MANDATORY}"; then
31044 { echo "$as_me:$LINENO: ***" >&5
31045 echo "$as_me: ***" >&6;}
31046 { echo "$as_me:$LINENO: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&5
31047 echo "$as_me: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&6;}
31048 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
31049 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
31050 { echo "$as_me:$LINENO: *** including --without-vpb." >&5
31051 echo "$as_me: *** including --without-vpb." >&6;}
31057 ac_cpp
='$CPP $CPPFLAGS'
31058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31064 if test "${USE_ZLIB}" != "no"; then
31066 if test "x${ZLIB_DIR}" != "x"; then
31067 if test -d ${ZLIB_DIR}/lib
; then
31068 pbxlibdir
="-L${ZLIB_DIR}/lib"
31070 pbxlibdir
="-L${ZLIB_DIR}"
31073 { echo "$as_me:$LINENO: checking for compress in -lz" >&5
31074 echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
31075 if test "${ac_cv_lib_z_compress+set}" = set; then
31076 echo $ECHO_N "(cached) $ECHO_C" >&6
31078 ac_check_lib_save_LIBS
=$LIBS
31079 LIBS
="-lz ${pbxlibdir} $LIBS"
31080 cat >conftest.
$ac_ext <<_ACEOF
31083 cat confdefs.h
>>conftest.
$ac_ext
31084 cat >>conftest.
$ac_ext <<_ACEOF
31085 /* end confdefs.h. */
31087 /* Override any GCC internal prototype to avoid an error.
31088 Use char because int might match the return type of a GCC
31089 builtin and then its argument prototype would still apply. */
31097 return compress ();
31102 rm -f conftest.
$ac_objext conftest
$ac_exeext
31103 if { (ac_try
="$ac_link"
31104 case "(($ac_try" in
31105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31106 *) ac_try_echo=$ac_try;;
31108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31109 (eval "$ac_link") 2>conftest.er1
31111 grep -v '^ *+' conftest.er1 >conftest.err
31113 cat conftest.err >&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } && {
31116 test -z "$ac_c_werror_flag" ||
31117 test ! -s conftest.err
31118 } && test -s conftest$ac_exeext &&
31119 $as_test_x conftest$ac_exeext; then
31120 ac_cv_lib_z_compress=yes
31122 echo "$as_me: failed program was:" >&5
31123 sed 's/^/| /' conftest.$ac_ext >&5
31125 ac_cv_lib_z_compress=no
31128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31129 conftest$ac_exeext conftest.$ac_ext
31130 LIBS=$ac_check_lib_save_LIBS
31132 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
31133 echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
31134 if test $ac_cv_lib_z_compress = yes; then
31141 if test "${AST_ZLIB_FOUND}" = "yes"; then
31143 ZLIB_HEADER_FOUND="1"
31144 if test "x${ZLIB_DIR}" != "x"; then
31145 ZLIB_LIB="${pbxlibdir} ${ZLIB_LIB}"
31146 ZLIB_INCLUDE="-I${ZLIB_DIR}/include"
31147 saved_cppflags="${CPPFLAGS}"
31148 CPPFLAGS="${CPPFLAGS} -I${ZLIB_DIR}/include"
31149 if test "xzlib.h" != "x" ; then
31150 as_ac_Header=`echo "ac_cv_header_${ZLIB_DIR}/include/zlib.h" |
$as_tr_sh`
31151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31152 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
31153 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
31154 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31155 echo $ECHO_N "(cached) $ECHO_C" >&6
31157 ac_res=`eval echo '${'$as_ac_Header'}'`
31158 { echo "$as_me:$LINENO: result: $ac_res" >&5
31159 echo "${ECHO_T}$ac_res" >&6; }
31161 # Is the header compilable?
31162 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h usability" >&5
31163 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h usability... $ECHO_C" >&6; }
31164 cat >conftest.$ac_ext <<_ACEOF
31167 cat confdefs.h >>conftest.$ac_ext
31168 cat >>conftest.$ac_ext <<_ACEOF
31169 /* end confdefs.h. */
31170 $ac_includes_default
31171 #include <${ZLIB_DIR}/include/zlib.h>
31173 rm -f conftest.$ac_objext
31174 if { (ac_try="$ac_compile"
31175 case "(($ac_try" in
31176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31177 *) ac_try_echo
=$ac_try;;
31179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31180 (eval "$ac_compile") 2>conftest.er1
31182 grep -v '^ *+' conftest.er1
>conftest.err
31184 cat conftest.err
>&5
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); } && {
31187 test -z "$ac_c_werror_flag" ||
31188 test ! -s conftest.err
31189 } && test -s conftest.
$ac_objext; then
31190 ac_header_compiler
=yes
31192 echo "$as_me: failed program was:" >&5
31193 sed 's/^/| /' conftest.
$ac_ext >&5
31195 ac_header_compiler
=no
31198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31199 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31200 echo "${ECHO_T}$ac_header_compiler" >&6; }
31202 # Is the header present?
31203 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h presence" >&5
31204 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h presence... $ECHO_C" >&6; }
31205 cat >conftest.
$ac_ext <<_ACEOF
31208 cat confdefs.h
>>conftest.
$ac_ext
31209 cat >>conftest.
$ac_ext <<_ACEOF
31210 /* end confdefs.h. */
31211 #include <${ZLIB_DIR}/include/zlib.h>
31213 if { (ac_try
="$ac_cpp conftest.$ac_ext"
31214 case "(($ac_try" in
31215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31216 *) ac_try_echo=$ac_try;;
31218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31221 grep -v '^ *+' conftest.er1 >conftest.err
31223 cat conftest.err >&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); } >/dev/null && {
31226 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31227 test ! -s conftest.err
31229 ac_header_preproc=yes
31231 echo "$as_me: failed program was:" >&5
31232 sed 's/^/| /' conftest.$ac_ext >&5
31234 ac_header_preproc=no
31237 rm -f conftest.err conftest.$ac_ext
31238 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31239 echo "${ECHO_T}$ac_header_preproc" >&6; }
31241 # So? What about this header?
31242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31244 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
31245 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31246 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the compiler's result" >&5
31247 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the compiler's result" >&2;}
31248 ac_header_preproc=yes
31251 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&5
31252 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&2;}
31253 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&5
31254 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&2;}
31255 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&5
31256 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&2;}
31257 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&5
31258 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
31259 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the preprocessor's result" >&5
31260 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the preprocessor's result" >&2;}
31261 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&5
31262 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&2;}
31266 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
31267 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
31268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31271 eval "$as_ac_Header=\$ac_header_preproc"
31273 ac_res=`eval echo '${'$as_ac_Header'}'`
31274 { echo "$as_me:$LINENO: result: $ac_res" >&5
31275 echo "${ECHO_T}$ac_res" >&6; }
31278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31279 ZLIB_HEADER_FOUND=1
31281 ZLIB_HEADER_FOUND=0
31286 CPPFLAGS="${saved_cppflags}"
31288 if test "xzlib.h" != "x" ; then
31289 if test "${ac_cv_header_zlib_h+set}" = set; then
31290 { echo "$as_me:$LINENO: checking for zlib.h" >&5
31291 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
31292 if test "${ac_cv_header_zlib_h+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31295 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
31296 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
31298 # Is the header compilable?
31299 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
31300 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
31301 cat >conftest.$ac_ext <<_ACEOF
31304 cat confdefs.h >>conftest.$ac_ext
31305 cat >>conftest.$ac_ext <<_ACEOF
31306 /* end confdefs.h. */
31307 $ac_includes_default
31310 rm -f conftest.$ac_objext
31311 if { (ac_try="$ac_compile"
31312 case "(($ac_try" in
31313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31314 *) ac_try_echo
=$ac_try;;
31316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31317 (eval "$ac_compile") 2>conftest.er1
31319 grep -v '^ *+' conftest.er1
>conftest.err
31321 cat conftest.err
>&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } && {
31324 test -z "$ac_c_werror_flag" ||
31325 test ! -s conftest.err
31326 } && test -s conftest.
$ac_objext; then
31327 ac_header_compiler
=yes
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.
$ac_ext >&5
31332 ac_header_compiler
=no
31335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31336 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31337 echo "${ECHO_T}$ac_header_compiler" >&6; }
31339 # Is the header present?
31340 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
31341 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
31342 cat >conftest.
$ac_ext <<_ACEOF
31345 cat confdefs.h
>>conftest.
$ac_ext
31346 cat >>conftest.
$ac_ext <<_ACEOF
31347 /* end confdefs.h. */
31350 if { (ac_try
="$ac_cpp conftest.$ac_ext"
31351 case "(($ac_try" in
31352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31353 *) ac_try_echo=$ac_try;;
31355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31356 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31358 grep -v '^ *+' conftest.er1 >conftest.err
31360 cat conftest.err >&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); } >/dev/null && {
31363 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31364 test ! -s conftest.err
31366 ac_header_preproc=yes
31368 echo "$as_me: failed program was:" >&5
31369 sed 's/^/| /' conftest.$ac_ext >&5
31371 ac_header_preproc=no
31374 rm -f conftest.err conftest.$ac_ext
31375 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31376 echo "${ECHO_T}$ac_header_preproc" >&6; }
31378 # So? What about this header?
31379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31381 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
31382 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31383 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
31384 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
31385 ac_header_preproc=yes
31388 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
31389 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
31390 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
31391 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
31392 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
31393 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
31394 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
31395 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
31396 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
31397 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
31398 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
31399 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
31403 { echo "$as_me:$LINENO: checking for zlib.h" >&5
31404 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
31405 if test "${ac_cv_header_zlib_h+set}" = set; then
31406 echo $ECHO_N "(cached) $ECHO_C" >&6
31408 ac_cv_header_zlib_h=$ac_header_preproc
31410 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
31411 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
31414 if test $ac_cv_header_zlib_h = yes; then
31415 ZLIB_HEADER_FOUND=1
31417 ZLIB_HEADER_FOUND=0
31423 if test "x${ZLIB_HEADER_FOUND}" = "x0" ; then
31424 if test -n "${ZLIB_MANDATORY}" ;
31426 { echo "$as_me:$LINENO: ***" >&5
31427 echo "$as_me: ***" >&6;}
31428 { echo "$as_me:$LINENO: *** It appears that you do not have the z development package installed." >&5
31429 echo "$as_me: *** It appears that you do not have the z development package installed." >&6;}
31430 { echo "$as_me:$LINENO: *** Please install it to include ${ZLIB_DESCRIP} support, or re-run configure" >&5
31431 echo "$as_me: *** Please install it to include ${ZLIB_DESCRIP} support, or re-run configure" >&6;}
31432 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
31433 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
31442 cat >>confdefs.h <<_ACEOF
31443 #define HAVE_ZLIB 1
31447 elif test -n "${ZLIB_MANDATORY}";
31449 { echo "$as_me:$LINENO: ***" >&5
31450 echo "$as_me: ***" >&6;}
31451 { echo "$as_me:$LINENO: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&5
31452 echo "$as_me: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&6;}
31453 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
31454 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
31455 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
31456 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
31462 if test "${USE_ZAPTEL}" != "no"; then
31463 { echo "$as_me:$LINENO: checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h" >&5
31464 echo $ECHO_N "checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h... $ECHO_C" >&6; }
31465 saved_cppflags="${CPPFLAGS}"
31466 if test "x${ZAPTEL_DIR}" != "x"; then
31467 CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
31469 cat >conftest.$ac_ext <<_ACEOF
31473 cat confdefs.h >>conftest.$ac_ext
31474 cat >>conftest.$ac_ext <<_ACEOF
31475 /* end confdefs.h. */
31476 #include <zaptel/zaptel.h>
31480 int foo = ZT_DIAL_OP_CANCEL;
31486 rm -f conftest.$ac_objext
31487 if { (ac_try="$ac_compile"
31488 case "(($ac_try" in
31489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31490 *) ac_try_echo
=$ac_try;;
31492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31493 (eval "$ac_compile") 2>conftest.er1
31495 grep -v '^ *+' conftest.er1
>conftest.err
31497 cat conftest.err
>&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); } && {
31500 test -z "$ac_c_werror_flag" ||
31501 test ! -s conftest.err
31502 } && test -s conftest.
$ac_objext; then
31503 { echo "$as_me:$LINENO: result: yes" >&5
31504 echo "${ECHO_T}yes" >&6; }
31505 ac_cv_zaptel_h
="yes"
31508 echo "$as_me: failed program was:" >&5
31509 sed 's/^/| /' conftest.
$ac_ext >&5
31511 { echo "$as_me:$LINENO: result: no" >&5
31512 echo "${ECHO_T}no" >&6; }
31513 ac_cv_zaptel_h
="no"
31518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31519 CPPFLAGS
="${saved_cppflags}"
31520 if test "${ac_cv_zaptel_h}" = "yes"; then
31521 if test "${ZAPTEL_DIR}" != ""; then
31522 ZAPTEL_INCLUDE
="-I${ZAPTEL_DIR}/include"
31526 cat >>confdefs.h
<<\_ACEOF
31527 #define HAVE_ZAPTEL 1
31530 elif test -n "${ZAPTEL_MANDATORY}";
31532 { echo "$as_me:$LINENO: ***" >&5
31533 echo "$as_me: ***" >&6;}
31534 { echo "$as_me:$LINENO: *** The Zaptel installation on this system appears to be broken." >&5
31535 echo "$as_me: *** The Zaptel installation on this system appears to be broken." >&6;}
31536 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
31537 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
31538 { echo "$as_me:$LINENO: *** including --without-zaptel." >&5
31539 echo "$as_me: *** including --without-zaptel." >&6;}
31544 if test "${PBX_ZAPTEL}" = 1; then
31545 { echo "$as_me:$LINENO: checking for ZT_EVENT_REMOVED in zaptel/zaptel.h" >&5
31546 echo $ECHO_N "checking for ZT_EVENT_REMOVED in zaptel/zaptel.h... $ECHO_C" >&6; }
31547 saved_cppflags
="${CPPFLAGS}"
31548 if test "x${ZAPTEL_DIR}" != "x"; then
31549 CPPFLAGS
="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
31551 cat >conftest.
$ac_ext <<_ACEOF
31555 cat confdefs.h
>>conftest.
$ac_ext
31556 cat >>conftest.
$ac_ext <<_ACEOF
31557 /* end confdefs.h. */
31558 #include <zaptel/zaptel.h>
31562 int foo = ZT_EVENT_REMOVED;
31568 rm -f conftest.
$ac_objext
31569 if { (ac_try
="$ac_compile"
31570 case "(($ac_try" in
31571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31572 *) ac_try_echo=$ac_try;;
31574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31575 (eval "$ac_compile") 2>conftest.er1
31577 grep -v '^ *+' conftest.er1 >conftest.err
31579 cat conftest.err >&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); } && {
31582 test -z "$ac_c_werror_flag" ||
31583 test ! -s conftest.err
31584 } && test -s conftest.$ac_objext; then
31585 { echo "$as_me:$LINENO: result: yes" >&5
31586 echo "${ECHO_T}yes" >&6; }
31587 ac_cv_zaptel_vldtmf="yes"
31590 echo "$as_me: failed program was:" >&5
31591 sed 's/^/| /' conftest.$ac_ext >&5
31593 { echo "$as_me:$LINENO: result: no" >&5
31594 echo "${ECHO_T}no" >&6; }
31595 ac_cv_zaptel_vldtmf="no"
31600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31601 CPPFLAGS="${saved_cppflags}"
31602 if test "${ac_cv_zaptel_vldtmf}" = "yes"; then
31603 PBX_ZAPTEL_VLDTMF=1
31605 { echo "$as_me:$LINENO: checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h" >&5
31606 echo $ECHO_N "checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h... $ECHO_C" >&6; }
31607 saved_cppflags="${CPPFLAGS}"
31608 if test "x${ZAPTEL_DIR}" != "x"; then
31609 CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
31611 cat >conftest.$ac_ext <<_ACEOF
31615 cat confdefs.h >>conftest.$ac_ext
31616 cat >>conftest.$ac_ext <<_ACEOF
31617 /* end confdefs.h. */
31618 #include <zaptel/zaptel.h>
31622 int foo = ZT_TCOP_ALLOCATE;
31628 rm -f conftest.$ac_objext
31629 if { (ac_try="$ac_compile"
31630 case "(($ac_try" in
31631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31632 *) ac_try_echo
=$ac_try;;
31634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31635 (eval "$ac_compile") 2>conftest.er1
31637 grep -v '^ *+' conftest.er1
>conftest.err
31639 cat conftest.err
>&5
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); } && {
31642 test -z "$ac_c_werror_flag" ||
31643 test ! -s conftest.err
31644 } && test -s conftest.
$ac_objext; then
31645 { echo "$as_me:$LINENO: result: yes" >&5
31646 echo "${ECHO_T}yes" >&6; }
31647 ac_cv_zaptel_transcode
="yes"
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.
$ac_ext >&5
31653 { echo "$as_me:$LINENO: result: no" >&5
31654 echo "${ECHO_T}no" >&6; }
31655 ac_cv_zaptel_transcode
="no"
31660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31661 CPPFLAGS
="${saved_cppflags}"
31662 if test "${ac_cv_zaptel_transcode}" = "yes"; then
31663 PBX_ZAPTEL_TRANSCODE
=1
31670 if test "x$TERMCAP_LIB" != "x" ; then
31671 EDITLINE_LIB
="$TERMCAP_LIB"
31672 elif test "x$TINFO_LIB" != "x" ; then
31673 EDITLINE_LIB
="$TINFO_LIB"
31674 elif test "x$CURSES_LIB" != "x" ; then
31675 EDITLINE_LIB
="$CURSES_LIB"
31676 elif test "x$NCURSES_LIB" != "x" ; then
31677 EDITLINE_LIB
="$NCURSES_LIB"
31679 { { echo "$as_me:$LINENO: error: *** termcap support not found" >&5
31680 echo "$as_me: error: *** termcap support not found" >&2;}
31681 { (exit 1); exit 1; }; }
31685 if test "${ac_cv_header_h323_h+set}" = set; then
31686 { echo "$as_me:$LINENO: checking for h323.h" >&5
31687 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
31688 if test "${ac_cv_header_h323_h+set}" = set; then
31689 echo $ECHO_N "(cached) $ECHO_C" >&6
31691 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
31692 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
31694 # Is the header compilable?
31695 { echo "$as_me:$LINENO: checking h323.h usability" >&5
31696 echo $ECHO_N "checking h323.h usability... $ECHO_C" >&6; }
31697 cat >conftest.
$ac_ext <<_ACEOF
31700 cat confdefs.h
>>conftest.
$ac_ext
31701 cat >>conftest.
$ac_ext <<_ACEOF
31702 /* end confdefs.h. */
31703 $ac_includes_default
31706 rm -f conftest.
$ac_objext
31707 if { (ac_try
="$ac_compile"
31708 case "(($ac_try" in
31709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31710 *) ac_try_echo=$ac_try;;
31712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31713 (eval "$ac_compile") 2>conftest.er1
31715 grep -v '^ *+' conftest.er1 >conftest.err
31717 cat conftest.err >&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); } && {
31720 test -z "$ac_c_werror_flag" ||
31721 test ! -s conftest.err
31722 } && test -s conftest.$ac_objext; then
31723 ac_header_compiler=yes
31725 echo "$as_me: failed program was:" >&5
31726 sed 's/^/| /' conftest.$ac_ext >&5
31728 ac_header_compiler=no
31731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31732 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31733 echo "${ECHO_T}$ac_header_compiler" >&6; }
31735 # Is the header present?
31736 { echo "$as_me:$LINENO: checking h323.h presence" >&5
31737 echo $ECHO_N "checking h323.h presence... $ECHO_C" >&6; }
31738 cat >conftest.$ac_ext <<_ACEOF
31741 cat confdefs.h >>conftest.$ac_ext
31742 cat >>conftest.$ac_ext <<_ACEOF
31743 /* end confdefs.h. */
31746 if { (ac_try="$ac_cpp conftest.$ac_ext"
31747 case "(($ac_try" in
31748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31749 *) ac_try_echo
=$ac_try;;
31751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31754 grep -v '^ *+' conftest.er1
>conftest.err
31756 cat conftest.err
>&5
31757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31758 (exit $ac_status); } >/dev
/null
&& {
31759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31760 test ! -s conftest.err
31762 ac_header_preproc
=yes
31764 echo "$as_me: failed program was:" >&5
31765 sed 's/^/| /' conftest.
$ac_ext >&5
31767 ac_header_preproc
=no
31770 rm -f conftest.err conftest.
$ac_ext
31771 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31772 echo "${ECHO_T}$ac_header_preproc" >&6; }
31774 # So? What about this header?
31775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31777 { echo "$as_me:$LINENO: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&5
31778 echo "$as_me: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31779 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the compiler's result" >&5
31780 echo "$as_me: WARNING: h323.h: proceeding with the compiler's result" >&2;}
31781 ac_header_preproc
=yes
31784 { echo "$as_me:$LINENO: WARNING: h323.h: present but cannot be compiled" >&5
31785 echo "$as_me: WARNING: h323.h: present but cannot be compiled" >&2;}
31786 { echo "$as_me:$LINENO: WARNING: h323.h: check for missing prerequisite headers?" >&5
31787 echo "$as_me: WARNING: h323.h: check for missing prerequisite headers?" >&2;}
31788 { echo "$as_me:$LINENO: WARNING: h323.h: see the Autoconf documentation" >&5
31789 echo "$as_me: WARNING: h323.h: see the Autoconf documentation" >&2;}
31790 { echo "$as_me:$LINENO: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&5
31791 echo "$as_me: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&2;}
31792 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the preprocessor's result" >&5
31793 echo "$as_me: WARNING: h323.h: proceeding with the preprocessor's result" >&2;}
31794 { echo "$as_me:$LINENO: WARNING: h323.h: in the future, the compiler will take precedence" >&5
31795 echo "$as_me: WARNING: h323.h: in the future, the compiler will take precedence" >&2;}
31799 { echo "$as_me:$LINENO: checking for h323.h" >&5
31800 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
31801 if test "${ac_cv_header_h323_h+set}" = set; then
31802 echo $ECHO_N "(cached) $ECHO_C" >&6
31804 ac_cv_header_h323_h
=$ac_header_preproc
31806 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
31807 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
31810 if test $ac_cv_header_h323_h = yes; then
31819 if test "${ac_cv_header_linux_compiler_h+set}" = set; then
31820 { echo "$as_me:$LINENO: checking for linux/compiler.h" >&5
31821 echo $ECHO_N "checking for linux/compiler.h... $ECHO_C" >&6; }
31822 if test "${ac_cv_header_linux_compiler_h+set}" = set; then
31823 echo $ECHO_N "(cached) $ECHO_C" >&6
31825 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_compiler_h" >&5
31826 echo "${ECHO_T}$ac_cv_header_linux_compiler_h" >&6; }
31828 # Is the header compilable?
31829 { echo "$as_me:$LINENO: checking linux/compiler.h usability" >&5
31830 echo $ECHO_N "checking linux/compiler.h usability... $ECHO_C" >&6; }
31831 cat >conftest.
$ac_ext <<_ACEOF
31834 cat confdefs.h
>>conftest.
$ac_ext
31835 cat >>conftest.
$ac_ext <<_ACEOF
31836 /* end confdefs.h. */
31837 $ac_includes_default
31838 #include <linux/compiler.h>
31840 rm -f conftest.
$ac_objext
31841 if { (ac_try
="$ac_compile"
31842 case "(($ac_try" in
31843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31844 *) ac_try_echo=$ac_try;;
31846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31847 (eval "$ac_compile") 2>conftest.er1
31849 grep -v '^ *+' conftest.er1 >conftest.err
31851 cat conftest.err >&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } && {
31854 test -z "$ac_c_werror_flag" ||
31855 test ! -s conftest.err
31856 } && test -s conftest.$ac_objext; then
31857 ac_header_compiler=yes
31859 echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31862 ac_header_compiler=no
31865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31866 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31867 echo "${ECHO_T}$ac_header_compiler" >&6; }
31869 # Is the header present?
31870 { echo "$as_me:$LINENO: checking linux/compiler.h presence" >&5
31871 echo $ECHO_N "checking linux/compiler.h presence... $ECHO_C" >&6; }
31872 cat >conftest.$ac_ext <<_ACEOF
31875 cat confdefs.h >>conftest.$ac_ext
31876 cat >>conftest.$ac_ext <<_ACEOF
31877 /* end confdefs.h. */
31878 #include <linux/compiler.h>
31880 if { (ac_try="$ac_cpp conftest.$ac_ext"
31881 case "(($ac_try" in
31882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31883 *) ac_try_echo
=$ac_try;;
31885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31888 grep -v '^ *+' conftest.er1
>conftest.err
31890 cat conftest.err
>&5
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); } >/dev
/null
&& {
31893 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31894 test ! -s conftest.err
31896 ac_header_preproc
=yes
31898 echo "$as_me: failed program was:" >&5
31899 sed 's/^/| /' conftest.
$ac_ext >&5
31901 ac_header_preproc
=no
31904 rm -f conftest.err conftest.
$ac_ext
31905 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31906 echo "${ECHO_T}$ac_header_preproc" >&6; }
31908 # So? What about this header?
31909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31911 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: accepted by the compiler, rejected by the preprocessor!" >&5
31912 echo "$as_me: WARNING: linux/compiler.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31913 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: proceeding with the compiler's result" >&5
31914 echo "$as_me: WARNING: linux/compiler.h: proceeding with the compiler's result" >&2;}
31915 ac_header_preproc
=yes
31918 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: present but cannot be compiled" >&5
31919 echo "$as_me: WARNING: linux/compiler.h: present but cannot be compiled" >&2;}
31920 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: check for missing prerequisite headers?" >&5
31921 echo "$as_me: WARNING: linux/compiler.h: check for missing prerequisite headers?" >&2;}
31922 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: see the Autoconf documentation" >&5
31923 echo "$as_me: WARNING: linux/compiler.h: see the Autoconf documentation" >&2;}
31924 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: section \"Present But Cannot Be Compiled\"" >&5
31925 echo "$as_me: WARNING: linux/compiler.h: section \"Present But Cannot Be Compiled\"" >&2;}
31926 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: proceeding with the preprocessor's result" >&5
31927 echo "$as_me: WARNING: linux/compiler.h: proceeding with the preprocessor's result" >&2;}
31928 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: in the future, the compiler will take precedence" >&5
31929 echo "$as_me: WARNING: linux/compiler.h: in the future, the compiler will take precedence" >&2;}
31933 { echo "$as_me:$LINENO: checking for linux/compiler.h" >&5
31934 echo $ECHO_N "checking for linux/compiler.h... $ECHO_C" >&6; }
31935 if test "${ac_cv_header_linux_compiler_h+set}" = set; then
31936 echo $ECHO_N "(cached) $ECHO_C" >&6
31938 ac_cv_header_linux_compiler_h
=$ac_header_preproc
31940 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_compiler_h" >&5
31941 echo "${ECHO_T}$ac_cv_header_linux_compiler_h" >&6; }
31944 if test $ac_cv_header_linux_compiler_h = yes; then
31946 cat >>confdefs.h
<<_ACEOF
31947 #define HAVE_LINUX_COMPILER_H 1
31954 { echo "$as_me:$LINENO: checking for linux/ixjuser.h" >&5
31955 echo $ECHO_N "checking for linux/ixjuser.h... $ECHO_C" >&6; }
31956 if test "${ac_cv_header_linux_ixjuser_h+set}" = set; then
31957 echo $ECHO_N "(cached) $ECHO_C" >&6
31959 cat >conftest.
$ac_ext <<_ACEOF
31962 cat confdefs.h
>>conftest.
$ac_ext
31963 cat >>conftest.
$ac_ext <<_ACEOF
31964 /* end confdefs.h. */
31966 #include <linux/version.h>
31967 #ifdef HAVE_LINUX_COMPILER_H
31968 #include <linux/compiler.h>
31972 #include <linux/ixjuser.h>
31974 rm -f conftest.
$ac_objext
31975 if { (ac_try
="$ac_compile"
31976 case "(($ac_try" in
31977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31978 *) ac_try_echo=$ac_try;;
31980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31981 (eval "$ac_compile") 2>conftest.er1
31983 grep -v '^ *+' conftest.er1 >conftest.err
31985 cat conftest.err >&5
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); } && {
31988 test -z "$ac_c_werror_flag" ||
31989 test ! -s conftest.err
31990 } && test -s conftest.$ac_objext; then
31991 ac_cv_header_linux_ixjuser_h=yes
31993 echo "$as_me: failed program was:" >&5
31994 sed 's/^/| /' conftest.$ac_ext >&5
31996 ac_cv_header_linux_ixjuser_h=no
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32001 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ixjuser_h" >&5
32002 echo "${ECHO_T}$ac_cv_header_linux_ixjuser_h" >&6; }
32003 if test $ac_cv_header_linux_ixjuser_h = yes; then
32013 if test -n "$ac_tool_prefix"; then
32014 # Extract the first word of "${ac_tool_prefix}gtk-config", so it can be a program name with args.
32015 set dummy ${ac_tool_prefix}gtk-config; ac_word=$2
32016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32018 if test "${ac_cv_prog_GTKCONFIG+set}" = set; then
32019 echo $ECHO_N "(cached) $ECHO_C" >&6
32021 if test -n "$GTKCONFIG"; then
32022 ac_cv_prog_GTKCONFIG="$GTKCONFIG" # Let the user override the test.
32024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32025 for as_dir in $PATH
32028 test -z "$as_dir" && as_dir=.
32029 for ac_exec_ext in '' $ac_executable_extensions; do
32030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32031 ac_cv_prog_GTKCONFIG="${ac_tool_prefix}gtk-config"
32032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32041 GTKCONFIG=$ac_cv_prog_GTKCONFIG
32042 if test -n "$GTKCONFIG"; then
32043 { echo "$as_me:$LINENO: result: $GTKCONFIG" >&5
32044 echo "${ECHO_T}$GTKCONFIG" >&6; }
32046 { echo "$as_me:$LINENO: result: no" >&5
32047 echo "${ECHO_T}no" >&6; }
32052 if test -z "$ac_cv_prog_GTKCONFIG"; then
32053 ac_ct_GTKCONFIG=$GTKCONFIG
32054 # Extract the first word of "gtk-config", so it can be a program name with args.
32055 set dummy gtk-config; ac_word=$2
32056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32058 if test "${ac_cv_prog_ac_ct_GTKCONFIG+set}" = set; then
32059 echo $ECHO_N "(cached) $ECHO_C" >&6
32061 if test -n "$ac_ct_GTKCONFIG"; then
32062 ac_cv_prog_ac_ct_GTKCONFIG="$ac_ct_GTKCONFIG" # Let the user override the test.
32064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32065 for as_dir in $PATH
32068 test -z "$as_dir" && as_dir=.
32069 for ac_exec_ext in '' $ac_executable_extensions; do
32070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32071 ac_cv_prog_ac_ct_GTKCONFIG="gtk-config"
32072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32081 ac_ct_GTKCONFIG=$ac_cv_prog_ac_ct_GTKCONFIG
32082 if test -n "$ac_ct_GTKCONFIG"; then
32083 { echo "$as_me:$LINENO: result: $ac_ct_GTKCONFIG" >&5
32084 echo "${ECHO_T}$ac_ct_GTKCONFIG" >&6; }
32086 { echo "$as_me:$LINENO: result: no" >&5
32087 echo "${ECHO_T}no" >&6; }
32090 if test "x$ac_ct_GTKCONFIG" = x; then
32093 case $cross_compiling:$ac_tool_warned in
32095 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32096 whose name does not start with the host triplet. If you think this
32097 configuration is useful to you, please write to autoconf@gnu.org." >&5
32098 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32099 whose name does not start with the host triplet. If you think this
32100 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32101 ac_tool_warned=yes ;;
32103 GTKCONFIG=$ac_ct_GTKCONFIG
32106 GTKCONFIG="$ac_cv_prog_GTKCONFIG"
32109 if test ! "x${GTKCONFIG}" = xNo; then
32110 GTK_INCLUDE=$(${GTKCONFIG} --cflags gthread)
32111 GTK_LIB=$(${GTKCONFIG} --libs gthread)
32114 cat >>confdefs.h <<\_ACEOF
32124 if test -n "$ac_tool_prefix"; then
32125 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32126 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32129 if test "${ac_cv_prog_PKGCONFIG+set}" = set; then
32130 echo $ECHO_N "(cached) $ECHO_C" >&6
32132 if test -n "$PKGCONFIG"; then
32133 ac_cv_prog_PKGCONFIG="$PKGCONFIG" # Let the user override the test.
32135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32136 for as_dir in $PATH
32139 test -z "$as_dir" && as_dir=.
32140 for ac_exec_ext in '' $ac_executable_extensions; do
32141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32142 ac_cv_prog_PKGCONFIG="${ac_tool_prefix}pkg-config"
32143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32152 PKGCONFIG=$ac_cv_prog_PKGCONFIG
32153 if test -n "$PKGCONFIG"; then
32154 { echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
32155 echo "${ECHO_T}$PKGCONFIG" >&6; }
32157 { echo "$as_me:$LINENO: result: no" >&5
32158 echo "${ECHO_T}no" >&6; }
32163 if test -z "$ac_cv_prog_PKGCONFIG"; then
32164 ac_ct_PKGCONFIG=$PKGCONFIG
32165 # Extract the first word of "pkg-config", so it can be a program name with args.
32166 set dummy pkg-config; ac_word=$2
32167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32169 if test "${ac_cv_prog_ac_ct_PKGCONFIG+set}" = set; then
32170 echo $ECHO_N "(cached) $ECHO_C" >&6
32172 if test -n "$ac_ct_PKGCONFIG"; then
32173 ac_cv_prog_ac_ct_PKGCONFIG="$ac_ct_PKGCONFIG" # Let the user override the test.
32175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32176 for as_dir in $PATH
32179 test -z "$as_dir" && as_dir=.
32180 for ac_exec_ext in '' $ac_executable_extensions; do
32181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32182 ac_cv_prog_ac_ct_PKGCONFIG="pkg-config"
32183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32192 ac_ct_PKGCONFIG=$ac_cv_prog_ac_ct_PKGCONFIG
32193 if test -n "$ac_ct_PKGCONFIG"; then
32194 { echo "$as_me:$LINENO: result: $ac_ct_PKGCONFIG" >&5
32195 echo "${ECHO_T}$ac_ct_PKGCONFIG" >&6; }
32197 { echo "$as_me:$LINENO: result: no" >&5
32198 echo "${ECHO_T}no" >&6; }
32201 if test "x$ac_ct_PKGCONFIG" = x; then
32204 case $cross_compiling:$ac_tool_warned in
32206 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32207 whose name does not start with the host triplet. If you think this
32208 configuration is useful to you, please write to autoconf@gnu.org." >&5
32209 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32210 whose name does not start with the host triplet. If you think this
32211 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32212 ac_tool_warned=yes ;;
32214 PKGCONFIG=$ac_ct_PKGCONFIG
32217 PKGCONFIG="$ac_cv_prog_PKGCONFIG"
32220 if test ! "x${PKGCONFIG}" = xNo; then
32221 GTK2_INCLUDE=$(${PKGCONFIG} gtk+-2.0 --cflags 2>/dev/null)
32222 GTK2_LIB=$(${PKGCONFIG} gtk+-2.0 --libs)
32225 cat >>confdefs.h <<\_ACEOF
32226 #define HAVE_GTK2 1
32234 if test "${USE_CURL}" != "no"; then
32235 if test -n "$ac_tool_prefix"; then
32236 # Extract the first word of "${ac_tool_prefix}curl-config", so it can be a program name with args.
32237 set dummy ${ac_tool_prefix}curl-config; ac_word=$2
32238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32240 if test "${ac_cv_path_CURL_CONFIG+set}" = set; then
32241 echo $ECHO_N "(cached) $ECHO_C" >&6
32243 case $CURL_CONFIG in
32245 ac_cv_path_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test with a path.
32248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32249 for as_dir in $PATH
32252 test -z "$as_dir" && as_dir=.
32253 for ac_exec_ext in '' $ac_executable_extensions; do
32254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32255 ac_cv_path_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32266 CURL_CONFIG=$ac_cv_path_CURL_CONFIG
32267 if test -n "$CURL_CONFIG"; then
32268 { echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
32269 echo "${ECHO_T}$CURL_CONFIG" >&6; }
32271 { echo "$as_me:$LINENO: result: no" >&5
32272 echo "${ECHO_T}no" >&6; }
32277 if test -z "$ac_cv_path_CURL_CONFIG"; then
32278 ac_pt_CURL_CONFIG=$CURL_CONFIG
32279 # Extract the first word of "curl-config", so it can be a program name with args.
32280 set dummy curl-config; ac_word=$2
32281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32283 if test "${ac_cv_path_ac_pt_CURL_CONFIG+set}" = set; then
32284 echo $ECHO_N "(cached) $ECHO_C" >&6
32286 case $ac_pt_CURL_CONFIG in
32288 ac_cv_path_ac_pt_CURL_CONFIG="$ac_pt_CURL_CONFIG" # Let the user override the test with a path.
32291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32292 for as_dir in $PATH
32295 test -z "$as_dir" && as_dir=.
32296 for ac_exec_ext in '' $ac_executable_extensions; do
32297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32298 ac_cv_path_ac_pt_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32309 ac_pt_CURL_CONFIG=$ac_cv_path_ac_pt_CURL_CONFIG
32310 if test -n "$ac_pt_CURL_CONFIG"; then
32311 { echo "$as_me:$LINENO: result: $ac_pt_CURL_CONFIG" >&5
32312 echo "${ECHO_T}$ac_pt_CURL_CONFIG" >&6; }
32314 { echo "$as_me:$LINENO: result: no" >&5
32315 echo "${ECHO_T}no" >&6; }
32318 if test "x$ac_pt_CURL_CONFIG" = x; then
32321 case $cross_compiling:$ac_tool_warned in
32323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32324 whose name does not start with the host triplet. If you think this
32325 configuration is useful to you, please write to autoconf@gnu.org." >&5
32326 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32327 whose name does not start with the host triplet. If you think this
32328 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32329 ac_tool_warned=yes ;;
32331 CURL_CONFIG=$ac_pt_CURL_CONFIG
32334 CURL_CONFIG="$ac_cv_path_CURL_CONFIG"
32337 if test ! x"${CURL_CONFIG}" = xNo; then
32338 # check for version
32339 if test $(printf "%d" 0x$(${CURL_CONFIG} --vernum)) -ge $(printf "%d" 0x070907); then
32340 CURL_INCLUDE=$(${CURL_CONFIG} --cflags)
32341 CURL_LIB=$(${CURL_CONFIG} --libs)
32343 { echo "$as_me:$LINENO: checking for curl_version() in curl/curl.h" >&5
32344 echo $ECHO_N "checking for curl_version() in curl/curl.h... $ECHO_C" >&6; }
32345 saved_cppflags="${CPPFLAGS}"
32346 CPPFLAGS="${CPPFLAGS} ${CURL_INCLUDE}"
32347 cat >conftest.$ac_ext <<_ACEOF
32350 cat confdefs.h >>conftest.$ac_ext
32351 cat >>conftest.$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32353 #include <curl/curl.h>
32363 rm -f conftest.$ac_objext
32364 if { (ac_try="$ac_compile"
32365 case "(($ac_try" in
32366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32367 *) ac_try_echo
=$ac_try;;
32369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32370 (eval "$ac_compile") 2>conftest.er1
32372 grep -v '^ *+' conftest.er1
>conftest.err
32374 cat conftest.err
>&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); } && {
32377 test -z "$ac_c_werror_flag" ||
32378 test ! -s conftest.err
32379 } && test -s conftest.
$ac_objext; then
32381 { echo "$as_me:$LINENO: result: yes" >&5
32382 echo "${ECHO_T}yes" >&6; }
32386 echo "$as_me: failed program was:" >&5
32387 sed 's/^/| /' conftest.
$ac_ext >&5
32390 { echo "$as_me:$LINENO: result: no" >&5
32391 echo "${ECHO_T}no" >&6; }
32397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32398 CPPFLAGS
="${saved_cppflags}"
32399 if test "${ac_cv_curl_h}" = "yes"; then
32402 cat >>confdefs.h
<<\_ACEOF
32403 #define HAVE_CURL 1
32411 ac_config_files
="$ac_config_files build_tools/menuselect-deps makeopts channels/h323/Makefile"
32413 cat >confcache
<<\_ACEOF
32414 # This file is a shell script that caches the results of configure
32415 # tests run on this system so they can be shared between configure
32416 # scripts and configure runs, see configure's option --config-cache.
32417 # It is not useful on other systems. If it contains results you don't
32418 # want to keep, you may remove or edit it.
32420 # config.status only pays attention to the cache file if you give it
32421 # the --recheck option to rerun configure.
32423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32425 # following values.
32429 # The following way of writing the cache mishandles newlines in values,
32430 # but we know of no workaround that is simple, portable, and efficient.
32431 # So, we kill variables containing newlines.
32432 # Ultrix sh set writes to stderr and can't be redirected directly,
32433 # and sets the high bit in the cache file unless we assign to the vars.
32435 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
32436 eval ac_val
=\$
$ac_var
32440 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
32441 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
32444 _ | IFS | as_nl
) ;; #(
32445 *) $as_unset $ac_var ;;
32451 case $as_nl`(ac_space=' '; set) 2>&1` in #(
32452 *${as_nl}ac_space
=\
*)
32453 # `set' does not quote correctly, so add quotes (double-quote
32454 # substitution turns \\\\ into \\, and sed turns \\ into \).
32457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32460 # `set' quotes correctly as required by POSIX, so do not add quotes.
32461 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32470 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32472 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32474 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
32475 if test -w "$cache_file"; then
32476 test "x$cache_file" != "x/dev/null" &&
32477 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
32478 echo "$as_me: updating cache $cache_file" >&6;}
32479 cat confcache
>$cache_file
32481 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
32482 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32487 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
32488 # Let make expand exec_prefix.
32489 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
32491 DEFS
=-DHAVE_CONFIG_H
32495 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
32496 # 1. Remove the extension, and $U if already installed.
32497 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
32498 ac_i
=`echo "$ac_i" | sed "$ac_script"`
32499 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
32500 # will be set to the directory where LIBOBJS objects are built.
32501 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
32502 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
32504 LIBOBJS
=$ac_libobjs
32506 LTLIBOBJS
=$ac_ltlibobjs
32510 : ${CONFIG_STATUS=./config.status}
32511 ac_clean_files_save
=$ac_clean_files
32512 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
32513 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
32514 echo "$as_me: creating $CONFIG_STATUS" >&6;}
32515 cat >$CONFIG_STATUS <<_ACEOF
32517 # Generated by $as_me.
32518 # Run this file to recreate the current configuration.
32519 # Compiler output produced by configure, useful for debugging
32520 # configure, is in config.log if it exists.
32523 ac_cs_recheck=false
32525 SHELL=\${CONFIG_SHELL-$SHELL}
32528 cat >>$CONFIG_STATUS <<\_ACEOF
32529 ## --------------------- ##
32530 ## M4sh Initialization. ##
32531 ## --------------------- ##
32533 # Be more Bourne compatible
32534 DUALCASE
=1; export DUALCASE
# for MKS sh
32535 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
32538 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
32539 # is contrary to our usage. Disable this feature.
32540 alias -g '${1+"$@"}'='"$@"'
32541 setopt NO_GLOB_SUBST
32543 case `(set -o) 2>/dev/null` in
32544 *posix
*) set -o posix
;;
32553 # Avoid depending upon Character Ranges.
32554 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
32555 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32556 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
32557 as_cr_digits
='0123456789'
32558 as_cr_alnum
=$as_cr_Letters$as_cr_digits
32560 # The user is always right.
32561 if test "${PATH_SEPARATOR+set}" != set; then
32562 echo "#! /bin/sh" >conf$$.sh
32563 echo "exit 0" >>conf$$.sh
32565 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
32573 # Support unset when possible.
32574 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32582 # We need space, tab and new line, in precisely that order. Quoting is
32583 # there to prevent editors from complaining about space-tab.
32584 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
32585 # splitting by setting IFS to empty value.)
32590 # Find who we are. Look in the path if we contain no directory separator.
32592 *[\\/]* ) as_myself
=$0 ;;
32593 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32594 for as_dir
in $PATH
32597 test -z "$as_dir" && as_dir
=.
32598 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
32604 # We did not find ourselves, most probably we were run as `sh COMMAND'
32605 # in which case we are not to be found in the path.
32606 if test "x$as_myself" = x
; then
32609 if test ! -f "$as_myself"; then
32610 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
32611 { (exit 1); exit 1; }
32614 # Work around bugs in pre-3.0 UWIN ksh.
32615 for as_var
in ENV MAIL MAILPATH
32616 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
32624 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
32625 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
32626 LC_TELEPHONE LC_TIME
32628 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
32629 eval $as_var=C
; export $as_var
32631 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
32635 # Required to use basename.
32636 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
32637 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
32643 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32644 as_basename
=basename
32650 # Name of the executable.
32651 as_me
=`$as_basename -- "$0" ||
32652 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32653 X"$0" : 'X\(//\)$' \| \
32654 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
32656 sed '/^.*\/\([^/][^/]*\)\/*$/{
32675 as_lineno_1
=$LINENO
32676 as_lineno_2
=$LINENO
32677 test "x$as_lineno_1" != "x$as_lineno_2" &&
32678 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
32680 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
32681 # uniformly replaced by the line number. The first 'sed' inserts a
32682 # line-number line after each line using $LINENO; the second 'sed'
32683 # does the real work. The second script uses 'N' to pair each
32684 # line-number line with the line containing $LINENO, and appends
32685 # trailing '-' during substitution so that $LINENO is not a special
32686 # case at line end.
32687 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
32688 # scripts with optimization help from Paolo Bonzini. Blame Lee
32689 # E. McMahon (1931-1989) for sed's syntax. :-)
32701 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
32704 ' >$as_me.lineno
&&
32705 chmod +x
"$as_me.lineno" ||
32706 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
32707 { (exit 1); exit 1; }; }
32709 # Don't try to exec as it changes $[0], causing all sort of problems
32710 # (the dirname of $[0] is not the place where we might find the
32711 # original and so on. Autoconf is especially sensitive to this).
32712 .
"./$as_me.lineno"
32713 # Exit status is that of the last command.
32718 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
32724 ECHO_C
= ECHO_N
= ECHO_T
=
32725 case `echo -n x` in
32727 case `echo 'x\c'` in
32728 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
32735 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
32736 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
32742 rm -f conf$$ conf$$.exe conf$$.
file
32743 if test -d conf$$.dir
; then
32744 rm -f conf$$.dir
/conf$$.
file
32750 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
32752 # ... but there are two gotchas:
32753 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32754 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32755 # In both cases, we have to default to `cp -p'.
32756 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
32758 elif ln conf$$.
file conf$$
2>/dev
/null
; then
32763 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
32764 rmdir conf$$.dir
2>/dev
/null
32766 if mkdir
-p .
2>/dev
/null
; then
32769 test -d .
/-p && rmdir .
/-p
32773 if test -x / >/dev
/null
2>&1; then
32774 as_test_x
='test -x'
32776 if ls -dL / >/dev
/null
2>&1; then
32783 if test -d "$1"; then
32789 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
32790 ???[sx]*):;;*)false;;esac;fi
32794 as_executable_p
=$as_test_x
32796 # Sed expression to map a string onto a valid CPP name.
32797 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32799 # Sed expression to map a string onto a valid variable name.
32800 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32805 # Save the log message, to keep $[0] and so on meaningful, and to
32806 # report actual input values of CONFIG_FILES etc. instead of their
32807 # values after options handling.
32809 This file was extended by $as_me, which was
32810 generated by GNU Autoconf 2.61. Invocation command line was
32812 CONFIG_FILES = $CONFIG_FILES
32813 CONFIG_HEADERS = $CONFIG_HEADERS
32814 CONFIG_LINKS = $CONFIG_LINKS
32815 CONFIG_COMMANDS = $CONFIG_COMMANDS
32818 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32823 cat >>$CONFIG_STATUS <<_ACEOF
32824 # Files that config.status was made for.
32825 config_files="$ac_config_files"
32826 config_headers="$ac_config_headers"
32830 cat >>$CONFIG_STATUS <<\_ACEOF
32832 \`$as_me' instantiates files from templates according to the
32833 current configuration.
32835 Usage: $0 [OPTIONS] [FILE]...
32837 -h, --help print this help, then exit
32838 -V, --version print version number and configuration settings, then exit
32839 -q, --quiet do not print progress messages
32840 -d, --debug don't remove temporary files
32841 --recheck update $as_me by reconfiguring in the same conditions
32842 --file=FILE[:TEMPLATE]
32843 instantiate the configuration file FILE
32844 --header=FILE[:TEMPLATE]
32845 instantiate the configuration header FILE
32847 Configuration files:
32850 Configuration headers:
32853 Report bugs to <bug-autoconf@gnu.org>."
32856 cat >>$CONFIG_STATUS <<_ACEOF
32859 configured by $0, generated by GNU Autoconf 2.61,
32860 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
32862 Copyright (C) 2006 Free Software Foundation, Inc.
32863 This config.status script is free software; the Free Software Foundation
32864 gives unlimited permission to copy, distribute and modify it."
32871 cat >>$CONFIG_STATUS <<\_ACEOF
32872 # If no file are specified by the user, then we need to provide default
32873 # value. By we need to know if files were specified by the user.
32879 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32880 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
32891 # Handling of the options.
32892 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
32894 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
32895 echo "$ac_cs_version"; exit ;;
32896 --debug |
--debu |
--deb |
--de |
--d |
-d )
32898 --file |
--fil |
--fi |
--f )
32900 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
32901 ac_need_defaults
=false
;;
32902 --header |
--heade |
--head |
--hea )
32904 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
32905 ac_need_defaults
=false
;;
32907 # Conflict between --help and --header
32908 { echo "$as_me: error: ambiguous option: $1
32909 Try \`$0 --help' for more information." >&2
32910 { (exit 1); exit 1; }; };;
32911 --help |
--hel |
-h )
32912 echo "$ac_cs_usage"; exit ;;
32913 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
32914 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
32917 # This is an error.
32918 -*) { echo "$as_me: error: unrecognized option: $1
32919 Try \`$0 --help' for more information." >&2
32920 { (exit 1); exit 1; }; } ;;
32922 *) ac_config_targets
="$ac_config_targets $1"
32923 ac_need_defaults
=false
;;
32929 ac_configure_extra_args
=
32931 if $ac_cs_silent; then
32933 ac_configure_extra_args
="$ac_configure_extra_args --silent"
32937 cat >>$CONFIG_STATUS <<_ACEOF
32938 if \$ac_cs_recheck; then
32939 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
32940 CONFIG_SHELL=$SHELL
32941 export CONFIG_SHELL
32942 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32946 cat >>$CONFIG_STATUS <<\_ACEOF
32950 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32951 ## Running $as_me. ##
32957 cat >>$CONFIG_STATUS <<_ACEOF
32960 cat >>$CONFIG_STATUS <<\_ACEOF
32962 # Handling of arguments.
32963 for ac_config_target
in $ac_config_targets
32965 case $ac_config_target in
32966 "include/asterisk/autoconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/asterisk/autoconfig.h" ;;
32967 "build_tools/menuselect-deps") CONFIG_FILES
="$CONFIG_FILES build_tools/menuselect-deps" ;;
32968 "makeopts") CONFIG_FILES
="$CONFIG_FILES makeopts" ;;
32969 "channels/h323/Makefile") CONFIG_FILES
="$CONFIG_FILES channels/h323/Makefile" ;;
32971 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
32972 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
32973 { (exit 1); exit 1; }; };;
32978 # If the user did not use the arguments to specify the items to instantiate,
32979 # then the envvar interface is used. Set only those that are not.
32980 # We use the long form for the default assignment because of an extremely
32981 # bizarre bug on SunOS 4.1.3.
32982 if $ac_need_defaults; then
32983 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
32984 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
32987 # Have a temporary directory for convenience. Make it in the build tree
32988 # simply because there is no reason against having it here, and in addition,
32989 # creating and moving files from /tmp can sometimes cause problems.
32990 # Hook for its removal unless debugging.
32991 # Note that there is a small window in which the directory will not be cleaned:
32992 # after its creation but before its name has been assigned to `$tmp'.
32996 trap 'exit_status=$?
32997 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
32999 trap '{ (exit 1); exit 1; }' 1 2 13 15
33001 # Create a (secure) tmp directory for tmp files.
33004 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33005 test -n "$tmp" && test -d "$tmp"
33008 tmp
=.
/conf$$
-$RANDOM
33009 (umask 077 && mkdir
"$tmp")
33012 echo "$me: cannot create a temporary directory in ." >&2
33013 { (exit 1); exit 1; }
33017 # Set up the sed scripts for CONFIG_FILES section.
33020 # No need to generate the scripts if there are no CONFIG_FILES.
33021 # This happens for instance when ./config.status config.h
33022 if test -n "$CONFIG_FILES"; then
33029 for ac_last_try
in false false false false false
:; do
33030 cat >conf$
$subs.
sed <<_ACEOF
33031 SHELL!$SHELL$ac_delim
33032 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33033 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33034 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33035 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33036 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33037 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33038 exec_prefix!$exec_prefix$ac_delim
33039 prefix!$prefix$ac_delim
33040 program_transform_name!$program_transform_name$ac_delim
33041 bindir!$bindir$ac_delim
33042 sbindir!$sbindir$ac_delim
33043 libexecdir!$libexecdir$ac_delim
33044 datarootdir!$datarootdir$ac_delim
33045 datadir!$datadir$ac_delim
33046 sysconfdir!$sysconfdir$ac_delim
33047 sharedstatedir!$sharedstatedir$ac_delim
33048 localstatedir!$localstatedir$ac_delim
33049 includedir!$includedir$ac_delim
33050 oldincludedir!$oldincludedir$ac_delim
33051 docdir!$docdir$ac_delim
33052 infodir!$infodir$ac_delim
33053 htmldir!$htmldir$ac_delim
33054 dvidir!$dvidir$ac_delim
33055 pdfdir!$pdfdir$ac_delim
33056 psdir!$psdir$ac_delim
33057 libdir!$libdir$ac_delim
33058 localedir!$localedir$ac_delim
33059 mandir!$mandir$ac_delim
33060 DEFS!$DEFS$ac_delim
33061 ECHO_C!$ECHO_C$ac_delim
33062 ECHO_N!$ECHO_N$ac_delim
33063 ECHO_T!$ECHO_T$ac_delim
33064 LIBS!$LIBS$ac_delim
33065 build_alias!$build_alias$ac_delim
33066 host_alias!$host_alias$ac_delim
33067 target_alias!$target_alias$ac_delim
33068 build!$build$ac_delim
33069 build_cpu!$build_cpu$ac_delim
33070 build_vendor!$build_vendor$ac_delim
33071 build_os!$build_os$ac_delim
33072 host!$host$ac_delim
33073 host_cpu!$host_cpu$ac_delim
33074 host_vendor!$host_vendor$ac_delim
33075 host_os!$host_os$ac_delim
33077 CFLAGS!$CFLAGS$ac_delim
33078 LDFLAGS!$LDFLAGS$ac_delim
33079 CPPFLAGS!$CPPFLAGS$ac_delim
33080 ac_ct_CC!$ac_ct_CC$ac_delim
33081 EXEEXT!$EXEEXT$ac_delim
33082 OBJEXT!$OBJEXT$ac_delim
33084 GREP!$GREP$ac_delim
33085 EGREP!$EGREP$ac_delim
33086 BUILD_PLATFORM!$BUILD_PLATFORM$ac_delim
33087 BUILD_CPU!$BUILD_CPU$ac_delim
33088 BUILD_VENDOR!$BUILD_VENDOR$ac_delim
33089 BUILD_OS!$BUILD_OS$ac_delim
33090 HOST_PLATFORM!$HOST_PLATFORM$ac_delim
33091 HOST_CPU!$HOST_CPU$ac_delim
33092 HOST_VENDOR!$HOST_VENDOR$ac_delim
33093 HOST_OS!$HOST_OS$ac_delim
33094 OSARCH!$OSARCH$ac_delim
33095 UNAME!$UNAME$ac_delim
33096 PBX_OSREV!$PBX_OSREV$ac_delim
33099 RANLIB!$RANLIB$ac_delim
33100 CXXFLAGS!$CXXFLAGS$ac_delim
33101 ac_ct_CXX!$ac_ct_CXX$ac_delim
33102 CXXCPP!$CXXCPP$ac_delim
33105 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
33106 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
33107 INSTALL_DATA!$INSTALL_DATA$ac_delim
33108 LN_S!$LN_S$ac_delim
33109 GNU_MAKE!$GNU_MAKE$ac_delim
33110 STRIP!$STRIP$ac_delim
33112 GNU_LD!$GNU_LD$ac_delim
33113 FIND!$FIND$ac_delim
33114 COMPRESS!$COMPRESS$ac_delim
33115 BASENAME!$BASENAME$ac_delim
33117 DIRNAME!$DIRNAME$ac_delim
33120 WGET!$WGET$ac_delim
33121 FETCH!$FETCH$ac_delim
33122 DOWNLOAD!$DOWNLOAD$ac_delim
33123 acx_pthread_config!$acx_pthread_config$ac_delim
33124 PTHREAD_CC!$PTHREAD_CC$ac_delim
33125 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
33126 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
33127 AST_DEVMODE!$AST_DEVMODE$ac_delim
33130 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33132 elif $ac_last_try; then
33133 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33134 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33135 { (exit 1); exit 1; }; }
33137 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
33141 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33142 if test -n "$ac_eof"; then
33143 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
33144 ac_eof
=`expr $ac_eof + 1`
33147 cat >>$CONFIG_STATUS <<_ACEOF
33148 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
33149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33152 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33153 s/^/s,@/; s/!/@,|#_!!_#|/
33156 s/'"$ac_delim"'$/,g/; t
33158 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33159 ' >>$CONFIG_STATUS <conf$
$subs.
sed
33160 rm -f conf$
$subs.
sed
33161 cat >>$CONFIG_STATUS <<_ACEOF
33167 for ac_last_try
in false false false false false
:; do
33168 cat >conf$
$subs.
sed <<_ACEOF
33169 ALSA_LIB!$ALSA_LIB$ac_delim
33170 ALSA_INCLUDE!$ALSA_INCLUDE$ac_delim
33171 ALSA_DIR!$ALSA_DIR$ac_delim
33172 PBX_ALSA!$PBX_ALSA$ac_delim
33173 CURL_LIB!$CURL_LIB$ac_delim
33174 CURL_INCLUDE!$CURL_INCLUDE$ac_delim
33175 CURL_DIR!$CURL_DIR$ac_delim
33176 PBX_CURL!$PBX_CURL$ac_delim
33177 CURSES_LIB!$CURSES_LIB$ac_delim
33178 CURSES_INCLUDE!$CURSES_INCLUDE$ac_delim
33179 CURSES_DIR!$CURSES_DIR$ac_delim
33180 PBX_CURSES!$PBX_CURSES$ac_delim
33181 GNUTLS_LIB!$GNUTLS_LIB$ac_delim
33182 GNUTLS_INCLUDE!$GNUTLS_INCLUDE$ac_delim
33183 GNUTLS_DIR!$GNUTLS_DIR$ac_delim
33184 PBX_GNUTLS!$PBX_GNUTLS$ac_delim
33185 GSM_LIB!$GSM_LIB$ac_delim
33186 GSM_INCLUDE!$GSM_INCLUDE$ac_delim
33187 GSM_DIR!$GSM_DIR$ac_delim
33188 PBX_GSM!$PBX_GSM$ac_delim
33189 IKSEMEL_LIB!$IKSEMEL_LIB$ac_delim
33190 IKSEMEL_INCLUDE!$IKSEMEL_INCLUDE$ac_delim
33191 IKSEMEL_DIR!$IKSEMEL_DIR$ac_delim
33192 PBX_IKSEMEL!$PBX_IKSEMEL$ac_delim
33193 IMAP_TK_LIB!$IMAP_TK_LIB$ac_delim
33194 IMAP_TK_INCLUDE!$IMAP_TK_INCLUDE$ac_delim
33195 IMAP_TK_DIR!$IMAP_TK_DIR$ac_delim
33196 PBX_IMAP_TK!$PBX_IMAP_TK$ac_delim
33197 ISDNNET_LIB!$ISDNNET_LIB$ac_delim
33198 ISDNNET_INCLUDE!$ISDNNET_INCLUDE$ac_delim
33199 ISDNNET_DIR!$ISDNNET_DIR$ac_delim
33200 PBX_ISDNNET!$PBX_ISDNNET$ac_delim
33201 KDE_LIB!$KDE_LIB$ac_delim
33202 KDE_INCLUDE!$KDE_INCLUDE$ac_delim
33203 KDE_DIR!$KDE_DIR$ac_delim
33204 PBX_KDE!$PBX_KDE$ac_delim
33205 LTDL_LIB!$LTDL_LIB$ac_delim
33206 LTDL_INCLUDE!$LTDL_INCLUDE$ac_delim
33207 LTDL_DIR!$LTDL_DIR$ac_delim
33208 PBX_LTDL!$PBX_LTDL$ac_delim
33209 MISDN_LIB!$MISDN_LIB$ac_delim
33210 MISDN_INCLUDE!$MISDN_INCLUDE$ac_delim
33211 MISDN_DIR!$MISDN_DIR$ac_delim
33212 PBX_MISDN!$PBX_MISDN$ac_delim
33213 NBS_LIB!$NBS_LIB$ac_delim
33214 NBS_INCLUDE!$NBS_INCLUDE$ac_delim
33215 NBS_DIR!$NBS_DIR$ac_delim
33216 PBX_NBS!$PBX_NBS$ac_delim
33217 NCURSES_LIB!$NCURSES_LIB$ac_delim
33218 NCURSES_INCLUDE!$NCURSES_INCLUDE$ac_delim
33219 NCURSES_DIR!$NCURSES_DIR$ac_delim
33220 PBX_NCURSES!$PBX_NCURSES$ac_delim
33221 NETSNMP_LIB!$NETSNMP_LIB$ac_delim
33222 NETSNMP_INCLUDE!$NETSNMP_INCLUDE$ac_delim
33223 NETSNMP_DIR!$NETSNMP_DIR$ac_delim
33224 PBX_NETSNMP!$PBX_NETSNMP$ac_delim
33225 NEWT_LIB!$NEWT_LIB$ac_delim
33226 NEWT_INCLUDE!$NEWT_INCLUDE$ac_delim
33227 NEWT_DIR!$NEWT_DIR$ac_delim
33228 PBX_NEWT!$PBX_NEWT$ac_delim
33229 UNIXODBC_LIB!$UNIXODBC_LIB$ac_delim
33230 UNIXODBC_INCLUDE!$UNIXODBC_INCLUDE$ac_delim
33231 UNIXODBC_DIR!$UNIXODBC_DIR$ac_delim
33232 PBX_UNIXODBC!$PBX_UNIXODBC$ac_delim
33233 OGG_LIB!$OGG_LIB$ac_delim
33234 OGG_INCLUDE!$OGG_INCLUDE$ac_delim
33235 OGG_DIR!$OGG_DIR$ac_delim
33236 PBX_OGG!$PBX_OGG$ac_delim
33237 OSPTK_LIB!$OSPTK_LIB$ac_delim
33238 OSPTK_INCLUDE!$OSPTK_INCLUDE$ac_delim
33239 OSPTK_DIR!$OSPTK_DIR$ac_delim
33240 PBX_OSPTK!$PBX_OSPTK$ac_delim
33241 OSS_LIB!$OSS_LIB$ac_delim
33242 OSS_INCLUDE!$OSS_INCLUDE$ac_delim
33243 OSS_DIR!$OSS_DIR$ac_delim
33244 PBX_OSS!$PBX_OSS$ac_delim
33245 POPT_LIB!$POPT_LIB$ac_delim
33246 POPT_INCLUDE!$POPT_INCLUDE$ac_delim
33247 POPT_DIR!$POPT_DIR$ac_delim
33248 PBX_POPT!$PBX_POPT$ac_delim
33249 PGSQL_LIB!$PGSQL_LIB$ac_delim
33250 PGSQL_INCLUDE!$PGSQL_INCLUDE$ac_delim
33251 PGSQL_DIR!$PGSQL_DIR$ac_delim
33252 PBX_PGSQL!$PBX_PGSQL$ac_delim
33253 PRI_LIB!$PRI_LIB$ac_delim
33254 PRI_INCLUDE!$PRI_INCLUDE$ac_delim
33255 PRI_DIR!$PRI_DIR$ac_delim
33256 PBX_PRI!$PBX_PRI$ac_delim
33257 PWLIB_LIB!$PWLIB_LIB$ac_delim
33258 PWLIB_INCLUDE!$PWLIB_INCLUDE$ac_delim
33259 PWLIB_DIR!$PWLIB_DIR$ac_delim
33260 PBX_PWLIB!$PBX_PWLIB$ac_delim
33261 OPENH323_LIB!$OPENH323_LIB$ac_delim
33262 OPENH323_INCLUDE!$OPENH323_INCLUDE$ac_delim
33263 OPENH323_DIR!$OPENH323_DIR$ac_delim
33264 PBX_OPENH323!$PBX_OPENH323$ac_delim
33265 QT_LIB!$QT_LIB$ac_delim
33268 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33270 elif $ac_last_try; then
33271 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33272 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33273 { (exit 1); exit 1; }; }
33275 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
33279 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33280 if test -n "$ac_eof"; then
33281 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
33282 ac_eof
=`expr $ac_eof + 1`
33285 cat >>$CONFIG_STATUS <<_ACEOF
33286 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
33287 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33290 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33291 s/^/s,@/; s/!/@,|#_!!_#|/
33294 s/'"$ac_delim"'$/,g/; t
33296 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33297 ' >>$CONFIG_STATUS <conf$
$subs.
sed
33298 rm -f conf$
$subs.
sed
33299 cat >>$CONFIG_STATUS <<_ACEOF
33305 for ac_last_try
in false false false false false
:; do
33306 cat >conf$
$subs.
sed <<_ACEOF
33307 QT_INCLUDE!$QT_INCLUDE$ac_delim
33308 QT_DIR!$QT_DIR$ac_delim
33309 PBX_QT!$PBX_QT$ac_delim
33310 RADIUS_LIB!$RADIUS_LIB$ac_delim
33311 RADIUS_INCLUDE!$RADIUS_INCLUDE$ac_delim
33312 RADIUS_DIR!$RADIUS_DIR$ac_delim
33313 PBX_RADIUS!$PBX_RADIUS$ac_delim
33314 SPEEX_LIB!$SPEEX_LIB$ac_delim
33315 SPEEX_INCLUDE!$SPEEX_INCLUDE$ac_delim
33316 SPEEX_DIR!$SPEEX_DIR$ac_delim
33317 PBX_SPEEX!$PBX_SPEEX$ac_delim
33318 SQLITE_LIB!$SQLITE_LIB$ac_delim
33319 SQLITE_INCLUDE!$SQLITE_INCLUDE$ac_delim
33320 SQLITE_DIR!$SQLITE_DIR$ac_delim
33321 PBX_SQLITE!$PBX_SQLITE$ac_delim
33322 SUPPSERV_LIB!$SUPPSERV_LIB$ac_delim
33323 SUPPSERV_INCLUDE!$SUPPSERV_INCLUDE$ac_delim
33324 SUPPSERV_DIR!$SUPPSERV_DIR$ac_delim
33325 PBX_SUPPSERV!$PBX_SUPPSERV$ac_delim
33326 OPENSSL_LIB!$OPENSSL_LIB$ac_delim
33327 OPENSSL_INCLUDE!$OPENSSL_INCLUDE$ac_delim
33328 OPENSSL_DIR!$OPENSSL_DIR$ac_delim
33329 PBX_OPENSSL!$PBX_OPENSSL$ac_delim
33330 FREETDS_LIB!$FREETDS_LIB$ac_delim
33331 FREETDS_INCLUDE!$FREETDS_INCLUDE$ac_delim
33332 FREETDS_DIR!$FREETDS_DIR$ac_delim
33333 PBX_FREETDS!$PBX_FREETDS$ac_delim
33334 TERMCAP_LIB!$TERMCAP_LIB$ac_delim
33335 TERMCAP_INCLUDE!$TERMCAP_INCLUDE$ac_delim
33336 TERMCAP_DIR!$TERMCAP_DIR$ac_delim
33337 PBX_TERMCAP!$PBX_TERMCAP$ac_delim
33338 TINFO_LIB!$TINFO_LIB$ac_delim
33339 TINFO_INCLUDE!$TINFO_INCLUDE$ac_delim
33340 TINFO_DIR!$TINFO_DIR$ac_delim
33341 PBX_TINFO!$PBX_TINFO$ac_delim
33342 TONEZONE_LIB!$TONEZONE_LIB$ac_delim
33343 TONEZONE_INCLUDE!$TONEZONE_INCLUDE$ac_delim
33344 TONEZONE_DIR!$TONEZONE_DIR$ac_delim
33345 PBX_TONEZONE!$PBX_TONEZONE$ac_delim
33346 VORBIS_LIB!$VORBIS_LIB$ac_delim
33347 VORBIS_INCLUDE!$VORBIS_INCLUDE$ac_delim
33348 VORBIS_DIR!$VORBIS_DIR$ac_delim
33349 PBX_VORBIS!$PBX_VORBIS$ac_delim
33350 VPB_LIB!$VPB_LIB$ac_delim
33351 VPB_INCLUDE!$VPB_INCLUDE$ac_delim
33352 VPB_DIR!$VPB_DIR$ac_delim
33353 PBX_VPB!$PBX_VPB$ac_delim
33354 ZLIB_LIB!$ZLIB_LIB$ac_delim
33355 ZLIB_INCLUDE!$ZLIB_INCLUDE$ac_delim
33356 ZLIB_DIR!$ZLIB_DIR$ac_delim
33357 PBX_ZLIB!$PBX_ZLIB$ac_delim
33358 ZAPTEL_LIB!$ZAPTEL_LIB$ac_delim
33359 ZAPTEL_INCLUDE!$ZAPTEL_INCLUDE$ac_delim
33360 ZAPTEL_DIR!$ZAPTEL_DIR$ac_delim
33361 PBX_ZAPTEL!$PBX_ZAPTEL$ac_delim
33362 ALLOCA!$ALLOCA$ac_delim
33363 LIBOBJS!$LIBOBJS$ac_delim
33364 POW_LIB!$POW_LIB$ac_delim
33365 GC_CFLAGS!$GC_CFLAGS$ac_delim
33366 GC_LDFLAGS!$GC_LDFLAGS$ac_delim
33367 AST_DECLARATION_AFTER_STATEMENT!$AST_DECLARATION_AFTER_STATEMENT$ac_delim
33368 GSM_INTERNAL!$GSM_INTERNAL$ac_delim
33369 KDEINIT!$KDEINIT$ac_delim
33370 KDEDIR!$KDEDIR$ac_delim
33371 NETSNMP_CONFIG!$NETSNMP_CONFIG$ac_delim
33372 PG_CONFIG!$PG_CONFIG$ac_delim
33373 PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
33374 PWLIBDIR!$PWLIBDIR$ac_delim
33375 PWLIB_INCDIR!$PWLIB_INCDIR$ac_delim
33376 PWLIB_LIBDIR!$PWLIB_LIBDIR$ac_delim
33377 PWLIB_PLATFORM!$PWLIB_PLATFORM$ac_delim
33378 OPENH323DIR!$OPENH323DIR$ac_delim
33379 OPENH323_INCDIR!$OPENH323_INCDIR$ac_delim
33380 OPENH323_LIBDIR!$OPENH323_LIBDIR$ac_delim
33381 OPENH323_SUFFIX!$OPENH323_SUFFIX$ac_delim
33382 OPENH323_BUILD!$OPENH323_BUILD$ac_delim
33383 QTMOC!$QTMOC$ac_delim
33384 PBX_ZAPTEL_VLDTMF!$PBX_ZAPTEL_VLDTMF$ac_delim
33385 PBX_ZAPTEL_TRANSCODE!$PBX_ZAPTEL_TRANSCODE$ac_delim
33386 EDITLINE_LIB!$EDITLINE_LIB$ac_delim
33387 PBX_H323!$PBX_H323$ac_delim
33388 PBX_IXJUSER!$PBX_IXJUSER$ac_delim
33389 GTKCONFIG!$GTKCONFIG$ac_delim
33390 PBX_GTK!$PBX_GTK$ac_delim
33391 GTK_INCLUDE!$GTK_INCLUDE$ac_delim
33392 GTK_LIB!$GTK_LIB$ac_delim
33393 PKGCONFIG!$PKGCONFIG$ac_delim
33394 PBX_GTK2!$PBX_GTK2$ac_delim
33395 GTK2_INCLUDE!$GTK2_INCLUDE$ac_delim
33396 GTK2_LIB!$GTK2_LIB$ac_delim
33397 CURL_CONFIG!$CURL_CONFIG$ac_delim
33398 LTLIBOBJS!$LTLIBOBJS$ac_delim
33401 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
33403 elif $ac_last_try; then
33404 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33405 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33406 { (exit 1); exit 1; }; }
33408 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
33412 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33413 if test -n "$ac_eof"; then
33414 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
33415 ac_eof
=`expr $ac_eof + 1`
33418 cat >>$CONFIG_STATUS <<_ACEOF
33419 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
33420 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
33423 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33424 s/^/s,@/; s/!/@,|#_!!_#|/
33427 s/'"$ac_delim"'$/,g/; t
33429 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33430 ' >>$CONFIG_STATUS <conf$
$subs.
sed
33431 rm -f conf$
$subs.
sed
33432 cat >>$CONFIG_STATUS <<_ACEOF
33439 # VPATH may cause trouble with some makes, so we remove $(srcdir),
33440 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33441 # trailing colons and then remove the whole line if VPATH becomes empty
33442 # (actually we leave an empty line to preserve line numbers).
33443 if test "x$srcdir" = x.
; then
33444 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
33445 s/:*\$(srcdir):*/:/
33446 s/:*\${srcdir}:*/:/
33448 s/^\([^=]*=[ ]*\):*/\1/
33454 cat >>$CONFIG_STATUS <<\_ACEOF
33455 fi # test -n "$CONFIG_FILES"
33458 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
33461 :[FHLC
]) ac_mode
=$ac_tag; continue;;
33463 case $ac_mode$ac_tag in
33465 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
33466 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
33467 { (exit 1); exit 1; }; };;
33468 :[FH
]-) ac_tag
=-:-;;
33469 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
33486 -) ac_f
="$tmp/stdin";;
33487 *) # Look for the file first in the build tree, then in the source tree
33488 # (if the path is not absolute). The absolute path cannot be DOS-style,
33489 # because $ac_f cannot contain `:'.
33493 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
33495 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
33496 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
33497 { (exit 1); exit 1; }; };;
33499 ac_file_inputs
="$ac_file_inputs $ac_f"
33502 # Let's still pretend it is `configure' which instantiates (i.e., don't
33503 # use $as_me), people would be surprised to read:
33504 # /* config.h. Generated by config.status. */
33505 configure_input
="Generated from "`IFS=:
33506 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
33507 if test x
"$ac_file" != x-
; then
33508 configure_input
="$ac_file. $configure_input"
33509 { echo "$as_me:$LINENO: creating $ac_file" >&5
33510 echo "$as_me: creating $ac_file" >&6;}
33514 *:-:* |
*:-) cat >"$tmp/stdin";;
33519 ac_dir
=`$as_dirname -- "$ac_file" ||
33520 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33521 X"$ac_file" : 'X\(//\)[^/]' \| \
33522 X"$ac_file" : 'X\(//\)$' \| \
33523 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33529 /^X\(\/\/\)[^/].*/{
33544 -*) as_dir
=.
/$as_dir;;
33546 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
33550 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
33551 *) as_qdir
=$as_dir;;
33553 as_dirs
="'$as_qdir' $as_dirs"
33554 as_dir
=`$as_dirname -- "$as_dir" ||
33555 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33556 X"$as_dir" : 'X\(//\)[^/]' \| \
33557 X"$as_dir" : 'X\(//\)$' \| \
33558 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
33560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33564 /^X\(\/\/\)[^/].*/{
33577 test -d "$as_dir" && break
33579 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
33580 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
33581 echo "$as_me: error: cannot create directory $as_dir" >&2;}
33582 { (exit 1); exit 1; }; }; }
33586 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33588 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33589 # A ".." for each directory in $ac_dir_suffix.
33590 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
33591 case $ac_top_builddir_sub in
33592 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33593 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
33596 ac_abs_top_builddir
=$ac_pwd
33597 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
33598 # for backward compatibility:
33599 ac_top_builddir
=$ac_top_build_prefix
33602 .
) # We are building in place.
33604 ac_top_srcdir
=$ac_top_builddir_sub
33605 ac_abs_top_srcdir
=$ac_pwd ;;
33606 [\\/]* | ?
:[\\/]* ) # Absolute name.
33607 ac_srcdir
=$srcdir$ac_dir_suffix;
33608 ac_top_srcdir
=$srcdir
33609 ac_abs_top_srcdir
=$srcdir ;;
33610 *) # Relative name.
33611 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
33612 ac_top_srcdir
=$ac_top_build_prefix$srcdir
33613 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
33615 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
33625 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
33626 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
33630 cat >>$CONFIG_STATUS <<\_ACEOF
33631 # If the template does not know about datarootdir, expand it.
33632 # FIXME: This hack should be removed a few years after 2.60.
33633 ac_datarootdir_hack
=; ac_datarootdir_seen
=
33635 case `sed -n '/datarootdir/ {
33644 ' $ac_file_inputs` in
33645 *datarootdir
*) ac_datarootdir_seen
=yes;;
33646 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
33647 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33648 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33650 cat >>$CONFIG_STATUS <<_ACEOF
33651 ac_datarootdir_hack='
33652 s&@datadir@&$datadir&g
33653 s&@docdir@&$docdir&g
33654 s&@infodir@&$infodir&g
33655 s&@localedir@&$localedir&g
33656 s&@mandir@&$mandir&g
33657 s&\\\${datarootdir}&$datarootdir&g' ;;
33661 # Neutralize VPATH when `$srcdir' = `.'.
33662 # Shell code in configure.ac might set extrasub.
33663 # FIXME: do we really want to maintain this feature?
33664 cat >>$CONFIG_STATUS <<_ACEOF
33668 cat >>$CONFIG_STATUS <<\_ACEOF
33670 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
33671 s
&@configure_input@
&$configure_input&;t t
33672 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
33673 s
&@srcdir@
&$ac_srcdir&;t t
33674 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
33675 s
&@top_srcdir@
&$ac_top_srcdir&;t t
33676 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
33677 s
&@builddir@
&$ac_builddir&;t t
33678 s
&@abs_builddir@
&$ac_abs_builddir&;t t
33679 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
33680 s
&@INSTALL@
&$ac_INSTALL&;t t
33681 $ac_datarootdir_hack
33682 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
33684 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33685 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
33686 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
33687 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
33688 which seems to be undefined. Please make sure it is defined." >&5
33689 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
33690 which seems to be undefined. Please make sure it is defined." >&2;}
33694 -) cat "$tmp/out"; rm -f "$tmp/out";;
33695 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
33704 # Transform confdefs.h into a sed script `conftest.defines', that
33705 # substitutes the proper values into config.h.in to produce config.h.
33706 rm -f conftest.defines conftest.
tail
33707 # First, append a space to every undef/define line, to ease matching.
33708 echo 's/$/ /' >conftest.defines
33709 # Then, protect against being on the right side of a sed subst, or in
33710 # an unquoted here document, in config.status. If some macros were
33711 # called several times there might be several #defines for the same
33712 # symbol, which is useless. But do not sort them, since the last
33713 # AC_DEFINE must be honored.
33714 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
33715 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
33716 # NAME is the cpp macro being defined, VALUE is the value it is being given.
33717 # PARAMS is the parameter list in the macro definition--in most cases, it's
33718 # just an empty string.
33719 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
33720 ac_dB
='\\)[ (].*,\\1define\\2'
33728 s/^[ ]*#[ ]*define[ ][ ]*//
33733 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
33734 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
33735 ' >>conftest.defines
33737 # Remove the space that was appended to ease matching.
33738 # Then replace #undef with comments. This is necessary, for
33739 # example, in the case of _POSIX_SOURCE, which is predefined and required
33740 # on some systems where configure will not decide to define it.
33741 # (The regexp can be short, since the line contains either #define or #undef.)
33743 s,^[ #]*u.*,/* & */,' >>conftest.defines
33745 # Break up conftest.defines:
33746 ac_max_sed_lines
=50
33748 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
33749 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
33750 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
33752 ac_in
='$ac_file_inputs'
33753 ac_out
='"$tmp/out1"'
33754 ac_nxt
='"$tmp/out2"'
33758 # Write a here document:
33759 cat >>$CONFIG_STATUS <<_ACEOF
33760 # First, check the format of the line:
33761 cat >"\$tmp/defines.sed" <<\\CEOF
33762 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
33763 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
33767 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
33769 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
33770 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
33771 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
33772 grep . conftest.
tail >/dev
/null ||
break
33773 rm -f conftest.defines
33774 mv conftest.
tail conftest.defines
33776 rm -f conftest.defines conftest.
tail
33778 echo "ac_result=$ac_in" >>$CONFIG_STATUS
33779 cat >>$CONFIG_STATUS <<\_ACEOF
33780 if test x
"$ac_file" != x-
; then
33781 echo "/* $configure_input */" >"$tmp/config.h"
33782 cat "$ac_result" >>"$tmp/config.h"
33783 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
33784 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
33785 echo "$as_me: $ac_file is unchanged" >&6;}
33788 mv "$tmp/config.h" $ac_file
33791 echo "/* $configure_input */"
33803 { (exit 0); exit 0; }
33805 chmod +x
$CONFIG_STATUS
33806 ac_clean_files
=$ac_clean_files_save
33809 # configure is writing to config.log, and then calls config.status.
33810 # config.status does its own redirection, appending to config.log.
33811 # Unfortunately, on DOS this fails, as config.log is still kept open
33812 # by configure, so config.status won't be able to write to it; its
33813 # output is simply discarded. So we exec the FD to /dev/null,
33814 # effectively closing config.log, so it can be properly (re)opened and
33815 # appended to by config.status. When coming back to configure, we
33816 # need to make the FD available again.
33817 if test "$no_create" != yes; then
33819 ac_config_status_args
=
33820 test "$silent" = yes &&
33821 ac_config_status_args
="$ac_config_status_args --quiet"
33823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
33825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
33826 # would make configure fail if this is the last instruction.
33827 $ac_cs_success ||
{ (exit 1); exit 1; }
33831 if test "x${silent}" != "xyes" ; then
33833 echo " .\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$=.. "
33834 echo " .\$7\$7.. .7\$\$7:. "
33835 echo " .\$\$:. ,\$7.7 "
33836 echo " .\$7. 7\$\$\$\$ .\$\$77 "
33837 echo " ..\$\$. \$\$\$\$\$ .\$\$\$7 "
33838 echo " ..7\$ .?. \$\$\$\$\$ .?. 7\$\$\$."
33839 echo " \$.\$. .\$\$\$7. \$\$\$\$7 .7\$\$\$. .\$\$\$."
33840 echo " .777. .\$\$\$\$\$\$77\$\$\$77\$\$\$\$\$7. \$\$\$,"
33841 echo " \$\$\$~ .7\$\$\$\$\$\$\$\$\$\$\$\$\$7. .\$\$\$."
33842 echo ".\$\$7 .7\$\$\$\$\$\$\$7: ?\$\$\$."
33843 echo "\$\$\$ ?7\$\$\$\$\$\$\$\$\$\$I .\$\$\$7 "
33844 echo "\$\$\$ .7\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$ :\$\$\$. "
33845 echo "\$\$\$ \$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$\$\$\$ .\$\$\$. "
33846 echo "\$\$\$ \$\$\$ 7\$\$\$7 .\$\$\$ .\$\$\$. "
33847 echo "\$\$\$\$ \$\$\$\$7 .\$\$\$. "
33848 echo "7\$\$\$7 7\$\$\$\$ 7\$\$\$ "
33849 echo " \$\$\$\$\$ \$\$\$ "
33850 echo " \$\$\$\$7. \$\$ (TM) "
33851 echo " \$\$\$\$\$\$\$. .7\$\$\$\$\$\$ \$\$ "
33852 echo " \$\$\$\$\$\$\$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$.\$\$\$\$\$\$ "
33853 echo " \$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$. "
33857 { echo "$as_me:$LINENO: Package configured for: " >&5
33858 echo "$as_me: Package configured for: " >&6;}
33859 { echo "$as_me:$LINENO: OS type : $host_os" >&5
33860 echo "$as_me: OS type : $host_os" >&6;}
33861 { echo "$as_me:$LINENO: Host CPU : $host_cpu" >&5
33862 echo "$as_me: Host CPU : $host_cpu" >&6;}
33863 if test "${cross_compiling}" = "yes"; then
33864 { echo "$as_me:$LINENO: Cross Compilation = YES" >&5
33865 echo "$as_me: Cross Compilation = YES" >&6;}